ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* line-break discarded in \getparameters
@ 2011-02-08 23:31 Peter Münster
  2011-02-09  5:16 ` Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Münster @ 2011-02-08 23:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello,

No space is printed between bla2 and bla3 with latest mkiv:

\startsetups 1
  \getparameters[Prefix][Text={bla1 bla2
      bla3}]
\stopsetups
\starttext
\setups{1}
\PrefixText, no space between bla2 and bla3...
\stoptext

-- 
           Peter
___________________________________________________________________________________
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] 4+ messages in thread

* Re: line-break discarded in \getparameters
  2011-02-08 23:31 line-break discarded in \getparameters Peter Münster
@ 2011-02-09  5:16 ` Wolfgang Schuster
  2011-02-09  6:43   ` Peter Münster
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2011-02-09  5:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 09.02.2011 um 00:31 schrieb Peter Münster:

> Hello,
> 
> No space is printed between bla2 and bla3 with latest mkiv:
> 
> \startsetups 1
>  \getparameters[Prefix][Text={bla1 bla2
>      bla3}]
> \stopsetups
> \starttext
> \setups{1}
> \PrefixText, no space between bla2 and bla3...
> \stoptext

Use \startrawsetups … \stoprawsetups.

Wolfgang

___________________________________________________________________________________
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] 4+ messages in thread

* Re: line-break discarded in \getparameters
  2011-02-09  5:16 ` Wolfgang Schuster
@ 2011-02-09  6:43   ` Peter Münster
  2011-02-09 12:05     ` Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Münster @ 2011-02-09  6:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Wolfgang Schuster <schuster.wolfgang@googlemail.com> writes:

> Am 09.02.2011 um 00:31 schrieb Peter Münster:
>
>> \startsetups 1
>>  \getparameters[Prefix][Text={bla1 bla2
>>      bla3}]
>> \stopsetups
>
> Use \startrawsetups … \stoprawsetups.

So, it's not a bug, but a feature? Should it be documented like "In the
startsetups - stopsetups environment, a newline has not effect. If you
need the normal behaviour of a newline (as a space), use startrawsetups
- stoprawsetups instead." ?

-- 
           Peter
___________________________________________________________________________________
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] 4+ messages in thread

* Re: line-break discarded in \getparameters
  2011-02-09  6:43   ` Peter Münster
@ 2011-02-09 12:05     ` Wolfgang Schuster
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Schuster @ 2011-02-09 12:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 09.02.2011 um 07:43 schrieb Peter Münster:

> Wolfgang Schuster <schuster.wolfgang@googlemail.com> writes:
> 
>> Am 09.02.2011 um 00:31 schrieb Peter Münster:
>> 
>>> \startsetups 1
>>> \getparameters[Prefix][Text={bla1 bla2
>>>     bla3}]
>>> \stopsetups
>> 
>> Use \startrawsetups … \stoprawsetups.
> 
> So, it's not a bug, but a feature? Should it be documented like "In the
> startsetups - stopsetups environment, a newline has not effect. If you
> need the normal behaviour of a newline (as a space), use startrawsetups
> - stoprawsetups instead." ?

Feature, \startsetups ignores the end of the line while \startrawsetups keeps it.

Wolfgang

___________________________________________________________________________________
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] 4+ messages in thread

end of thread, other threads:[~2011-02-09 12:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-08 23:31 line-break discarded in \getparameters Peter Münster
2011-02-09  5:16 ` Wolfgang Schuster
2011-02-09  6:43   ` Peter Münster
2011-02-09 12:05     ` Wolfgang Schuster

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