* % prevents linebreaks in \startlines ... \stoplines
@ 2010-04-04 19:08 Aditya Mahajan
2010-04-04 19:26 ` Wolfgang Schuster
0 siblings, 1 reply; 2+ messages in thread
From: Aditya Mahajan @ 2010-04-04 19:08 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi,
Here is an interesting example
\starttext
\startlines
one %
two %
three %
\stoplines
\stoptext
This gives no linebreaks! Can this be prevented? I doubt it since
TeX never sees the \n. In which case, we should call it a
feature :-)
Aditya
___________________________________________________________________________________
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: % prevents linebreaks in \startlines ... \stoplines
2010-04-04 19:08 % prevents linebreaks in \startlines ... \stoplines Aditya Mahajan
@ 2010-04-04 19:26 ` Wolfgang Schuster
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2010-04-04 19:26 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 04.04.10 21:08, schrieb Aditya Mahajan:
> Hi,
>
> Here is an interesting example
>
> \starttext
> \startlines
> one %
> two %
> three %
> \stoplines
> \stoptext
>
> This gives no linebreaks! Can this be prevented? I doubt it since
> TeX never sees the \n. In which case, we should call it a feature :-)
\bgroup\obeylines
\gdef\?#1^^M{\par}%
\egroup
\starttext
\startlines
one
two \? comment
three %
four \? another comment
five %
six
seven
eight
\stoplines
\stoptext
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] 2+ messages in thread
end of thread, other threads:[~2010-04-04 19:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-04 19:08 % prevents linebreaks in \startlines ... \stoplines Aditya Mahajan
2010-04-04 19:26 ` 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).