Re: [NTG-context] menu changes in mkiv?

2011-08-25 Thread Hans Hagen
On 24-8-2011 13:54, Hans van der Meer wrote: What has been changed regarding menus? Previous code stops working with the following error message: ! Missing { inserted. to be read again \par inserted text ...ect \everysetmenucommands \par

Re: [NTG-context] \setupfields needs linefeed

2011-08-25 Thread Hans Hagen
On 24-8-2011 16:39, Peter Rolf wrote: Hi, I use '\setupfields[reset]%' in a tooltip macro and this single line breaks compilation. [..] Runaway argument? ]\stoptext ! File ended while scanning use of \scrn_field_setup_fields. inserted text \par * ./tooltip

Re: [NTG-context] icc stream handling broken?

2011-08-25 Thread Hans Hagen
On 24-8-2011 15:10, Peter Rolf wrote: Am 23.08.2011 14:36, schrieb Peter Rolf: Hi Hans, can you check the attached example (the normal PDF/X-4p test file)? lpdf.flushstreamfileobject() breaks here when calling the local table 'dict()'. Is this normally handled by metatables? Obviously a

Re: [NTG-context] environments broken?

2011-08-25 Thread Hans Hagen
On 23-8-2011 22:07, Hans van der Meer wrote: I am desperately (not much time left) looking for the solution of this error: ! Undefined control sequence. system tex error on line 11 in file crypto2011-08-25.tex: Undefined control sequence ... l.11 \startlocalenvironment

Re: [NTG-context] \assignfullfilename

2011-08-25 Thread Hans Hagen
On 23-8-2011 22:26, Hans van der Meer wrote: I might be in error, but I thought I could use the ConTeXt macro \assignfullfilename used in \def\setexamfilename#1\to#2{% \assignfullfilename{\the\questiondir}{#1}\to#2} Did something happen to \assignfullfilename? Is it missing from MKIV?

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

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

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

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}

[NTG-context] Export and itemize

2011-08-25 Thread Aditya Mahajan
Hi, I sometimes misuse the command key of itemize like this: \definehighlight[important][style=italic, color=red] \starttext \startitemize[command=\important] \item {Term}: definition \stopitemize \stoptext However when I try this with \setupbackend[export=yes] I get the following error:

[NTG-context] Imposition and repeating pages

