Re: [NTG-context] Tabs inside \starttyping \stoptyping

2010-11-24 Thread Hans Hagen

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
___


Re: [NTG-context] Tabs inside \starttyping \stoptyping

2010-11-24 Thread Leo Razoumov
On Wed, Nov 24, 2010 at 05: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.
> 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
___


[NTG-context] Tabs inside \starttyping \stoptyping

2010-11-24 Thread Richard Stephens
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'
: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
___