* Verbatim problem in mkiv
@ 2009-11-28 15:58 Chen Shen
2009-11-29 10:08 ` Taco Hoekwater
0 siblings, 1 reply; 3+ messages in thread
From: Chen Shen @ 2009-11-28 15:58 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 448 bytes --]
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 ===========
[-- Attachment #1.2: Type: text/html, Size: 971 bytes --]
[-- Attachment #2: Type: text/plain, Size: 486 bytes --]
___________________________________________________________________________________
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: Verbatim problem in mkiv
2009-11-28 15:58 Verbatim problem in mkiv Chen Shen
@ 2009-11-29 10:08 ` Taco Hoekwater
2009-11-29 12:33 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: Taco Hoekwater @ 2009-11-29 10:08 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Verbatim problem in mkiv
2009-11-29 10:08 ` Taco Hoekwater
@ 2009-11-29 12:33 ` Hans Hagen
0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2009-11-29 12:33 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-11-29 12:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-28 15:58 Verbatim problem in mkiv Chen Shen
2009-11-29 10:08 ` Taco Hoekwater
2009-11-29 12:33 ` 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).