bug report/mkiv: verbatim text bug with tab parameter
Hi, today I recognized that the tab parameter is not working in setuptyping anymore (actual beta). As soon the tab paramter is set and a tabulator is used in the text, ConTeXt breaks with following error message: ! LuaTeX error ...text/tex/texmf-context/tex/context/base/util- str.lua:56: attempt to call global 'rep' (a nil value) stack traceback: ...text/tex/texmf-context/tex/context/base/util- str.lua:56: in function 'tabtospace' ...text/tex/texmf-context/tex/context/base/buff- ini.lua:174: in function 'flush' ...text/tex/texmf-context/tex/context/base/buff- ini.lua:216: in function 'typebuffer' <main ctx instance>:1: in main chunk. \dodotypeblockverbatim ...ter \c!escape \!!es , }} \dostoptagged\endofverbat... l.7 \stopcode To reconsturct the error use following example: \definetyping[code][tab=3] \starttext \startcode <IrgendeinQuelltext /> <IrgendeinQuelltext /> </IrgendeinQuelltext> \stopcode \stoptext If this is just a mistake by myself please excuse.
On 3-12-2010 1:49, Peter Schorsch wrote:
Hi,
today I recognized that the tab parameter is not working in setuptyping anymore (actual beta). As soon the tab paramter is set and a tabulator is used in the text, ConTeXt breaks with following error message:
! LuaTeX error ...text/tex/texmf-context/tex/context/base/util- str.lua:56: attempt to call global 'rep' (a nil value)
fixed in next beta (also a more efficient tab converter) ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Peter Schorsch