Problem with \startlinenumbering left and right arguments
![](https://secure.gravatar.com/avatar/885787dcac1e5b391f08f36125a5ec3f.jpg?s=120&d=mm&r=g)
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)
![](https://secure.gravatar.com/avatar/74d41c3215dcdd377343cdc47311757c.jpg?s=120&d=mm&r=g)
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
participants (2)
-
Marcus Vinicius Mesquita
-
Wolfgang Schuster