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

Roussanka Loukanova rloukano at stp.lingfil.uu.se
Fri Feb 23 14:49:10 CET 2007


Hi Bruno,

What you suggested works! At least partly, if not entirely, by invoking

(...
(/usr/local/texlive/2007/../texmf-local/tex/generic/bgtex/bblopts.cfg)
(/usr/local/texlive/2007/../texmf-local/tex/generic/bgtex/bulgaria.ldf))

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).

Since I did not make any similar changes in gwTeX, I compared  the 
corresponding typesetting (both, with latex and pdflatex) and the output 
files with switches between gwTeX and TeXLive.

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...).

2. I copied the two examples

"~/Documents/tests/bgtex-v3/example1.tex" and 
"~/Documents/tests/bgtex-v3/example2.tex"

into, respectively,

"~/Documents/tests/cyr/anton-example1.tex"
"~/Documents/tests/cyr/anton-example2.tex"

I.e., I copied them into a different directory, outside bgtex-v3, to 
prevent latex (pdflatex) from using the Bulgarian fonts and related files 
from the local ~/Documents/tests/bgtex-v3. And then, I ran latex and 
pdflatex (from emacs): Both commands typeset the Bulgarian text ok 
(including the deprecated Bulgarian letters, used in the abstract of 
example1.tex. They were in the Bulgarian writing and typography system up 
to the end of WW II, but were not used in the Russian writing system.). I 
also added some typing on my own in one of the examples just to try.

On Fri, 23 Feb 2007, Bruno Voisin wrote:
...
> 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

I did this.

> - 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
>

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). So, I first 
noticed that you specified the directories, which I did not have:

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

So, I made the path

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

but I missed (accidentally) to put the grmn*.*pk files into it (perhaps 
by being sleepy). And I missed to make the path

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

  > - Then "sudo mktexlsr".

I did it.

> 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

I did this too.

Then, I did the tests with anton-example* that I specified at the 
beginning of this email. They worked. And, it occurred to me that I missed 
to copy the grmn* files in the directories that you specified. But also 
that I, most likely, should not. I then removed the following path 
created by me (by first checking that no files had been created in any of 
the subdirectories during the typesetting):

roussankas-computer:/ rosi$ sudo rm -rf usr/local/texlive/texmf-local/fonts/pk
roussankas-computer:/ rosi$ sudo ls -l 
usr/local/texlive/texmf-local/fonts/pkls: 
usr/local/texlive/texmf-local/fonts/pk: No such file or directory

Then, I tested the examples again (with pdflatex and latex). They work.

> 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.)

Now, just in case, to test this option too, I created the directories

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

and

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

I copied the grmn*.* files the way you wrote, and fixed the permissions to 
-rw-r--r--.

Everything seems working again.

I am including the two log files:

----------------------
anton-example1.log With the grmn*.* files in the above directories:

This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) (format=latex 
2007.2.23)  23 FEB 2007 14:18
entering extended mode
  %&-line parsing enabled.
**\input anton-example1.tex
(./anton-example1.tex
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
)
\c at part=\count79
\c at section=\count80
\c at subsection=\count81
\c at subsubsection=\count82
\c at paragraph=\count83
\c at subparagraph=\count84
\c at figure=\count85
\c at table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/local/texlive/2007/texmf-dist/tex/latex/t2/mathtext.sty
Package: mathtext 1999/01/28 v1.0 transparent text-and-math defs
LaTeX Info: Redefining \halign on input line 111.
)
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/fontenc.sty
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package

(/usr/local/texlive/2007/texmf-dist/tex/generic/babel/lgrenc.def
File: lgrenc.def 2001/01/30 v2.2e Greek Encoding
\symLGRletters=\mathgroup4
)
(/usr/local/texlive/2007/texmf-dist/tex/latex/cyrillic/t2aenc.def
File: t2aenc.def 2005/09/27 v1.0i Cyrillic encoding definition file
\symT2Aletters=\mathgroup5
)
(/usr/local/texlive/2007/texmf-dist/tex/latex/cyrillic/x2enc.def
File: x2enc.def 2005/09/27 v1.0i Cyrillic encoding definition file
\symX2letters=\mathgroup6
)
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/t1enc.def
File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file
LaTeX Font Info:    Redeclaring font encoding T1 on input line 43.
\symT1letters=\mathgroup7
))
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/inputenc.sty
Package: inputenc 2006/05/05 v1.1b Input encoding file
\inpenc at prehook=\toks14
\inpenc at posthook=\toks15

