Re: [NTG-context] \inpu

2012-01-01 Thread Wolfgang Schuster
Am 01.01.2012 um 08:00 schrieb luigi scarso: On Sun, Jan 1, 2012 at 4:28 AM, Michael Talbot-Wilson m...@view.net.au wrote: I thought I'd see if I could use ConTeXt. Here is my first try, hello.tex. \starttext \input header Hello, World!\startlua a = 1.5 b = 1.8 c = a * b

Re: [NTG-context] Center (horizontal + vertical) an image in \setframed

2012-01-01 Thread Wolfgang Schuster
Am 31.12.2011 um 15:33 schrieb Jan Heinen: Hello I want to center (horizontal and vertical) an image in a frame. 2. This is a complete example. I used a second \setframed to show the area in which the cow should be centered and middled: \definelayer[Kontaktdaten] [x=0mm,

Re: [NTG-context] indenting \startlines... \stoplines

2012-01-01 Thread Wolfgang Schuster
Am 31.12.2011 um 20:33 schrieb Pablo Rodríguez: Hi there, I want to be a \startlines... \stoplines environment to be 10cm away from the left margin. I know this is a basic question, but I have no idea how to do it. As the lines environment has no margin keys you need the narrower

Re: [NTG-context] new beta

2012-01-01 Thread Wolfgang Schuster
Am 01.01.2012 um 03:39 schrieb Li Yanrui (李延瑞): 2011/12/31 Hans Hagen pra...@wxs.nl: Hi, I uploaded a new beta. As I'm still in cleaning-up mode, the usual problems could show up as quite some code was adapted (moved around). For those interested there is a file 'status-mkiv' that can be

Re: [NTG-context] xml processing

2012-01-01 Thread Hans Hagen
On 31-12-2011 21:55, Meer, H. van der wrote: Is there a macro to retrieve the name of the file when inside a call to \xmlprocessfile? no, there isn't -- - Hans Hagen | PRAGMA ADE

Re: [NTG-context] indenting \startlines... \stoplines

2012-01-01 Thread Pablo Rodríguez
On 01/01/2012 10:30 AM, Wolfgang Schuster wrote: Am 31.12.2011 um 20:33 schrieb Pablo Rodríguez: Hi there, I want to be a \startlines... \stoplines environment to be 10cm away from the left margin. I know this is a basic question, but I have no idea how to do it. As the lines

[NTG-context] escaping % in urls

2012-01-01 Thread Pablo Rodríguez
Hi there, I have the following sample: \define[1]\url{\goto{\hyphenatedurl{#1}}[url(#1)]} \starttext \url{http://buscon.rae.es/dpdI/SrvltGUIBusDPD?lema=puntos\%20suspensivos} \stoptext in which I try to escape %, but using the above approach I also get the \ printed. Which is the proper way to

Re: [NTG-context] escaping % in urls

2012-01-01 Thread Khaled Hosny
On Sun, Jan 01, 2012 at 02:26:39PM +0100, Pablo Rodríguez wrote: Hi there, I have the following sample: \define[1]\url{\goto{\hyphenatedurl{#1}}[url(#1)]} \starttext \url{http://buscon.rae.es/dpdI/SrvltGUIBusDPD?lema=puntos\%20suspensivos} \stoptext in which I try to escape %, but

Re: [NTG-context] escaping % in urls

2012-01-01 Thread Peter Münster
On Sun, Jan 01 2012, Pablo Rodríguez wrote: Which is the proper way to do it? (Not replacing %20 with a blank space.) This works (I don't know, if proper way or not...): \startasciimode \url{http://buscon.rae.es/dpdI/SrvltGUIBusDPD?lema=puntos%20suspensivos} \stopasciimode or

Re: [NTG-context] escaping % in urls

2012-01-01 Thread Pablo Rodríguez
On 01/01/2012 02:46 PM, Khaled Hosny wrote: On Sun, Jan 01, 2012 at 02:26:39PM +0100, Pablo Rodríguez wrote: Hi there, I have the following sample: \define[1]\url{\goto{\hyphenatedurl{#1}}[url(#1)]} \starttext \url{http://buscon.rae.es/dpdI/SrvltGUIBusDPD?lema=puntos\%20suspensivos}

Re: [NTG-context] escaping % in urls

2012-01-01 Thread Pablo Rodríguez
On 01/01/2012 02:48 PM, Peter Münster wrote: On Sun, Jan 01 2012, Pablo Rodríguez wrote: Which is the proper way to do it? (Not replacing %20 with a blank space.) This works (I don't know, if proper way or not...): \startasciimode

[NTG-context] strip space in xml

2012-01-01 Thread Meer, H. van der
I have the following problem with xml processing. Spurious space is typeset, annoyingly visible when nearly equivalent structures are typeset one under another. Take the following node structure where the text node is the one intended to contribute to the typeset material, whereas anothernode

[NTG-context] Pagereferences to more than one page

2012-01-01 Thread Jan Heinen
Happy New Year! I want to reference to more than one page. In the exampe above only page 2 is referenced - how to get 2,4 ? \starttext You can find red vehicles on \at{page:}[red] Here I want to see: You can find red vehicles on page 2,4 (only page 2 is wrong) \page

[NTG-context] Custom chapter footer

2012-01-01 Thread Andreas Harder
Hi Hans, the following used to work. Has the syntax changed? \definetext[chapter][footer][pagenumber] \setuphead [chapter][footer=chapter] \starttext \chapter{test} \stoptext ! Undefined control sequence. Regards Andreas

Re: [NTG-context] Custom chapter footer

2012-01-01 Thread Wolfgang Schuster
Am 01.01.2012 um 22:39 schrieb Andreas Harder: Hi Hans, the following used to work. Has the syntax changed? This has to be changed in page-txt.mkvi: \def\resetlayouttextlines % public {\csname\??layouttextsreset\v!top \endcsname \csname\??layouttextsreset\v!header\endcsname