From: Vladimir Lomov <lomov.vl@gmail.com>
To: General mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Line length limitation of typing block?
Date: Tue, 16 Aug 2011 19:00:08 +0900 [thread overview]
Message-ID: <20110816100008.GC12330@smoon> (raw)
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
___________________________________________________________________________________
next reply other threads:[~2011-08-16 10:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-16 10:00 Vladimir Lomov [this message]
2011-08-16 10:07 ` Wolfgang Schuster
2011-08-16 11:53 ` Vladimir Lomov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110816100008.GC12330@smoon \
--to=lomov.vl@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).