[NTG-context] Problem with \definetabletemplate

2012-03-15 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, I have problem using \definetabletemplate (http://wiki.contextgarden.net/Command/definetabletemplate, http://www.mail-archive.com/search?l=ntg-context%40ntg.nlq=definetabletemplate). The following code doesn't work: \definetabletemplate[Test][|c|] \starttext \starttable[|c|] %

[NTG-context] Bug in \setuplist

2012-03-15 Thread Willi Egger
Hi Guru's While typesetting an old book (original is from 1853) I need to tweak the table of contents. It looks as follows: CHAPTER II. BEES CAPABLE OF DOMESTICATION. Astonishment of persons at their tameness, 25. Bees intended for the comfort of man. Properties fitting them for domestication.

Re: [NTG-context] random background picture in metafun

2012-03-15 Thread Thomas A. Schmitz
On 03/13/2012 07:24 PM, Peter Rolf wrote: Actually, round (uniformdeviate(nopics-1)) does not give equal weightage to 1 and nofpics. A better solution is n:= floor(uniformdeviate(nofpics)) + 1; :-) I used 'floor' in my prior tests, but changed it to 'round' because of the very small

[NTG-context] Footnotes in formulas

2012-03-15 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, what is the good way how to use footnotes in formulas? This code lowers the Bbb text: \starttext \startformula Aaa\footnote{Some footnote text} \qquad Bbb \stopformula \stoptext Example 2: \starttext \startformula Ccc{\footnote{Footnote C}}

Re: [NTG-context] Problem with \definetabletemplate

