* Why do \startlines and \crlf give different results in this example?
@ 2011-03-12 4:48 mathew
2011-03-12 8:15 ` Wolfgang Schuster
0 siblings, 1 reply; 3+ messages in thread
From: mathew @ 2011-03-12 4:48 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 413 bytes --]
% First request no space before
\setuplines[before=\nowhitespace,after=\nowhitespace]
% Now use startlines...
\framed[width=fit,align=right]{\startlines One
Two
Three\stoplines}
% ...then compare with \crlf.
\framed[width=fit,align=right]{One\crlf
Two\crlf
Three}
Why do these give different results, and how do I make the former behave
like the latter?
mathew
--
<URL:http://www.pobox.com/~meta/>
[-- Attachment #1.2: Type: text/html, Size: 2458 bytes --]
[-- Attachment #2: Type: text/plain, Size: 486 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] 3+ messages in thread
* Re: Why do \startlines and \crlf give different results in this example?
2011-03-12 4:48 Why do \startlines and \crlf give different results in this example? mathew
@ 2011-03-12 8:15 ` Wolfgang Schuster
2011-03-12 15:55 ` mathew
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2011-03-12 8:15 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 12.03.2011 um 05:48 schrieb mathew:
>
>
> % First request no space before
> \setuplines[before=\nowhitespace,after=\nowhitespace]
>
>
>
> % Now use startlines...
>
> \framed[width=fit,align=right]{\startlines One
> Two
> Three\stoplines}
\framed
[width=fit,align=right,strut=no]
{\startlines[before=,after=]
One
Two
Three
\stoplines}
> % ...then compare with \crlf.
> \framed[width=fit,align=right]{One\crlf
> Two\crlf
> Three}
\framed
[width=fit,align=right]
{One\\Two\\Three}
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] 3+ messages in thread
* Re: Why do \startlines and \crlf give different results in this example?
2011-03-12 8:15 ` Wolfgang Schuster
@ 2011-03-12 15:55 ` mathew
0 siblings, 0 replies; 3+ messages in thread
From: mathew @ 2011-03-12 15:55 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Mar 12, 2011, at 02:15, Wolfgang Schuster wrote:
> \framed
> [width=fit,align=right,strut=no]
> {\startlines[before=,after=]
> One
> Two
> Three
> \stoplines}
Awesome, thanks. I added a note to the wiki page about \framed, and subsequently discovered the information was hidden on the page about verbatim linebreaks.
mathew
___________________________________________________________________________________
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] 3+ messages in thread
end of thread, other threads:[~2011-03-12 15:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-12 4:48 Why do \startlines and \crlf give different results in this example? mathew
2011-03-12 8:15 ` Wolfgang Schuster
2011-03-12 15:55 ` mathew
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).