Re: [NTG-context] lua, footnotes, interaction

2010-04-17 Thread Peter Münster
On Fri, Apr 16 2010, Philipp Gesang wrote: function track.simple(arg) Try this: print(TRACK:, arg) \def\foottrack#1{\footnote{\ctxlua{track.simple(#1)}}} With interaction enabled, the argument to \footnote{} gets evaluated twice. Cheers, Peter -- Contact information:

Re: [NTG-context] lua, footnotes, interaction

2010-04-17 Thread Peter Münster
On Fri, Apr 16 2010, Philipp Gesang wrote: I'd naively expect \track#1 to behave identically regardless of interaction. How do I make it interaction-proof Sorry, I had forgotten to answer your main-question: \def\foottrack#1{\expanded{\footnote{\ctxlua{track.simple(#1) and, if

Re: [NTG-context] 3D annotations

2010-04-17 Thread Michail Vidiassov
Dear Hans, I wrote to you thank you for your latest effort to put u3d support in a working state, but more thanks for more effort, but May be a more robust way is to read first 3 bytes of the model file, since U3D or PRC signature is always there - that can be done instead of relying on

Re: [NTG-context] lua, footnotes, interaction

2010-04-17 Thread Philipp Gesang
Hi Peter, hi all! On 2010-04-17 08:52:05, Peter Münster wrote: On Fri, Apr 16 2010, Philipp Gesang wrote: I'd naively expect \track#1 to behave identically regardless of interaction. How do I make it interaction-proof Sorry, I had forgotten to answer your main-question:

Re: [NTG-context] code

2010-04-17 Thread R. Bastian
On Sat, 17 Apr 2010 06:37:02 +0200 Wolfgang Schuster schuster.wolfg...@googlemail.com scribit: [...] the sign | (vertical bar) seems to be a special char (context/mkiv) it is only compiled if present in pairs |text | the message: File ended while use of \next \type{|} works To

[NTG-context] [ppchtex] \normalifx: Undefined control sequence

2010-04-17 Thread Denis Bitouzé
Hello, thanks to contributors of this list I was able to use ppchtex with LaTeX when I encountered a \writestatus: Undefined control sequence problem: http://www.ntg.nl/pipermail/ntg-context/2009/044672.html Everything went well (though I have a little use of ppchtex) but, as I tried it some

Re: [NTG-context] lua, footnotes, interaction

2010-04-17 Thread Hans Hagen
On 17-4-2010 8:27, Peter Münster wrote: On Fri, Apr 16 2010, Philipp Gesang wrote: function track.simple(arg) Try this: print(TRACK:, arg) \def\foottrack#1{\footnote{\ctxlua{track.simple(#1)}}} With interaction enabled, the argument to \footnote{} gets evaluated twice. eventually

Re: [NTG-context] lua, footnotes, interaction

2010-04-17 Thread Hans Hagen
On 17-4-2010 9:20, Philipp Gesang wrote: Hi Peter, hi all! On 2010-04-1708:52:05, Peter Münster wrote: On Fri, Apr 16 2010, Philipp Gesang wrote: I'd naively expect \track#1 to behave identically regardless of interaction. How do I make it interaction-proof Sorry, I had forgotten to

[NTG-context] Ligaturing in footnotes.

2010-04-17 Thread Philipp Gesang
Hi again, footnotes keep me busy: ···8·· \def\sc{\setfontfeature{smallcaps}} \definefontfeature [default][default] [mode=node,onum=yes,liga=yes] \definefontfeature [smallcaps][default]

[NTG-context] Treating orphans and widows

2010-04-17 Thread Jan Pohanka
Hello, could anyone describe me, how to deal with orphans and widows in Context? Now I use \clubpenalty=8000 \widowpenalty=8000 is there any context way how to do that? greetings Jan -- Tato zpráva byla vytvořena převratným poštovním klientem Opery: http://www.opera.com/mail/

Re: [NTG-context] code

2010-04-17 Thread Wolfgang Schuster
Am 17.04.10 10:51, schrieb R. Bastian: what is the sense of |text | ? http://wiki.contextgarden.net/Composed_words Wolfgang ___ If your question is of interest to others as well, please add an entry to the

Re: [NTG-context] table: vertical distance

2010-04-17 Thread Wolfgang Schuster
Am 17.04.10 11:35, schrieb Wolfgang Werners-Lucchini: Hallo, I have to typeset a division and have two diverent solutions but they both have problems. \setuplines[style=type] \startlines 110011:11=10001 11 ... ~0 \stoplines \stoptext \setuplines[style=type,space=on] \startlines

Re: [NTG-context] basic \cite[]

2010-04-17 Thread Michael Saunders
Taco: Try \setuppublications[alternative=num] Thank you, but using that I get the same result: \cite[myKey] prints out empty brackets [], not [1]. ___ If your question is of interest to others as well, please

Re: [NTG-context] table: vertical distance

2010-04-17 Thread Wolfgang Werners-Lucchini
\define[1]\divisionrule {\dontleavehmode\blap {\vskip-\strutht \blackrule[width=\the\dimexpr.5em*#1\relax,height=2\linewidth]}% \vskip-\lineheight} Ahh! Yes, this helps a lot. Thank you very much! Wolfgang ___

Re: [NTG-context] basic \cite[]

2010-04-17 Thread Michael Green
Michael Saunders odradek5 at gmail.com writes: Taco: Try \setuppublications[alternative=num] Thank you, but using that I get the same result: Mk II gets the desired result; Mk IV does not. Example: \usemodule[bib] \setuppublications[alternative=num,refcommand=num]

Re: [NTG-context] basic \cite[]

2010-04-17 Thread Michael Saunders
Michael Green: Mk II gets the desired result; Mk IV does not. Example: \usemodule[bib] \setuppublications[alternative=num,refcommand=num] ... That's it then. I'm using Mk IV. Is there a proper way to use it? By the way, the developers should know something: in English, a criterium is a