Hello, in the following example line numbering with \typefile works well except the last page - here it doesn't follow the style assigned. What's wrong? Best regards, Lukas ---- \starttext Some text here \page \start \setupinterlinespace[1.8ex] \definefontsize[z] \definebodyfontenvironment[default][z=.75] \setuplinenumbering[location=inmargin,style={\tfz\tt},color=darkgreen,] \setuptyping[TEX][style=\tfz,numbering=line,] \typefile[TEX]{t3.mkiv} \stop \if+- Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text \fi \stoptext ---- -- Ing. Lukáš Procházka | mailto:LPr@pontex.cz Pontex s. r. o. | mailto:pontex@pontex.cz | http://www.pontex.cz | IDDS:nrpt3sn Bezová 1658 147 14 Praha 4 Tel: +420 241 096 751 (+420 720 951 172) Fax: +420 244 461 038
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)?
Best regards,
Lukas
On Tue, 28 Mar 2017 10:10:14 +0200, Procházka Lukáš Ing.
Hello,
in the following example line numbering with \typefile works well except the last page - here it doesn't follow the style assigned.
What's wrong?
Best regards,
Lukas
---- \starttext
Some text here
\page \start \setupinterlinespace[1.8ex] \definefontsize[z] \definebodyfontenvironment[default][z=.75] \setuplinenumbering[location=inmargin,style={\tfz\tt},color=darkgreen,] \setuptyping[TEX][style=\tfz,numbering=line,]
\typefile[TEX]{t3.mkiv} \stop
\if+- Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text Some dummy text \fi
\stoptext ----
-- Ing. Lukáš Procházka | mailto:LPr@pontex.cz Pontex s. r. o. | mailto:pontex@pontex.cz | http://www.pontex.cz | IDDS:nrpt3sn Bezová 1658 147 14 Praha 4 Tel: +420 241 096 751 (+420 720 951 172) Fax: +420 244 461 038
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
Hello,
thanks for explanation.
In your example -
On Thu, 30 Mar 2017 13:08:16 +0200, Wolfgang Schuster
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]
Does 'numbering=line' here mean that the \setuptyping[TEX] will search for a line-numbering style of the same name, i.e. \setuplinenumbering[TEX]? And if it finds such numbering style, it will use it? Best regards, Lukas
\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
-- Ing. Lukáš Procházka | mailto:LPr@pontex.cz Pontex s. r. o. | mailto:pontex@pontex.cz | http://www.pontex.cz | IDDS:nrpt3sn Bezová 1658 147 14 Praha 4 Tel: +420 241 096 751 (+420 720 951 172) Fax: +420 244 461 038
participants (2)
-
Procházka Lukáš Ing.
-
Wolfgang Schuster