Re: [NTG-context] \e!start in lua

2011-01-16 Thread Wolfgang Schuster
Am 15.01.2011 um 23:57 schrieb Aditya Mahajan: What is the best way to define the equivalent of \setvalue{\e!start\NAME}{...} in lua. e_start = ?? context.setvalue(e_start .. name, ...) \startluacode context.setvalue(foo,\\framedtext)

Re: [NTG-context] Fullpage does not work after updating minimals

2011-01-16 Thread Wolfgang Schuster
Am 16.01.2011 um 04:56 schrieb Vyatcheslav Yatskovsky: Hi Wolfgang, \usemodule[fullpage][style={in,empty}] \starttext Bla-bla \stoptext now gives system : module fullpage loaded (c:/contextminimal/texmf-context/tex/context/third/fullpage/t-fullpage.mkiv loading :

Re: [NTG-context] \setupinterlinespace questions

2011-01-16 Thread Florian Wobbe
Hmm, does not seem to work here. I have following setup: \environment env_draft % -- setting \setupinterlinespace[big] here \startproduct %\setupinterlinespace[big] % works except for references when uncommented \startproduct filenename \environment env_draft \setupinterlinespace %

Re: [NTG-context] \setupinterlinespace questions

2011-01-16 Thread Wolfgang Schuster
Am 16.01.2011 um 11:17 schrieb Florian Wobbe: thanks for pointing me into the right direction. This did not work at first ether but it was my fault. I had \setupinterlinespace[big] before \setupbodyfont. This will reset the interlinespace. However, \setupinterlinespace[line=1.7em] before

Re: [NTG-context] \setupinterlinespace questions

2011-01-16 Thread Florian Wobbe
thanks for pointing me into the right direction. This did not work at first ether but it was my fault. I had \setupinterlinespace[big] before \setupbodyfont. This will reset the interlinespace. However, \setupinterlinespace[line=1.7em] before \setupbodyfont works. Still,

Re: [NTG-context] Fullpage does not work after updating minimals

2011-01-16 Thread Vyatcheslav Yatskovsky
OK, works here now too. Probably weird update at 6:00 at the morning ) -- Best Regards, Vyatcheslav Yatskovsky ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] How to invoke Unicode symbols?

2011-01-16 Thread Hans Hagen
On 16-1-2011 4:51, Vyatcheslav Yatskovsky wrote: Is \fontchar a hack or 'official' command? If the latter, it deserves to be wikified. it's an official low level command and will stay Hans -

Re: [NTG-context] catcode problems (mkiv)

2011-01-16 Thread Hans Hagen
On 14-1-2011 5:52, Peter Rolf wrote: problem is (aside from my limited knowledge) a XML based line of text then process the line at the lua end where % is stil % and a space a space Hans -

Re: [NTG-context] \e!start in lua

2011-01-16 Thread Hans Hagen
On 15-1-2011 11:57, Aditya Mahajan wrote: What is the best way to define the equivalent of \setvalue{\e!start\NAME}{...} in lua. e_start = ?? context.setvalue(e_start .. name, ...) \starttext \startluacode local elements = interfaces.complete.elements local interface =

Re: [NTG-context] \e!start in lua

2011-01-16 Thread Aditya Mahajan
On Sun, 16 Jan 2011, Wolfgang Schuster wrote: Am 15.01.2011 um 23:57 schrieb Aditya Mahajan: What is the best way to define the equivalent of \setvalue{\e!start\NAME}{...} in lua. e_start = ?? context.setvalue(e_start .. name, ...) \startluacode

Re: [NTG-context] \e!start in lua

2011-01-16 Thread Aditya Mahajan
On Sun, 16 Jan 2011, Hans Hagen wrote: On 15-1-2011 11:57, Aditya Mahajan wrote: What is the best way to define the equivalent of \setvalue{\e!start\NAME}{...} in lua. e_start = ?? context.setvalue(e_start .. name, ...) \starttext \startluacode local elements =

Re: [NTG-context] \e!start in lua

2011-01-16 Thread Hans Hagen
On 16-1-2011 5:28, Aditya Mahajan wrote: On Sun, 16 Jan 2011, Hans Hagen wrote: On 15-1-2011 11:57, Aditya Mahajan wrote: What is the best way to define the equivalent of \setvalue{\e!start\NAME}{...} in lua. e_start = ?? context.setvalue(e_start .. name, ...) \starttext \startluacode

Re: [NTG-context] \e!start in lua

2011-01-16 Thread Wolfgang Schuster
Am 16.01.2011 um 17:27 schrieb Aditya Mahajan: This would just create \startfoo. \setvalue{\e!start foo} creates a interface specific command. The code that Hans posted does that. I am sorry that this was not clear in the question. Ok, i missed the interface thing. Wolfgang

