ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* an issue with line numbers in the verbatim text
@ 2010-08-11 12:23 Li Yanrui (李延瑞)
  2010-08-11 13:35 ` Hongwen Qiu
  0 siblings, 1 reply; 3+ messages in thread
From: Li Yanrui (李延瑞) @ 2010-08-11 12:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi all,

this is an example.

\setuptyping[numbering=line]
\setuplinenumbering[location=intext]
\showframe
\starttext
\starttyping
This is the first line.
Last line after an empty line.
\stoptyping
\stoptext

the linenumbering setup of "location=intext" can not work. the line
numbers still be inmargin.

-- 
Best regards,

Li Yanrui
___________________________________________________________________________________
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: an issue with line numbers in the verbatim text
  2010-08-11 12:23 an issue with line numbers in the verbatim text Li Yanrui (李延瑞)
@ 2010-08-11 13:35 ` Hongwen Qiu
  2010-08-11 14:02   ` Li Yanrui (李延瑞)
  0 siblings, 1 reply; 3+ messages in thread
From: Hongwen Qiu @ 2010-08-11 13:35 UTC (permalink / raw)
  To: ntg-context

  On 08/11/2010 08:23 PM, Li Yanrui (李延瑞) wrote:
> Hi all,
>
> this is an example.
>
> \setuptyping[numbering=line]
> \setuplinenumbering[location=intext]
> \showframe
> \starttext
> \starttyping
> This is the first line.
> Last line after an empty line.
> \stoptyping
> \stoptext
>
> the linenumbering setup of "location=intext" can not work. the line
> numbers still be inmargin.
Not "location=intext", but "location=text" will do.
___________________________________________________________________________________
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: an issue with line numbers in the verbatim text
  2010-08-11 13:35 ` Hongwen Qiu
@ 2010-08-11 14:02   ` Li Yanrui (李延瑞)
  0 siblings, 0 replies; 3+ messages in thread
From: Li Yanrui (李延瑞) @ 2010-08-11 14:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users

2010/8/11 Hongwen Qiu <qiuhongwen@gmail.com>:
>  On 08/11/2010 08:23 PM, Li Yanrui (李延瑞) wrote:
>>
>> Hi all,
>>
>> this is an example.
>>
>> \setuptyping[numbering=line]
>> \setuplinenumbering[location=intext]
>> \showframe
>> \starttext
>> \starttyping
>> This is the first line.
>> Last line after an empty line.
>> \stoptyping
>> \stoptext
>>
>> the linenumbering setup of "location=intext" can not work. the line
>> numbers still be inmargin.
>
> Not "location=intext", but "location=text" will do.

I see, tks!

-- 
Best regards,

Li Yanrui (李延瑞)
___________________________________________________________________________________
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-08-11 14:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-11 12:23 an issue with line numbers in the verbatim text Li Yanrui (李延瑞)
2010-08-11 13:35 ` Hongwen Qiu
2010-08-11 14:02   ` Li Yanrui (李延瑞)

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).