bgtex-v3 Re: [OS X TeX] final tex live 2007

Bruno Voisin bvoisin at mac.com
Fri Feb 23 15:36:58 CET 2007


Le 23 févr. 07 à 14:49, Roussanka Loukanova a écrit :

> I could not get if, and when,
>
> (/usr/local/texlive/2007/../texmf-local/tex/generic/bgtex/ 
> bulgaria.sty)
>
> is involved. What follows is what I did, and what I got (actually,  
> right after you wrote it last night, but then I left it to sleep  
> over it).

bulgaria.sty is to ensure compatibility with the old interface of  
babel (from LaTeX 2.09, I think). In normal use you should not need it.

> 1. I did what you said, except that I did not copy the files   
> grmn*.*" to the directories you specified. (You can see more  
> details about that in Reply mode after each of your instructions. I  
> am also including the log file at the very end: apologies for this  
> so long email...).
>
> [...]
>
> The grmn*.* files were not in Anton's original bgtex-v3 directory.  
> They were generated when I ran latex over the examples locally  
> inside bgtex-v3 (and the examples could not get typeset outside  
> bgtex-v3).

The matter is to determine whether it is normal that LaTeX generates  
the fonts grmn{05,06,07,08,12}00 from the original MetaFont sources  
in /usr/local/texlive/2007/texmf-dist/fonts/source/public/cb/,  
instead of scaling the PostScript font /usr/local/texlive/2007/texmf- 
dist/fonts/type1/public/cb/grmn1000.pfb already available.

You need to search through /usr/local/texlive/2007/texmf-dist/tex/ 
latex/ to find some .fd file defining a font family based on the  
grmn* fonts, and see whether it uses all size of the files, namely  
grmn0500, grmn0600, etc., as old-style LaTeX does, or whether it uses  
optical scaling of the single size grmn1000, as modern-style LaTeX does.

I looked quickly at your log files. You can see in particular that it  
is the file /usr/local/texlive/2007/texmf-dist/tex/generic/babel/ 
lgrcmr.fd which requests the font grmn through:

> \DeclareFontFamily{LGR}{cmr}{}
> \EC at family{LGR}{cmr}{m}{n}    {grmn}

Next question is where \EC at family is defined and how. It seems to be  
defined in many files. Your log mentions /usr/local/texlive/2007/ 
texmf-dist/tex/latex/cyrillic/t2acmr.fd, which contains:

> \providecommand{\EC at family}[5]{%
>   \DeclareFontShape{#1}{#2}{#3}{#4}%
>   {<5><6><7><8><9><10><10.95><12><14.4>%
>    <17.28><20.74><24.88><29.86><35.83>genb*#5}{}}

and in /usr/local/texlive/2007/texmf-dist/doc/latex/base/fntguide.pdf  
you can find

> genb Generates the external font from <fontarg> followed by the  
> user-requested size, using the conventions of the ‘ec’ fonts. e.g.  
> "<10.98> genb * dctt" produces dctt1098.

This indicates that LaTeX uses grmn1000.pfb only when grmn1000.tfm is  
called, and when any other size is requested such as 5 pt which calls  
grmn0500.tfm, then the corresponding bitmap PK font grmn0500.600pk,  
metrics grmn0500.tfm and MetaFont source file grmn0500.mf is  
generated on-the-fly.

In any case, any font generated on-the-fly during a LaTeX run should  
be placed inside /private/var/tmp/texfonts/ for gwTeX, and inside  
~/.texlive2007/texmf-var/fonts/ for TeXLive (I think). The fact that  
they were generated in the current directory seems to indicate a  
problem in your setup, very likely a permission problem (given the  
generated files had permissions -r-------- instead of -rw-r--r--).

Good luck,

Bruno
------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/





More information about the macostex-archives mailing list