Hi.

Please consider the following two examples:

<file name="exa-feat1.tex">
\setupbackend[export=yes]
\definetyping[EXAMPLE][escape=yes]

\starttext

This is an example with \quotation{long} verbatim text.
Why context fails to compile the file? Is there a method to process this file?

\startEXAMPLE
This is a short verbatim line

This this this this this this very very very very very very long long long long 
long long line line line line line line
\stoptext

\stoptext
</file>

<file name="exa-feat2.tex">
\setupbackend[export=yes]
\definetyping[EXAMPLE][escape=yes]

\starttext

This is an example with \quotation{long} verbatim text.
The version without buffer fails.

\startbuffer[ex1]
This is a short verbatim line

This this this this this this very very very very very very long long long long 
long long line line line line line line
\stopbuffer

\startEXAMPLE
/BTEX\getbuffer[ex1]/ETEX
\stopEXAMPLE

\stoptext
</file>

context (mkiv) fails to compile first file (error:
<output name="exa-feat1.tex">
Runaway argument?
This this this this this this very ve\ETC.
! File ended while scanning use of \dododowithbuffer.

system          > tex > error on line 0 in file : File ended while
scanning use of \dododowithbuffer ...

<empty file>

<inserted text> 
                \par 
                <*> ./exa-feat1.tex 
                                    \stoptext
?
</output>
)

Seems that there is a limitation on line length in typing block, then
how to process a file with such line?

The second example compiles well but the long is splitted. How to avoid
this? (Adding ',space=fixed' to '\definetyping' doesn't help.)


P.S. Sorry two questions in one topic.

---
TIA, Vladimir Lomov

-- 
"The wages of sin are death; but after they're done taking out taxes,
it's just a tired feeling:"
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to