[NTG-context] Imposition with signatures (pdfpages/psbook emulation -- kind of announce)

2011-01-16 Thread Marco Pessotto
Hello there. I deal very often with imposition, useful for zinesters and to create home-made booklets. ConTeXt by itself seems not to manage signatures, i.e., given a text long 200 pages, it should be imposed in smaller booklets of 50 pages each. (Or at least I didn't find anything about it) At

[NTG-context] Conditional cross references to floats

2011-01-16 Thread Robert Blackstone
Hi all, I wonder if it is already possible to perform the following task: I have to typeset documents that contain many pictures of various sizes. Due to lack of space, some may pictures may not appear on the page on which they are discussed. And also in the course of revising the document,

Re: [NTG-context] Custom XML Pretty Printer

2011-01-16 Thread Renaud AUBIN
Now available on tlcontrib: http://tlcontrib.metatex.org/cgi-bin/package.cgi/ruid=4591828845/action=view/id=388 Cheers, Renaud Le 18/12/2010 23:39, Renaud AUBIN a écrit : Hi there, See http://gitorious.org/xml-pretty-printer-module-for-context for testing. As soon as I have made more

Re: [NTG-context] nice pictures for the wiki

2011-01-16 Thread Henning Hraban Ramm
Am 2011-01-10 um 21:51 schrieb Jonas Stein: - perhaps make that ConTeXt label Mk IV or just IV i do not understand. Why is ConTeXt mkiv not good? The official name is Mark IV, I'd suggest to use that. Or maybe Hans/ Taco have another opinion. - perhaps show optional XML output (and even

Re: [NTG-context] catcode problems (mkiv)

2011-01-16 Thread Peter Rolf
Thank you Taco and Hans! \startluacode works fine :-) Am 16.01.2011 08:41, schrieb Taco Hoekwater: On 01/14/2011 05:52 PM, Peter Rolf wrote: What is the best way to 1. deal with the % character in ctxlua? Use \startluacode \stopluacode instead of ctxlua. 2. print significant

Re: [NTG-context] Custom XML Pretty Printer

2011-01-16 Thread Aditya Mahajan
On Sun, 16 Jan 2011, Renaud AUBIN wrote: Now available on tlcontrib: http://tlcontrib.metatex.org/cgi-bin/package.cgi/ruid=4591828845/action=view/id=388 Any particular reasons why the spaces are not part of the syntax highlighting group? For example just add

Re: [NTG-context] \startquotation, grid and footnote

2011-01-16 Thread Oliver Heins
Wolfgang Schuster schuster.wolfg...@googlemail.com writes: \mainlanguage[de] \setuplanguage[de][leftquotation=\rightguillemot,rightquotation=\leftguillemot] With MkIV you can just write \setuplanguage[de][leftquotation=»,rightquotation=«] \setupquotation[

[NTG-context] searchable PDF with MinionPro under mkiv

2011-01-16 Thread Oliver Heins
How can I generate a searchable PDF with mkiv, using a non standard font like MinionPro? \definefontfeature [default] [default] [mode=node,script=latn,onum=yes] \usemodule[simplefonts] \setmainfont[minionpro] \starttext fi ff ffi ffl 1234567890 \stoptext Using pdftotext, I get this: fi ff ffi ffl

Re: [NTG-context] searchable PDF with MinionPro under mkiv

2011-01-16 Thread 李延瑞
2011/1/17 Oliver Heins o...@sopos.org: How can I generate a searchable PDF with mkiv, using a non standard font like MinionPro? \definefontfeature [default] [default] [mode=node,script=latn,onum=yes] \usemodule[simplefonts] \setmainfont[minionpro] \starttext fi ff ffi ffl 1234567890

Re: [NTG-context] searchable PDF with MinionPro under mkiv

2011-01-16 Thread Oliver Heins
Li Yanrui (李延瑞) liyanrui...@gmail.com writes: Your example works for me with the beta 2011.01.14 and pdftotext-0.16.0. Which version is your ConTeXt MkIV? Your problem looks like http://www.ntg.nl/pipermail/ntg-context/2010/052259.html; but that one has been solved by Taco. Hi Li, ConTeXt

[NTG-context] continious entries in table of contents?

2011-01-16 Thread Oliver Heins
Is it possible to set up the table of contents in a way that entries of some level get typeset continiously? I want the entries of the subsubsection level (level 4) to appear in a single block, not as individual lines: [...] 3 Das Autobiografische in den Filmen der Nouvelle Vague 3.1 Film als

Re: [NTG-context] continious entries in table of contents?

2011-01-16 Thread Cedric Mauclair
Hi, Try adding alternative=d in the options of subsubsection. Best regards. -- Cédric 2011/1/17 Oliver Heins o...@sopos.org: Is it possible to set up the table of contents in a way that entries of some level get typeset continiously?  I want the entries of the subsubsection level (level