Re: [NTG-context] Frame until the bottom of the page

2011-04-07 Thread Wolfgang Schuster
Am 07.04.2011 um 03:20 schrieb Aditya Mahajan: Hi, I want to create a frame that should occupy the remaining space on the page. For example, if I call this frame when the page is 1/3rd full, I want the frame to have an height of 0.667\textheight. How can I do that? In other words, how

Re: [NTG-context] dashed underbar

2011-04-07 Thread Daniel Schopper
Sorry to bother you again… Unfortunately this doesn't work out right in descriptions: after the first line the underlining starts at the left margin not with the other indented lines. Anything one can do about this? Thanks! \definetextbackground [dashed] [ location=text,

[NTG-context] TeX: Macro definition

2011-04-07 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, how to define a macro to take the new-line character as end-of-parameter? The following macro: \def\T#1\par{#1} takes everything until \par (or empty line as it equals \par primitive) as #1, so the following is valid: \T abc def\par \T abc \T def (#1 becomes: abc def, abc and def.)

Re: [NTG-context] TeX: Macro definition

2011-04-07 Thread Wolfgang Schuster
Am 07.04.2011 um 11:27 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Hello, how to define a macro to take the new-line character as end-of-parameter? The following macro: \def\T#1\par{#1} takes everything until \par (or empty line as it equals \par primitive) as #1, so the

Re: [NTG-context] TeX: Macro definition

2011-04-07 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Thanks for the piece of code. The macro is temporary - not systematic. It should just help me to restyle some copy-pasted text from Word to .mkiv source. This way, I'm just prefixing such lines with e.g. \foo, no extra job is necassary, just to create a valid body of the macro (\dofoo).

Re: [NTG-context] Margin text in doublesided documents

2011-04-07 Thread Wolfgang Schuster
Am 04.04.2011 um 23:56 schrieb C.: Also, is \setupinmargindata equivalent to the old \setupinmargin? I could not find any documentation about it. I wrote a interface file for the new margindata code. Wolfgang typo-mar.pdf Description: Adobe PDF document typo-mar.tex Description: Binary

[NTG-context] \blank[...]

2011-04-07 Thread Herbert Voss
From the source of the manual: \starttext bar\par \blank[2\bodyfontsize] bar \stoptext with latest minimal I get: [...] system tex error on line 8 in file zz.tex: Illegal unit of measure (pt inserted) ... 1 \starttext 2 bar\par 3 \blank[2\bodyfontsize] 4 bar 5

Re: [NTG-context] Frame until the bottom of the page

2011-04-07 Thread Aditya Mahajan
On Thu, 7 Apr 2011, Wolfgang Schuster wrote: Am 07.04.2011 um 03:20 schrieb Aditya Mahajan: Hi, I want to create a frame that should occupy the remaining space on the page. For example, if I call this frame when the page is 1/3rd full, I want the frame to have an height of

[NTG-context] no line break in CJK text in footnotes

2011-04-07 Thread 李延瑞
Hi Hans, At least for the beta 2011.04.03, the line break can not work for cjk text in footnotes. See the following example: \definefontsynonym[Serif][name:adobesongstd] \definetypeface[myfonts][rm][serif][myfonts][default] \setscript[hanzi] \setupbodyfont[myfonts,rm,11pt] \starttext