ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Unexpected <break/> in XML output
@ 2018-07-14 21:36 Rik Kabel
  0 siblings, 0 replies; only message in thread
From: Rik Kabel @ 2018-07-14 21:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1100 bytes --]

List,

<break/> elements are inserted before <margintext> elements in XML and 
xhtml output, and empty divs of class break in html output. If this is 
intended, is there a way to prevent it? If not intended, can it be fixed?

Example code:

    \setupbackend     [export=yes]
    \starttext
    \startparagraph
       Taa aaaaaaaaaaa aa aaaaaaaaa aaaaaa aaa aaaaaaaa aa aaaaaaaaaa
       aaaaaa. Taa aaaaaaaa aaaaa\inleft{>}, aaaaa aaaaaaaa aa aaaaa
       aaaa aa aaaa aaaaaaaaa aa aaaaaaa aaaaa aaaaaaaa aaaaaaaaaaa,
       \inright{<} aaaaaaaaa aaaaaa a aaaaaa, aaaaaaaa aaa aaaaaaaaaa
       aaa aaaaa aaaa.
    \stopparagraph
    \stoptext

XML output excerpt:

    <paragraph>Taa aaaaaaaaaaa aa aaaaaaaaa aaaaaa aaa aaaaaaaa aa aaaaaaaaaa aaaaaa. Taa   <break/>
    <margintext detail="inleft" chain="inleft">&gt;</margintext>aaaaaaaa aaaaa, aaaaa aaaaaaaa aa aaaaa aaaa aa aaaa aaaaaaaaa aa aaaaaaa aaaaa   <break/>
    <margintext detail="inright" chain="inright">&lt;</margintext>aaaaaaaa aaaaaaaaaaa, aaaaaaaaa aaaaaa a aaaaaa, aaaaaaaa aaa aaaaaaaaaa aaa aaaaa aaaa.</paragraph>

-- 
Rik


[-- Attachment #1.2: Type: text/html, Size: 1465 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-07-14 21:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-14 21:36 Unexpected <break/> in XML output Rik Kabel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).