[NTG-context] Problem with \setuptyping-ed \typefile

2011-01-13 Thread Procházka Lukáš Ing . - Pontex s . r . o .

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:l...@pontex.cz]
Pontex s. r. o.  [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

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

t2.log
Description: Binary data


t2.mkiv
Description: Binary data
ABCabc
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 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
___


Re: [NTG-context] Problem with \setuptyping-ed \typefile

2011-01-13 Thread Wolfgang Schuster

Am 13.01.2011 um 11:35 schrieb Procházka Lukáš Ing. - Pontex s. r. o.:

 Hello,
 
 I encountered another problem with \typefile. This code crashes:
 
 ---
 \setuptyping[Model][bodyfont=6pt,style=\tt\setupinterlinespace]

You need \definetyping[Model][...].

Wolfgang

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

maillist : ntg-context@ntg.nl / 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
___


Re: [NTG-context] Problem with \setuptyping-ed \typefile

2011-01-13 Thread Procházka Lukáš Ing . - Pontex s . r . o .

... 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 
schuster.wolfg...@googlemail.com wrote:



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:l...@pontex.cz]
Pontex s. r. o.  [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

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

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

maillist : ntg-context@ntg.nl / 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
___