LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-06-2019, 04:01 PM   #1
SpacePlod
Member
 
Registered: Jan 2014
Distribution: Slackware
Posts: 115

Rep: Reputation: Disabled
Texlive-extra (on current and 14.2) via SBo - font issues


I've installed texlive-extra from SBo, and I'm trying to include beramono fonts for use with the listings package (only a small snip of the total code. Hopefully all the relevant stuff).:

Code:
\documentclass{article}
\usepackage{listings}
\usepackage[T1]{fontenc}
\usepackage[scaled=0.85]{beramono}

\lstset{
    language=bash,
    frame=tb, 
    tabsize=4, 
    showstringspaces=false,
    basicstyle=\normalsize\fontencoding{T1}\ttfamily,
Using the above with pdflatex generates the following:

Code:
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 0+510/600 --dpi 510 fvmro8r
mktexpk: don't know how to create bitmap font for fvmro8r.
mktexpk: perhaps fvmro8r is missing from the map file.
kpathsea: Appending font creation commands to missfont.log.

!pdfTeX error: pdflatex (file fvmro8r): Font fvmro8r at 510 not found
 ==> Fatal error occurred, no output PDF file produced!
texlive-extra contains:
Code:
usr/share/texmf-dist/fonts/afm/public/bera/fveb8a.afm
usr/share/texmf-dist/fonts/afm/public/bera/fver8a.afm
usr/share/texmf-dist/fonts/afm/public/bera/fvmb8a.afm
usr/share/texmf-dist/fonts/afm/public/bera/fvmbo8a.afm
usr/share/texmf-dist/fonts/afm/public/bera/fvmr8a.afm
usr/share/texmf-dist/fonts/afm/public/bera/fvmro8a.afm
usr/share/texmf-dist/fonts/afm/public/bera/fvsb8a.afm
usr/share/texmf-dist/fonts/afm/public/bera/fvsbo8a.afm
usr/share/texmf-dist/fonts/afm/public/bera/fvsr8a.afm
usr/share/texmf-dist/fonts/afm/public/bera/fvsro8a.afm
What I've been able to find is that there might be a map file issue. Before I start swinging away with the Ubuntu-centric answers I'm seeing, I thought I'd ask if I might be missing some Slackware method for getting the slackbuild provided package working 'out of the box'.

I've only been playing with Latex for a couple of weeks, so it's perfectly feasible that my code is simply wrong, but I've tried several permutations with the same result.

Any ideas or pointers to missed READMEs would be appreciated.
 
Old 05-07-2019, 12:42 AM   #2
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware 14.1 64-bit, slackware 14.2 64-bit, SystemRescueCD
Posts: 533

Rep: Reputation: 129Reputation: 129
I don't see the source files of your fonts (extension .mf).
I think metafont needs these to produce the bitmap fonts (.pk).
 
1 members found this post helpful.
Old 05-07-2019, 06:19 AM   #3
SpacePlod
Member
 
Registered: Jan 2014
Distribution: Slackware
Posts: 115

Original Poster
Rep: Reputation: Disabled
Thanks. That got me started.

I downloaded the bera package and got it working. Unfortunately it seems there's a bit of a disconnect with available documentation on the net and how things are working in Slackware (at least from a complete latex novice standpoint). The bera font package appears to have been installed with texlive-extra, but not fully functional.

Code:
kpsewhich -var-value TEXMFHOME (for the proper location to unzip bera.zip)
texhash
updmap -sys --enable Map bera.map
So it's solved for now. Thanks for the input.
 
Old 05-08-2019, 02:25 AM   #4
franzen
Member
 
Registered: Nov 2012
Distribution: slackware
Posts: 535

Rep: Reputation: 379Reputation: 379Reputation: 379Reputation: 379
Quote:
Originally Posted by SpacePlod View Post
The bera font package appears to have been installed with texlive-extra, but not fully functional.

Code:
kpsewhich -var-value TEXMFHOME (for the proper location to unzip bera.zip)
texhash
updmap -sys --enable Map bera.map
It seems the texlive shipped udpmap.cfg lacks some font maps, i'll look into it for the next texlive package.

Johannes
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] SBo Texlive source 404 kevmccor Slackware 4 05-14-2018 10:59 AM
[SOLVED] texlive-extra.SlackBuild (2017) vonbiber Slackware 1 07-03-2017 02:56 AM
Questions for Robby, ponce, or anyone from SBo about SBo submission requirements. ReaperX7 Slackware 4 06-07-2015 11:30 AM
Nvidia-driver.SlackBuild from SBo (or: I am a bad and sloppy SBo maintainer) kingbeowulf Slackware 8 08-31-2012 02:41 AM
update texlive (tlmgr): no texlive.tlpdb tramni1980 Slackware 3 03-30-2011 07:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration