Dear all, After upgrading to the latest release (that is TeXExec 5.4.3, and ConTeXt ver: 2006.05.08 12:59 fmt: 2006.5.9 int: english mes: english), when I tried to generate the format with XeTeX (that is to generate XeConTeXt), with the command sudo texexec --make --xtx en I get the folllowing error message: language : patterns de for de loaded (n=3,e=texnansi,m=texnansi) (/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-de.pat ! Bad \patterns. \unknownchar ->{ \hbox {\vrule \!!width .5em\!!height 1ex\!!depth \zeropoint }} l.114 .ge s6 ? Has anyone encountered this error? Is there a solution? Many thanks for your help: Otared K.
Otared KAVIAN wrote:
sudo texexec --make --xtx en
(/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-de.pat ! Bad \patterns. \unknownchar ->{ \hbox {\vrule \!!width .5em\!!height 1ex\!!depth \zeropoint }} l.114 .ge s6 ?
Same for me. The problem is that in line 113, we have .ge5rö in Latin-1 encoding, but XeTeX tries reading the file in UTF-8.
Has anyone encountered this error? Is there a solution?
I only have a nasty hack: In the patterns directory, run (in bash)
for file in *.pat *.hyp
do iconv -f iso-8859-1 -t utf-8 <$file >$file-u
done
and in mult-sys.tex, change the lines reading
\definefileconstant {patternsextension} {pat}
\definefileconstant {hyphensextension} {hyp}
to
\doifundefinedelse{XeTeXversion}
{\definefileconstant {patternsextension} {pat}
\definefileconstant {hyphensextension} {hyp}}
{\definefileconstant {patternsextension} {pat-u}
\definefileconstant {hyphensextension} {hyp-u}}
There probably is a much better place for this change, but cont-new.tex,
afaik, is not read when generating formats and I don't know where the
code really should go. It mayalso be possible to fix the behaviour by
some regime switchting in the .pat and .hyp files, but I know very
little about those commands and haven't tested it.
Still, XeConTeXt does not work as expected in the current version:
The plain TeX file
\font\myface="Hiragino Mincho Pro W3"
\myface
こちらはテストです。日本語のテストです。
\bye
works like a charm, but
\definetypeface[myface][rm][Xserif][Hiragino Mincho Pro W3]
\setupbodyfont[myface,14pt]
\starttext
こちらはテストです。日本語のテストです。
\stoptext
produces an output containing only a lot of accented latin characters,
see attached file.
Best regards,
Christopher
This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5) (format=cont-en 2006.5.9) 13 MAY 2006 22:52
entering extended mode
(/usr/local/teTeX/share/texmf.local/web2c/natural.tcx)
**jap.tex emergencyend
(./jap.tex
ConTeXt ver: 2006.05.08 12:59 fmt: 2006.5.9 int: english mes: english
language : language en is active
13->2:3 cz->il2:il2->14->2:3 cz->ec:ec->15->2:3 sk->il2:il2->16->2:3 sk->ec:ec ->17->2:3 pl->pl0:pl0->18->2:3 pl->ec:ec->19->2:3 pl->qx:qx->20->2:3 loaded specials : tex,postscript,rokicki loaded \openout2 = `jap.tui'.
system : jap.top loaded (./jap.top specials : loading definition file tpd (/usr/local/teTeX/share/texmf.local/tex/context/base/spec-tpd.tex specials : loading definition file fdf (/usr/local/teTeX/share/texmf.local/tex/context/base/spec-fdf.tex) specials : fdf loaded ) specials : fdf,tpd loaded ) \openout0 = `jap-mpgraph.mp'. \openout0 = `mpgraph.mp'. systems : system commands are disabled (/usr/local/teTeX/share/texmf.local/tex/context/base/type-exa.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-syn.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-enc.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-siz.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-map.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-spe.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-exa.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-syn.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-enc.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-siz.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-map.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-spe.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-exa.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-syn.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-enc.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-siz.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-map.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-spe.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-exa.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-syn.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-enc.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-siz.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-map.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-spe.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-exa.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-syn.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-enc.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-siz.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-map.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-spe.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-exa.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-syn.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-enc.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-siz.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-map.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-spe.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/pdfr-ec.tex) (./jap.tuo) (./jap.tuo) (./jap.tuo) (./jap.tuo) (./jap.tuo) (./jap.tuo) (./jap.tuo) (./jap.tuo) (./jap.tuo) (./jap.tuo) (./jap.tuo) (./jap.tuo) systems : begin file jap at line 6 Overfull \hbox (78.33672pt too wide) in paragraph at lines 7--8 []\*myface14ptrmtf*: ãã¡ãã¯ãã¹ãã§ããæ¥æ¬èªã®ãã¹ãã§ãã \hbox(12.866+2.7222)x426.78743 .\hbox(0.0+0.0)x0.0 .\*myface14ptrmtf*: ã .\*myface14ptrmtf*: .\*myface14ptrmtf*: .\*myface14ptrmtf*: ã .etc. fonts : resetting map file list fonts : using map file: original-base fonts : using map file: ec-public-lm fonts : using map file: ec-base fonts : using map file: 8r-base fonts : using map file: t5-base fonts : using map file: original-ams-base fonts : using map file: original-ams-euler fonts : using map file: original-public-lm [1.1{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/original-empty .map}{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/original-base .map}{/Users/ccr/Library/texmf/fonts/map/pdftex/context/ec-public-lm.map}{/usr/ local/teTeX/share/texmf.local/fonts/map/pdftex/context/ec-base.map}{/usr/local/ teTeX/share/texmf.local/fonts/map/pdftex/context/8r-base.map}{/usr/local/teTeX/ share/texmf.local/fonts/map/pdftex/context/t5-base.map}{/usr/local/teTeX/share/ texmf.local/fonts/map/pdftex/context/original-ams-base.map}{/usr/local/teTeX/sh are/texmf.local/fonts/map/pdftex/context/original-ams-euler.map}{/Users/ccr/Lib rary/texmf/fonts/map/pdftex/context/original-public-lm.map}] systems : end file jap at line 8 system : cont-err loaded (/usr/local/teTeX/share/texmf.local/tex/context/base/cont-err.tex
User file 'cont-sys.tex' not found, 'cont-sys.rme' has been used instead. <
) ) Here is how much of TeX's memory you used: 1769 strings out of 58872 34766 string characters out of 563686 4592778 words of memory out of 6037082 40167 multiletter control sequences out of 10000+50000 125374 words of font info for 64 fonts, out of 2000000 for 2000 192 hyphenation exceptions out of 5000 51i,18n,77p,290b,485s stack positions out of 5000i,500n,6000p,200000b,40000s PDF statistics: 8 PDF objects out of 300000 0 named destinations out of 131072 5 words of extra memory for PDF output out of 10000 {/Users/ccr/Library/texmf/fonts/enc/dvips/lm/ec-lm.enc} Output written on jap.pdf (1 page, 28134 bytes).
On 5/13/06, Christopher Creutzig
Still, XeConTeXt does not work as expected in the current version:
Hi Christopher, I tried the file you suggest with the latest version of ConTeXt and generated a new XeConTeXt (ConTeXt ver: 2006.05.11 10:30 fmt: 2006.5.13, on MacOS X 10.4.6) and I didn't have any trouble with the following %% begin japanese.tex \starttext \font\Myface="Hiragino Mincho Pro W3" at 14 pt \Myface こちらはテストです。日本語のテストです。 %\bye \blank works like a charm, and so does the ConTeXt way of defining a typeface: \definetypeface[myface][rm][Xserif][Hiragino Mincho Pro W3] \setupbodyfont[myface,14pt] こちらはテストです。日本語のテストです。 \stoptext %% end japanese.tex the japanese text is typeset identically with \Myface (defined with the good old Plain TeX way) and \myface (defined in ConTeXt way). Nevertheless still I encounter other problems with the new version of ConTeXt and I am reporting them in another thread. Best regards: OK
Christopher Creutzig wrote:
(/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-de.pat ! Bad \patterns. \unknownchar ->{ \hbox {\vrule \!!width .5em\!!height 1ex\!!depth \zeropoint }} l.114 .ge s6 ?
Same for me. The problem is that in line 113, we have .ge5rö in Latin-1 encoding, but XeTeX tries reading the file in UTF-8.
Has anyone encountered this error? Is there a solution? how old is your context
the latest version uses utf patterns for both pdftex and xetex so no special tricks are needed Hans
Hans Hagen wrote:
Same for me. The problem is that in line 113, we have .ge5rö in Latin-1 encoding, but XeTeX tries reading the file in UTF-8.
how old is your context
Indeed, that was stone age: 2006.05.08 12:59 - more than five days old. :-)
the latest version uses utf patterns for both pdftex and xetex so no special tricks are needed
Thanks for the pointer. Strangely enough, I still can't typeset simple Japanese, but right now I don't have the time to investigate this further. Best regards, Christopher
Christopher Creutzig wrote:
Hans Hagen wrote:
Same for me. The problem is that in line 113, we have .ge5r� in Latin-1 encoding, but XeTeX tries reading the file in UTF-8.
how old is your context
Indeed, that was stone age: 2006.05.08 12:59 - more than five days old. :-)
for xetex indeed, but if we proceed in the way we do now, we will have reasoable stable xetex support soon Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Christopher Creutzig
-
Hans Hagen
-
Otared KAVIAN