> -----Urspr�ngliche Nachricht----- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Im Auftrag von John Culleton > Gesendet: Dienstag, 27. April 2004 19:53 > An: [EMAIL PROTECTED]; Severin Obert�fer > Betreff: Re: [NTG-context] verbatim problem > > On Thursday 22 April 2004 08:59 am, Severin Obert�fer wrote: > > hello > > > > i have a little verbatim problem > > > > i used the \startEIFFEL \stopEIFFEL verbatim environment in a verry > > simple way like this: > > Similarly I needed to have the program obey line breaks as in > \obeylines but interpet the lines (font changes etc.) in the > usual way. I did not want space left between lines. > Neither the plain TeX nor the Context solutions fit this > purpose exactly, but plain was closer. So I cobbled up this > code: > \def\startobey{\medskip\setupwhitespace[none]\obeylines} > \def\stopobey{\setupwhitespace[small] \medskip} > > I start the section needing verbatim line endings with > {\startobey .... and end it with \stopobey} > > I don't know if the braces are necessary but the TeXBook > seems to imply such. > > My solution tends to ignore blank lines so I have to put a > \medskip instead of a blank line. > > This is a terrible solution but the best I could come up with > in a hurry. No doubt someone will suggest a better one. > > BTW whre is \startEIFFEL documented? I don't recall seeing it > before. hi there is the file "verb-eif.tex" in "texmf/tex/context/base" (under miktex) otherwise i found no other documentation...
severin > -- > John Culleton > Able Typesetters and Indexers > http://wexfordpress.com > > _______________________________________________ > ntg-context mailing list > [EMAIL PROTECTED] > http://www.ntg.nl/mailman/listinfo/ntg-context > > _______________________________________________ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
