ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \startitem and \startparagraph
Date: Fri, 17 Oct 2014 09:50:43 +0200	[thread overview]
Message-ID: <5440CA53.9060206@wxs.nl> (raw)
In-Reply-To: <54406AAD.3090509@rik.users.panix.com>

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
___________________________________________________________________________________

  reply	other threads:[~2014-10-17  7:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-17  1:02 Rik Kabel
2014-10-17  7:50 ` Hans Hagen [this message]
2014-10-17 15:11   ` Rik Kabel
2014-10-17 18:22     ` Hans Hagen
2014-10-18 11:13     ` Wolfgang Schuster

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=5440CA53.9060206@wxs.nl \
    --to=pragma@wxs.nl \
    --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).