[NTG-context] Own environment creating

2010-12-15 Thread Jaroslav Hajtmar
Hello experts, I'll find somewhere perfect example of how to define and set parameters of my own environment. I want to create my own environment derived from framedtext environment. I want to use my own settings such as: \defineframedtext[MyFramedCols][MYTITLE=My title, MYNUMCOLS=3, ...,

Re: [NTG-context] Own environment creating

2010-12-15 Thread Hans Hagen
On 15-12-2010 11:49, Jaroslav Hajtmar wrote: Hello experts, I'll find somewhere perfect example of how to define and set parameters of my own environment. I want to create my own environment derived from framedtext environment. I want to use my own settings such as:

Re: [NTG-context] How to avoid that \writetolist becomes a page-breaker

2010-12-15 Thread Hans Hagen
On 14-12-2010 10:32, Marco Pessotto wrote: \subject{\bf My title!} \dontleavehmode \writetolist[myrandompart]{}{It's a test} works. The question if is this the right thing to do, still remains, though it's quite ok as long as you realize that it introduces 'something' in the text stream, so

Re: [NTG-context] How to avoid that \writetolist becomes a page-breaker

2010-12-15 Thread Hans Hagen
On 14-12-2010 9:00, Marco Pessotto wrote: \doneleavehmode \writetolist[myrandompart]{It's a test} \input knuth i.e. just bind the write to some text - Hans Hagen | PRAGMA ADE

Re: [NTG-context] bold small caps

2010-12-15 Thread Hans Hagen
On 12-12-2010 8:39, Peter Münster wrote: On Sun, Dec 12 2010, Wolfgang Schuster wrote: \unexpanded\def\sc{\doifelsecurrentfonthasfeature{smcp}{\addfs{smcp}}\normalsc} Nice! Hans, what about integration into the core? when it works out ok, I'm sure that wolfgang and I will look into it

Re: [NTG-context] How to avoid that \writetolist becomes a page-breaker

2010-12-15 Thread Marco Pessotto
Hans Hagen pra...@wxs.nl writes: On 14-12-2010 9:00, Marco Pessotto wrote: \doneleavehmode \writetolist[myrandompart]{It's a test} \input knuth i.e. just bind the write to some text Thanks for your answer. I'm on my way to the wiki :-) -- Marco

Re: [NTG-context] Horizontal space in math subscript generated by Lua

2010-12-15 Thread Hans Hagen
On 14-12-2010 12:25, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, I encountered a strange effect. Let's have a code that generates the same math, firstly by Ctx and secondly by Lua: --- \starttext \startformula M_{t,WnT} = 1000 \stopformula \startluacode context.startformula()

Re: [NTG-context] Own environment creating

2010-12-15 Thread Jaroslav Hajtmar
Hello Hans, Its ingeniously simple and easy!!! ConTeXt never cease fascinate to me! God Save the developers of ConTeXt! :-) Jaroslav with greetings Dne 15.12.2010 12:37, Hans Hagen napsal(a): On 15-12-2010 11:49, Jaroslav Hajtmar wrote: Hello experts, I'll find somewhere perfect example

Re: [NTG-context] Help: tweaking bibliography style

2010-12-15 Thread Nicola
In article nvitacolonna-f968f4.10292114122...@news.gmane.org, Nicola nvitacolo...@gmail.com wrote: Hi, currently, in my document, an article reference looks like this: [1] Thor, A. U. (2010). ConTeXt is great. My Own Publishing, 2(4), 23-34. with the title in italics. How to make the

Re: [NTG-context] Horizontal space in math subscript generated by Lua

2010-12-15 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, On Wed, 15 Dec 2010 13:06:42 +0100, Hans Hagen pra...@wxs.nl wrote: actually, the luacode was doing the right thing as there is a protect/unprotect mismatch (will be fixed); puttingthis at the top of you file works: \catcodetable\ctxcatcodes thank you, Hans. This makes both

[NTG-context] \do(single|double|etc)empty behaviour

2010-12-15 Thread Marco Pessotto
Hello there. I was writing a small macro to emulate a custom \part command, and I broke my head against \dosingleempty (but finally I won). Why this example is working: % start % \definelist[talpart] \define\talpart{\page[right]% \blank[2*big]%

Re: [NTG-context] \do(single|double|etc)empty behaviour

2010-12-15 Thread Wolfgang Schuster
Am 15.12.2010 um 19:40 schrieb Marco Pessotto: Hello there. I was writing a small macro to emulate a custom \part command, and I broke my head against \dosingleempty (but finally I won). […] It's unclear to me how the arguments are passed between macros. Probably it's just a

Re: [NTG-context] \do(single|double|etc)empty behaviour

2010-12-15 Thread Marco Pessotto
Wolfgang Schuster schuster.wolfg...@googlemail.com writes: Am 15.12.2010 um 19:40 schrieb Marco Pessotto: Hello there. I was writing a small macro to emulate a custom \part command, and I broke my head against \dosingleempty (but finally I won). […] It's unclear to me how the

[NTG-context] Installation context minimals

2010-12-15 Thread Curiouslearn
Hello, Can someone please tell me if the instructions for installation/updating of minimals given on http://wiki.contextgarden.net/ConTeXt_Minimals#Unix-like_platforms_.28Linux.2FMacOS_X.2FFreeBSD.2FSolaris.29 are still valid. I went to my /Applications/ContextMinimals folder (on Mac OSX) and

[NTG-context] \par in end of define fails

2010-12-15 Thread Jonas Stein
\define[1]\myoneliner{#1 \par } raises an error. Why, and how should i repair it? Kind regards, -- Jonas Stein n...@jonasstein.de ___ If your question is of interest to others as well, please add an entry to the

Re: [NTG-context] Installation context minimals

2010-12-15 Thread Curiouslearn
I just want to update my post to include the following information: I had forgotten to run the following step during the installation: source /Applications/ContextMinimals/tex/setuptex I did that and ran the three commands mtxrun --selfupdate luatools --generate context --make

Re: [NTG-context] Installation context minimals

2010-12-15 Thread Curiouslearn
OkayI think the following was missing. In addition to the three commands I needed mtxrun --generate I have update the Wiki by adding this command to making formats. Let me know if this is incorrect. On Wed, Dec 15, 2010 at 7:41 PM, Curiouslearn curiousle...@gmail.com wrote: I just want to

Re: [NTG-context] \par in end of define fails

2010-12-15 Thread Aditya Mahajan
On Thu, 16 Dec 2010, Jonas Stein wrote: \define[1]\myoneliner{#1 \par } raises an error. (Untested) \define[1]\myoneliner{#1 \endgraf} Aditya ___ If your question is of interest to others as well, please add

[NTG-context] color all the formulae?

2010-12-15 Thread Yue Wang
Hi, Hans: Is there some way to color all the formulae braced in $$ and \start|stopformula? I search setupcolors, only textcolor is available. there are also no color key in setupformulae. Yue Wang ___ If your

Re: [NTG-context] Marginal line numbers

2010-12-15 Thread Thomas A. Schmitz
On Dec 14, 2010, at 9:33 PM, Jon Crump wrote: All, Thanks to Thomas's help, I've been making my way up the learning curve. My TEI xml has empty lb elements indicating lines in the original and corresponding lb elements in the translation. I'd like to be able to set these numbers in the

Re: [NTG-context] TEI - conTeXt

2010-12-15 Thread Thomas A. Schmitz
On Dec 11, 2010, at 8:56 PM, Jon Crump wrote: I've done as you suggest and downloaded the minimals beta leaving the TeX-live distribution behind, so I can be on the same page with you all. Hans's fix has worked. I'm gratified that my intuition about how @xml:id should work was not wrong.