* Wrong counting of lines and paragraphs
@ 2020-08-07 19:10 Marcus Vinicius Mesquita
2020-08-08 10:03 ` Wolfgang Schuster
0 siblings, 1 reply; 3+ messages in thread
From: Marcus Vinicius Mesquita @ 2020-08-07 19:10 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Wrong counting of lines and paragraphs
2020-08-07 19:10 Wrong counting of lines and paragraphs Marcus Vinicius Mesquita
@ 2020-08-08 10:03 ` Wolfgang Schuster
2020-08-10 15:24 ` Marcus Vinicius Mesquita
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2020-08-08 10:03 UTC (permalink / raw)
To: mailing list for ConTeXt users
Marcus Vinicius Mesquita schrieb am 07.08.2020 um 21:10:
> Dear list,
>
> In the MWE below you don't get lines and paragraphs numbered correctly:
>
> [...]
>
> Have I hit a bug?
No, this is a side effect from your sections which start the paragraphs.
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Wrong counting of lines and paragraphs
2020-08-08 10:03 ` Wolfgang Schuster
@ 2020-08-10 15:24 ` Marcus Vinicius Mesquita
0 siblings, 0 replies; 3+ messages in thread
From: Marcus Vinicius Mesquita @ 2020-08-10 15:24 UTC (permalink / raw)
To: Wolfgang Schuster; +Cc: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 751 bytes --]
Ok. Thank you for your clarification.
Regards
Marcus Vinicius
On Sat, Aug 8, 2020 at 7:03 AM Wolfgang Schuster <
wolfgang.schuster.lists@gmail.com> wrote:
> Marcus Vinicius Mesquita schrieb am 07.08.2020 um 21:10:
> > Dear list,
> >
> > In the MWE below you don't get lines and paragraphs numbered correctly:
> >
> > [...]
> >
> > Have I hit a bug?
>
> No, this is a side effect from your sections which start the paragraphs.
>
> Wolfgang
>
--
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: 1197 bytes --]
[-- Attachment #2: 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-08-10 15:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-07 19:10 Wrong counting of lines and paragraphs Marcus Vinicius Mesquita
2020-08-08 10:03 ` Wolfgang Schuster
2020-08-10 15:24 ` Marcus Vinicius Mesquita
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).