Re: [NTG-context] Pretty-printing ConTeXt sources

2012-11-04 Thread Wolfgang Schuster

Am 03.11.2012 um 21:21 schrieb Marcin Borkowski mb...@wmi.amu.edu.pl:

 Hi all,
 
 I asked the very same question some time ago, but back then got an
 MkII (texexec-based) answer.  So: how do I typeset ConTeXt MkIV sources?
 Is the procedure different for .tex, .mkiv, .mkvi, .lua files?

For TeX (MkII, MkIV and MkVI) and MetaPost files use

  context --ctx=s-mod filename

and for Lua files (currently broken but should be fixed in one of the next 
betas) use

  context --ctx=x-dx filename

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
___


[NTG-context] Pretty-printing ConTeXt sources

2012-11-03 Thread Marcin Borkowski
Hi all,

I asked the very same question some time ago, but back then got an
MkII (texexec-based) answer.  So: how do I typeset ConTeXt MkIV sources?
Is the procedure different for .tex, .mkiv, .mkvi, .lua files?

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University
___
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] Pretty printing ConTeXt sources

2011-08-25 Thread Marcin Borkowski
Dnia 2011-08-21, o godz. 10:16:49
Wolfgang Schuster schuster.wolfg...@googlemail.com napisał(a):

 
 Am 20.08.2011 um 20:55 schrieb Marcin Borkowski:
 
  Any ideas, please?
 
 
 Have you tried it with another file? I can try to look why it fails
 but not now.

Finally I found some time.  I tried two other .mkiv files
(pack-lyr.mkiv and type-otf.mkiv) and *the same* error occurred.

 Wolfgang

TIA

-- 
Marcin Borkowski
___
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] Pretty printing ConTeXt sources

2011-08-25 Thread Wolfgang Schuster

Am 25.08.2011 um 15:03 schrieb Marcin Borkowski:

 Have you tried it with another file? I can try to look why it fails
 but not now.
 
 Finally I found some time.  I tried two other .mkiv files
 (pack-lyr.mkiv and type-otf.mkiv) and *the same* error occurred.

