[NTG-context] Re: line numbering respecting original lines

2024-06-17 Thread Hans Hagen via ntg-context
and need breaking. Is that possible? In my example below the 3rd line is too long and gets line numbers 3 and 4. Same problem with source code examples, i.e. \starttyping with numbering. I thought numbering=file (or \setuplinenumbering[method=file]) would address that, but apparently not

[NTG-context] Re: line numbering respecting original lines

2024-06-17 Thread Wolfgang Schuster
thought numbering=file (or \setuplinenumbering[method=file]) would address that, but apparently not. \start \setupparagraphnumbering[state=start] \startlines ... \stoplines \stop Thank you – that works for the minimal example, but the options for paragraph numbering are very limited, I can’t

[NTG-context] Re: line numbering respecting original lines

2024-06-17 Thread Henning Hraban Ramm
to adhere to that, even if some lines are too long and need breaking. Is that possible? In my example below the 3rd line is too long and gets line numbers 3 and 4. Same problem with source code examples, i.e. \starttyping with numbering. I thought numbering=file (or \setuplinenumbering

[NTG-context] Re: line numbering respecting original lines

2024-06-17 Thread Wolfgang Schuster
long and need breaking. Is that possible? In my example below the 3rd line is too long and gets line numbers 3 and 4. Same problem with source code examples, i.e. \starttyping with numbering. I thought numbering=file (or \setuplinenumbering[method=file]) would address that, but apparently not

[NTG-context] Re: line numbering respecting original lines

2024-06-17 Thread Henning Hraban Ramm
example below the 3rd line is too long and gets line numbers 3 and 4. Same problem with source code examples, i.e. \starttyping with numbering. I thought numbering=file (or \setuplinenumbering[method=file]) would address that, but apparently not. \start \setupparagraphnumbering[state=start

[NTG-context] Re: line numbering respecting original lines

2024-06-17 Thread Wolfgang Schuster
numbers 3 and 4. Same problem with source code examples, i.e. \starttyping with numbering. I thought numbering=file (or \setuplinenumbering[method=file]) would address that, but apparently not. Hraban \mainlanguage[de] \setuppapersize[A7,landscape] \setuplayout[topspace=0mm,bottom=0mm,width

[NTG-context] line numbering respecting original lines

2024-06-17 Thread Henning Hraban Ramm
examples, i.e. \starttyping with numbering. I thought numbering=file (or \setuplinenumbering[method=file]) would address that, but apparently not. Hraban \mainlanguage[de] \setuppapersize[A7,landscape] \setuplayout[topspace=0mm,bottom=0mm,width=90mm,height=70mm] \setuppagenumbering[location=none

[NTG-context] Re: Problem with \startlinenumbering left and right arguments

2023-12-09 Thread Wolfgang Schuster
} \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

[NTG-context] Problems with line numbered program listings

2023-10-04 Thread Bruce Horrocks
file called "three_lines.txt" to be created in the local directory containing the lines: one two three begin \setuplinenumbering[location=text,style=\small\tt] \starttext Location=text not working in main body \typefile[numbering=line]{three_lines.txt} But it does work i

[NTG-context] How to get line numbering to match block quote position?

2022-10-10 Thread Joel via ntg-context
I have some text that is a block quote, but also has line numbering:     \setuplinenumbering[step=3]    \starttext    \startblockquote             \startlinenumbering                 \input knuth             \stoplinenumbering         \stopblockquote \stoptext The line numbering is

Re: [NTG-context] line numbering for \setuptyping

2022-09-25 Thread Pablo Rodriguez via ntg-context
On 9/24/22 19:56, Pablo Rodriguez via ntg-context wrote: > [...] > Which \setuplinenumbering is applied to typing fragments? > > Just in case my question isn’t clear: how can I get "step=3" in the > sample above? Hi there, I reply this question myself: "s

[NTG-context] line numbering for \setuptyping

2022-09-24 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \setuplinenumbering[typing] [step=3] \starttext \starttyping[numbering=line] Line Line Line \stoptyping \stoptext Which \setuplinenumbering is applied to typing fragments? Just in case my question isn’t clear: how can I get

[NTG-context] issue with compress in linenote

2022-05-31 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \setuppapersize[A6] \setuplinenumbering [width=margin, location=outer, align=middle] \setupnote[linenote] [paragraph=yes, compress=yes, compressmethod=separator] \setupnotation[linenote] [alternative=serried, width=broad

[NTG-context] Line numbering inside display math with mathalign and splitformula

2022-03-28 Thread śrīrāma via ntg-context
Hi everyone, I have a document with lots of maths. I am using \start...\stoplinenumbering to place line numbers in the inner margins with \setuplinenumbering [location=inner, style=\ttx] The weird thing is I have many display math blocks that break across page(s) using

Re: [NTG-context] TEST criticus apparatus with line numbering in footnotes

2022-01-08 Thread Jean-Pierre Delange via ntg-context
page; \setuplinenumbering[step=5] % La sortie PDF comportera une numérotation des lignes de 5 en 5; on peut régler de 1 à 10/Ruling linenumbering from 1 to 10. \setupnotations[alternative=serried] % On définit le caractère séquentiel des notes/ Definethe sequential mode of the notes. \definelin

Re: [NTG-context] TEST criticus apparatus

2022-01-06 Thread Pablo Rodriguez via ntg-context
s en-têtes, le numéro des pages, etc. \mainlanguage[la] % Définition du latin comme langue principale du document. \setupbodyfontenvironment[default][em=italic] \setuplayout[header=2cm, footer=2cm] % Paramétrage de la page; \setuplinenumbering[step=2] % La sortie PDF comportera une

Re: [NTG-context] Critical Editions?

2022-01-03 Thread Jean-Pierre Delange via ntg-context
ltanées. On peut affiner encore, en ajoutant d'autres commandes stipulant les marges, les en-têtes, le numéro des pages, etc. \mainlanguage[la] % Définition du latin comme langue principale du document. \setupbodyfontenvironment[default][em=italic] \setuplayout[header=2cm, footer=2cm] % Para

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

2021-09-01 Thread Henning Hraban Ramm via ntg-context
in 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 als

[NTG-context] Wrong counting of lines and paragraphs

2020-08-07 Thread Marcus Vinicius Mesquita
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

Re: [NTG-context] line numbering within frame

2020-01-23 Thread Tomas Hala
numbering systems. I hit a similar problem in 2016, and Wolfgang provided a solution (defining different numbering environment). However, this does not work within a frame. The example shows the problem: # # \starttext # # % This works: # \definelinenumbering[One] #\setuplinenumbering[One

[NTG-context] line numbering within frame

2020-01-23 Thread Thomas A. Schmitz
problem: \starttext % This works: \definelinenumbering[One] \setuplinenumbering[One] [style=\ss, distance=-2ex, step=2, location=inleft, start=20, color=darkblue] \startlinenumbering[One] \input knuth \stoplinenumbering \blank [line

Re: [NTG-context] Line numbering in two column layout conflicts with marking

2019-12-18 Thread Oliver von Criegern
. Consider the following example: \setupcolumns[n=2] \setuplinenumbering     [     step=5,     method=page,     align=flushright,     ] \definemarking[Test] \setupheadertexts[{\fetchmark[Test][top] -- \fetchmark[Test][bottom]}] \startbuffer \dorecurse{12}{words } \stopbuffer \starttext

Re: [NTG-context] Line numbering in two column layout conflicts with marking

2019-12-09 Thread Oliver von Criegern
Any suggestions, how to solve this problem? Am 02.12.19 um 20:06 schrieb Oliver von Criegern: Dear list members, line numbering in a two column layout apparently conflicts with the marking mechanism. Consider the following example: \setupcolumns[n=2] \setuplinenumbering     [     step=5

[NTG-context] Line numbering in two column layout conflicts with marking

2019-12-02 Thread Oliver von Criegern
Dear list members, line numbering in a two column layout apparently conflicts with the marking mechanism. Consider the following example: \setupcolumns[n=2] \setuplinenumbering     [     step=5,     method=page,     align=flushright,     ] \definemarking[Test] \setupheadertexts

Re: [NTG-context] Cross references to column numbers

2019-11-15 Thread Taco Hoekwater
x27;ll >>> add a feature: >>> >>> \pagereference[column:#1] >>> >>> \doifelsereferencefound{column:#1}{\number\referencecolumnnumber}{} >>> >>> in the next beta, >>> >>> Hans >> >> Thanks for i

Re: [NTG-context] Cross references to column numbers

2019-11-15 Thread Oliver von Criegern
umber\referencecolumnnumber}{} in the next beta, Hans Thanks for implementing this, but I am afraid it does not work properly, at least not if there are several targets following one after another. Consider this example: \setupcolumns[     n=2, ] \setuplinenumbering[     step=5,     method

Re: [NTG-context] Cross references to column numbers

2019-11-12 Thread Oliver von Criegern
id it does not work properly, at least not if there are several targets following one after another. Consider this example: \setupcolumns[     n=2, ] \setuplinenumbering[     step=5,     method=page, ] \def\Lab#1{% \pagereference[#1]% \pagereference[column:#1]% \someline[#1]% } \def\Ref#1{

[NTG-context] line numbering disappears in custom column layout

2019-08-31 Thread Damien Thiriet
[Colonne][n=2] \starttext \startColonne \startlinenumbering \input knuth \stoplinenumbering \Colonne \input knuth \stopColonne \stoptext Playing with \setuplinenumbering (location=text and so on) didn't help. Maybe this has to do with setting margins in defineparagraphs, but I can't figure

[NTG-context] In a two column layout, activate line numbering for one column only

2019-07-30 Thread Oliver von Criegern
numbering only for one column, which, as far as I can see, does not exist; or I could use the "command" option for "\setuplinenumbering" to make the line numbers dissappear for one column, but then I would need some way to decide whether a line number belongs to the first or

Re: [NTG-context] vertically centering line numbers

2018-12-01 Thread Pablo Rodriguez
On 12/1/18 9:49 AM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 30.11.18 um 19:29: >> [...] >> Is there a way to center vertically the line numbers? > > \defineshift [RaiseNumber] [dy=-0.25,style=\tfxx] > > \setuplinenumbering [step=3,command=\RaiseNumber

Re: [NTG-context] vertically centering line numbers

2018-12-01 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 30.11.18 um 19:29: Dear list, I have the following sample: \setuplinenumbering[step=3, style=\tfxx] \starttext \startlinenumbering \dorecurse{40}{This is a verse.\\} \stoplinenumbering \stoptext Is there a way to center vertically the

[NTG-context] vertically centering line numbers

2018-11-30 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuplinenumbering[step=3, style=\tfxx] \starttext \startlinenumbering \dorecurse{40}{This is a verse.\\} \stoplinenumbering \stoptext Is there a way to center vertically the line numbers? Many thanks for your help, Pablo

[NTG-context] tex error Argument of \titlecmd has an extra }

2018-03-06 Thread ????????
section, subject][style=\ssa] % \setupindenting[first,always,2em] \setupinterlinespace[line=1.5em] \setupheads[indentnext=yes] \setupwhitespace[big] \setupfootnotes[bodyfont=9pt] % \setuplinenumbering[style=small,location=text,color=darkgreen] \setuptype[style=\ttx] %\setuptype[space=o

[NTG-context] linenumbers in marking

2017-05-07 Thread Thomas A. Schmitz
t it’s not usable because the numbers are always shown on the next page." He made the following example (which I have slightly adapted): \definemarking[linenumber] \define\LinenumberCommand {\normalexpanded{\setmarking[linenumber]{\linenumber}}} \setuplinenumbering[command=\LinenumberCommand

Re: [NTG-context] Line numbering broken somehow?

2017-03-30 Thread Procházka Lukáš Ing .
aign=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

Re: [NTG-context] Line numbering broken somehow?

2017-03-30 Thread Wolfgang Schuster
he 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=dark

Re: [NTG-context] Line numbering broken somehow?

2017-03-30 Thread Procházka Lukáš Ing .
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. wrote: Hello, in the following

[NTG-context] Line numbering broken somehow?

2017-03-28 Thread Procházka Lukáš Ing .
fontsize[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

Re: [NTG-context] TwoColumns in two different languages, with alternate text on even and odd page.

2016-11-23 Thread Pablo Rodriguez
efault][em=italic] \setupinterlinespace[line=3ex] \setuplinenumbering[location=left, step=5, method=section, style=\tfxx, align=left, distance=1em, width=0.4em] \setuppagenumbering[alternative=doublesided,location=] \definelinenote[comment] \setupnote[comment][paragraph=yes, rule=off, split=verystrict, sc

Re: [NTG-context] TwoColumns in two different languages, with alternate text on even and odd page.

2016-11-23 Thread Jean-Pierre Delange
\def\BNote#1#2{#1\bNote{#1] #2}} \def\CNote#1#2{#1\cNote{#1] #2}} \def\DNote#1#2{#1\dNote{#1] #2}} \setupalign[hz, hanging] \setuptolerance[strict] \setupnotes[spacebefore=4*line] \setupnotes[spaceinbetween=] % \setuplinenumbering[step=5, location=inright, distance=1ex,align=cente

Re: [NTG-context] TwoColumns in two different languages, with alternate text on even and odd page.

2016-11-22 Thread Hans Hagen
\aNote{#1] #2}} \def\BNote#1#2{#1\bNote{#1] #2}} \def\CNote#1#2{#1\cNote{#1] #2}} \def\DNote#1#2{#1\dNote{#1] #2}} \setupalign[hz, hanging] \setuptolerance[strict] \setupnotes[spacebefore=4*line] \setupnotes[spaceinbetween=] % \setuplinenumbering[step=5, locatio

[NTG-context] TwoColumns in two different languages, with alternate text on even and odd page.

2016-11-18 Thread Jean-Pierre Delange
dNote][paragraph=yes] \def\ANote#1#2{#1\aNote{#1] #2}} \def\BNote#1#2{#1\bNote{#1] #2}} \def\CNote#1#2{#1\cNote{#1] #2}} \def\DNote#1#2{#1\dNote{#1] #2}} \setupalign[hz, hanging] \setuptolerance[strict] \setuplinenumbering[step=5, location=inright, distance=1ex,

Re: [NTG-context] position of linenumbering

2016-10-12 Thread Pablo Rodriguez
On 10/12/2016 06:03 PM, Wolfgang Schuster wrote: >> Pablo Rodriguez 12. Oktober 2016 um 16:38 >> [...] >> According to the description from page 301 in i-context.pdf, >> \startlinenumbering ... \stoplinenumbering inherit from >> \setuplinenumbering. > > I change

Re: [NTG-context] position of linenumbering

2016-10-12 Thread Hans Hagen
On 10/12/2016 5:58 PM, Thomas A. Schmitz wrote: On 12.10.2016 16:38, Pablo Rodriguez wrote: Wolfgang, your approach is right, but hasn’t Thomas hit a bug? According to the description from page 301 in i-context.pdf, \startlinenumbering ... \stoplinenumbering inherit from \setuplinenumbering

Re: [NTG-context] position of linenumbering

2016-10-12 Thread Wolfgang Schuster
gs are forgotten when the numbers are added on ConTeXt uses the global values instead when it add them. According to the description from page 301 in i-context.pdf, \startlinenumbering ... \stoplinenumbering inherit from \setuplinenumbering. I changed it, valid keys are continue, start, step and

Re: [NTG-context] position of linenumbering

2016-10-12 Thread Thomas A. Schmitz
On 12.10.2016 16:38, Pablo Rodriguez wrote: Wolfgang, your approach is right, but hasn’t Thomas hit a bug? According to the description from page 301 in i-context.pdf, \startlinenumbering ... \stoplinenumbering inherit from \setuplinenumbering. Thanks Wolfgang, this solution works (I must

Re: [NTG-context] position of linenumbering

2016-10-12 Thread Pablo Rodriguez
escription from page 301 in i-context.pdf, \startlinenumbering ... \stoplinenumbering inherit from \setuplinenumbering. Pablo -- http://www.ousia.tk ___ If your question is of interest to others as well, please add an entry to

Re: [NTG-context] position of linenumbering

2016-10-12 Thread Thomas A. Schmitz
On 12.10.2016 15:48, Otared Kavian wrote: Hi Thomas, It seems that if you use \setuplinenumbering the issue is fixed: please have a look here: \setuppapersize [A6] \setuplinenumbering[location=text,distance=0.5cm] \starttext \startlinenumbering \dorecurse{2}{\input tufte

Re: [NTG-context] position of linenumbering

2016-10-12 Thread Otared Kavian
Hi Thomas, It seems that if you use \setuplinenumbering the issue is fixed: please have a look here: \setuppapersize [A6] \setuplinenumbering[location=text,distance=0.5cm] \starttext \startlinenumbering \dorecurse{2}{\input tufte} \stoplinenumbering dummy \stoptext Best regards: OK

Re: [NTG-context] LaTeX reledmac: what about ConTeXt ?

2016-05-22 Thread Jean-Pierre Delange
following code ? JP \usemodule[newcolumnsets] \definecolumnset[example][n=2,page=middle,distance=1cm] \setupcolumnset [example] [background=contrast] % \definecolor[fakerulecolor][white] \faketriggertrue \setuphead [section] [style=\bfd] \setuplinenumbering [style=regular, distance=0pt, ali

Re: [NTG-context] LaTeX reledmac: what about ConTeXt ?

2016-05-20 Thread Jean-Pierre Delange
e[bNote][n=2] \definelinenote[cNote][n=3] \definelinenote[dNote][paragraph=yes] \def\ANote#1#2{#1\aNote{#1] #2}} \def\BNote#1#2{#1\bNote{#1] #2}} \def\CNote#1#2{#1\cNote{#1] #2}} \def\DNote#1#2{#1\dNote{#1] #2}} \setupalign[hz, hanging] \setuptolerance[stric

Re: [NTG-context] LaTeX reledmac: what about ConTeXt ?

2016-05-16 Thread Jean-Pierre Delange
rried] \definelinenote[aNote] \definelinenote[bNote][n=2] \definelinenote[cNote][n=3] \definelinenote[dNote][paragraph=yes] \def\ANote#1#2{#1\aNote{#1] #2}} \def\BNote#1#2{#1\bNote{#1] #2}} \def\CNote#1#2{#1\cNote{#1] #2}} \def\DNote#1#2{#1\dNote{#1] #2}} \setupalign[hz, han

Re: [NTG-context] LaTeX reledmac: what about ConTeXt ?

2016-05-16 Thread Pablo Rodriguez
1] #2}} \def\DNote#1#2{#1\dNote{#1] #2}} \setupalign[hz, hanging] \setuptolerance[strict] \setuplinenumbering[step=5, location=inright, distance=1ex, align=center, width=0.5em] \definemargindata[Stephanus][location=inner, distance=2ex, style=\em] \setupbodyfont[ma

Re: [NTG-context] LaTeX reledmac: what about ConTeXt ?

2016-05-16 Thread Jean-Pierre Delange
orks when you load the mainface. 5. It is better when you use typefaces distributed with ConTeXt. Well, my code doesn’t work well. Line numbers and notes are only allowed on one column. I know Hans will hate me ;-), but the fun comes when the recursion exceeds the first page. BTW, I gues

Re: [NTG-context] LaTeX reledmac: what about ConTeXt ?

2016-05-16 Thread Jean-Pierre Delange
def\CNote#1#2{#1\cNote{#1] #2}} \def\DNote#1#2{#1\dNote{#1] #2}} \setupalign[hz, hanging] \setuptolerance[strict] \setuplinenumbering[step=5, location=inright, distance=1ex, align=center, width=0.5em] \definemargindata[Stephanus][location=inner, distance=2ex, style=\em] \setupbodyf

Re: [NTG-context] LaTeX reledmac: what about ConTeXt ?

2016-05-15 Thread Pablo Rodriguez
\definelinenote[cNote][n=3] \definelinenote[dNote][paragraph=yes] \def\ANote#1#2{#1\aNote{#1] #2}} \def\BNote#1#2{#1\bNote{#1] #2}} \def\CNote#1#2{#1\cNote{#1] #2}} \def\DNote#1#2{#1\dNote{#1] #2}} \setupalign[hz, hanging] \setuptolerance[strict] \setuplinenumbering[ste

Re: [NTG-context] LaTeX reledmac: what about ConTeXt ?

2016-05-15 Thread Jean-Pierre Delange
olerance[strict] \defineparagraphs[TwoColumns][n=2, align={hz, hanging}] \setupparagraphs[TwoColumns][1][width=200pt, style=regular, align=left] \setuplinenumbering[step=5] \setupbodyfont[palatino, 7.8pt] \starttext \start\fr % some text in French Définir un apparat critique et le mettre

Re: [NTG-context] LaTeX reledmac: what about ConTeXt ?

2016-05-15 Thread Jean-Pierre Delange
given by LaTeX ? I am not looking for a very translation in > ConTeXt of this file given in LaTeX ! A similar sample (where different > levels of notes are managed as in this LaTeX file) will be perfect. Hi Jean-Pierre, here you have a basic sample: \mainlanguage[la] \setuplayout

Re: [NTG-context] LaTeX reledmac: what about ConTeXt ?

2016-05-15 Thread Jean-Pierre Delange
ar sample (where different > levels of notes are managed as in this LaTeX file) will be perfect. Hi Jean-Pierre, here you have a basic sample: \mainlanguage[la] \setuplayout[header=0cm, footer=0cm] \setuplinenumbering[step=5] \setupnotations[alternative=serried] \definel

Re: [NTG-context] LaTeX reledmac: what about ConTeXt ?

2016-05-14 Thread Pablo Rodriguez
slation in > ConTeXt of this file given in LaTeX ! A similar sample (where different > levels of notes are managed as in this LaTeX file) will be perfect. Hi Jean-Pierre, here you have a basic sample: \mainlanguage[la] \setuplayout[header=0cm, footer=0cm] \setuplinenumbering[step=5]

Re: [NTG-context] margindata does not work in latest beta

2015-08-11 Thread Otared Kavian
t; doesn’t stop where I would expect. Is this a bug or a limitation of context? > > \setuplayout [leftmargin=2cm] > > \setupbodyfont [times,10pt] > > \setuplinenumbering [step=1,location=inmargin] > > \setupcolumns [n=2] > > \starttext > > \startcolumns > \

Re: [NTG-context] margindata does not work in latest beta

2015-08-11 Thread Schmitz Thomas A.
ion of context? \setuplayout [leftmargin=2cm] \setupbodyfont [times,10pt] \setuplinenumbering [step=1,location=inmargin] \setupcolumns [n=2] \starttext \startcolumns \startlinenumbering Had we but world enough, and time, This coyness, Lady, were no crime. We would sit down and think which

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread tala...@fastmail.fm
right, ] \setuplinenumbering[% style=\tfxx, referencing=on, step=1, location=outer, method=page, align=left, distance=1em, width=0.4em, conversion=arabicdecimals, ] \definelinenote[linenotedefault][% setups=note:linenotede

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-08-03 Thread tala...@fastmail.fm
TO ARABIC-HINDI NUMERALS\defineconversion[myconversion][١,٢,٣,٤,٥,٦,٧,٨,٩,١٠,١١,١٢,١٣,١٤,١٥,١٦,١٧,١٨,١٩,٢٠,]%% HEADINGS\setuppagenumber[numberconversion=myconversion]%%% LINENUMBERING\setuplinenumbering[% style=\tfxx, referencing=on, step=1, location=outer, method=page, align=left, distance=1

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread tala...@fastmail.fm
] \setupdirections[bidi=global,method=two] \setupalign[r2l] %\righttoleft %% HEADINGS \setuphead[section][ conversion=myconversion, numbercommand=\righttoleft, % <-- toggle ] \setuplinenumbering[conversion=myconversion] \setupnotations[footnote][numberconversion=myconvers

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread Idris Samawi Hamid ادريس سماوي حامد
? arabicdigits? [myconversion] [١,٢,٣,٤,٥,٦,٧,٨,٩,١٠, ١١,١٢,١٣,١٤,١٥,١٦,١٧,١٨,١٩,٢٠, ۲۱,۲۲,۲۳,۲٤,۲٥,۲٦,۲۷,۲۸,۲۹,۳۰, > another million entries the next beta will have: \setuplinenumbering[conversion=arabicdecimals] What's wrong with 'persiannumerals' and 'arabicnumera

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread Hans Hagen
, ١١,١٢,١٣,١٤,١٥,١٦,١٧,١٨,١٩,٢٠, ۲۱,۲۲,۲۳,۲٤,۲٥,۲٦,۲۷,۲۸,۲۹,۳۰, > another million entries the next beta will have: \setuplinenumbering[conversion=arabicdecimals] What's wrong with 'persiannumerals' and 'arabicnumerals' which we had before? They are not supposed to by

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread Idris Samawi Hamid ادريس سماوي حامد
, > another million entries the next beta will have: \setuplinenumbering[conversion=arabicdecimals] What's wrong with 'persiannumerals' and 'arabicnumerals' which we had before? They are not supposed to by synonymous for abjadnumerals... In any case we need U

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread Hans Hagen
ave: \setuplinenumbering[conversion=arabicdecimals] - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread tala...@fastmail.fm
[rm] [ALM Fixed][range=arabic,features=arabic]   \setupbodyfont[mainface,12pt]%\setupdirections[bidi=global]\setupalign[r2l]%\righttoleft%% HEADINGS\setuphead[chapter,section][ conversion=myconversion,% numbercommand=\lefttoright % <-- toggle ]\setuplinenumbering[conversion=myconversion]\s

Re: [NTG-context] Arabic/Hindi numerals in layout structures (headers, page numbers, etc.)

2015-08-02 Thread tala...@fastmail.fm
ersion] [۱,۲,۳,۴,۵,۶,۷,۸,۹,۱۰, ۱۱,۱۲,۱۳,۱۴,۱۵,۱۶,۱۷,۱۸,۱۹,۲۰, ۲۱,۲۲,۲۳,۲۴,۲۵,۲۶,۲۷,۲۸,۲۹,۳۰] \setuppagenumber[numberconversion=myconversion] Of course, one can add the same to setups for the other matters as well: \setuphead[chapter,title,section,subject][conversion=myconversion] \setuplinenum

Re: [NTG-context] Critical editions with ConTeXt

2015-07-22 Thread Talal
in. This is my attempt so far: - - - \setuplinenumbering[% style=\tfxx,referencing=on, step=1, location=outer, method=page,align=left, distance=1em, width=0.4em,] \definelinenote[linenote][% paragraph=yes, frame=on,framecolor=red,

Re: [NTG-context] line number overwriting

2015-05-01 Thread Wolfgang Schuster
verbatim zone from the global numbering style, I get one > numbering with the > particular style and the other with the global style. When you create custom typing environment context also creates a line numbering environment with the same name and to change its values you should use t

Re: [NTG-context] line number overwriting

2015-04-29 Thread Wolfgang Schuster
t; > \definetyping[code][numbering=line,page=yes,bodyfont=9pt,tab=2] > > > \setuplinenumbering[code][location=text,align=left,style={\switchtobodyfont[9pt,tt]},command=\numeroLigneCode,distance=-.5em,width=2em] > > \defineparagraphs[Tw

Re: [NTG-context] line number overwriting

2015-04-29 Thread Pierre-François Bonnefoi
] \setuplinenumbering[code][location=text,align=left,style={\switchtobodyfont[9pt,tt]},command=\numeroLigneCode,distance=-.5em,width=2em] \defineparagraphs[TwoCols][n=2,before=,after=] \starttext \startTwoCols \startcode one two three \stopcode \TwoCols hum \stopTwoCols \stoptext I've tried t

Re: [NTG-context] line number overwriting

2015-04-29 Thread Wolfgang Schuster
ine,page=yes,bodyfont=9pt,before={% >\begingroup% > > \setuplinenumbering[location=text,align=left,style=\tt,command=\numeroLigneCode,distance=-.5em,width=2em]% >},after={\endgroup},tab=2] >

Re: [NTG-context] line number overwriting

2015-04-29 Thread Pierre-François Bonnefoi
Hello, I've tracked down the problem : \def\numeroLigneCode#1{\inframed[width=fit,strut=yes,frame=off,rightframe=on]{\switchtobodyfont[9pt]#1}} \definetyping[code][numbering=line,page=yes,bodyfont=9pt,before={% \begingroup% \setuplinenumbering[loc

[NTG-context] issues with line numbering

2015-04-15 Thread Pablo Rodriguez
Hans, I’m afraid that I have another sample: \setupbodyfont[dejavu] \setuplinenumbering[style=\tfxx] \starttext \startlinenumbering \input zapf \stoplinenumbering \stoptext It compiles fine with beta from 2015.03.25 22:13. With beta from 2015.04.15 01:44

Re: [NTG-context] Linenumbering

2014-04-23 Thread MANUEL GONZALEZ SUAREZ
llo everyone. > > I give a small example: > > \setuppagenumbering [alternative=doublesided] > > \setuplinenumbering[location=outer, step=5, method=page, > > style=\tfxx, align=left, distance=1em, width=0.4em] > > \starttext > > \section{First section} >

Re: [NTG-context] Linenumbering

2014-04-15 Thread Hans Hagen
On 4/10/2014 12:46 AM, MANUEL GONZALEZ SUAREZ wrote: Hello everyone. I give a small example: \setuppagenumbering [alternative=doublesided] \setuplinenumbering[location=outer, step=5, method=page, style=\tfxx, align=left, distance=1em, width=0.4em] \starttext \section{First section

[NTG-context] Linenumbering

2014-04-09 Thread MANUEL GONZALEZ SUAREZ
Hello everyone. I give a small example: \setuppagenumbering [alternative=doublesided] \setuplinenumbering[location=outer, step=5, method=page, style=\tfxx, align=left, distance=1em, width=0.4em] \starttext \section{First section} \startlinenumbering text text text \stoplinenumbering

Re: [NTG-context] Bugs in linenumbering ?

2014-04-03 Thread Stéphane Goujet
) -1cm > >It seems I can indeed get nice results with > > > > \setuplinenumbering[location=text] > > \startnarrower[left] > > \startlinenumbering > > > >> i've added support for notes (somewhat tricky) > >> > >> \starttext >

Re: [NTG-context] Bugs in linenumbering ?

2014-04-03 Thread Rik Kabel
sions (25/03 and 27/03). with respect to text: you need to go narrower or set the distance to (e.g.) -1cm It seems I can indeed get nice results with \setuplinenumbering[location=text] \startnarrower[left] \startlinenumbering Thanks ! i

Re: [NTG-context] Bugs in linenumbering ?

2014-04-03 Thread Stéphane Goujet
t; (e.g.) -1cm It seems I can indeed get nice results with \setuplinenumbering[location=text] \startnarrower[left] \startlinenumbering Thanks ! > i've added support for notes (somewhat tricky) > > \starttext > Here we have a footnote \footnote{% > \startlinenumber

Re: [NTG-context] Bugs in linenumbering ?

2014-04-03 Thread Hans Hagen
dth] \setuplinenumbering[lnbasic][] \setuplinenumbering[lntext][location=text] \setuplinenumbering[lntextandnullwidth][location=text,width=0pt] \setuplinenumbering[lntextandwidth][location=text,width=.75em] \starttext {\bf A normal paragraph for reference}. \input tufte \startlinenumbering[lnbasic] {\bf Numbers

[NTG-context] Bugs in linenumbering ?

2014-04-02 Thread Stéphane Goujet
ted behaviour. == \setuppapersize[A4] \setupindenting[yes,first,medium] \definelinenumbering[lnbasic] \definelinenumbering[lntext] \definelinenumbering[lntextandnullwidth] \definelinenumbering[lntextandwidth] \setuplinenumbering[lnbasic][] \setuplinenumbering[lntext][locat

Re: [NTG-context] \starttyping while processing XML causing error

2014-03-28 Thread Xan
Hans. > > > > But why can't I use > > > > \defineframedtext[framedcode][strut=yes,offset=2mm,width=7cm,align=right] > > > > \definetyping[code][numbering=line,bodyfont=small,before={\startframedcode},after={\stopframedcode}] > > > > \setuplinenu

Re: [NTG-context] \starttyping while processing XML causing error

2014-03-28 Thread Hans Hagen
why can't I use \defineframedtext[framedcode][strut=yes,offset=2mm,width=7cm,align=right] \definetyping[code][numbering=line,bodyfont=small,before={\startframedcode},after={\stopframedcode}] \setuplinenumbering[location=intext] \setuptyping[option=color] startxmlsetups xml:demo:codi \

Re: [NTG-context] \starttyping while processing XML causing error

2014-03-28 Thread Xan
; \stopxmlsetups First of all, thank you very much, Hans. But why can't I use \defineframedtext[framedcode][strut=yes,offset=2mm,width=7cm,align=right] \definetyping[code][numbering=line,bodyfont=small,before={\startframedcode},after={\stopframedcode}] \setuplinenumbering[location=intext

Re: [NTG-context] compilation problem (TeXLive 2013)

2013-07-03 Thread Manuel González Suárez
hss}% \else \setbox0\hbox to \wd2{\hss\box0\hss}% \fi \box0 \kern-\wd2 \raise\lineheight\box2 \endgroup} \indenting[never] \setuplinenumbering[step=5] \starttext \chapter{Canto 1} \startlinenumbering[] \dos{La cólera}{M~hnin} \dos{canta}{>'aeide} \dos{diosa}{je`a} \dos{del hi

Re: [NTG-context] Footnotes numbering

2013-01-27 Thread Wolfgang Schuster
g of the footnotes? > > Any hint would be great! You can use the line numbering and line note mechanism. %\setuplinenumbering[command=\gobbleoneargument] \starttext \startlinenumbering \dorecurse{20}{\input knuth\linenote{Note \recurselevel} } \stoplinenumber

[NTG-context] Indented footnotes in ConTeXt

2012-11-20 Thread Adam Khan
] \indenting[always] \setupnarrower[left=0.5in, right=0in] \setupspacing[packed] \setupalign[right,broad,nothyphenated] \setuplinenumbering[step=1] \setuppagenumbering[way=bytext] \definenote[genetic] \setupnote[genetic][numberconversion=romannumerals, way=bychapter

Re: [NTG-context] Critical editions with ConTeXt

2012-07-20 Thread Hans Hagen
tput, that would facilitate things. Actually ranges have always been supported (as we needed in the previous century already for referring to passages in texts where students had to comment on): \definelinenote[linenote] % was commented but will be predefined \starttext \setuplinenumber

Re: [NTG-context] linenumbering

2012-07-09 Thread Hans Hagen
On 9-7-2012 20:50, Thomas A. Schmitz wrote: \def\startnumberedblockquote {\dosingleempty\dostartnumberedblockquote} \def\dostartnumberedblockquote[#1]% {\getrawparameters[numberedblockquote][start=1,#1]% \blank[line]% \begingroup \setupindenting[no]% \setuplinenumbering

[NTG-context] linenumbering

2012-07-09 Thread Thomas A. Schmitz
t the beginning of the line numbering. So here's my example: \def\startnumberedblockquote {\dosingleempty\dostartnumberedblockquote} \def\dostartnumberedblockquote[#1]% {\getrawparameters[numberedblockquote][start=1,#1]% \blank[line]% \begingroup \setupindenting[no]% \setuplin

Re: [NTG-context] linenumbering per page

2012-07-06 Thread Martin
Thanks that worked! \starttext \setuplinenumbering[method=page] \startlinenumbering \dorecurse{20}{\input knuth\par} \stoplinenumbering \stoptext Wolfgang ___ If your question is of interest to others as well

Re: [NTG-context] linenumbering per page

2012-07-04 Thread Wolfgang Schuster
restart the numbering on every page as I do not need to reference each line. > e.g. finding line 15 on page 6 is fine. > > > \setuplinenumbering doesn't seem to provide an option. > > Anything I can do? Thanks! \starttext \setuplinenumbering[method=page] \sta

[NTG-context] linenumbering per page

2012-07-04 Thread Martin
. finding line 15 on page 6 is fine. \setuplinenumbering doesn't seem to provide an option. Anything I can do? Thanks! Martin ___ If your question is of interest to others as well, please add an entry to the

Re: [NTG-context] Linenumbering

2012-05-25 Thread Willi Egger
nt option is not honored and the numbers appear >>> always in the margin. >> >> should read as intext .. ;-) >>> - The numbers are flush right in the margin, but after line >99 the third >>> number is placed outside the margin towards the text. >&

Re: [NTG-context] Linenumbering

2012-05-25 Thread Rogers, Michael K
ways in the margin. > > should read as intext .. ;-) >> - The numbers are flush right in the margin, but after line >99 the third >> number is placed outside the margin towards the text. >> >> Willi Try \setuplinenumbering[step=5,location=text]

  1   2   >