From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
Marcus Vinicius Mesquita <marcusvinicius.mesquita@gmail.com>
Subject: [NTG-context] Re: Problem with \startlinenumbering left and right arguments
Date: Sat, 9 Dec 2023 17:07:41 +0100 [thread overview]
Message-ID: <ea18a3f0-4b3c-8671-168b-11b35a389e38@gmail.com> (raw)
In-Reply-To: <CAK9ODgQ6ETMz6R_KPK-8KeoAcUZaS94vCaBxRicE5QnDwOu9_Q@mail.gmail.com>
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
___________________________________________________________________________________
prev parent reply other threads:[~2023-12-09 16:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-07 18:21 [NTG-context] " Marcus Vinicius Mesquita
2023-12-09 16:07 ` Wolfgang Schuster [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ea18a3f0-4b3c-8671-168b-11b35a389e38@gmail.com \
--to=wolfgang.schuster.lists@gmail.com \
--cc=marcusvinicius.mesquita@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).