ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Peter Schorsch <tralalas@freenet.de>
To: ntg-context@ntg.nl
Subject: bug report/mkiv: verbatim text bug with tab parameter
Date: Fri, 03 Dec 2010 13:49:40 +0100	[thread overview]
Message-ID: <idap1a$i0j$1@dough.gmane.org> (raw)

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
___________________________________________________________________________________


             reply	other threads:[~2010-12-03 12:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-03 12:49 Peter Schorsch [this message]
2010-12-04  8:35 ` Hans Hagen

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='idap1a$i0j$1@dough.gmane.org' \
    --to=tralalas@freenet.de \
    --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).