Hello,

this example stopped working. I don't know exactly when, maybe with the newest 
Ctx beta. Let's have two sources:

--- t.mkiv
\mainlanguage[cz]
\enableregime[cp1250]

\starttext
  \input t2.mkiv

  AáSš
\stoptext
---

And:

--- t2.mkiv
AáSš
---

The t2.mkiv is included by the main file t.mkiv.

The strange thing is that chars with diacritics being used in the included file 
are successfully processed, whilst those in the main file are not.

Here's the process log:

---
MTXrun | run 1: luatex 
--fmt="c:/ConTeXt/tex/texmf-cache/luatex-cache/context/f53042fa2e1c106bc7e3383ec8c3a00c/formats/cont-en"
 
--lua="c:/ConTeXt/tex/texmf-cache/luatex-cache/context/f53042fa2e1c106bc7e3383ec8c3a00c/formats/cont-en.lui"
 --backend=pdf "C:/Lukas/Jobs/Holesov.PDPS/SO_201/Texts/T/t.mkiv"This is LuaTeX, Version 
beta-0.64.0-2010111223 (rev 3956)
 \write18 enabled.
(C:/Lukas/Jobs/Holesov.PDPS/SO_201/Texts/T/t.mkiv

ConTeXt  ver: 2010.11.27 14:27 MKIV  fmt: 2010.11.29  int: english/english

system          : cont-new loaded
(c:/ConTeXt/tex/texmf-context/tex/context/base/cont-new.tex
systems         : beware: some patches loaded from cont-new.tex
(c:/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv))
system          : cont-fil.mkiv loaded
(c:/ConTeXt/tex/texmf-context/tex/context/base/cont-fil.mkiv
loading         : ConTeXt File Synonyms
)
system          : cont-sys.rme loaded
(c:/ConTeXt/tex/texmf-context/tex/context/user/cont-sys.rme 
(c:/ConTeXt/tex/texmf-context/tex/context/base/type-def.mkiv) 
(c:/ConTeXt/tex/texmf-context/tex/context/base/type-lua.mkiv) 
(c:/ConTeXt/tex/texmf-context/tex/context/base/type-siz.mkiv) 
(c:/ConTeXt/tex/texmf-context/tex/context/base/type-otf.mkiv))
system          : cont-err loaded
(c:/ConTeXt/tex/texmf-context/tex/context/base/cont-err.tex
systems         : no file 'cont-sys.tex', using 'cont-sys.rme' instead
)
system          : t.top loaded
(t.top
){c:/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-math.map}{c:/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-rm.map}{c:/ConTeXt/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
bodyfont        : 12pt rm is loaded
fonts           : preloading latin modern fonts (first stage)
language        : language en is active
publications    : loading formatting style from bxml-apa
(c:/ConTeXt/tex/texmf-context/tex/context/base/bxml-apa.mkiv)
systems         : begin file C:/Lukas/Jobs/Holesov.PDPS/SO_201/Texts/T/t.mkiv 
at line 4
(t2.mkiv)
! String contains an invalid utf-8 sequence.
l.7   A
       ßSÜ
backends        > using xmp file 
'c:/ConTeXt/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1, subpage 1
systems         : end file C:/Lukas/Jobs/Holesov.PDPS/SO_201/Texts/T/t.mkiv at 
line 8
 )<c:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf>
mkiv lua stats : used config file          - 
c:/ConTeXt/tex/texmf/web2c/texmfcnf.lua
mkiv lua stats : used cache path           - 
c:/ConTeXt/tex/texmf-cache/luatex-cache/context/f53042fa2e1c106bc7e3383ec8c3a00c
mkiv lua stats : input load time           - 0.016 seconds
mkiv lua stats : stored bytecode data      - 257 modules, 56 tables, 313 chunks
mkiv lua stats : cleaned up reserved nodes - 33 nodes, 9 lists of 411
mkiv lua stats : node memory usage         - 19 glue_spec
mkiv lua stats : node list callback tasks  - 6 unique task lists, 5 instances 
(re)created, 329 calls
mkiv lua stats : used backend              - pdf (backend for directly 
generating pdf output)
mkiv lua stats : loaded patterns           - cs::23 en::2
mkiv lua stats : callbacks                 - direct: 481, indirect: 4508, 
total: 4989
mkiv lua stats : lxml preparation time     - 0.000 seconds, 0 nodes, 11 lpath 
calls, 0 cached calls
mkiv lua stats : result saved in file      - t.pdf
mkiv lua stats : loaded fonts              - 33 files: stmary10.afm 
lmmono12-regular.otf lmmono8-regular.otf lmmono9-regular.otf lmroman12-bold.otf 
lmroman12-regular.otf lmroman7-bold.otf lmroman7-regular.otf lmroman9-bold.otf 
lmroman9-regular.otf lmsans12-regular.otf lmsans8-regular.otf 
lmsans9-regular.otf eufb10.tfm eufb7.tfm eufm10.tfm eufm7.tfm msam10.tfm 
msam7.tfm msbm10.tfm msbm7.tfm lmex10.tfm lmmi12.tfm lmmi7.tfm lmmi9.tfm 
lmmib10.tfm lmmib7.tfm lmsy10.tfm lmsy7.tfm lmsy9.tfm rm-lmr12.tfm rm-lmr7.tf
m rm-lmr9.tfm
mkiv lua stats : fonts load time           - 0.266 seconds
mkiv lua stats : luatex banner             - this is luatex, version 
beta-0.64.0-2010111223 (web2c 2010) (rev 3956)
mkiv lua stats : control sequences         - 29979 of 165536
mkiv lua stats : current memory usage      - 32 MB (ctx: 32 MB)
mkiv lua stats : runtime                   - 0.813 seconds, 1 processed pages, 
1 shipped pages, 1.230 pages/second

MTXrun | fatal error: return code: 1
---

So the example doesn't work with the Ctx version from 27.11.2010. But it does 
with one from 20.11.2010 (tested on another computer).

So is it possible to make Ctx work even when diacritics and ANSI encoding is 
used in the main file, as it used to be?

All files use ANSI encoding (one char = one byte); WinXP.

Best regards,

Lukas


--
Ing. Lukáš Procházka [mailto:[email protected]]
Pontex s. r. o.      [mailto:[email protected]] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

Attachment: t.log
Description: Binary data

Attachment: t.mkiv
Description: Binary data

Attachment: t2.mkiv
Description: Binary data

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to