From: Marcus Vinicius Mesquita <marcusvinicius.mesquita@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Wrong counting of lines and paragraphs
Date: Fri, 7 Aug 2020 16:10:40 -0300 [thread overview]
Message-ID: <CAK9ODgQKhfH6mvnEUxMOFk4Fa-WEd-WgHJ2twKhZ9cF2BNueuQ@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1297 bytes --]
Dear list,
In the MWE below you don't get lines and paragraphs numbered correctly:
\setuplinenumbering[location=inner,align=right,style=\tfxx,distance=10pt,color=red]
\setupparagraphnumbering[state=start,style=bold,distance=0pt,color=darkblue]
\setuphead[title][alternative=text,style=bold]
\setuphead[subject][alternative=text,style=bolditalic]
\setuphead[subsubject][alternative=text,style=\ss]
\setuphead[subsubsubject][alternative=text,style=\ss\it]
\startbuffer[waltham]
\input waltham
\stopbuffer
\starttext
\startlinenumbering
\starttitle[title={Waltham}]
\dorecurse{4}{\getbuffer[waltham]\par}
\startsubject[title={Waltham}]
\dorecurse{5}{\getbuffer[waltham]\par}
\startsubsubject[title={Waltham}]
\dorecurse{5}{\getbuffer[waltham]\par}
\startsubsubsubject[title={Waltham}]
\dorecurse{2}{\getbuffer[waltham]\par}
\stopsubsubsubject
\stopsubsubject
\stopsubject
\stoptitle
\stoplinenumbering
\stoptext
Have I hit a bug?
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)
[-- Attachment #1.2: Type: text/html, Size: 1903 bytes --]
[-- Attachment #2: MWE.tex --]
[-- Type: text/x-tex, Size: 839 bytes --]
\setuplinenumbering [location=inner,align=right,style=\tfxx,distance=10pt,color=red]
\setupparagraphnumbering[state=start,style=bold,distance=0pt,color=darkblue]
\setuphead[title][alternative=text,style=bold]
\setuphead[subject][alternative=text,style=bolditalic]
\setuphead[subsubject][alternative=text,style=\ss]
\setuphead[subsubsubject][alternative=text,style=\ss\it]
\startbuffer[waltham]
\input waltham
\stopbuffer
\starttext
\startlinenumbering
\starttitle[title={Waltham}]
\dorecurse{4}{\getbuffer[waltham]\par}
\startsubject[title={Waltham}]
\dorecurse{5}{\getbuffer[waltham]\par}
\startsubsubject[title={Waltham}]
\dorecurse{5}{\getbuffer[waltham]\par}
\startsubsubsubject[title={Waltham}]
\dorecurse{2}{\getbuffer[waltham]\par}
\stopsubsubsubject
\stopsubsubject
\stopsubject
\stoptitle
\stoplinenumbering
\stoptext
[-- Attachment #3: MWE.pdf --]
[-- Type: application/pdf, Size: 35243 bytes --]
[-- Attachment #4: Type: text/plain, Size: 493 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
___________________________________________________________________________________
next reply other threads:[~2020-08-07 19:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-07 19:10 Marcus Vinicius Mesquita [this message]
2020-08-08 10:03 ` Wolfgang Schuster
2020-08-10 15:24 ` Marcus Vinicius Mesquita
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=CAK9ODgQKhfH6mvnEUxMOFk4Fa-WEd-WgHJ2twKhZ9cF2BNueuQ@mail.gmail.com \
--to=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).