Re: [NTG-context] setupinmargin?

2011-03-15 Thread Wolfgang Schuster
Am 15.03.2011 um 16:00 schrieb Hans van der Meer: > Step by step I am making progress. Now I have the problem that the margin > note is generated from inside a framedtext. As a matter of fact, all elements > of the text I am producing are a series of framedtext's with nothing in > between. > T

Re: [NTG-context] 620 pages limit?

2011-03-15 Thread Marco
On 2011-03-15 Otared Kavian wrote: > Hi, > > For your information, just out of curiosity, I tested Wolfgang's code > \starttext > \count0=0 > \loop\ifnum\count0<3986 % try 3987 > \advance\count0 by 1 > \shipout\vbox{} > \repeat > \end > \stoptext > > which works fine with 3986 pages but not

Re: [NTG-context] 620 pages limit?

2011-03-15 Thread Steffen Wolfrum
Am 15.03.2011 um 17:20 schrieb Taco Hoekwater: > On 03/15/2011 05:11 PM, Steffen Wolfrum wrote: >> It is really hard to seek for a minimal example if you don't know what could >> be the crucial point. >> >> Isn't the bug maybe triggered by simple limits that my projects hurts? >> Like total num

Re: [NTG-context] 620 pages limit?

2011-03-15 Thread Vnpenguin
On Mon, Mar 14, 2011 at 22:35, Wolfgang Schuster wrote: > > Am 14.03.2011 um 18:02 schrieb luigi scarso: > >> \starttext >> \dorecurse{5000} {\input knuth \page } >> \stoptext > > A little bit faster but with the same error message: > > \count0=0 > \loop\ifnum\count0<5000 >  \advance\count0 by 1 >

Re: [NTG-context] 620 pages limit?

2011-03-15 Thread Taco Hoekwater
On 03/15/2011 05:11 PM, Steffen Wolfrum wrote: It is really hard to seek for a minimal example if you don't know what could be the crucial point. Isn't the bug maybe triggered by simple limits that my projects hurts? Like total number of footnotes (about 4000), size of TUC file (3MB), number of

Re: [NTG-context] 620 pages limit?

2011-03-15 Thread Steffen Wolfrum
Am 15.03.2011 um 16:35 schrieb Taco Hoekwater: > On 03/15/2011 03:44 PM, Steffen Wolfrum wrote: >> >> Am 15.03.2011 um 11:27 schrieb Steffen Wolfrum: >> >>> >>> Am 15.03.2011 um 10:07 schrieb Vnpenguin: >>> >>> >>> Best wishes, >>> Taco >> >> Not here: >> \starttext

Re: [NTG-context] 620 pages limit?

2011-03-15 Thread Otared Kavian
Hi, For your information, just out of curiosity, I tested Wolfgang's code \starttext \count0=0 \loop\ifnum\count0<3986 % try 3987 \advance\count0 by 1 \shipout\vbox{} \repeat \end \stoptext which works fine with 3986 pages but not with 3987 pages and above. This is with mkiv, version: 2011.02

Re: [NTG-context] 620 pages limit?

2011-03-15 Thread Taco Hoekwater
On 03/15/2011 03:44 PM, Steffen Wolfrum wrote: Am 15.03.2011 um 11:27 schrieb Steffen Wolfrum: Am 15.03.2011 um 10:07 schrieb Vnpenguin: Best wishes, Taco Not here: \starttext \dorecurse{5000} {\input knuth \page } \stoptext pages> flushing realpage 3987, userpage 3987 PANIC: unprotecte

Re: [NTG-context] setupinmargin?

2011-03-15 Thread Hans van der Meer
Step by step I am making progress. Now I have the problem that the margin note is generated from inside a framedtext. As a matter of fact, all elements of the text I am producing are a series of framedtext's with nothing in between. The problem then is, that the margin notes are withheld until so

Re: [NTG-context] 620 pages limit?

