Problem with \setuptyping-ed \typefile
Hello, I encountered another problem with \typefile. This code crashes: --- \setuptyping[Model][bodyfont=6pt,style=\tt\setupinterlinespace] \starttext \typefile[Model]{t2.txt} %{t.u8} %\startluacode context.typefile({"Model"}, "t.u8")\stopluacode \stoptext --- Although a .pdf is generated, I'm getting: --- MTXrun | run 1: luatex --fmt="c:/ConTeXt/tex/texmf-cache/luatex-cache/context/f53042fa2e1c106bc7e3383ec8c \write18 enabled. (C:/Lukas/Jobs/Holesov.PDPS/SO_201/Statics.Tx/SV/t2.mkiv ConTeXt ver: 2011.01.12 10:20 MKIV fmt: 2011.1.13 int: english/english ... (c:/ConTeXt/tex/texmf-context/tex/context/base/bxml-apa.mkiv) systems : begin file C:/Lukas/Jobs/Holesov.PDPS/SO_201/Statics.Tx/SV/t2.mkiv at line 3 ! Missing number, treated as zero. <to be read again> \relax \docheckverbatimmargins ...er \c!oddmargin \relax \ifzeropt \scratchskip \el... --- Best regards, Lukas -- Ing. Lukáš Procházka [mailto:LPr@pontex.cz] Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038
... Thanks, it works now. (I've been using \setuptyping before and it used to work.)
Lukas
On Thu, 13 Jan 2011 11:58:28 +0100, Wolfgang Schuster
Am 13.01.2011 um 11:35 schrieb Procházka Lukáš Ing. - Pontex s. r. o.:
You need \definetyping[Model][...].
Wolfgang
-- Ing. Lukáš Procházka [mailto:LPr@pontex.cz] Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038
participants (2)
-
Procházka Lukáš Ing. - Pontex s. r. o.
-
Wolfgang Schuster