Re: [NTG-context] line numbering restarts every page

2021-09-01 Thread Henning Hraban Ramm via ntg-context

> Am 01.09.2021 um 18:52 schrieb Hans Hagen via ntg-context 
> :
> 
> On 9/1/2021 6:01 PM, Henning Hraban Ramm via ntg-context wrote:
>> Hi again,
>> if a "typing" environment with line numbering goes over a page break, the 
>> line numbers start at 1 again on the new page.
>> It doesn’t happen with \start/stoplinenumbering.
>> MWE:
>> \setuptyping[
>>   numbering=file,
>> ]
> 
> \setuptyping[numbering=line]

Ah, thank you! (Wolfgang too!)

I can’t remember why I chose "file", and looking at the source also doesn’t 
enlighten me.

\setuptyping[numbering=file] sets \setuplinenumbering[method=file], but the 
"file" method doesn’t seem to be defined (at least it’s missing in the syntax 
interface).

Can you explain?


Hraban
___
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
___


Re: [NTG-context] line numbering restarts every page

2021-09-01 Thread Wolfgang Schuster via ntg-context

Henning Hraban Ramm via ntg-context schrieb am 01.09.2021 um 18:01:

Hi again,

if a "typing" environment with line numbering goes over a page break, the line 
numbers start at 1 again on the new page.
It doesn’t happen with \start/stoplinenumbering.

MWE:

\setuptyping[
   numbering=file,
]


\setuptyping[numbering=line]

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
___


Re: [NTG-context] line numbering restarts every page

2021-09-01 Thread Hans Hagen via ntg-context

On 9/1/2021 6:01 PM, Henning Hraban Ramm via ntg-context wrote:

Hi again,

if a "typing" environment with line numbering goes over a page break, the line 
numbers start at 1 again on the new page.
It doesn’t happen with \start/stoplinenumbering.

MWE:

\setuptyping[
   numbering=file,
]


\setuptyping[numbering=line]



\setuppaper[A5]
\setupbodyfont[18pt]

\starttext

\startbuffer
Li Europan lingues es membres del sam familie.
Lor separat existentie es un myth.
Por scientie, musica, sport etc, litot Europa usa li sam vocabular.
Li lingues differe solmen in li grammatica,
li pronunciation e li plu commun vocabules.
Omnicos directe al desirabilite de un nov lingua franca:
On refusa continuar payar custosi traductores.
At solmen va esser necessi far uniform grammatica,
pronunciation e plu sommun paroles.
Ma quande lingues coalesce, li grammatica del resultant
lingue es plu simplic e regulari quam ti del coalescent lingues.
Li nov lingua franca va esser plu simplic
e regulari quam li existent Europan lingues.
\stopbuffer

\dorecurse{10}{
   \samplefile{knuth}

   \typebuffer
}


\stoptext


Hraban
___
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
___




--

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
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
___


[NTG-context] line numbering restarts every page

2021-09-01 Thread Henning Hraban Ramm via ntg-context
Hi again,

if a "typing" environment with line numbering goes over a page break, the line 
numbers start at 1 again on the new page.
It doesn’t happen with \start/stoplinenumbering.

MWE: 

\setuptyping[
  numbering=file,
]
\setuppaper[A5]
\setupbodyfont[18pt]

\starttext

\startbuffer
Li Europan lingues es membres del sam familie.
Lor separat existentie es un myth.
Por scientie, musica, sport etc, litot Europa usa li sam vocabular.
Li lingues differe solmen in li grammatica,
li pronunciation e li plu commun vocabules.
Omnicos directe al desirabilite de un nov lingua franca:
On refusa continuar payar custosi traductores.
At solmen va esser necessi far uniform grammatica,
pronunciation e plu sommun paroles.
Ma quande lingues coalesce, li grammatica del resultant
lingue es plu simplic e regulari quam ti del coalescent lingues.
Li nov lingua franca va esser plu simplic
e regulari quam li existent Europan lingues.
\stopbuffer

\dorecurse{10}{
  \samplefile{knuth}

  \typebuffer
}


\stoptext


Hraban
___
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
___