2011-03-15 Thread Steffen Wolfrum
Am 15.03.2011 um 11:27 schrieb Steffen Wolfrum: > > Am 15.03.2011 um 10:07 schrieb Vnpenguin: > > > Best wishes, > Taco Not here: \starttext \dorecurse{5000} {\input knuth \page } \stoptext pages > flushing realpage 3987, userpage 3987

Re: [NTG-context] setupinmargin?

2011-03-15 Thread Wolfgang Schuster
Am 15.03.2011 um 13:23 schrieb Hans van der Meer: > I replaced the \setupinmargin \by setupmargindata and tested on the example > in the Wiki given for \setupinmargin: > > \starttext > \setupmargindata[location=left] > \starttext > This is an example of a simple margin note set in the slanted f

Re: [NTG-context] setupinmargin?

2011-03-15 Thread Hans van der Meer
On 15 mrt 2011, at 12:08, Wolfgang Schuster wrote: > > Am 15.03.2011 um 11:54 schrieb Hans van der Meer: > >> The macro \setupinmargin doesn't seem to exist, although its is described in >> the Wiki: > > Hans rewrote the margintext code and there are now \setupmargindata > and \setupmarginfra

Re: [NTG-context] \expandoneargafter?

2011-03-15 Thread Wolfgang Schuster
Am 15.03.2011 um 12:36 schrieb Hans van der Meer: > > On 15 mrt 2011, at 12:14, Wolfgang Schuster wrote: > >> >> Am 15.03.2011 um 12:10 schrieb Hans van der Meer: >> >>> The ConTeXt system macro's used to contain a definition for >>> \expandoneargafter (see Taco Hoekwater's article on this).

Re: [NTG-context] \expandoneargafter?

2011-03-15 Thread Hans van der Meer
On 15 mrt 2011, at 12:14, Wolfgang Schuster wrote: > > Am 15.03.2011 um 12:10 schrieb Hans van der Meer: > >> The ConTeXt system macro's used to contain a definition for >> \expandoneargafter (see Taco Hoekwater's article on this). What happened >> with it? It seems to have disappeared. A pit

Re: [NTG-context] x-ldx markup tags?

2011-03-15 Thread Philipp Gesang
On 2011-03-15 <11:57:25>, Wolfgang Schuster wrote: > > Am 15.03.2011 um 11:37 schrieb Philipp Gesang: > > > Hi all, > > > > the xml style docstrings for lua files are really useful but I > > still have no clue about what are valid tags. For instance > > > > -

Re: [NTG-context] Changes for setuptex

2011-03-15 Thread Mojca Miklavec
Dear Cecil, I would be glad to fix the script, but may I only ask for some simple explanation of what your code does? (I hardly know bash.) Mojca On Tue, Mar 15, 2011 at 10:50, Cecil Westerhof wrote: > To make the shell script setuptex more robust I would add at the beginning: > set -o errexit

Re: [NTG-context] \expandoneargafter?

2011-03-15 Thread Wolfgang Schuster
Am 15.03.2011 um 12:10 schrieb Hans van der Meer: > The ConTeXt system macro's used to contain a definition for > \expandoneargafter (see Taco Hoekwater's article on this). What happened with > it? It seems to have disappeared. A pity because I use it in my macros in > several places. > > ! U

[NTG-context] \expandoneargafter?

2011-03-15 Thread Hans van der Meer
The ConTeXt system macro's used to contain a definition for \expandoneargafter (see Taco Hoekwater's article on this). What happened with it? It seems to have disappeared. A pity because I use it in my macros in several places. ! Undefined control sequence. l.3 \expandoneargafter

Re: [NTG-context] setupinmargin?

2011-03-15 Thread Wolfgang Schuster
Am 15.03.2011 um 11:54 schrieb Hans van der Meer: > The macro \setupinmargin doesn't seem to exist, although its is described in > the Wiki: Hans rewrote the margintext code and there are now \setupmargindata and \setupmarginframe. A newer beta (not yet released) has \setupinmargin as synonym f

