[metapost] nonstopmode interaction

Troy Henderson thenders at gmail.com
Thu Oct 13 16:14:39 CEST 2011


Is it possible to keep processing a MetaPost file even when errors occur?
For example, consider the following code:

prologues:=3;
verbatimtex
%&latex
\documentclass{minimal}
\begin{document}
etex
beginfig(0);
   draw origin--(144,0) dashed evenly;
   label.top(btex Hello etex,origin);
   label(btex $x axis etex,origin);
   label.bot(btex World etex,origin);
endfig;
end

Notice that the second label command has intentionally been made to cause an
error.  Is there an interaction mode that will allow the draw command and
the two error-free label commands to be processed so that the resulting
figure shows all but the second label?

Thanks,

Troy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/metapost/attachments/20111013/58a14889/attachment.html>


More information about the metapost mailing list