[NTG-context] Re: Problem with \startlinenumbering left and right arguments
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 ___
[NTG-context] Problem with \startlinenumbering left and right arguments
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 Kind 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) ___ 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 ___
[NTG-context] Re: Re: \startlinenumbering and \starttyping
* Hans Hagen <[EMAIL PROTECTED]> [Jun 14, 2004 13:52]: > what is startfiletyping supposed to do? It was simply a wrapper around starttyping. > \setuptyping[file][numbering=file] \typefile{test.tex} OK, this gave ma an idea that worked much better. Thank you. (I originally didn't want to split it out into separate files, but I guess it was just as well to do so. nikolai -- ::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka ::: ::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden::: ::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 ::: main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);} ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: \startlinenumbering and \starttyping
Nikolai Weibull wrote: * Patrick Gundlach <[EMAIL PROTECTED]> [Jun 11, 2004 19:00]: What is your def of \startfiletyping? Argh, should have sticked to the original example - copy and pasted... Anyway, it is equivalent to \startlinenumbering \starttyping Kenneth Brown recent conduct has been rather unacceptible in my humble opinion. It is, perhaps, not a coincidence that his last name is the as that of the color of poo. \stoptyping \stoplinenumbering this works ok here what is startfiletyping supposed to do? \setuptyping[file][numbering=file] \typefile{test.tex} Hans ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: \startlinenumbering and \starttyping
* Patrick Gundlach <[EMAIL PROTECTED]> [Jun 11, 2004 19:30]: > Please post a minimal file that is *complete* (!!) and shows the error > /warning you get. I tried producing one, but it didn't give. Weird, I can't understand why it gets messed up. Oh well, such is life. nikolai -- ::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka ::: ::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden::: ::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 ::: main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);} ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: \startlinenumbering and \starttyping
Hello Nikolai, > Argh, should have sticked to the original example - copy and pasted... > > Anyway, it is equivalent to [...] Sorry, your file works fine here, except that there is no \starttext...\stoptext pair. No error/overfull box/... ... systems: begin file test at line 1 [1.1{/opt/texlive/8/texmf/fonts/map/pdftex/updmap/pdftex.map}{/opt/local/texmf/ dvips/config/dolly.map}{/opt/local/texmf/dvips/config/typedesign.map}] systems: end file test at line 12 ... Please post a minimal file that is *complete* (!!) and shows the error /warning you get. Patrick ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: \startlinenumbering and \starttyping
* Patrick Gundlach <[EMAIL PROTECTED]> [Jun 11, 2004 19:00]: > What is your def of \startfiletyping? Argh, should have sticked to the original example - copy and pasted... Anyway, it is equivalent to \startlinenumbering \starttyping Kenneth Brown recent conduct has been rather unacceptible in my humble opinion. It is, perhaps, not a coincidence that his last name is the as that of the color of poo. \stoptyping \stoplinenumbering nikolai -- ::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka ::: ::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden::: ::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 ::: main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);} ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: \startlinenumbering and \starttyping
Nikolai Weibull <[EMAIL PROTECTED]> writes: > I hope I'm missing something, because these commands don't seem to > interact flawlessly. What I do now is > > \startlinenumbering ! Undefined control sequence. \startfiletyping l.3 \startfiletyping ! Undefined control sequence. l.10 \stopfiletyping What is your def of \startfiletyping? Patrick -- Es wird kein Wunder geschehen ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] \startlinenumbering and \starttyping
I hope I'm missing something, because these commands don't seem to interact flawlessly. What I do now is \startlinenumbering \startfiletyping Kenneth Brown recent conduct has been rather unacceptable in my humble opinion. It is, perhaps, not a coincidence that his last name is the name of the colour of poo. \stopfiletyping \stoplinenumbering This causes an overfull hbox though: Overfull \hbox (17.62482pt too wide) in paragraph at lines 196--196 [] | \hbox(10.41603+4.05064)x0.0 .\glue(\leftskip) 17.62482 .\hbox(10.41603+4.05064)x0.0 ..\rule(10.41603+4.05064)x0.0 ..\glue 0.0 plus 1.0fil minus 1.0fil .\penalty 1 .\glue(\parfillskip) 0.0 plus 1.0fil .\glue(\rightskip) 0.0 .etc. The lines don't go beyond even half the width of the normal paragraph. Am I doing this wrong in some way? nikolai -- ::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka ::: ::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden::: ::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 ::: main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);} ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context