(/usr/local/texlive/2007/texmf-dist/tex/latex/cyrillic/cp1251.def
File: cp1251.def 1999/11/16 v1.0d Input encoding file
))
(/usr/local/texlive/2007/texmf-dist/tex/generic/babel/babel.sty
Package: babel 2005/11/23 v3.8h The Babel package

*************************************
* Local config file bblopts.cfg used
*
(/usr/local/texlive/2007/../texmf-local/tex/generic/bgtex/bblopts.cfg)
(/usr/local/texlive/2007/texmf-dist/tex/generic/babel/english.ldf
Language: english 2005/03/30 v3.3o English support from the babel system

(/usr/local/texlive/2007/texmf-dist/tex/generic/babel/babel.def
File: babel.def 2005/11/23 v3.8h Babel common definitions
\babel at savecnt=\count87
\U at D=\dimen103
)
\l at british = a dialect from \language\l at english
\l at UKenglish = a dialect from \language\l at english
\l at canadian = a dialect from \language\l at american
\l at australian = a dialect from \language\l at british
\l at newzealand = a dialect from \language\l at british
)
(/usr/local/texlive/2007/../texmf-local/tex/generic/bgtex/bulgaria.ldf
Language: bulgaria 2000/08/02 v1.0 Bulgarian support from the babel system
Package babel Info: Making " an active character on input line 203.
LaTeX Font Info:    Overwriting symbol font `X2letters' in version `bold'
(Font)                  X2/cmr/m/n --> X2/cmr/bx/n on input line 465.
LaTeX Font Info:    Overwriting math alphabet `\cyrmathsf' in version 
`bold'
(Font)                  X2/cmss/m/n --> X2/cmss/bx/n on input line 465.
LaTeX Font Info:    Overwriting math alphabet `\cyrmathit' in version 
`bold'
(Font)                  X2/cmr/m/it --> X2/cmr/bx/it on input line 465.
))
(./anton-example1.aux
LaTeX Font Info:    Try loading font information for X2+cmr on input line 
3.

(/usr/local/texlive/2007/texmf-dist/tex/latex/cyrillic/x2cmr.fd
File: x2cmr.fd 2001/08/11 v1.0a Computer Modern Cyrillic font definitions
))
\openout1 = `anton-example1.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 38.
LaTeX Font Info:    ... okay on input line 38.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 38.
LaTeX Font Info:    ... okay on input line 38.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 38.
LaTeX Font Info:    ... okay on input line 38.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 38.
LaTeX Font Info:    ... okay on input line 38.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 38.
LaTeX Font Info:    ... okay on input line 38.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 38.
LaTeX Font Info:    ... okay on input line 38.
LaTeX Font Info:    Checking defaults for LGR/cmr/m/n on input line 38.
LaTeX Font Info:    Try loading font information for LGR+cmr on input line 
38.

(/usr/local/texlive/2007/texmf-dist/tex/generic/babel/lgrcmr.fd
File: lgrcmr.fd 2001/01/30 v2.2e Greek Computer Modern
)
LaTeX Font Info:    ... okay on input line 38.
LaTeX Font Info:    Checking defaults for T2A/cmr/m/n on input line 38.
LaTeX Font Info:    Try loading font information for T2A+cmr on input line 
38.

(/usr/local/texlive/2007/texmf-dist/tex/latex/cyrillic/t2acmr.fd
File: t2acmr.fd 2001/08/11 v1.0a Computer Modern Cyrillic font definitions
)
LaTeX Font Info:    ... okay on input line 38.
LaTeX Font Info:    Checking defaults for X2/cmr/m/n on input line 38.
LaTeX Font Info:    ... okay on input line 38.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <12> on input line 44.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <8> on input line 44.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <6> on input line 44.

(./anton-example1.toc)
\tf at toc=\write3
\openout3 = `anton-example1.toc'.

  [1

]
\c at parag=\count88
  [2]
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <7> on input line 238.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <5> on input line 238.
  [3] (./anton-example1.aux) )
Here is how much of TeX's memory you used:
  2019 strings out of 94084
  25853 string characters out of 1163442
  66960 words of memory out of 1500000
  5291 multiletter control sequences out of 10000+50000
  35166 words of font info for 60 fonts, out of 1200000 for 2000
  645 hyphenation exceptions out of 8191
  25i,6n,32p,241b,287s stack positions out of 
5000i,500n,6000p,200000b,5000s

Output written on anton-example1.dvi (3 pages, 11636 bytes).

------------
------------
anton-example1.log with the grmn*.* removed

This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) (format=latex 
2007.2.23)  23 FEB 2007 14:41
entering extended mode
  %&-line parsing enabled.
**\input anton-example1.tex
(./anton-example1.tex
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
)
\c at part=\count79
\c at section=\count80
\c at subsection=\count81
\c at subsubsection=\count82
\c at paragraph=\count83
\c at subparagraph=\count84
\c at figure=\count85
\c at table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/local/texlive/2007/texmf-dist/tex/latex/t2/mathtext.sty
Package: mathtext 1999/01/28 v1.0 transparent text-and-math defs
LaTeX Info: Redefining \halign on input line 111.
)
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/fontenc.sty
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package

