[NTG-context] Section/head with separate numbering and references

2012-10-26 Thread Jason Brown
Hello, I'm working on a document with both chapter/section numbering, and a 'topic' whose numbers are sequential across the entire document. I found a solution to enable this from a 2003 thread in the archives (Creating list with separate numbering, 15 April 2003), but I can't seem to get

Re: [NTG-context] using variable for subscript in math+lua

2012-10-26 Thread Jeong Dal
Thanks to all who gave a nice solutions. To write a big matrix of unknowns A=(a_{ij}) is not a frequent case. In math, there are many occasions to write matrices which need some typing work like \NC 2 \NC 3 \NC 4 \NR So if we have a function which write a matrix when the data is given as a

[NTG-context] factor=fit fails

2012-10-26 Thread luigi scarso
Strange error with \externalfigure \starttext \vbox to \textheight{% \vfill Foo\ \vfill \centerline{\externalfigure[cow][width=0.5\textwidth,height=0.5\textheight,factor=fit ]} \vfill } \stoptext ! Missing number, treated as zero. system tex error on line 1 in file test.tex: Missing

[NTG-context] \dorecurse within TABLE

2012-10-26 Thread Alan BRASLAU
Does anyone have a solution to \dorecurse within TABLE? Alan Minimal example: \starttext \dorecurse{8}{\recurselevel\crlf} \bTABLE \dorecurse{8}{\bTR\bTD\recurselevel\eTD\eTR} \eTABLE \stoptext ___ If your question

Re: [NTG-context] \dorecurse within TABLE

2012-10-26 Thread luigi scarso
On Fri, Oct 26, 2012 at 11:50 AM, Alan BRASLAU alan.bras...@cea.fr wrote: Does anyone have a solution to \dorecurse within TABLE? Alan Minimal example: \starttext \dorecurse{8}{\recurselevel\crlf} \bTABLE \dorecurse{8}{\bTR\bTD\recurselevel\eTD\eTR} \eTABLE \stoptext

Re: [NTG-context] \dorecurse within TABLE

2012-10-26 Thread Marco Patzer
2012-10-26 Alan BRASLAU: Does anyone have a solution to \dorecurse within TABLE? Alan Minimal example: \starttext \dorecurse{8}{\recurselevel\crlf} \bTABLE \dorecurse{8}{\bTR\bTD\recurselevel\eTD\eTR} \dorecurse{8}{\expanded{\bTR\bTD\recurselevel\eTD\eTR}} \eTABLE \stoptext

[NTG-context] defineindenting

2012-10-26 Thread Piotr Kopszak
Hello list, I feel a bit out of context not following the list closely for some time so maybe this has been solved already. I cannot get defineindenting to work. Example attached. Best Piotr -- http://okle.pl test-indentations.tex Description: TeX document

Re: [NTG-context] defineindenting

2012-10-26 Thread Sietse Brouwer
Hello Piotr, I cannot get defineindenting to work. Example attached. To input example text, use \input knuth not \knuth . After that change your example works for me, apart from producing something like '. . . :' in the indent space --- I am not familiar with MkII, so I can't tell

Re: [NTG-context] defineindenting

2012-10-26 Thread Piotr Kopszak
O yes, silly mistake! Anyway I'm still getting - ! Undefined control sequence. system tex error on line 1 in file test-indentations.tex: Undefined control sequence ... 1 \defineindenting[myindenting][width=5cm]

Re: [NTG-context] defineindenting

2012-10-26 Thread Marco Patzer
2012-10-26 Sietse Brouwer: Hello Piotr, I cannot get defineindenting to work. Example attached. To input example text, use \input knuth not \knuth . After that change your example works for me, apart from producing something like '. . . :' in the indent space --- I am

Re: [NTG-context] defineindenting

2012-10-26 Thread Piotr Kopszak
Right, so is there a replacement for \defineindenting which works in the recent version? 2012/10/26 Marco Patzer home...@lavabit.com: 2012-10-26 Sietse Brouwer: Hello Piotr, I cannot get defineindenting to work. Example attached. To input example text, use \input knuth not \knuth .

Re: [NTG-context] \dorecurse within TABLE

2012-10-26 Thread Alan BRASLAU
On Fri, 26 Oct 2012 12:27:09 +0200 Marco Patzer home...@lavabit.com wrote: \dorecurse{8}{\expanded{\bTR\bTD\recurselevel\eTD\eTR}} Thank you. And I found something new to understand: http://wiki.contextgarden.net/System_Macros/Expansion_Control Now, is there some better way, or perhaps not,

Re: [NTG-context] defineindenting

2012-10-26 Thread Marco Patzer
2012-10-26 Piotr Kopszak: Right, so is there a replacement for \defineindenting which works in the recent version? I don't know what \defineindenting is supposed to do. I can hardly believe that the dots in the output are intended. What about this: \definedelimitedtext [indenting]

