Re: [NTG-context] highlight problems on xml export

2011-11-08 Thread Marco Pessotto
Hans Hagen pra...@wxs.nl writes: On 7-11-2011 17:48, Marco Pessotto wrote: Well, after some trial and errors, I think I get what is going on with the highlight. When on the generated pdf the/highlight is at the edge of the paper, the space is eaten. Hacky workaround follows: i rewrote

Re: [NTG-context] highlight problems on xml export (Was: Missing break/ while exporting to xml before highlight)

2011-11-07 Thread Marco Pessotto
I think I'm hitting another bug with highlights: See this following example: %%% start example \setupbackend[export=yes] \definehighlight[emph][style=italic] \starttext \startparagraph Published on \dontleavehmode\emph{Dissonanze} vol. I \stopparagraph \startparagraph Published on vol. I

Re: [NTG-context] highlight problems on xml export [hacky workaround included]

2011-11-07 Thread Marco Pessotto
Well, after some trial and errors, I think I get what is going on with the highlight. When on the generated pdf the /highlight is at the edge of the paper, the space is eaten. Hacky workaround follows: %% start example \setupbackend[export=yes] \definehighlight[emph][style=italic]

Re: [NTG-context] highlight problems on xml export [hacky workaround included]

2011-11-07 Thread Aditya Mahajan
On Mon, 7 Nov 2011, Marco Pessotto wrote: So, my impression is that for exporting the modal compilation is not an option. So far, that has been my impression as well. I need a lot of tweaks to get the right XML output (and I also need (multiple) PDF output). I have set a separate mode for

Re: [NTG-context] highlight problems on xml export [hacky workaround included]

2011-11-07 Thread Marco Pessotto
Aditya Mahajan adit...@umich.edu writes: TeX does finite precision arithematics, so infinity is not possible. But you can set paper width (and paper height) to \maxdimen, which is the maximum dimension TeX can handle. \definepapersize[max][paperwidth=\maxdimen, paperheight=\maxdimen]

Re: [NTG-context] highlight problems on xml export [hacky workaround included]

2011-11-07 Thread Hans Hagen
On 7-11-2011 17:48, Marco Pessotto wrote: Well, after some trial and errors, I think I get what is going on with the highlight. When on the generated pdf the/highlight is at the edge of the paper, the space is eaten. Hacky workaround follows: i rewrote some of the 'heuristics' so best test

Re: [NTG-context] highlight problems on xml export [hacky workaround included]

2011-11-07 Thread Marco Pessotto
Hans Hagen pra...@wxs.nl writes: On 7-11-2011 17:48, Marco Pessotto wrote: Well, after some trial and errors, I think I get what is going on with the highlight. When on the generated pdf the/highlight is at the edge of the paper, the space is eaten. Hacky workaround follows: i rewrote