ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] Problem with \startlinenumbering left and right arguments
@ 2023-12-07 18:21 Marcus Vinicius Mesquita
  2023-12-09 16:07 ` [NTG-context] " Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Marcus Vinicius Mesquita @ 2023-12-07 18:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear List,

In the MWE below, the left and right arguments are not applied in the
last chapter. How can this be fixed?

\starttext
\startlinenumbering[left={[},right={]}]

\dorecurse{5}{%
\startchapter[title={Knuth}]
\samplefile{knuth}
\stopchapter
}

\stoplinenumbering
\stoptext

Kind regards

Marcus Vinicius

-- 
Todas as coisas fatigam o corpo, salvo a música, que não fatiga nem o
corpo nem seus membros, por ser descanso da alma, primavera do
coração, distração do aflito, entretenimento do solitário, e viático
do viajante.

Kunnâsh al-Hâ'ik (Cancioneiro de al-Hâ'ik)
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [NTG-context] Re: Problem with \startlinenumbering left and right arguments
  2023-12-07 18:21 [NTG-context] Problem with \startlinenumbering left and right arguments Marcus Vinicius Mesquita
@ 2023-12-09 16:07 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2023-12-09 16:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Marcus Vinicius Mesquita

Marcus Vinicius Mesquita schrieb am 07.12.2023 um 19:21:
> Dear List,
>
> In the MWE below, the left and right arguments are not applied in the
> last chapter. How can this be fixed?
>
> \starttext
> \startlinenumbering[left={[},right={]}]
>
> \dorecurse{5}{%
> \startchapter[title={Knuth}]
> \samplefile{knuth}
> \stopchapter
> }
>
> \stoplinenumbering
> \stoptext

When you have a single linenumbering block in your document you can set
the left/right values at the begin of your document with

     \setuplinenumbering[left={[},right={]}]

When you have multiple linenumbering blocks in your document you can
ensure the values stay also on the last page with a forced page break before
the block ends, e.g.

     \page
     \stoplinenumbering

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-09 16:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-07 18:21 [NTG-context] Problem with \startlinenumbering left and right arguments Marcus Vinicius Mesquita
2023-12-09 16:07 ` [NTG-context] " Wolfgang Schuster

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