Re: [NTG-context] \dorecurse within TABLE

2012-10-26 Thread Wolfgang Schuster
Am 26.10.2012 um 15:03 schrieb Alan BRASLAU alan.bras...@cea.fr: On Fri, 26 Oct 2012 12:27:09 +0200 Marco Patzer home...@lavabit.com wrote: \dorecurse{8}{\expanded{\bTR\bTD\recurselevel\eTD\eTR}} Thank you. And I found something new to understand:

Re: [NTG-context] \dorecurse within TABLE

2012-10-26 Thread Marco Patzer
2012-10-26 Alan BRASLAU: Now, is there some better way, or perhaps not, around creating my own counter (of course, I can use a counter for the column as well...) You can use \currentTABLEcolumn and \currentTABLErow \starttext \bTABLE \dorecurse{8}{ \bTR \dorecurse{5}{\bTD

Re: [NTG-context] \dorecurse within TABLE

2012-10-26 Thread Alan BRASLAU
Helps to read the wiki, with a link to: http://randomdeterminism.wordpress.com/2009/03/05/tex-programming-the-past-the-present-and-the-future/ Simple enough: \starttext \bTABLE \dorecurse{8}{ \bTR \dorecurse{5}{\bTD \the\numexpr#1,\the\numexpr##1 \eTD} \eTR } \eTABLE

Re: [NTG-context] defineindenting

2012-10-26 Thread Piotr Kopszak
Many thanks! The wiki says it is used to define a collection of indenting settings. I used it to indent more then in the case of other paragraphs the first line of the first paragraph in a chapter, so your solution is unfortunately not exactly what I mean. Best Piotr 2012/10/26 Marco Patzer

Re: [NTG-context] defineindenting

2012-10-26 Thread Sietse Brouwer
NB: whatever is on the wiki page on that article was added by me just now, and represents a best guess only. I think it's correct, based on what I saw it do when I tried your mkii example, but a better description is welcome. --Sietse On Fri, Oct 26, 2012 at 3:28 PM, Piotr Kopszak

Re: [NTG-context] defineindenting

2012-10-26 Thread Marco Patzer
2012-10-26 Piotr Kopszak: Many thanks! The wiki says it is used to define a collection of indenting settings. I used it to indent more then in the case of other paragraphs the first line of the first paragraph in a chapter, so your solution is unfortunately not exactly what I mean. To

Re: [NTG-context] defineindenting

2012-10-26 Thread Piotr Kopszak
That did the trick. Yes, I know it's weird. Technology makes strange things happen sometimes ;) Thanks! Piotr 2012/10/26 Marco Patzer home...@lavabit.com: 2012-10-26 Piotr Kopszak: Many thanks! The wiki says it is used to define a collection of indenting settings. I used it to indent more

Re: [NTG-context] Math Overruns Background

2012-10-26 Thread Aditya Mahajan
On Thu, 25 Oct 2012, Nicholas Ulle wrote: Hello, I'm trying to typeset an exam with solutions in framed or shaded boxes, using \background. However, the background doesn't stretch to the bottom of the text area when there is text preceding it, so if there is enough math inside the background,

Re: [NTG-context] How to set the whole document flush left?

2012-10-26 Thread Marcin Borkowski
Dnia 2012-10-26, o godz. 05:13:51 Wolfgang Schuster wolfgang.schus...@gmail.com napisał(a): Am 26.10.2012 um 00:12 schrieb Marcin Borkowski mb...@wmi.amu.edu.pl: Hi, I'd like to have all my document set flush left. I know how to set a \framed flush left, or \startalign ...

Re: [NTG-context] defineindenting

2012-10-26 Thread Wolfgang Schuster
Am 26.10.2012 um 13:53 schrieb Sietse Brouwer sbbrou...@gmail.com: Hello Piotr, I cannot get defineindenting to work. Example attached. To input example text, use \input knuth not \knuth . After that change your example works for me, apart from producing something like '. . .

[NTG-context] Problems with sectionreset key for \setuphead

2012-10-26 Thread Wolfgang Schuster
Hi Hans, there are a few problems with the sectionreset key for \setuphead. In the example below I can only create continues numbers for \section when I “default” as name for \defineresetset (Method 1) or when I apply my own set to the global setups (Method 2). The important second method

Re: [NTG-context] Math Overruns Background

2012-10-26 Thread Nicholas Ulle
On Fri, Oct 26, 2012 at 7:14 AM, Aditya Mahajan adit...@umich.edu wrote:. Try textbackground rather than background (untested). Aditya Textbackground does fix this, but introduces a different problem: the topoffset is ignored on pages beyond the first. I was originally using