Re: [NTG-context] Verbatim problem in mkiv

2009-11-29 Thread Hans Hagen

Taco Hoekwater wrote:

Chen Shen wrote:

Hi,

I'm having problem with verbatim typing with linenumber under mkiv.
The following code works fine without location=text turned off, but fails
when it's turned on.
The text 0279699410 appears at the beginning of every alternate line.
Thanks a lot.


For Hans: the problem seems to be that \mkaddtextlinenumbers does not
redefine \makenumber for the location=text case (numerical 5), but
later on arguments are passed using the convention for \mkleftlinenumber
etc. This results in extra, ignored and thus typeset, arguments.


ok, will be fixed, thanks for the analysis

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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] Verbatim problem in mkiv

2009-11-29 Thread Taco Hoekwater

Chen Shen wrote:

Hi,

I'm having problem with verbatim typing with linenumber under mkiv.
The following code works fine without location=text turned off, but fails
when it's turned on.
The text 0279699410 appears at the beginning of every alternate line.
Thanks a lot.


For Hans: the problem seems to be that \mkaddtextlinenumbers does not
redefine \makenumber for the location=text case (numerical 5), but
later on arguments are passed using the convention for \mkleftlinenumber
etc. This results in extra, ignored and thus typeset, arguments.

Best wishes,
Taco
___
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] Verbatim problem in mkiv

2009-11-28 Thread Chen Shen
Hi,

I'm having problem with verbatim typing with linenumber under mkiv.
The following code works fine without location=text turned off, but fails
when it's turned on.
The text 0279699410 appears at the beginning of every alternate line.
Thanks a lot.

regards,
shenchen

= start ===

\setuplinenumbering[location=text]

\starttext

\starttyping[numbering=line]
a
a
a
\stoptyping

\stoptext

=  end  ===
___
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
___