(/usr/local/texlive/2007/texmf-dist/tex/generic/babel/lgrenc.def
File: lgrenc.def 2001/01/30 v2.2e Greek Encoding
\symLGRletters=\mathgroup4
)
(/usr/local/texlive/2007/texmf-dist/tex/latex/cyrillic/t2aenc.def
File: t2aenc.def 2005/09/27 v1.0i Cyrillic encoding definition file
\symT2Aletters=\mathgroup5
)
(/usr/local/texlive/2007/texmf-dist/tex/latex/cyrillic/x2enc.def
File: x2enc.def 2005/09/27 v1.0i Cyrillic encoding definition file
\symX2letters=\mathgroup6
)
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/t1enc.def
File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file
LaTeX Font Info:    Redeclaring font encoding T1 on input line 43.
\symT1letters=\mathgroup7
))
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/inputenc.sty
Package: inputenc 2006/05/05 v1.1b Input encoding file
\inpenc at prehook=\toks14
\inpenc at posthook=\toks15

(/usr/local/texlive/2007/texmf-dist/tex/latex/cyrillic/cp1251.def
File: cp1251.def 1999/11/16 v1.0d Input encoding file
))
(/usr/local/texlive/2007/texmf-dist/tex/generic/babel/babel.sty
Package: babel 2005/11/23 v3.8h The Babel package

*************************************
* Local config file bblopts.cfg used
*
(/usr/local/texlive/2007/../texmf-local/tex/generic/bgtex/bblopts.cfg)
(/usr/local/texlive/2007/texmf-dist/tex/generic/babel/english.ldf
Language: english 2005/03/30 v3.3o English support from the babel system

(/usr/local/texlive/2007/texmf-dist/tex/generic/babel/babel.def
File: babel.def 2005/11/23 v3.8h Babel common definitions
\babel at savecnt=\count87
\U at D=\dimen103
)
\l at british = a dialect from \language\l at english
\l at UKenglish = a dialect from \language\l at english
\l at canadian = a dialect from \language\l at american
\l at australian = a dialect from \language\l at british
\l at newzealand = a dialect from \language\l at british
)
(/usr/local/texlive/2007/../texmf-local/tex/generic/bgtex/bulgaria.ldf
Language: bulgaria 2000/08/02 v1.0 Bulgarian support from the babel system
Package babel Info: Making " an active character on input line 203.
LaTeX Font Info:    Overwriting symbol font `X2letters' in version `bold'
(Font)                  X2/cmr/m/n --> X2/cmr/bx/n on input line 465.
LaTeX Font Info:    Overwriting math alphabet `\cyrmathsf' in version 
`bold'
(Font)                  X2/cmss/m/n --> X2/cmss/bx/n on input line 465.
LaTeX Font Info:    Overwriting math alphabet `\cyrmathit' in version 
`bold'
(Font)                  X2/cmr/m/it --> X2/cmr/bx/it on input line 465.
))
(./anton-example1.aux
LaTeX Font Info:    Try loading font information for X2+cmr on input line 
3.

(/usr/local/texlive/2007/texmf-dist/tex/latex/cyrillic/x2cmr.fd
File: x2cmr.fd 2001/08/11 v1.0a Computer Modern Cyrillic font definitions
))
\openout1 = `anton-example1.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 38.
LaTeX Font Info:    ... okay on input line 38.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 38.
LaTeX Font Info:    ... okay on input line 38.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 38.
LaTeX Font Info:    ... okay on input line 38.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 38.
LaTeX Font Info:    ... okay on input line 38.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 38.
LaTeX Font Info:    ... okay on input line 38.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 38.
LaTeX Font Info:    ... okay on input line 38.
LaTeX Font Info:    Checking defaults for LGR/cmr/m/n on input line 38.
LaTeX Font Info:    Try loading font information for LGR+cmr on input line 
38.

(/usr/local/texlive/2007/texmf-dist/tex/generic/babel/lgrcmr.fd
File: lgrcmr.fd 2001/01/30 v2.2e Greek Computer Modern
)
LaTeX Font Info:    ... okay on input line 38.
LaTeX Font Info:    Checking defaults for T2A/cmr/m/n on input line 38.
LaTeX Font Info:    Try loading font information for T2A+cmr on input line 
38.

(/usr/local/texlive/2007/texmf-dist/tex/latex/cyrillic/t2acmr.fd
File: t2acmr.fd 2001/08/11 v1.0a Computer Modern Cyrillic font definitions
)
LaTeX Font Info:    ... okay on input line 38.
LaTeX Font Info:    Checking defaults for X2/cmr/m/n on input line 38.
LaTeX Font Info:    ... okay on input line 38.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <12> on input line 44.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <8> on input line 44.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <6> on input line 44.

(./anton-example1.toc)
\tf at toc=\write3
\openout3 = `anton-example1.toc'.

  [1

]
\c at parag=\count88
  [2]
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <7> on input line 238.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <5> on input line 238.
  [3] (./anton-example1.aux) )
Here is how much of TeX's memory you used:
  2019 strings out of 94084
  25853 string characters out of 1163442
  66960 words of memory out of 1500000
  5291 multiletter control sequences out of 10000+50000
  35166 words of font info for 60 fonts, out of 1200000 for 2000
  645 hyphenation exceptions out of 8191
  25i,6n,32p,241b,287s stack positions out of 
5000i,500n,6000p,200000b,5000s

Output written on anton-example1.dvi (3 pages, 11636 bytes).


------------------------- 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