ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Tabs inside \starttyping \stoptyping
@ 2010-11-24 10:07 Richard Stephens
  2010-11-24 11:13 ` Leo Razoumov
  2010-11-24 12:06 ` Hans Hagen
  0 siblings, 2 replies; 3+ messages in thread
From: Richard Stephens @ 2010-11-24 10:07 UTC (permalink / raw)
  To: Context User Group

Hello again,

I am using the latest beta (20.11.2010 12:15) and I've found that a
file with a [tab] inside \starttyping...\stoptyping results in an
error.
Example:
\starttext
\starttyping
	Some typing.
\stoptyping
\stoptext
Note the [tab] before "Some".

This results in error:
! LuaTeX error ...ools/tex/texmf-context/tex/context/base/util-str.lua:56:
attempt to call global 'rep' (a nil value)
stack traceback:
	...ools/tex/texmf-context/tex/context/base/util-str.lua:56: in
function 'tabtospace'
	...ools/tex/texmf-context/tex/context/base/buff-ini.lua:576: in function 'line'
	...ools/tex/texmf-context/tex/context/base/buff-ini.lua:289: in
function 'action'
	...ools/tex/texmf-context/tex/context/base/buff-ini.lua:231: in function 'type'
	<main ctx instance>:1: in main chunk.
\nododowithbuffer ...\typingparameter \c!range ")}
                                                  \dostoptagged \endofverbat...
l.4 \stoptyping

Any thoughts?

Richard
Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration Number: 2416188 Registered in England and Wales. Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be privileged. 
If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium.

http://www.converteam.com

Please consider the environment before printing this e-mail.

___________________________________________________________________________________
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] 3+ messages in thread

* Re: Tabs inside \starttyping \stoptyping
  2010-11-24 10:07 Tabs inside \starttyping \stoptyping Richard Stephens
@ 2010-11-24 11:13 ` Leo Razoumov
  2010-11-24 12:06 ` Hans Hagen
  1 sibling, 0 replies; 3+ messages in thread
From: Leo Razoumov @ 2010-11-24 11:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, Nov 24, 2010 at 05:07, Richard Stephens
<richard.stephens@converteam.com> wrote:
> Hello again,
>
> I am using the latest beta (20.11.2010 12:15) and I've found that a
> file with a [tab] inside \starttyping...\stoptyping results in an
> error.
> Example:
> \starttext
> \starttyping
>        Some typing.
> \stoptyping
> \stoptext
> Note the [tab] before "Some".
>

It works fine with context mkiv  2010.07.30 and luatex, version
beta-0.64.0-2010111215 on Ubuntu-9.04.
No errors.

What is your luatex version?

--Leo--
___________________________________________________________________________________
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] 3+ messages in thread

* Re: Tabs inside \starttyping \stoptyping
  2010-11-24 10:07 Tabs inside \starttyping \stoptyping Richard Stephens
  2010-11-24 11:13 ` Leo Razoumov
@ 2010-11-24 12:06 ` Hans Hagen
  1 sibling, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2010-11-24 12:06 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Richard Stephens

On 24-11-2010 11:07, Richard Stephens wrote:
> Hello again,
>
> I am using the latest beta (20.11.2010 12:15) and I've found that a
> file with a [tab] inside \starttyping...\stoptyping results in an
> error.

the next beta will have a completely rewritten verbatim support

for the moment you can try to add "string." in front of the "rep" call


-----------------------------------------------------------------
                                           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] 3+ messages in thread

end of thread, other threads:[~2010-11-24 12:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-24 10:07 Tabs inside \starttyping \stoptyping Richard Stephens
2010-11-24 11:13 ` Leo Razoumov
2010-11-24 12:06 ` 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).