On Fri, 24 Mar 2006, WN wrote:
First thanks for your help, I did what you suggested and it worked. But now I am trying your example file align.tex and running texexec, using the latest Context (2006.03.23), I get the following error. I believe the problems lies in verb-tex.tex but I am not sure.
section : 1 Basic Alignment
(/usr/local/tex/texmf-local/tex/context/base/verb-tex.tex loading : Context Support Macros / Pretty TEX Verbatim ) ! Missing number, treated as zero. <to be read again> f \currenttyping ->f ile \checkverbatimfileline ...enumber <\currenttyping \c!start \else \ifnum \ver... \presetnormalverbatimline ...\doflushverbatimline \global \chardef \verbatim...
\readline ...line \else \presetnormalverbatimline \fi \fi \fi \fi \handlever...
\processfileverbatim ...expandafter \readline \fi \closein \verbatiminput \e... ... *l.25 \ShowExample*
Strange. Try \def\ShowExample{\typebuffer\showbuffer} and if that does not work, I guess you do not have permissions to write to a buffer. (This is all that I can make out from the error message). Try modifying texmf.cnf for the correct permissions. (Again, I am not sure which setting you need to modify). Otherwise try the attached file. I have replaced all \typebuffer\showbuffer by \starttyping ... \stoptyping buffer contents (vim regex rules). This also compiles on live.contextgarden. If you do not manage to get it working, I will send you a pdf later today. I do not have access to a recent context distribution right now [1]. HTH, Aditya [1] On my college computer texexec --version gives I can send you a pdf sometime later today. TeXExec 3.1 - ConTeXt / PRAGMA ADE 1997-2002 Taco, do you need this one for the museum :)