Change in s-mod-00.mkiv

  \def\dodomargeaanduidingen[#1]#2%

to

  \unexpanded\def\dodomargeaanduidingen[#1]#2%

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] Pretty printing ConTeXt sources

2011-08-25 Thread Marcin Borkowski
Dnia 2011-08-25, o godz. 18:49:34
Wolfgang Schuster schuster.wolfg...@googlemail.com napisał(a):

 
 Am 25.08.2011 um 15:03 schrieb Marcin Borkowski:
 
  Have you tried it with another file? I can try to look why it fails
  but not now.
  
  Finally I found some time.  I tried two other .mkiv files
  (pack-lyr.mkiv and type-otf.mkiv) and *the same* error occurred.
 
 Change in s-mod-00.mkiv
 
   \def\dodomargeaanduidingen[#1]#2%
 
 to
 
   \unexpanded\def\dodomargeaanduidingen[#1]#2%

Thanks a lot!
...but there's still a problem.  The files pack-lyr.mkiv and
type-otf.mkiv compile just fine, but pack-rul.mkiv still issues an
error.  Here's the log:

==
(pack-rul.run

ConTeXt  ver: 2011.07.21 19:17 MKIV  fmt: 2011.7.22  int: english/english

system   cont-new.mkiv loaded
(/home/marcin/context/tex/texmf-context/tex/context/base/cont-new.mkiv
system   beware: some patches loaded from cont-new.mkiv
)
system   pack-rul.top loaded

system   options  start used options

used options % runtime options files (command line driven)
used options \unprotect
used options % feedback and basic job control
used options % handy for special styles
used options \startluacode
used options document = document or { }
used options document.arguments={
used options  [ctx]=s-mod,
used options  [global]=true,
used options  [prep]=true,
used options }
used options document.files={
used options  pack-rul.mkiv,
used options }
used options \stopluacode
used options % process info
used options \setupsystem[inputfile=pack-rul.mkiv]
used options \setupsystem[\c!n=1,\c!m=1]
used options % modes
used options % options (not that important)
used options \startsetups *runtime:options
used options \stopsetups
used options % styles and modules
used options \startsetups *runtime:modules
used options \usemodule[mod-01]
used options \stopsetups
used options % done
used options \protect \endinput

system   options  stop used options

(pack-rul.top)
fontslatin modern fonts are not preloaded
languageslanguage en is active
resolversmodules  loaded: 'mod-01'
(/home/marcin/context/tex/texmf-context/tex/context/base/s-mod-01.mkiv
resolversmodules  loaded: 'mod-00'
(/home/marcin/context/tex/texmf-context/tex/context/base/s-mod-00.mkiv
resolversmodules  loaded: 'units'
(/home/marcin/context/tex/texmf-context/tex/context/base/m-units.mkiv+ 
/home/marcin/context/tex/texmf-context/tex/context/base/x-mathml.lua)
resolversmodules  loaded: 'int-load'
(/home/marcin/context/tex/texmf-context/tex/context/base/x-set-11.mkiv))
resolversmodules  loaded: 'abr-01'
(/home/marcin/context/tex/texmf-context/tex/context/base/s-abr-01.tex)
fontspreloading latin modern fonts (third stage)
(/home/marcin/context/tex/texmf-context/tex/context/base/type-siz.mkiv) 
(type-otf.mkiv)
filesreadfile  asked name: 'loc', not found
{/home/marcin/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/home/marcin/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}{/home/marcin/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
fontsvirtual math  unable to resolve name mapsfromchar
fontsfallback modern rm 10pt is loaded
)
system   prepfiles  loading ctx log file (specified)
(pack-rul.mkiv.prep
backend  xmp  using file 
'/home/marcin/context/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
pagesflushing realpage 1, userpage 1, subpage 1
pagesflushing realpage 2, userpage 1
. . .
fontsotf loading  loading: 
/home/marcin/context/tex/texmf/fonts/opentype/public/lm/lmroman6-regular.otf 
(hash: lmroman6-regular)
fontsotf loading  font loaded okay
fontsotf loading  file size: 112212
fontsencoding  loading (extended) adobe glyph list
fontsotf loading  saving in cache: 
/home/marcin/context/tex/texmf/fonts/opentype/public/lm/lmroman6-regular.otf
system   logs  lua: compiling 
/home/marcin/context/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/fonts/otf/lmroman6-regular.tma
 into 
/home/marcin/context/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/fonts/otf/lmroman6-regular.tmc
fontsotf loading  preprocessing and caching took 1.912 seconds
fontsotf loading  loading: 
/home/marcin/context/tex/texmf/fonts/opentype/public/lm/lmroman6-bold.otf 
(hash: lmroman6-bold)
fontsotf loading  font loaded okay
fontsotf loading  file size: 112452
fontsotf loading  saving in cache: 
/home/marcin/context/tex/texmf/fonts/opentype/public/lm/lmroman6-bold.otf
system   logs  lua: compiling 
/home/marcin/context/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/fonts/otf/lmroman6-bold.tma
 into 

Re: [NTG-context] Pretty printing ConTeXt sources

2011-08-25 Thread Wolfgang Schuster

Am 25.08.2011 um 19:15 schrieb Marcin Borkowski:

 Thanks a lot!
 ...but there's still a problem.  The files pack-lyr.mkiv and
 type-otf.mkiv compile just fine, but pack-rul.mkiv still issues an
 error.  Here's the log:

pack-rul.mkiv - line 1172

%D \macros
%D   {\doassigncheckedframeoffset}

The remove the backslash from \doassigncheckedframeoffset.

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] Pretty printing ConTeXt sources

2011-08-21 Thread Wolfgang Schuster

Am 20.08.2011 um 20:55 schrieb Marcin Borkowski:

 Any ideas, please?


Have you tried it with another file? I can try to look why it fails but not now.

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
___