[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

[NTG-context] Problems with line numbered program listings

2023-10-04 Thread Bruce Horrocks
s.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 if a custom typing environment

[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

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
; \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. \definelinenote

Re: [NTG-context] TEST criticus apparatus

2022-01-06 Thread Pablo Rodriguez via ntg-context
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 numérotation

Re: [NTG-context] Critical Editions?

2022-01-03 Thread Jean-Pierre Delange via ntg-context
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] % Paramétrage de la page; \setuplinenumbering[step=2] % La sortie

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=bold

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
the 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
i'll >>> add a feature: >>> >>> \pagereference[column:#1] >>> >>> \doifelsereferencefound{column:#1}{\number\referencecolumnnumber}{} >>> >>> in the next beta, >>> >>> Hans >> >> Thanks for implem

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

2019-11-15 Thread Oliver von Criegern
\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=page

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

2019-11-12 Thread Oliver von Criegern
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{ page

[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 out how

[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

[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 ????????
on, 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=on] \s

[NTG-context] linenumbers in marking

2017-05-08 Thread Thomas A. Schmitz
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] \s

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

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

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

2017-03-30 Thread Wolfgang Schuster
yle 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] \setupt

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. <l...@pontex.cz> wrote:

[NTG-context] Line numbering broken somehow?

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

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

2016-11-23 Thread Pablo Rodriguez
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, scope=page, inbetween=

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

2016-11-23 Thread Jean-Pierre Delange
ote#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=center, width=0.5em] \definemargin

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

2016-11-22 Thread Hans Hagen
ote{#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=center, w

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

2016-11-18 Thread Jean-Pierre Delange
] \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, align=center, w

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
ttings 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
ption 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 the

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
\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, align=inner] \starttext

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

2016-05-20 Thread Jean-Pierre Delange
nelinenote[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, di

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

2016-05-16 Thread Jean-Pierre Delange
[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[mainface, 7.8pt] \starttext \start\fr % some text in French Définir

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

2016-05-16 Thread Pablo Rodriguez
}} \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[mainfac

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

2016-05-16 Thread Jean-Pierre Delange
[mainface] [serif] [GFS Didot] [preset=range:greek] \definefontfamily [mainface] [serif] [TeX Gyre Pagella] \setuplayout[header=2cm, footer=2cm] \setupnotes[compress=yes] \setupnotations[alternative=serried] \definelinenote[aNote] \definelinenote[bNote][n=2] \define

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

2016-05-16 Thread Jean-Pierre Delange
] #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[mainface, 7

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

2016-05-15 Thread Pablo Rodriguez
e[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[step=5, location=i

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

2016-05-15 Thread Jean-Pierre Delange
] \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 en page avec un

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

2016-05-15 Thread Jean-Pierre Delange
gt; as the one 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] \s

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

2016-05-15 Thread Jean-Pierre Delange
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] \setupnotations[alternative=serried] \defineli

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

2016-05-14 Thread Pablo Rodriguez
Xt 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] \setupnotations[alterna

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

2015-08-11 Thread Otared Kavian
, the linenumbering 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 \startlinenumbering Had we but world enough

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+: [0030-0039] - [0660

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 synonymous

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

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

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

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

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

2015-08-03 Thread Hans Hagen
: \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.com

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=myconversion

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

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

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]\setupnotation

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

2015-08-02 Thread tala...@fastmail.fm
] [۱,۲,۳,۴,۵,۶,۷,۸,۹,۱۰, ۱۱,۱۲,۱۳,۱۴,۱۵,۱۶,۱۷,۱۸,۱۹,۲۰, ۲۱,۲۲,۲۳,۲۴,۲۵,۲۶,۲۷,۲۸,۲۹,۳۰] \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] \setuplinenumbering

Re: [NTG-context] Critical editions with ConTeXt

2015-07-22 Thread Talal
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, ]% \setupnotation[linenote

Re: [NTG-context] line number overwriting

2015-05-01 Thread Wolfgang Schuster
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 the \setuplinenumbering command and not \definelinenumbering. I don't

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[location

Re: [NTG-context] line number overwriting

2015-04-29 Thread Wolfgang Schuster
][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[TwoCols][n=2,before=,after=] \starttext

Re: [NTG-context] line number overwriting

2015-04-29 Thread Wolfgang Schuster
={% \begingroup% \setuplinenumbering[location=text,align=left,style=\tt,command=\numeroLigneCode,distance=-.5em,width=2em]% },after={\endgroup},tab=2] \starttext \startcode one two three

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 to use

[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
, 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} \startlinenumbering text

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 Hans Hagen
] \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

Re: [NTG-context] Bugs in linenumbering ?

