[NTG-context] export and pagebreak

Hans Hagen pragma at wxs.nl
Sun Jan 2 15:57:35 CET 2011


On 31-12-2010 7:22, Achim Jander wrote:
> Hi all,
> first I wish a very happy new year to everybody! I think, this will be
> my last post for this year, but as i have tasted blood, the next year I
> will post a lot of further questions I think :-)
> Now I have Christmas holidays and can play the whole day with ConTeXt. I
> tested a little the export function. There is one thing I have on my
> wishlist:
> is it possible to get a <pagebreak/> into the exported XML? The
> background is that I have often the requirement to include
> pagebreak-info in online-productions (for citation reasons) and that
> could be a very good starting point. In fact, in the moment at the
> position where a pagebreak occurs, the space (if it occurs at a space)
> is eaten up. Minimal example:
> \setupbackend [export=yes]
>
> \starttext
>
> \startchapter [title=Tufte Example]
>
> \startparagraph
> \dorecurse{10}{\input tufte}
> \stopparagraph
>
> \stopchapter
>
> \stoptext
>
> At the break of pg 2 to pg 3 you will find lump,skip (without the space)
> in the exported file. Having the pagebreaks would be a great thing for me.

I'll send you a small patch to play with.

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list