Re: [NTG-context] header in the middle on doublesided layout

2010-03-23 Thread Wolfgang Schuster
Am 22.03.10 12:58, schrieb luigi scarso: \showframe \setuppagenumbering[alternative=doublesided,location=footer] \startsetups Header:Left \vbox to \headerheight{\vss \ruledhbox{\centerline{ \getmarking[chapter][first] }} \vss} \stopsetups \startsetups Header:Right \vbox to \headerheight{\vss

Re: [NTG-context] synctex broken

2010-03-23 Thread Akira Kakuto
Hi Taco, Synctex support should be fixed in the latest revision (3536). Thanks very much. I have confirmed that synctex works as before in revision 3536. Thanks, Akira ___ If your question is of interest to others

Re: [NTG-context] beta: \underbar is broken (mkiv)

2010-03-23 Thread Taco Hoekwater
Hans Hagen wrote: On 22-3-2010 21:06, Peter Rolf wrote: Hi, the underbar line is drawn vertically here. \starttext sonder\underbar{bar} \stoptext MTXrun | current version: 2010.03.20 22:59 This is LuaTeX, Version beta-0.53.0-2010032213 (rev 3535) looks like a but in luatex ... when

Re: [NTG-context] beta: \underbar is broken (mkiv)

2010-03-23 Thread Peter Rolf
Am 23.03.2010 11:02, schrieb Taco Hoekwater: Hans Hagen wrote: On 22-3-2010 21:06, Peter Rolf wrote: Hi, the underbar line is drawn vertically here. \starttext sonder\underbar{bar} \stoptext MTXrun | current version: 2010.03.20 22:59 This is LuaTeX, Version beta-0.53.0-2010032213

Re: [NTG-context] header in the middle on doublesided layout

2010-03-23 Thread Wolfgang Schuster
Am 23.03.10 07:06, schrieb Wolfgang Schuster: You can replace the nested boxes with framedtext And another one: \showframe \setuppagenumbering[alternative=doublesided,location=footer]

Re: [NTG-context] header in the middle on doublesided layout

2010-03-23 Thread luigi scarso
On Tue, Mar 23, 2010 at 11:50 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 23.03.10 07:06, schrieb Wolfgang Schuster: You can replace the nested boxes with framedtext And another one: \showframe \setuppagenumbering[alternative=doublesided,location=footer]

Re: [NTG-context] header in the middle on doublesided layout

2010-03-23 Thread Wolfgang Schuster
Am 23.03.10 11:55, schrieb luigi scarso: different behavior between mkiv and mkii --- what is right ? I think mkiv is right, the left page should contain the header (last section here) unless specified otherwise. Wolfgang

Re: [NTG-context] header in the middle on doublesided layout

2010-03-23 Thread luigi scarso
On Tue, Mar 23, 2010 at 12:00 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 23.03.10 11:55, schrieb luigi scarso: different behavior between mkiv and mkii --- what is right ? I think mkiv is right, the left page should contain the header (last section here) unless

Re: [NTG-context] header in the middle on doublesided layout

2010-03-23 Thread Wolfgang Schuster
Am 23.03.10 12:11, schrieb luigi scarso: It seem that for mkii a blank page is not part of a chapter --- this is logical: the chapter ends before. For mkiv blank page is part of a chapter --- this is also ok: the chapter ends just before the next chapter. This affects only marks and not

Re: [NTG-context] header in the middle on doublesided layout

2010-03-23 Thread luigi scarso
On Tue, Mar 23, 2010 at 12:19 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 23.03.10 12:11, schrieb luigi scarso: It seem that for mkii a blank page is not part of a chapter --- this is logical: the chapter ends before. For mkiv blank page is  part of a chapter --- this is

[NTG-context] \framedtext vs. \framed in columns

2010-03-23 Thread Andreas Harder
Hi all, pleas have a look at the following example \setuplayout[grid=yes] \starttext \startcolumns \input tufte \par \input tufte \par \startframedtext[width=broad] % ,location=high \input tufte \par \stopframedtext \stopcolumns \page \startcolumns \input tufte \par \input tufte

[NTG-context] code with reserved words

2010-03-23 Thread R. Bastian
Hello, is there a way to get Python code with reserved words highlighted ? Not colored as in http://wiki.contextgarden.net/Verbatim_with_LuaTeX but {\bf ...} I use context 2010.01.26 Mk IV or texexec Thanks -- René Bastian www.pythoneon.org www.musiques-rb.org http://www.soundsurvey.org.uk/

Re: [NTG-context] code with reserved words

2010-03-23 Thread luigi scarso
On Tue, Mar 23, 2010 at 1:17 PM, R. Bastian rbast...@free.fr wrote: Hello, is there a way to get Python code with reserved words highlighted ? Not colored as in http://wiki.contextgarden.net/Verbatim_with_LuaTeX but {\bf ...} I use context 2010.01.26 Mk IV or texexec well, I'm working to a

Re: [NTG-context] code with reserved words

2010-03-23 Thread R. Bastian
On Tue, 23 Mar 2010 13:24:09 +0100 luigi scarso luigi.sca...@gmail.com scribit: On Tue, Mar 23, 2010 at 1:17 PM, R. Bastian rbast...@free.fr wrote: Hello, is there a way to get Python code with reserved words highlighted ? Not colored as in

[NTG-context] framedtext

2010-03-23 Thread Hans van der Meer
I experience the following behaviour of framedtext in relation to inright and inleft. With \startframedtext[offset=value] the positioning of left and right margin inserts shifts with the size of 'value'. The next example shows the shift to the right of L2 and R2 (both mkii and mkiv).

[NTG-context] mongodb and ConTeXt?

2010-03-23 Thread Xan
Hi, Just a curious idea: is there anything from connecting mongodb (or any other nosql database) and ConTexT? I'm thinking in load the data from the database into the ConTeXt document, and in save some information from ConTeXt document to database (for example paragraphs or cells in tables).

Re: [NTG-context] mongodb and ConTeXt?

2010-03-23 Thread luigi scarso
On Tue, Mar 23, 2010 at 1:56 PM, Xan dxpubl...@telefonica.net wrote: Hi, Just a curious idea: is there anything from connecting mongodb (or any other nosql database) and ConTexT? I'm thinking in load the data from the database into the ConTeXt document, and in save some information from

[NTG-context] Incorrect font size in captions

2010-03-23 Thread Tom
Captions for individual figures display in the proper (9 pt) font but those for combinations do not. See example: \definepapersize[6X9][width=6.14in, height=9.21in] \setuppapersize[6X9][6X9] \setuplayout[ width=middle, height=middle, backspace=.75 in, topspace=.5 in, header=.25 in,

Re: [NTG-context] Incorrect font size in captions

2010-03-23 Thread Aditya Mahajan
On Tue, 23 Mar 2010, Tom wrote: Captions for individual figures display in the proper (9 pt) font but those for combinations do not. See example: \setupcombinations[style={\switchtobodyfont[9pt]}] Aditya ___ If

Re: [NTG-context] Incorrect font size in captions

2010-03-23 Thread Wolfgang Schuster
Am 23.03.10 15:37, schrieb Tom: \setupcaptions[style={\switchtobodyfont[9pt]}, location=bottom,number=no,align=raggedcenter] 'align' in \setupcaptions has nothing to do with the alignment of the captiontext, as i wrote in my other mail you need style={\switchtobodyfont[9pt]\raggedcenter}

Re: [NTG-context] xml and catcode switching

2010-03-23 Thread Hans Hagen
On 22-3-2010 10:53, Philipp Gesang wrote: Hi, I'm formatting lots of urls and as some of them have ampersands in them I switch to letter wherever they are placed. This works fine unless combined with XML which seems to impose its own catcodes on things. How could I fix things in the

Re: [NTG-context] framedtext

2010-03-23 Thread Hans Hagen
On 23-3-2010 13:34, Hans van der Meer wrote: I experience the following behaviour of framedtext in relation to inright and inleft. With \startframedtext[offset=value] the positioning of left and right margin inserts shifts with the size of 'value'. The next example shows the shift to the right

Re: [NTG-context] overlays not working

2010-03-23 Thread Michael Ewe
Great, enabling \write18 as described on the wiki page solves the problem, Thanks! ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] setupinmargin failing?

2010-03-23 Thread Hans van der Meer
I tested margin notes and may have found a discrepancy with the (albeit old) manual. \setupcolors[state=start] \setupinmargin[][align=right,foregroundcolor=red] \starttext ABC\inright{\framed[width=10mm,height=5mm,foregroundcolor=red]{R1}} \inleft{L1} \stoptext This shows un uncolored L1. But

Re: [NTG-context] code with reserved words

2010-03-23 Thread Erik Margraf
Based on the pretty printer in the wiki, I wrote my own. If I understood you well, you want a b/w pretty printer with reserved words bold. The pretty printer is capable of doing both. An example is attached. Probably missing is the functionality to control the typesetting of reserved words in TeX.

Re: [NTG-context] setupinmargin failing?

2010-03-23 Thread luigi scarso
On Tue, Mar 23, 2010 at 7:34 PM, Hans van der Meer h.vanderm...@uva.nl wrote: I tested margin notes and may have found a discrepancy with the (albeit old) manual. \setupcolors[state=start] \setupinmargin[][align=right,foregroundcolor=red] \starttext

Re: [NTG-context] setupinmargin failing?

2010-03-23 Thread Wolfgang Schuster
Am 23.03.10 19:34, schrieb Hans van der Meer: I tested margin notes and may have found a discrepancy with the (albeit old) manual. \setupcolors[state=start] In MKIV colors are enabled by default. \setupinmargin[][align=right,foregroundcolor=red] All margin texts: \setupinmargin[color=red]

Re: [NTG-context] setupinmargin failing?

2010-03-23 Thread Hans van der Meer
I tried this code with both \setupinmargin[left][...] and \setupinmargin[][...]. The first one worked, the second obviously not. I take it therefore that the [left]-argument is mandatory. In the manual I have, the \setupinmargin[][] description has its first argument printed

Re: [NTG-context] setupinmargin failing?

2010-03-23 Thread luigi scarso
On Tue, Mar 23, 2010 at 10:36 PM, Hans van der Meer h.vanderm...@uva.nl wrote: I tried this code with both        \setupinmargin[left][...] and \setupinmargin[][...]. The first one worked, the second obviously not. I take it therefore that the [left]-argument is mandatory. In the manual I