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