2011-08-25 Thread Marcin Borkowski
Hi, imposition in ConTeXt is great, but... 1. When I last used it (MkII), I had to invoke texexec with the --arrange option or something like this. Does it work in an easier way with MkIV? (I mean, I just do context filename and don't care about multiple runs etc.) 2. I'd like to prepare a

Re: [NTG-context] Export and itemize

2011-08-25 Thread Aditya Mahajan
On Thu, 25 Aug 2011, Aditya Mahajan wrote: Hi, I sometimes misuse the command key of itemize like this: \definehighlight[important][style=italic, color=red] \starttext \startitemize[command=\important] \item {Term}: definition \stopitemize \stoptext However when I try this with

[NTG-context] Is there any change in processing of Projects, Product and Components?

2011-08-25 Thread Jaroslav Hajtmar
Hello ConTeXtsist ... Has anything changed in the functioning of ConTeXt MkIV processing of larger projects (containing more components)? Some time (one or two months) ago I was using standalone to compiled an extensive project and everything was OK, but now it looks as if the component does

Re: [NTG-context] Imposition and repeating pages

2011-08-25 Thread Aditya Mahajan
On Fri, 26 Aug 2011, Marcin Borkowski wrote: Hi, imposition in ConTeXt is great, but... 1. When I last used it (MkII), I had to invoke texexec with the --arrange option or something like this. Does it work in an easier way with MkIV? (I mean, I just do context filename and don't care about

Re: [NTG-context] Export and itemize

2011-08-25 Thread Aditya Mahajan
On Thu, 25 Aug 2011, Aditya Mahajan wrote: I sometimes misuse the command key of itemize like this: \definehighlight[important][style=italic, color=red] Sorry...this works. My test file had \definehighlight[important][style=em, color=red] which fails even for \important{A} For pdf

Re: [NTG-context] Imposition and repeating pages

2011-08-25 Thread Marcin Borkowski
Dnia 2011-08-25, o godz. 18:59:32 Aditya Mahajan adit...@umich.edu napisał(a): On Fri, 26 Aug 2011, Marcin Borkowski wrote: Hi, imposition in ConTeXt is great, but... 1. When I last used it (MkII), I had to invoke texexec with the --arrange option or something like this. Does it

Re: [NTG-context] Is there any change in processing of Projects, Product and Components?

2011-08-25 Thread Jaroslav Hajtmar
Hello Sorry, apparently I was wrong. Before I compiled by ConTeXt ver: 2010.05.24 13:05 MKIV fmt: 2010.9.21 (LuaTeX, Version beta-0.60.2-2010071421) (Web2C 2010) (rev 3736) and not by minimals ie standalone version of context When I use old ConTeXt MkIV (part of TeX Live 2010) now in

Re: [NTG-context] Is there any change in processing of Projects, Product and Components?

2011-08-25 Thread Hans Hagen
On 26-8-2011 00:46, Jaroslav Hajtmar wrote: Hello ConTeXtsist ... Has anything changed in the functioning of ConTeXt MkIV processing of larger projects (containing more components)? Some time (one or two months) ago I was using standalone to compiled an extensive project and everything was OK,

Re: [NTG-context] Imposition and repeating pages

2011-08-25 Thread Aditya Mahajan
On Fri, 26 Aug 2011, Marcin Borkowski wrote: 2. I'd like to prepare a cheat sheet of size, say, A6, so I want *the same page* to be repeated 4 times on an A4 sheet. Is there a canonical way to do it? (I mean, other than copying-and-pasting, or equivalently, defining a macro and repeating it 4

Re: [NTG-context] Imposition and repeating pages

2011-08-25 Thread Hans Hagen
On 26-8-2011 00:40, Marcin Borkowski wrote: 2. I'd like to prepare a cheat sheet of size, say, A6, so I want *the same page* to be repeated 4 times on an A4 sheet. Is there a canonical way to do it? (I mean, other than copying-and-pasting, or equivalently, defining a macro and repeating it 4

Re: [NTG-context] Is there any change in processing of Projects, Product and Components?

2011-08-25 Thread Jaroslav Hajtmar
Hello Hans, Thanks for the advice. Enough swap (change) \startproject ... \stopproject to \startproduct ... \stopproduct in the source file and everything runs just fine! Thanx Jaroslav Hajtmar Dne 26.8.2011 1:18, Hans Hagen napsal(a): On 26-8-2011 00:46, Jaroslav Hajtmar wrote: Hello

[NTG-context] Changing export tags

2011-08-25 Thread Aditya Mahajan
Hi, What is the right command for changing the name of the exported tags. Using \setuptaglabeltext[sectiontitle={h1}] does not work. Using \def\t!sectiontitle{h1} works, but surely, that can't be the way to go. Aditya

Re: [NTG-context] Changing export tags

2011-08-25 Thread Aditya Mahajan
On Thu, 25 Aug 2011, Aditya Mahajan wrote: What is the right command for changing the name of the exported tags. Using \setuptaglabeltext[sectiontitle={h1}] does not work. Using \def\t!sectiontitle{h1} works, but surely, that can't be the way to go. The attached patch fixes this, but I am

[NTG-context] aleternative=command not working with setuphead

2011-08-25 Thread Aditya Mahajan
Hi, \setuphead[section] [alternative=command, command=\TitleCommand] \def\TitleCommand#1#2{#2} \starttext \section{Test} \stoptext gives ! Argument of \@@ns::normal has an extra }. Aditya

Re: [NTG-context] aleternative=command not working with setuphead

2011-08-25 Thread Wolfgang Schuster
Am 26.08.2011 um 06:17 schrieb Aditya Mahajan: Hi, \setuphead[section] [alternative=command, command=\TitleCommand] \def\TitleCommand#1#2{#2} \starttext \section{Test} \stoptext gives ! Argument of \@@ns::normal has an extra }. strc-sec.mkiv:

Re: [NTG-context] Imposition and repeating pages

2011-08-25 Thread Marcin Borkowski
Dnia 2011-08-25, o godz. 19:19:13 Aditya Mahajan adit...@umich.edu napisał(a): On Fri, 26 Aug 2011, Marcin Borkowski wrote: Thanks - but this is exactly what I do *not* want to do. My first idea was to do something like \def\onepageworthofmaterial{whatever\page}