ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Line numbering broken somehow?
Date: Thu, 30 Mar 2017 13:08:16 +0200	[thread overview]
Message-ID: <58DCE720.8060606@gmail.com> (raw)
In-Reply-To: <op.yxwspquo62epfj@lprx>


[-- Attachment #1.1: Type: text/plain, Size: 1076 bytes --]



> Procházka Lukáš Ing. <mailto:LPr@pontex.cz>
> 30. März 2017 um 12:28via Postbox 
> <https://www.postbox-inc.com/?utm_source=email&utm_medium=sumlink&utm_campaign=reach>
> Hello,
>
> could anyone confirm that line numbering on the last page is somehow 
> broken, i.e. it ignores the style assigned by \setuplinenumbering (but 
> works OK on other pages)?
It’s a side effect of the way how line numbering works. To get the 
correct style for the last page you need global setups.

%%%% begin example
\setuplinenumbering
   [TEX]
   [location=inmargin,
    style=\tt\tfx,
    color=darkgreen]

\setuptyping
   [TEX]
   [numbering=line]

\starttext
\typefile[TEX]{\inputfilename}
\stoptext

Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
%%%% end example

Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 2399 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2017-03-30 11:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-28  8:10 Procházka Lukáš Ing.
2017-03-30 10:28 ` Procházka Lukáš Ing.
2017-03-30 11:08   ` Wolfgang Schuster [this message]
2017-03-30 11:30     ` Procházka Lukáš Ing.

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=58DCE720.8060606@gmail.com \
    --to=schuster.wolfgang@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).