ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Startparagraph oddities
@ 2014-08-28 22:22 Rik Kabel
  2014-08-29 11:39 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Rik Kabel @ 2014-08-28 22:22 UTC (permalink / raw)
  To: ntg-context


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

There appears to be an inconsistency in the implementation of 
\startparagraph. When it is used with one argument (or two by my reading 
of the source) it defines \stopparagraph with a terminal \endgraf, yet 
with no arguments this is not done. Strangely (to me) it also appears to 
insert a line-break before \startparagraph[]. The example below 
demonstrates these issues.

I would expect to have \endgraf inserted with each \stopparagraph 
regardless of the argument count.

There is also a wiki issue with overloading of the command name 
\startparagraph. The existing command entry points to the paragraphs 
mechanism for setting up parallel paragraphs in columns. There is also a 
\startParagraph command described for the t-pararef module. There is no 
mention of \startparagraph in the \startsection page, which might be an 
appropriate place. Perhaps some Wikipedia-style disambiguation mechanism 
is needed.

    \starttext
    \startparagraph
    One
    \stopparagraph
    \startparagraph
    Twee
    \stopparagraph
    \startparagraph
    Drie
    \stopparagraph
    \startparagraph[]
    One
    \stopparagraph
    \startparagraph
    Twee
    \stopparagraph
    \startparagraph
    Drie
    \stopparagraph
    \stoptext

-- 
Rik Kabel

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

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Startparagraph oddities
  2014-08-28 22:22 Startparagraph oddities Rik Kabel
@ 2014-08-29 11:39 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2014-08-29 11:39 UTC (permalink / raw)
  To: ntg-context

On 8/29/2014 12:22 AM, Rik Kabel wrote:
> There appears to be an inconsistency in the implementation of
> \startparagraph. When it is used with one argument (or two by my reading
> of the source) it defines \stopparagraph with a terminal \endgraf, yet
> with no arguments this is not done. Strangely (to me) it also appears to
> insert a line-break before \startparagraph[]. The example below
> demonstrates these issues.
>
> I would expect to have \endgraf inserted with each \stopparagraph
> regardless of the argument count.
>
> There is also a wiki issue with overloading of the command name
> \startparagraph. The existing command entry points to the paragraphs
> mechanism for setting up parallel paragraphs in columns. There is also a
> \startParagraph command described for the t-pararef module. There is no
> mention of \startparagraph in the \startsection page, which might be an
> appropriate place. Perhaps some Wikipedia-style disambiguation mechanism
> is needed.
>
>     \starttext
>     \startparagraph
>     One
>     \stopparagraph
>     \startparagraph
>     Twee
>     \stopparagraph
>     \startparagraph
>     Drie
>     \stopparagraph
>     \startparagraph[]
>     One
>     \stopparagraph
>     \startparagraph
>     Twee
>     \stopparagraph
>     \startparagraph
>     Drie
>     \stopparagraph
>     \stoptext

fixed in next beta

-----------------------------------------------------------------
                                           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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-08-29 11:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-28 22:22 Startparagraph oddities Rik Kabel
2014-08-29 11:39 ` Hans Hagen

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).