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

Bruno Voisin bvoisin at mac.com
Fri Feb 23 01:12:30 CET 2007


Le 22 févr. 07 à 23:47, Roussanka Loukanova a écrit :

> But as you said that you wanted to look at it, I'm realizing that  
> he didn't write the instructions in English, but in BG. Let me know  
> if you get curious of something, I can translate it (if he hasn't  
> done yet this:
> few weeks ago, he had intentions to do so and something else..).

I imagine things should go as (and, to answer one question in another  
of your messages, texmf-local *won't* be overwritten when updating/ 
reinstalling MacTeX later):

- In /usr/local/texlive/texmf-local/tex/generic/bgtex/:

bblopts.cfg
bghyphen.tex
bulgaria.ldf
bulgaria.sty

- In /usr/local/texlive/texmf-local/fonts/pk/ljfour/public/cb/dpi600/:

grmn0500.600pk
grmn0600.600pk
grmn0700.600pk
grmn0800.600pk
grmn1200.600pk

- In /usr/local/texlive/texmf-local/fonts/tfm/public/cb/:

grmn0500.tfm
grmn0600.tfm
grmn0700.tfm
grmn0800.tfm
grmn1200.tfm

- In /usr/local/texlive/texmf-local/fonts/source/public/cb/:

grmn0500.mf
grmn0600.mf
grmn0700.mf
grmn0800.mf
grmn1200.mf

- Then "sudo mktexlsr".

But there's also more to it:

- You need to make sure xu-bghyphen.tex, which is the wrapper through  
which TeX Live 2007 calls bghyphen.tex owing to the inclusion of  
XeTeX, works with the alternative bghyphen.tex in Anton's package. See:

/usr/local/texlive/2007/texmf-var/tex/generic/config/language.dat
/usr/local/texlive/2007/texmf-dist/tex/generic/xu-hyphen/xu-bghyphen.tex

- You need to run fmtutil in order to rebuild the various TeX formats  
with Anton's version of bghyphen.tex replacing the default one. I  
never did that myself, but I suppose it should go as:

sudo -H fmtutil-sys --byfmt latex
sudo -H fmtutil-sys --byfmt pdflatex
sudo -H fmtutil-sys --all

Generally when I have such tasks to perform, and I cannot resort to i- 
Installer as with gwTeX, then I rely on Gerben Wierda's encyclopedic  
knowledge of TeX Live: I inspect the script texlive.configure within  
the gwTeX i-Package, I try to guess what it does and then I try to  
mimick its relevant part for MacTeX. Here you'll find inside the script:

>     # Do pdflatex and latex first so they are not created by mktexfmt
>     # for formats that depend on them to exist (tip by Thomas Esser)
>     # Not doing this has lead to endless loops in fmtutil in the past
>     ipkgsystem( "${fmtutilcmd} --byfmt latex </dev/null");
>     ipkgsystem( "${fmtutilcmd} --byfmt pdflatex </dev/null");
>     ipkgsystem( "${fmtutilcmd} --all </dev/null");

which leads me to propose the above for rebuilding the formats.  
Another possibility is to run the configure stage of the gwTeX i- 
Package (in Expert mode), look at the Subprocess Output to see what  
instructions are run and in which form, and then use the same  
instructions from the command line for MacTeX.

Hopefully, after all that, things should work. Maybe to one  
exception: the fonts in your archive have permissions -rw-------  
which feels wrong: they should be readable not only by you, but also  
by everybody, namely -rw-r--r--; try a "sudo chmod go+r grmn*.*".  
(I'm not sure the preceding instruction will work, but I hope you get  
the idea.)

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