[NTG-context] format generation -- again!

Alan Bowen acbowen at princeton.edu
Sat Jun 3 00:21:22 CEST 2006


On Jun 1, 2006, at 6:11 PM, Hans Hagen wrote:

> Alan Bowen wrote:
>> On Jun 1, 2006, at 5:12 PM, Hans Hagen wrote:
>>
>>
>>> Alan Bowen wrote:
>>>
>>>> Using the latest version of Gerben’s i-Installer (expert mode), I
>>>> completely erased teTeX,
>>>> re-installed the 2005 x86pc version, and then re-installed the  
>>>> latest
>>>> ConTeXt.
>>>>
>>>> cd /usr/local/teTeX/share/texmf.local/web2c/
>>>> grep agr cont-en.log
>>>>
>>>> produces
>>>> 	encoding        : coding agr is loaded
>>>> 	(/usr/local/teTeX/share/texmf.local/tex/context/base/enco-agr.tex)
>>>> 	language        : patterns for agr not loaded
>>>> 	language        : patterns for agr not loaded
>>>> and no more, which means that the ancient Greek hyphenation  
>>>> patterns
>>>> are not available, though they presumably should be since the files
>>>> lang-agr.hyp and
>>>> lang-agr.pat are in the right place,
>>>> /usr/local/teTeX/share/texmf.local/tex/context/patterns/.
>>>>
>>>> When I try to regenerate the formats using
>>>>
>>>> sudo ruby /usr/local/teTeX/share/texmf.local/scripts/context/ruby/
>>>> texmfstart.rb texexec --make --all
>>>>
>>>> I get the error message
>>>>
>>>> language        : patterns agr for agr loaded (n=24,e=agr,m=agr)
>>>> (/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang- 
>>>> agr.pat
>>>> ! Nonletter.
>>>> \rawcharacter ...r\or   \or
>>>> \or
>>>>      \or
>>>> \or     \or
>>>>                                                    \or \or \or \or
>>>> \or \...
>>>> l.37 α2Ϊ
>>>>            1
>>>> ?
>>>>
>>>> So no Greek hyphenation. I am baffled. And Thomas cannot reproduce
>>>> the problem at his end.
>>>> So, if anyone has any suggestions they will be gratefully received.
>>>>
>>>> By the way, if it is at all relevant, I am running Mac OS X  
>>>> 10.4.6 on
>>>> a Power Mac G4 450 MHz.
>>>>
>>>> Alan
>>>>
>>>>
>>> it looks like tetex does not use the -8bit switch (to pdfetex) or
>>> loads the natural tcx file; (you may try texexec --make instead)
>>>
>>> [patterns are now in utf-8 so this is why it show up now, but in
>>> fact your installation has never been 8 bit clean upto now]
>>>
>>> Hans
>>>
>>
>> Thanks, Hans. I tried
>> 	texexec --make --all
>> but the regeneration fails as before, with the lines
>> 	(/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang- 
>> agr.pat
>> 	! Nonletter.
>> 	\rawcharacter ...r\or   \or
>> 	\or
>> 	    \or
>> 	\or     \or
>> 	                                                  \or \or \or \or
>> \or \...
>> 	l.37 α2Ϊ
>> 	          1
>> 	?
>>
>> Does the MacTeX distribution have the same problem?
>>
> is there a natural.tcx file on your system? and is loading it  
> reported?
>
> in the worst case you can say:
>
> ctxtools --pat
>
> and move the generated pattern files to tex/context/patterns
>
> Hans

Hans, Thomas, and Aditya—

Success!

I ran ctxtools --pat and moved the generated files to
/usr/local/teTeX/share/texmf.local/tex/context/patterns

I then ran  texexec --make --all  and then copied the new cont-en.fmt  
file from
/usr/local/teTeX/share/texmf.local/web2c/pdfetex
to
/usr/local/teTeX/share/texmf.local/web2c

I now have hyphenation for ancient Greek! Life is good again. Many  
thanks to you both.

Alan


More information about the ntg-context mailing list