[ppchtex] \writestatus: Undefined control sequence
Hello everybody,
with a fresh TeX Live 2009 distribution, I cannot compile old files
because of \writestatus which seems to be undefined.
For instance:
\listfiles
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{etex}
\usepackage{m-pictex,m-ch-en}
\begin{document}
Hello World!
\end{document}
leads to the following log:
8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live
2009) entering extended
mode
(./test.tex LaTeX2e
<2009/09/24> Babel
Hello everybody,
with a fresh TeX Live 2009 distribution, I cannot compile old files because of \writestatus which seems to be undefined.
For instance:
\listfiles \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{etex} \usepackage{m-pictex,m-ch-en} \begin{document} Hello World! \end{document} Sorry,
On Wed, Nov 4, 2009 at 8:12 AM, Denis Bitouzé
Le mercredi 04/11/09 à 09h25,
luigi scarso
Sorry, this is ConTeXt mailing list, not LaTeX mailing list .
OK, but it seems to be a related to ConTeXt problem: [bitouze@drums ~]$ kpsewhich m-pictex.sty /usr/local/texlive/2009/texmf-dist/tex/latex/context/m-pictex.sty [bitouze@drums ~]$ kpsewhich m-ch-en.sty /usr/local/texlive/2009/texmf-dist/tex/latex/context/m-ch-en.sty -- Denis
On Wed, Nov 4, 2009 at 9:54 AM, Denis Bitouzé
Le mercredi 04/11/09 à 09h25, luigi scarso
a écrit : Sorry, this is ConTeXt mailing list, not LaTeX mailing list .
OK, but it seems to be a related to ConTeXt problem:
[bitouze@drums ~]$ kpsewhich m-pictex.sty /usr/local/texlive/2009/texmf-dist/tex/latex/context/m-pictex.sty [bitouze@drums ~]$ kpsewhich m-ch-en.sty /usr/local/texlive/2009/texmf-dist/tex/latex/context/m-ch-en.sty yes, it can be. Can you post a small example with context mkii ?
-- luigi
Le mercredi 04/11/09 à 10h01,
luigi scarso
Can you post a small example with context mkii ?
Well, maybe the problem comes from TeX Live 2009, since: $ tlmgr list | grep context i collection-context: ConTeXt format i context: The ConTeXt macro package. i context-account: A simple accounting package. i context-algorithmic: Algorithm handling. i context-bnf: A BNF module for Context. i context-chromato: ConTeXt macros for chromatograms. i context-construction-plan: Construction plans in ConTeXt. i context-degrade: Degrading JPEG images in ConTeXt. i context-fixme: Make editorial marks on a document. i context-french: Support for writing French in ConTeXt. i context-games: (shortdesc missing) i context-gnuplot: Inclusion of Gnuplot graphs in ConTeXt. i context-letter: Context package for writing letters. i context-lettrine: A ConTeXt implementation of lettrines. i context-lilypond: Lilypond code in ConTeXt. i context-mathsets: Set notation in ConTeXt. i context-notes-zh-cn: Notes on using ConTeXt MkIV. i context-simplefonts: Simplified font usage for ConTeXt. i context-simpleslides: A module for preparing presentations. i context-top-ten: The "top ten" ConTeXt commands. i context-typearea: Something like Koma-Script typearea. i context-typescripts: Small modules to load various fonts for use in ConTeXt. i context-vim: Generate Context syntax highlighting code from vim. context.alpha-linux: alpha-linux files of context context.i386-cygwin: i386-cygwin files of context i context.i386-linux: i386-linux files of context context.i386-netbsd: i386-netbsd files of context context.i386-solaris: i386-solaris files of context context.mips-irix: mips-irix files of context context.powerpc-aix: powerpc-aix files of context context.powerpc-linux: powerpc-linux files of context context.sparc-linux: sparc-linux files of context context.sparc-solaris: sparc-solaris files of context context.universal-darwin: universal-darwin files of context context.win32: win32 files of context context.x86_64-linux: x86_64-linux files of context i maybemath: Make math bold or italic according to context. i scheme-context: ConTeXt scheme but, with: $ more test-context.tex \starttext Hello World! \stoptext I get: $ context test-context MTXrun | unknown script 'context.lua' or 'mtx-context.lua' -- Denis
On Wed, Nov 4, 2009 at 10:16 AM, Denis Bitouzé
Le mercredi 04/11/09 à 10h01, luigi scarso
a écrit : Can you post a small example with context mkii ?
with:
$ more test-context.tex \starttext Hello World! \stoptext
I get:
$ context test-context MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
OK mkiv seems not ok. What about mkii, ie $ texexec test-context -- luigi
Le mercredi 04/11/09 à 10h20,
luigi scarso
$ texexec test-context
It is OK for the MCE "Hello world" I gave earlier, except the following warning: pdfTeX warning: pdftex: no GlyphToUnicode entry has been inserted yet! The same occurs with chemical formulas. So this seems to definitively be a TeX Live related problem: I will post on the relevant mailing list. Thanks. -- Denis
On Wed, Nov 4, 2009 at 10:52 AM, Denis Bitouzé
Le mercredi 04/11/09 à 10h20, luigi scarso
a écrit : $ texexec test-context
It is OK for the MCE "Hello world" I gave earlier, except the following warning:
pdfTeX warning: pdftex: no GlyphToUnicode entry has been inserted yet!
The same occurs with chemical formulas.
So this seems to definitively be a TeX Live related problem: I will post on the relevant mailing list. Can you also post a small example with with chemical formulas so I can check it with latest mkiv minimals ?
-- luigi
Le mercredi 04/11/09 à 10h55,
luigi scarso
Can you also post a small example with with chemical formulas so I can check it with latest mkiv minimals ?
Here it is: \usemodule[pictex,chemic] \starttext \startchemical \chemical[SIX,B,R,RZ][1,2,3,4,5,6] \stopchemical \stoptext -- Denis
Denis Bitouzé wrote:
Le mercredi 04/11/09 à 10h55, luigi scarso
a écrit : Can you also post a small example with with chemical formulas so I can check it with latest mkiv minimals ?
Here it is:
\usemodule[pictex,chemic] \starttext \startchemical \chemical[SIX,B,R,RZ][1,2,3,4,5,6] \stopchemical \stoptext
for context mkiv there is no need to load the modules. in mkiv ppchtex is rewritten (and is now a mix of lua, mp and tex) 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 -----------------------------------------------------------------
On Wed, Nov 4, 2009 at 12:13 PM, Hans Hagen
for context mkiv there is no need to load the modules. in mkiv ppchtex is rewritten (and is now a mix of lua, mp and tex)
Hans
\starttext \startTEXpage \startchemical \chemical[SIX,B,R,RZ][1,2,3,4,5,6] \stopchemical \stopTEXpage \stoptext It looks ok. -- luigi
Denis Bitouzé wrote:
Le mercredi 04/11/09 à 10h20, luigi scarso
a écrit : $ texexec test-context
It is OK for the MCE "Hello world" I gave earlier, except the following warning:
pdfTeX warning: pdftex: no GlyphToUnicode entry has been inserted yet!
This (luatex) warning can be ignored, and I will remove it from the next release. Best wishes, Taco
Taco Hoekwater wrote:
Denis Bitouzé wrote:
Le mercredi 04/11/09 à 10h20, luigi scarso
a écrit : $ texexec test-context It is OK for the MCE "Hello world" I gave earlier, except the following warning:
pdfTeX warning: pdftex: no GlyphToUnicode entry has been inserted yet!
This (luatex) warning can be ignored, and I will remove it from the next release.
Sorry, that was more than a bit confusing. What I meant to say was: This pdftex warning can be ignored. It used to be present in luatex as well, but it was removed in version 0.37.0. Best wishes, Taco
On Wed, Nov 4, 2009 at 11:06 AM, Taco Hoekwater
Taco Hoekwater wrote:
Denis Bitouzé wrote:
Le mercredi 04/11/09 à 10h20, luigi scarso
a écrit : $ texexec test-context It is OK for the MCE "Hello world" I gave earlier, except the following warning:
pdfTeX warning: pdftex: no GlyphToUnicode entry has been inserted yet!
This (luatex) warning can be ignored, and I will remove it from the next release.
Sorry, that was more than a bit confusing. What I meant to say was:
This pdftex warning can be ignored. It used to be present in luatex as well, but it was removed in version 0.37.0.
OK -- but what does it means ? -- luigi
Hi, luigi scarso wrote:
This pdftex warning can be ignored. It used to be present in luatex as well, but it was removed in version 0.37.0. OK -- but what does it means ?
To the best of my knowledge, it only means that no ToUnicode values have been set up using \pdfglyphtounicode yet at the moment that pdftex (or luatex for an 8-bit font) is writing some ToUnicode values for some font to the pdf disk file. (in mkiv, such values can be set up via pdfr-def.mkii) The warning is not pointless per se, but special ToUnicode entries are usually not needed at all for latin scripts (AR is smart enough to solve common cases itself). That makes the warning a bit over the top, and so I removed it in luatex to avoid confusing users. Best wishes, Taco
Denis Bitouzé wrote:
Le mercredi 04/11/09 à 09h25, luigi scarso
a écrit : Sorry, this is ConTeXt mailing list, not LaTeX mailing list .
OK, but it seems to be a related to ConTeXt problem:
sure, an dit involves some generic context modules that are used in ppchtex when used in latex; however as i never test if they work in latex only latex users can figure out problems 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 -----------------------------------------------------------------
Denis Bitouzé wrote:
loading : ConTeXt Support Macros / Miscellaneous (2004.10.26) ) (/usr/local/texlive/2009/texmf-dist/tex/context/base/syst-gen.mkii ! Undefined control sequence. l.4441
what happens if in syst-gen.mkii you change around line 4438 \let\writestatus\normalwritestatus into: \ifx\normalwritestatus\undefined % for use within latex \ifx\writestatus\undefined \def\writestatus#1#2{\immediate\write16{#1 : #2}} \fi \else \let\writestatus\normalwritestatus \fi ----------------------------------------------------------------- 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 (4)
-
Denis Bitouzé
-
Hans Hagen
-
luigi scarso
-
Taco Hoekwater