From: Rik Kabel <context@rik.users.panix.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Unexpected <break/> in XML output
Date: Sat, 14 Jul 2018 17:36:05 -0400 [thread overview]
Message-ID: <a682befe-c2ae-c54e-65d6-11a904c2a662@rik.users.panix.com> (raw)
[-- 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">></margintext>aaaaaaaa aaaaa, aaaaa aaaaaaaa aa aaaaa aaaa aa aaaa aaaaaaaaa aa aaaaaaa aaaaa <break/>
<margintext detail="inright" chain="inright"><</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
___________________________________________________________________________________
reply other threads:[~2018-07-14 21:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a682befe-c2ae-c54e-65d6-11a904c2a662@rik.users.panix.com \
--to=context@rik.users.panix.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).