On 10/17/2014 3:02 AM, Rik Kabel wrote:
What is the proper way to delimit paragraphs within an itemized list
using \start..\stop tagging (as for epub and such)? When I wrap
paragraphs with \startparagraph..\stopparagraph within the
\startitem..\stopitem, there is an unwanted newline inserted between the
bullet and the item text.
Or, is it not recommend to wrap paragraphs that are in enumerations?
I ask because http://wiki.contextgarden.net/Epub_Sample suggests “Make
sure to tag all your structural elements with \start...-\stop..., e.g.
\startchapter, but even \startparagraph!” I also note the appearance of
\startcontent..\stopcontent and \stopcaption..\startcaption and such,
suggesting to me that semantic tagging may be a useful thing to add to
new documents in order to support new output formats.
\starttext
\startitemize
\startitem
\startparagraph
Item one paragraph one.
\stopparagraph
\startparagraph
Item one paragraph two.
\stopparagraph
\startparagraph
Item one paragraph three.
\stopparagraph
\stopitem
\startitem
\startparagraph
Item two paragraph one.
\stopparagraph
\startparagraph
Item two paragraph two.
\stopparagraph
\startparagraph
Item two paragraph three.
\stopparagraph
\stopitem
\stopitemize
\starttext
\startitemize
\startitem
\bpar
Item one paragraph one.
\epar % \stopparagraph
\bpar
Item one paragraph two.
\epar
\bpar
Item one paragraph three.
\epar
\stopitem
\startitem
\bpar
Item two paragraph one.
\epar
\bpar
Item two paragraph two.
\epar
\bpar
Item two paragraph three.
\epar
\stopitem
\stopitemize
\stoptext
\startitemize
\item
Item three paragraph one.
Item three paragraph two.
Item three paragraph three.
\item
Item four paragraph one.
Item four paragraph two.
Item four paragraph three.
\stopitemize
\stoptext
--
Rik Kabel
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
--
-----------------------------------------------------------------
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
-----------------------------------------------------------------
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________