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] aaaaa aaaaa aaaaa \stoptyping \stoptext ========= end ===========
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
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 -----------------------------------------------------------------
participants (3)
-
Chen Shen
-
Hans Hagen
-
Taco Hoekwater