2012-03-15 Thread Wolfgang Schuster
Am 15.03.2012 um 08:36 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Hello, I have problem using \definetabletemplate (http://wiki.contextgarden.net/Command/definetabletemplate, http://www.mail-archive.com/search?l=ntg-context%40ntg.nlq=definetabletemplate). The following code

Re: [NTG-context] Footnotes in formulas

2012-03-15 Thread Vladimir Lomov
Hello, ** Procházka Lukáš Ing. - Pontex s. r. o. [2012-03-15 09:34:03 +0100]: Hello, what is the good way how to use footnotes in formulas? This code lowers the Bbb text: \starttext \startformula Aaa\footnote{Some footnote text} \qquad Bbb \stopformula \stoptext

Re: [NTG-context] Bug in \setuplist

2012-03-15 Thread Wolfgang Schuster
Am 15.03.2012 um 11:25 schrieb Willi Egger: Hi Guru's While typesetting an old book (original is from 1853) I need to tweak the table of contents. It looks as follows: CHAPTER II. BEES CAPABLE OF DOMESTICATION. Astonishment of persons at their tameness, 25. Bees intended for the

[NTG-context] Styling of naturaltable headings

2012-03-15 Thread Steffen Fritzsche
Hi, using the latest beta I have the following problem styling my table headings based on the naturaltables module. My test document looks as follows \setupTABLE[frame=off,option=stretch] \setupTABLE[c][each][style=\ss]% Styling 1

Re: [NTG-context] Styling of naturaltable headings

2012-03-15 Thread Wolfgang Schuster
Am 15.03.2012 um 14:31 schrieb Steffen Fritzsche: Hi, using the latest beta I have the following problem styling my table headings based on the naturaltables module. My test document looks as follows \setupTABLE[frame=off,option=stretch] \setupTABLE[c][each][style=\ss]

Re: [NTG-context] Problem with \definetabletemplate

2012-03-15 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... OK, thanks for the patch. It works now. Best regards, Lukas On Thu, 15 Mar 2012 13:24:18 +0100, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 15.03.2012 um 08:36 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Hello, I have problem using \definetabletemplate

Re: [NTG-context] Footnotes in formulas

2012-03-15 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... Actually, I'm using \st-formula to center members on the line. Something similar to what you get using: \hbox to\textwidth{\hfil a\hfil b\hfil c\hfil} I was thinking about \st-combination, too: \startcombination[3*1] {a} {b} {c} \stopcombination But \st-combination

Re: [NTG-context] Styling of naturaltable headings

2012-03-15 Thread Steffen Fritzsche
Am 15.03.2012 um 14:49 schrieb Wolfgang Schuster: Any ideas how I might get an sans serif font in my table heading? \setupTABLE[header][each][style=sans] Thanks for your answer, but this does not work for me. I changed my definition to \setupTABLE[frame=off,option=stretch]

Re: [NTG-context] Footnotes in formulas

2012-03-15 Thread Wolfgang Schuster
Am 15.03.2012 um 15:23 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: ... Actually, I'm using \st-formula to center members on the line. Something similar to what you get using: \hbox to\textwidth{\hfil a\hfil b\hfil c\hfil} I was thinking about \st-combination, too:

Re: [NTG-context] Styling of naturaltable headings

2012-03-15 Thread Wolfgang Schuster
Am 15.03.2012 um 15:25 schrieb Steffen Fritzsche: Am 15.03.2012 um 14:49 schrieb Wolfgang Schuster: Any ideas how I might get an sans serif font in my table heading? \setupTABLE[header][each][style=sans] Thanks for your answer, but this does not work for me. I changed my definition

Re: [NTG-context] Styling of naturaltable headings

2012-03-15 Thread Steffen Fritzsche
Am 15.03.2012 um 15:36 schrieb Wolfgang Schuster: Don’t use \bTH when you use put the header in a \bTABLEhead … \eTABLEhead block because the \bTH command applies a format the the cells, when you use \bTD instead no formatting is applied and the \setupTABLE setting is used. Thanks Wolfgang,

Re: [NTG-context] Styling of naturaltable headings

2012-03-15 Thread Wolfgang Schuster
Am 15.03.2012 um 15:59 schrieb Steffen Fritzsche: Am 15.03.2012 um 15:36 schrieb Wolfgang Schuster: Don’t use \bTH when you use put the header in a \bTABLEhead … \eTABLEhead block because the \bTH command applies a format the the cells, when you use \bTD instead no formatting is applied

Re: [NTG-context] Footnotes in formulas

2012-03-15 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... OK, it works! On Thu, 15 Mar 2012 15:34:43 +0100, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: What’s a “non-float” and why can’t you use combinations? I missed the other command for each tile of the combination - its caption; that's why my example didn't work.

Re: [NTG-context] Bug in \setuplist

2012-03-15 Thread Willi Egger
Hi Wolfgang, thank you very much for solving my problem! -- Indeed this works well. What I need to do is to convert the chapter number into a roman number. CHAPTER XIV. BEES CAPABLE OF DOMESTICATION. Astonishment of persons at their tameness, 25. Bees intended for the comfort of man.

Re: [NTG-context] Footnotes in formulas

2012-03-15 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... Anyway, footnote doesn't appear even when using \st-combination: \starttext \startcombination[1*1] {A \unit{50 t}\footnote{A footnote}}{} \stopcombination \stoptext - There is no footnote #1 (A footnote) at the bottom of the page. So what is the problem? Best regards,

Re: [NTG-context] Bug in \setuplist

2012-03-15 Thread Wolfgang Schuster
Am 15.03.2012 um 17:21 schrieb Willi Egger: Hi Wolfgang, thank you very much for solving my problem! -- Indeed this works well. What I need to do is to convert the chapter number into a roman number. CHAPTER XIV. BEES CAPABLE OF DOMESTICATION. Astonishment of persons at their

Re: [NTG-context] Bug in \setuplist

2012-03-15 Thread Willi Egger
Hi, replying to my self: I was not aware of this macro \convert{new_form}{number_to_be_converted} So in the meantime the commands which give the correct result become: \unexpanded\def\Mychaptercommand#1#2#3{\blank CHAPTER~\convertnumber{R}{#1}.\blank{#2}.\hskip0.25\bodyfontsize}

Re: [NTG-context] Bug in \setuplist

2012-03-15 Thread Willi Egger
Hi Wolfgang, you are of course right. - When testing I switched to a test-file, where I did not set the romannumerals conversion in \setuphead. - Sorry ;-( Is the use of the option-key in \setuphead[chapter][conversion=Romannumerals] depreciated? Willi On 15 Mar 2012, at 17:33, Wolfgang

Re: [NTG-context] Bug in \setuplist

2012-03-15 Thread Wolfgang Schuster
Am 15.03.2012 um 17:45 schrieb Willi Egger: Hi Wolfgang, you are of course right. - When testing I switched to a test-file, where I did not set the romannumerals conversion in \setuphead. - Sorry ;-( Is the use of the option-key in \setuphead[chapter][conversion=Romannumerals]

Re: [NTG-context] random background picture in metafun

2012-03-15 Thread Hans Hagen
On 15-3-2012 10:18, Thomas A. Schmitz wrote: On 03/13/2012 07:24 PM, Peter Rolf wrote: Actually, round (uniformdeviate(nopics-1)) does not give equal weightage to 1 and nofpics. A better solution is n:= floor(uniformdeviate(nofpics)) + 1; :-) I used 'floor' in my prior tests, but changed

Re: [NTG-context] random background picture in metafun

2012-03-15 Thread Thomas A. Schmitz
On 03/15/2012 07:06 PM, Hans Hagen wrote: Ah, but keep in mind that the random number is stored in the tuc file! So, as long as that file is not wiped, you get the same random number initialization. Imagine what would happen if we would not do that. So, just erase the tuc if you want another

[NTG-context] placefloat in long parapgraph

2012-03-15 Thread Steffen Wolfrum
Hi, the minimal example below maybe looks funny ... I was trying to fake one big paragraph (without parapgraph break). Here an image needs to be placed eg. on the second or third page (because its anchor is set eg. after the first third of this long paragraph). How can I place a float with out

Re: [NTG-context] Referencing a definition

2012-03-15 Thread Kip Warner
On Mon, 2012-03-05 at 18:04 +0100, Hans Hagen wrote: On 4-3-2012 23:52, Kip Warner wrote: Hey list, I have a definition, like so... \startdefinition[definition:Foo]{Foo} Definition of foo here... \stopdefinition I'd like to reference it in the same way I would a section like