[NTG-context] format generation -- again!

Alan Bowen acbowen at princeton.edu
Fri Jun 2 23:00:05 CEST 2006


On Jun 2, 2006, at 4:45 PM, Aditya Mahajan wrote:

> On Fri, 2 Jun 2006, Alan Bowen wrote:
>
>>
>> On Jun 2, 2006, at 7:27 AM, Alan Bowen wrote:
>>
>>>
>>> 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ÿÿ
>>
>> When I tried
>> 	ctxtools --pat
>> the response was
>> -bash: ctxtools: command not found
>
> ctxtools is not in the path. Try
> texmfstart ctxtools --pat
>
>
> Aditya

Thanks, Aditya. That got it to work.

Alan


More information about the ntg-context mailing list