On Friday 24 December 2004 09:23, Mojca Miklavec wrote:
> Maurice Diamantini wrote:
>  > Well I agree that it's no more "typing" any more!
>  > So a special option for \setuplines would be more appropriate?
>
> Exactly, \starttyping does exactly that what you don't want: it disables
> math and expansion of TeX commands.
>
> > Also, perhaps my request is simply an option of \startlines
> > which keep not only the lines break, but also the first
> > spaces of each line (in a verbatim font fors these space)
>
> In plain TeX you have a command \obeyspaces (apart from \obeylines).
> Nevertheless, whitespaces at the beginning of line are ignored when
> using \obeyspaces, so you additionally need to write an escaped
> whitespace '\ ' or \strut at the beginning of line (I guess there's a
> more efficient solution for that, but I'm no expert).
>
> But if you really only need whitespace at the beginning of line,
> probably make something like:
>      \def\tab{\strut\hbox to 3em{}} % or any other size instead 3em
> instead of using \obeyspaces and simply put \tab where you need a
> certain amount of white space.
>
> Mojca
>
Using eplain.tex you can say:
\verbatim

|endverbatim
(note bar instead of backslash.)

If you need a vertical bar in the verbatim text then just double it. 

Anything in between including blank spaces and lines is printed verbatim.
Context used to complain about one non-critical statement in the eplain file.  
Actually it complains about the following statement but you can easily spot 
the troublemaker. Delete it and eplain works fine with Context.  Latest 
versions of eplain may already have the fix, haven't tested them.  

-- 
John Culleton

Short list of publishing/marketing books:
http://wexfordpress.com/tex/shortlist.pdf
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to