2014-04-03 Thread Stéphane Goujet
to (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{% \startlinenumbering \input tufte

Re: [NTG-context] Bugs in linenumbering ?

2014-04-03 Thread Rik Kabel
recent versions (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

Re: [NTG-context] Bugs in linenumbering ?

2014-04-03 Thread Stéphane Goujet
It seems I can indeed get nice results with \setuplinenumbering[location=text] \startnarrower[left] \startlinenumbering i've added support for notes (somewhat tricky) \starttext Here we have a footnote \footnote{% \startlinenumbering \input tufte A few

[NTG-context] Bugs in linenumbering ?

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

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

2014-03-28 Thread Xan
\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 \blank \startcode\xmlverbatim

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

2014-03-28 Thread Hans Hagen
. 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] \setuptyping[option=color] startxmlsetups xml:demo:codi \blank

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

2014-03-28 Thread Xan
}] \setuplinenumbering[location=intext] \setuptyping[option=color] startxmlsetups xml:demo:codi \blank \startcode\xmlverbatim{#1}\stopcode \blank \stopxmlsetups different catcode regimes How can I achieve this results? (numbering line and color basically

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

2013-07-03 Thread Manuel González Suárez
}% \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 hijo de Peleo

Re: [NTG-context] Footnotes numbering

2013-01-27 Thread Wolfgang Schuster
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} } \stoplinenumbering \stoptext Wolfgang

[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
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 \setuplinenumbering[distance=2em

[NTG-context] linenumbering

2012-07-09 Thread Thomas A. Schmitz
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]% \setuplinenumbering

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

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
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] \startlinenumbering \dorecurse{20}{\input knuth\par} \stoplinenumbering

[NTG-context] Linenumbering

2012-05-25 Thread Willi Egger
Hi all, may be i am mistaken, but I can't get line numbering to show in the beta of yesterday afternoon. \starttext \setuplinenumbering[step=5,location=intext] \startlines Een nieuwe lente en een nieuw geluid: Ik wil dat dit lied klinkt als het gefluit, Dat ik vaak hoorde voor een zomernacht

Re: [NTG-context] Linenumbering

2012-05-25 Thread Hans Hagen
On 25-5-2012 10:07, Willi Egger wrote: Hi all, may be i am mistaken, but I can't get line numbering to show in the beta of yesterday afternoon. \starttext \setuplinenumbering[step=5,location=intext] \startlines Een nieuwe lente en een nieuw geluid: Ik wil dat dit lied klinkt als het gefluit

Re: [NTG-context] Linenumbering

2012-05-25 Thread Willi Egger
-linenumbering.tex Description: Binary data On May 25, 2012, at 10:48 AM, Hans Hagen wrote: On 25-5-2012 10:07, Willi Egger wrote: Hi all, may be i am mistaken, but I can't get line numbering to show in the beta of yesterday afternoon. \starttext \setuplinenumbering[step=5,location=intext

Re: [NTG-context] Linenumbering

2012-05-25 Thread Rogers, Michael K
.. ;-) - 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] From page.lin.mkiv, there seems to be these options now: \setnewconstant\linenumberlocation \plusone % 0=middle, 1

Re: [NTG-context] Bug with linenumbering

2012-05-03 Thread Wolfgang Schuster
argument for the settings but this isn’t the case and you need \setuplinenumbering to set them. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

Re: [NTG-context] Bug with linenumbering

2012-05-03 Thread Aditya Mahajan
On Thu, 3 May 2012, Wolfgang Schuster wrote: You assume \definelinenumbering has a second argument for the settings but this isn’t the case D'oh. and you need \setuplinenumbering to set them. I also needed to change \setvalue to \setevalue in the example, and add an \expanded to get

Re: [NTG-context] Bug with linenumbering

2012-05-03 Thread Wolfgang Schuster
Am 03.05.2012 um 17:18 schrieb Aditya Mahajan: On Thu, 3 May 2012, Wolfgang Schuster wrote: You assume \definelinenumbering has a second argument for the settings but this isn’t the case D'oh. and you need \setuplinenumbering to set them. I also needed to change \setvalue

Re: [NTG-context] Bug with linenumbering

2012-05-03 Thread Aditya Mahajan
On Thu, 3 May 2012, Wolfgang Schuster wrote: Am 03.05.2012 um 17:18 schrieb Aditya Mahajan: On Thu, 3 May 2012, Wolfgang Schuster wrote: You assume \definelinenumbering has a second argument for the settings but this isn’t the case D'oh. and you need \setuplinenumbering to set them

[NTG-context] Bug with linenumbering

2012-05-01 Thread Aditya Mahajan
Hi, Line numbering does not respect the parameters given with \startlinenumbering. For example: \definelinenumbering [test] \starttext \startlinenumbering[test][color=blue,align=flushright,distance=0.5em] \input knuth \stoplinenumbering \page \setuplinenumbering [test][color=blue

Re: [NTG-context] Bug with linenumbering

2012-05-01 Thread Aditya Mahajan
this: \definelinenumbering [test] \starttext \startlinenumbering[test][color=blue,align=flushright,distance=0.5em] \input knuth \stoplinenumbering \setuplinenumbering [test][color=blue,align=flushright,distance=0.5em] \startlinenumbering[test] \input knuth \stoplinenumbering \setuplinenumbering [test][color

[NTG-context] line numbering with two columns

2012-04-06 Thread jmengel
hi, i was trying to get line numbers in two columns in mkiv to appear on the left side for both columns when i noticed this bug. \setuplinenumbering[location=text] \starttext \startcolumns \startlinenumbering \input knuth \stoplinenumbering \stopcolumns \stoptext - jeremy

  1   2   >