ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* bug report/mkiv: verbatim text bug with tab parameter
@ 2010-12-03 12:49 Peter Schorsch
  2010-12-04  8:35 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Schorsch @ 2010-12-03 12:49 UTC (permalink / raw)
  To: ntg-context

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.

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: bug report/mkiv: verbatim text bug with tab parameter
  2010-12-03 12:49 bug report/mkiv: verbatim text bug with tab parameter Peter Schorsch
@ 2010-12-04  8:35 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2010-12-04  8:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-12-04  8:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-03 12:49 bug report/mkiv: verbatim text bug with tab parameter Peter Schorsch
2010-12-04  8:35 ` Hans Hagen

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).