Re: [NTG-context] x-ldx markup tags?

2011-03-15 Thread Wolfgang Schuster
Am 15.03.2011 um 11:37 schrieb Philipp Gesang: > Hi all, > > the xml style docstrings for lua files are really useful but I > still have no clue about what are valid tags. For instance > > - > > --[[ldx-- > Drop by at http://pragm

[NTG-context] setupinmargin?

2011-03-15 Thread Hans van der Meer
The macro \setupinmargin doesn't seem to exist, although its is described in the Wiki: Minimal example: \starttext \setupinmargin[location=right] \stoptext error log: ConTeXt ver: 2011.02.25 22:03 MKIV fmt: 2011.3.13 int: english/english ! Undefined control sequence. system > tex

[NTG-context] x-ldx markup tags?

2011-03-15 Thread Philipp Gesang
Hi all, the xml style docstrings for lua files are really useful but I still have no clue about what are valid tags. For instance - --[[ldx-- Drop by at http://pragma-ade.com/"/>! --ldx]]-- -

Re: [NTG-context] 620 pages limit?

2011-03-15 Thread Steffen Wolfrum
Am 15.03.2011 um 10:07 schrieb Vnpenguin: Best wishes, Taco >>> >>> Not here: >>> \starttext >>> \dorecurse{5000} {\input knuth \page } >>> \stoptext >>> pages > flushing realpage 3987, userpage 3987 >>> PANIC: unprotected error in call to Lua API (stack overflow (out o

[NTG-context] Changes for setuptex

2011-03-15 Thread Cecil Westerhof
To make the shell script setuptex more robust I would add at the beginning: set -o errexit set -o nounset function isVarSet() { if [[ ${#} -ne 1 ]] ; then fatal "${FUNCNAME} " return fi declare -p ${1} &>/dev/null return } And use: if ! isVarSet PS1 ; then instead of: i

Re: [NTG-context] + in file names

2011-03-15 Thread Peter Münster
Vedran Miletić writes: > Thanks, but this says nothing about "+" character specifically. It's easier and less error-prone to say what characters are guaranteed to work, than to say what characters could cause problems. There are a lot more characters, that you could try: !"'`§$%&/()=?{[]}\*,;:_°

Re: [NTG-context] 620 pages limit?

2011-03-15 Thread Vnpenguin
>>> >>> Best wishes, >>> Taco >> >> Not here: >> \starttext >> \dorecurse{5000} {\input knuth \page } >> \stoptext >> pages           > flushing realpage 3987, userpage 3987 >> PANIC: unprotected error in call to Lua API (stack overflow (out of >> stack space)) >> >> mtx-context     | fatal error:

Re: [NTG-context] + in file names

2011-03-15 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello - 2011/3/14 Peter Münster Vedran Miletić writes: > Should + not be used? It seems to work ok without modes, but I > haven't tested deeply. There is now an entry in the FAQ: http://wiki.contextgarden.net/FAQ#Why_should_I_only_use_letters.2C_digits_and_hyphens_in_file.2Fpath_names.3F

Re: [NTG-context] + in file names

2011-03-15 Thread Vedran Miletić
2011/3/14 Peter Münster > Vedran Miletić writes: > > > Should + not be used? It seems to work ok without modes, but I > > haven't tested deeply. > > There is now an entry in the FAQ: > > http://wiki.contextgarden.net/FAQ#Why_should_I_only_use_letters.2C_digits_and_hyphens_in_file.2Fpath_names.3F

Re: [NTG-context] Does MKIV take more time as MKII

2011-03-15 Thread Henning Hraban Ramm
Am 2011-03-14 um 20:52 schrieb Mojca Miklavec: PPS (not to be taken (too) seriously): But I wouldn't be surprized if, say, two years from now you would try to repeat the experiment just to find out that MKIV became faster. (Unlikely to happen, but imaging Taco coming to idea to use all the four