Re: [NTG-context] columns yet again

2020-09-20 Thread Thomas A. Schmitz
On 9/17/20 3:23 PM, Hans Hagen wrote: \setuplayout[width=16cm] \starttext \enabledirectives[tabulate.linenumbers] \showframe \starttabulate[|p(7cm)|A{verytolerant}i2p(\dimexpr9cm-2em\relax)|]     \NC     \startlinenumbering     \dorecurse{10}{\input ward \par

Re: [NTG-context] columns yet again

2020-09-17 Thread Hans Hagen
\startlinenumbering \dorecurse{10}{\input ward \par} \stoplinenumbering \NC \dorecurse{3}{\input tufte \par} \NC \NR \stoptabulate \disabledirectives[tabulate.linenumbers] \starttabulate[|p(7cm)|A{verytolerant}i2p(\dimexpr9cm-2em\relax)|] \NC \startlinenumbering

[NTG-context] columns yet again

2020-09-13 Thread Thomas A. Schmitz
,location=text,align=flushright,distance=0.4cm,style=small,color=magenta] \defineparagraphs [Half] [n=2] \setupparagraphs [Half] [before=,after=,align=verytolerant] \setupparagraphs [Half] [1] [width=0.45\textwidth] \starttext \startlinenumbering [original] [start=4

[NTG-context] Wrong counting of lines and paragraphs

2020-08-07 Thread Marcus Vinicius Mesquita
] \setuphead[subject][alternative=text,style=bolditalic] \setuphead[subsubject][alternative=text,style=\ss] \setuphead[subsubsubject][alternative=text,style=\ss\it] \startbuffer[waltham] \input waltham \stopbuffer \starttext \startlinenumbering \starttitle[title={Waltham}] \dorecurse{4}{\getbuffer

Re: [NTG-context] using modeset

2020-06-11 Thread r . ermers
} \begin[NLblok] \startlinenumbering text ... \stoplinenumbering \end[NLblok] \begin[Enblok] \startlinenumbering text... \stoplinenumbering \end[Enblok] \stoptext I hope this helps finding a solution. Robert > Op 11 jun. 2020, om 20:53 heeft BPJ het volgende geschreven: > > Den tor

Re: [NTG-context] line numbering within frame

2020-01-26 Thread Thomas A. Schmitz
incompetent now because linenumbering behaves in unexpected ways: you can set some values (like the starting number) with the simple \startlinenumbering command but not all values. And there's this strange difference between luatex and luametatex... Without this mailing list, I'd be really lost. So

Re: [NTG-context] line numbering within frame

2020-01-25 Thread Wolfgang Schuster
ts when the numbers are added and when ConTeXt tries to access values of this no longer existing instance in fails to get them which results in the error message. begin example \starttext \startframedtext \definelinenumbering[example] \startlinenumbering[example] \samplefile{klein} \stoplinenum

Re: [NTG-context] line numbering within frame

2020-01-24 Thread Tomas Hala
x,step=5,location=inleft,start=50,color=darkblue] # # \starttext # # \framed # [background=color, #backgroundcolor=gray, #align={normal}, #frame=off, #loffset=6ex, #width=\textwidth, #foregroundstyle=\ss] # {\startlinenumbering[original] # \input knuth # \stop

Re: [NTG-context] line numbering within frame

2020-01-24 Thread Thomas A. Schmitz
le=\tx\ss,distance=-1ex,step=5,location=inleft,start=50,color=darkblue] \starttext \framed [background=color, backgroundcolor=gray, align={normal}, frame=off, loffset=6ex, width=\textwidth, foregroundstyle=\ss] {\startlinenumbering[original] \input knuth \st

Re: [NTG-context] line numbering within frame

2020-01-23 Thread Tomas Hala
] #[style=\ss, # distance=-2ex, # step=2, # location=inleft, # start=20, # color=darkblue] #\startlinenumbering[One] #\input knuth #\stoplinenumbering # # \blank [line] # #\definelinenumbering[Two] #\setuplinenumbering[Two

[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
\startcolumns \startlinenumbering \marking[Test]{ONE}ONE \dorecurse{12}{\getbuffer}\par \marking[Test]{TWO}TWO \dorecurse{29}{\getbuffer}\par \marking[Test]{THREE}THREE \dorecurse{12}{\getbuffer}\par \stoplinenumbering \stopcolumns \stoptext In the result, the header of the first page reads &quo

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

2019-12-09 Thread Oliver von Criegern
,     method=page,     align=flushright,     ] \definemarking[Test] \setupheadertexts[{\fetchmark[Test][top] -- \fetchmark[Test][bottom]}] \startbuffer \dorecurse{12}{words } \stopbuffer \starttext \startcolumns \startlinenumbering \marking[Test]{ONE}ONE \dorecurse{12}{\getbuffer}\par \marking

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

2019-12-02 Thread Oliver von Criegern
[{\fetchmark[Test][top] -- \fetchmark[Test][bottom]}] \startbuffer \dorecurse{12}{words } \stopbuffer \starttext \startcolumns \startlinenumbering \marking[Test]{ONE}ONE \dorecurse{12}{\getbuffer}\par \marking[Test]{TWO}TWO \dorecurse{29}{\getbuffer}\par \marking[Test]{THREE}THREE \dorecurse{12}{\getbuffer

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

2019-11-15 Thread Taco Hoekwater
enting 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, &g

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

2019-11-15 Thread Oliver von Criegern
, ] \def\Lab#1{% \pagereference[#1]% \pagereference[column:#1]% \someline[#1]% } \def\Ref#1{ page \at[#1], column \doifelsereferencefound{column:#1}{\number\referencecolumnnumber}{}, line \inlinerange[#1]. } \starttext \startcolumns \startlinenumbering REFERENCES:\par A: \Ref{A}\par B: \Ref{B}\par C

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

2019-11-12 Thread Oliver von Criegern
\at[#1], column \doifelsereferencefound{column:#1}{\number\referencecolumnnumber}{}, line \inlinerange[#1]. } \starttext \startcolumns \startlinenumbering REFERENCES:\par A: \Ref{A}\par B: \Ref{B}\par C: \Ref{C}\par D: \Ref{D}\par E: \Ref{E}\par F: \Ref{F}\par \input lorem TARGETS: \Lab{A} A, \Lab{B

Re: [NTG-context] Cross-reference expansion with ConTeXt and processing with LuaTeX

2019-09-06 Thread Oliver von Criegern
1)}} \def\TestLuaB#1{\ctxlua{TestVarB(#1)}} \startbuffer[testtext]     \dorecurse{100}{Words, words, words. } \stopbuffer \starttext \startlinenumbering Counter: \TestLuaA{\rawcountervalue[test]}\par Lineref: \TestLuaB{1} \par \getbuffer[testtext] \someline[1]LABEL 1

Re: [NTG-context] Cross-reference expansion with ConTeXt and processing with LuaTeX

2019-09-05 Thread Hans Hagen
) context.inlinerange { var } end \stopluacode \def\TestLuaA#1{\ctxlua{TestVarA(#1)}} \def\TestLuaB#1{\ctxlua{TestVarB(#1)}} \startbuffer[testtext] \dorecurse{100}{Words, words, words. } \stopbuffer \starttext \startlinenumbering Counter: \TestLuaA{\rawcountervalue[test]}\par Lineref: \TestLuaB{1

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

2019-08-31 Thread Damien Thiriet
Hi, Line numbering disappears when called inside custom columns defined with defineparagraph. This works fine \defineparagraphs[Colonne][n=2] \starttext \startlinenumbering \input knuth \stoplinenumbering \input knuth \stoptext Whereas this does not work as expected \defineparagraphs

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

2019-07-30 Thread Oliver von Criegern
ht, align=flushright, width=.25cm]\starttext\startcolumns\startlinenumbering\dorecurse{10}{\inputlorem}\par\stoplinenumbering\stopcolumns\stoptext||| In the result, there are (as is to be expected) line numbers between both columns and also to the right of the second column. How can I get ri

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] registers with section and line number references

2018-01-02 Thread Pablo Rodriguez
Dear list, Happy New Year to all list members. I have the following sample: \starttext \startlinenumbering \chapter{One} \index{Zapf}\input zapf \section{Two} \index{Knuth}\input knuth \subsection{Three} \index{Tufte}\input tufte \stoplinenumbering \blank

Re: [NTG-context] Line numbers in output

2017-08-21 Thread Roger Mason
"Schmitz Thomas A." <thomas.schm...@uni-bonn.de> writes: > http://wiki.contextgarden.net/Command/startlinenumbering is what you > find when you search for “linenumbering” on the wiki. Thanks Thomas. I searched on 'context garden add line nu

Re: [NTG-context] Line numbers in output

2017-08-21 Thread Schmitz Thomas A.
have line numbers. http://wiki.contextgarden.net/Command/startlinenumbering is what you find when you search for “linenumbering” on the wiki. Thomas ___ If your question is of interest to others as well, please a

[NTG-context] linenumbers in marking

2017-05-08 Thread Thomas A. Schmitz
tufte\par} \startlinenumbering \dorecurse{20}{\input knuth\par} \stoplinenumbering \resetmarking[linenumber] \dorecurse{6}{\input tufte\par} \stoptext Hans wrote: "currently it's not possible but it's no big deal to add that feature at some point." I have now a similar problem with m

[NTG-context] compression not working in linenotes

2017-03-01 Thread Pablo Rodriguez
Dear list, I don’t get compressed linenotes with this source: \setuppapersize[A5] \setupnote[linenote][paragraph=yes] \setupnotation[linenote] [alternative=serried, compress=yes, compressseparator=] \starttext \startlinenumbering \dorecurse{100}{text\linenote

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

2016-11-23 Thread Pablo Rodriguez
\\Τὰ πρὸ Ὁμήρου} \startlinenumbering Ἀργαλεοῦ πολέμοιο \variante{μέγαν κλόνον}{κακὸν πόνον Jac.} Ἰλιακοῖο\\ ἔννεπε, Καλλιόπεια, ὑφ᾽ ἡμετέρῃσιν ἀοιδαῖς,\\ ἀρχῆθε δ᾽ ἐπαέιδε καὶ ἐς τέλÎ

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

2016-11-23 Thread Jean-Pierre Delange
ρ ἀποδιδῷ τις τὸν ἑκατέρου λόγον τί ἐστιν αὐτῶν ἑκατέρῳ τὸ ζῴῳ εἶναι, τὸν αὐτὸν λόγον ἀποδώσει. \column \startlinenumbering[continue] Aequivoca dicuntur quorum \CNote{nomen}{first note} solum commune est, secundum nomen vero \A

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

2016-11-22 Thread Hans Hagen
ν ἑκατέρου λόγον τί ἐστιν αὐτῶν ἑκατέρῳ τὸ ζῴῳ εἶναι, τὸν αὐτὸν λόγον ἀποδώσει. \column \startlinenumbering[continue] Aequivoca dicuntur quorum \CNote{nomen}{first note} solum commune est, secundum nomen vero \ANote{substanti

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

2016-11-18 Thread Jean-Pierre Delange
έρῳ τὸ ζῴῳ εἶναι, τὸν αὐτὸν λόγον ἀποδώσει. \column \startlinenumbering[continue] Aequivoca dicuntur quorum \CNote{nomen}{first note} solum commune est, secundum nomen vero \ANote{substantiae}{second note} \ANote{ratio}{second note} diversa, ut animal \DNote{homo}{third not

Re: [NTG-context] Algorithmic, Floats and line numbers.

2016-10-27 Thread Mohammad Hossein Bateni
ting block. > > > Two questions: > > * How can I get line numbers inside floating block? > > You can’t use them in floats unless you add a frame around the content, > e.g. > > \startplacealgorithm > \startframedtext > \startlinenumbering >

Re: [NTG-context] Algorithmic, Floats and line numbers.

2016-10-26 Thread Wolfgang Schuster
ing block. Two questions: * How can I get line numbers inside floating block? You can’t use them in floats unless you add a frame around the content, e.g. \startplacealgorithm \startframedtext \startlinenumbering ... \stoplinenumbering \stopframedtext \st

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
enumbering setups in my real word document so I can't put a general >> setup before the \starttext): > > \definelinenumbering[one][color=red] > \definelinenumbering[two][color=blue] Wolfgang, your approach is right, but hasn’t Thomas hit a bug? According to the descri

Re: [NTG-context] position of linenumbering

2016-10-12 Thread Wolfgang Schuster
eneral setup before the \starttext): \definelinenumbering[one][color=red] \definelinenumbering[two][color=blue] \starttext \startlinenumbering[one] \input knuth \stoplinenumbering \startlinenumbering[two] \input knuth \stoplinenumbering \stoptext Wo

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

[NTG-context] position of linenumbering

2016-10-12 Thread Thomas A. Schmitz
Hi all, consider this example: \setuppapersize [A6] \starttext \startlinenumbering [location=text,distance=0.5cm] \dorecurse{2}{\input tufte} \stoplinenumbering dummy \stoptext on the second page, the position of the linenumbering changes and does not follow the "distance" se

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

2016-05-22 Thread Jean-Pierre Delange
\startcolumnset[example] \dorecurse{30}{ \startsection[title=Things are said to be named #1] \startlinenumbering Things are said to be named 'equivocally' when, though they have a common name, the definition corresponding with the name differs for each. Thus, a real man and a figure in a picture can

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

2016-05-22 Thread Jean-Pierre Delange
rent des outils d'automatisation encore assez mal connus dans la communauté des éditeurs, notamment dans l'édition savante, pour la collation et la comparaison de textes médiévaux.\par \stop % \dorecurse{8}{ \startcolumnset[example]{ \Stephanus{1a} [1a] Ὁμώνυμα [...greek text...] \colu

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

2016-05-21 Thread Jean-Pierre Delange
dans la communauté des éditeurs, notamment dans l'édition savante, pour la collation et la comparaison de textes médiévaux.\par \stop % \dorecurse{8}{ \startcolumnset[example]{ \Stephanus{1a} [1a] Ὁμώνυμα [...greek text...] \column \startlinenumbering[continue] Aequivoca dicuntur

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

2016-05-20 Thread Jean-Pierre Delange
ιδῷ τις τί ἐστιν αὐτῶν ἑκατέρῳ τὸ ζῴῳ εἶναι, ἴδιον ἑκατέρου λόγον ἀποδώσει. \column \startlinenumbering[continue] Aequivoca dicuntur quorum \CNote{nomen}{première note} solum commune est, secundum nomen vero \ANote{substantiae}{seconde note} \ANote{ratio}{seconde note} d

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

2016-05-16 Thread Jean-Pierre Delange
τοὔνομα λόγος τῆς οὐσίας ἕτερος· ἐὰν γὰρ ἀποδιδῷ τις τί ἐστιν αὐτῶν ἑκατέρῳ τὸ ζῴῳ εἶναι, ἴδιον ἑκατέρου λόγον ἀποδώσει. \column \startlinenumbering[continue] Aequivoca dicuntur quorum \CNote{nomen}{première note} solum commune est, secundum nomen vero \ANote{substantiae}

[NTG-context] balancing columns

2016-05-16 Thread Pablo Rodriguez
, propriam assignabit utriusque rationem.} \column \startlinenumbering[continue] Aequivoca dicuntur quorum \CNote{nomen}{première note} solum commune est, secundum nomen vero \ANote{substantiae}{seconde note} \ANote{ratio}{seconde note} diversa, ut animal \DNote{homo}{troisième

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

2016-05-16 Thread Pablo Rodriguez
ρωπος καὶ τὸ γεγραμμένον· τούτων γὰρ ὄνομα μόνον κοινόν, ὁ δὲ κατὰ τοὔνομα λόγος τῆς οὐσίας ἕτερος· ἐὰν γὰρ ἀποδιδῷ τις τί ἐστιν αὐτῶν ἑκατέρῳ τὸ ζῴῳ εἶναι, ἴδιον ἑκατέρου λόγον ἀποδώσει. \column \startlinenumbering[continue] Aequivoca dicuntur quorum \CNote{nomen}{première

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

2016-05-16 Thread Jean-Pierre Delange
{\startcolumns[n=2, balance=yes] \Stephanus{1a} Ὁμώνυμα λέγεται ὧν ὄνομα μόνον κοινόν, ὁ δὲ κατὰ τοὔνομα λόγος τῆς οὐσίας ἕτερος, οἷον ζῷον ὅ τε ἄνθρωπος καὶ τὸ γεγραμμένον· τούτων γὰρ ὄνομα μόνον κοινόν, ὁ δὲ κατὰ τοὔνομα λόγος τῆς οὐσίας ἕτερος· ἐὰν γὰρ ἀποδιδῷ τις τί

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

2016-05-16 Thread Jean-Pierre Delange
ὸ γεγραμμένον· τούτων γὰρ ὄνομα μόνον κοινόν, ὁ δὲ κατὰ τοὔνομα λόγος τῆς οὐσίας ἕτερος· ἐὰν γὰρ ἀποδιδῷ τις τί ἐστιν αὐτῶν ἑκατέρῳ τὸ ζῴῳ εἶναι, ἴδιον ἑκατέρου λόγον ἀποδώσει. \column \startlinenumbering[continue] Aequivoca dicuntur quorum \CNote{nomen}{première note}

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

2016-05-15 Thread Pablo Rodriguez
ν αὐτῶν ἑκατέρῳ τὸ ζῴῳ εἶναι, ἴδιον ἑκατέρου λόγον ἀποδώσει. \column \startlinenumbering[continue] Aequivoca dicuntur quorum \CNote{nomen}{première note} solum commune est, secundum nomen vero \ANote{substantiae}{seconde note} \ANote{ratio}{seconde note} diversa, ut animal

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

2016-05-15 Thread Jean-Pierre Delange
traitement de texte courant est un véritable casse-tête. LaTeX et ConTeXt offrent des outils d'automatisation encore assez mal connus dans la communauté des éditeurs, notamment dans l'édition savante, pour la collation et la comparaison de textes médiévaux.\par \startlinenumbering \startTwoColumns

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

2016-05-15 Thread Jean-Pierre Delange
te{#1] #2}} \def\CNote#1#2{#1\cNote{#1] #2}} \def\DNote#1#2{#1\dNote{#1] #2}} \setupbodyfont[palatino, 7.8pt] \starttext \start\en \startlinenumbering \dorecurse{9}% only to repeat the following paragraph {Cum defensionum \CNote{laboribus}{first note} senatori

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

2016-05-15 Thread Jean-Pierre Delange
nenote[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}} \setupbodyfont[pala

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

2016-05-14 Thread Pablo Rodriguez
\setupbodyfont[palatino, 7.8pt] \starttext \start\en \startlinenumbering \dorecurse{9}% only to repeat the following paragraph {Cum defensionum \CNote{laboribus}{first note} senatoriisque muneribus aut omnino aut magna ex parte essem aliquando liberatus, rettuli me, Brute

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

2015-08-11 Thread Schmitz Thomas A.
? \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 way To walk and pass our

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] Linenumering inside floats

2015-08-04 Thread Aditya Mahajan
] \startbuffer \startlinenumbering \input tufte \stoplinenumbering \stopbuffer \starttext \startplacesourcecode \getbuffer \stopplacesourcecode \getbuffer \stoptext in next beta (somewhat experimental as i needed to adapt an important helper for framed) The example posted above

Re: [NTG-context] Linenumering inside floats

2015-08-04 Thread Aditya Mahajan
to enable line numbering inside floats: \definefloat[sourcecode][sourcecodes] \startbuffer \startlinenumbering \input tufte \stoplinenumbering \stopbuffer \starttext \startplacesourcecode \getbuffer \stopplacesourcecode \getbuffer \stoptext in next beta (somewhat

Re: [NTG-context] Linenumering inside floats

2015-08-04 Thread Hans Hagen
: \definefloat[sourcecode][sourcecodes] \startbuffer \startlinenumbering \input tufte \stoplinenumbering \stopbuffer \starttext \startplacesourcecode \getbuffer \stopplacesourcecode \getbuffer \stoptext in next beta (somewhat experimental as i needed to adapt an important

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

2015-08-03 Thread tala...@fastmail.fm
\startlinenumbering \input ward\footnote{هذه تعليقة أولى كتبت عام ٢٠١٤.} \input ward\footnote{هذه تعليقة ثانية (٢٠١٤).} \input ward\linenotedefault{هذه تعليقة أولى كتبت عام ٢٠١٤.} \input ward\linenotedefault{هذه تعليقة ثانية (٢٠١٤).} \input ward\linenoteone{هذه تعليقة أولى كتبت عام ٢٠١٤.} \input

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

2015-08-03 Thread tala...@fastmail.fm
, ٢٨١,٢٨٢,٢٨٣,٢٨٤,٢٨٥,٢٨٦,٢٨٧,٢٨٨,٢٨٩,٢٩٠, ٢٩١,٢٩٢,٢٩٣,٢٩٤,٢٩٥,٢٩٦,٢٩٧,٢٩٨,٢٩٩,٣٠٠, ] %%% DOCUMENT \starttext \showframe \section{section one} \startlinenumbering \input tufte \input tufte \stoplinenumbering \dorecurse{20}{ \section{محمد الجمل (١٨٧٢—١٩٢٣)} مرحباً باعالم . ١٢٣٤٥٦٧٨٩٠ مرحباً بالعالم. ولد

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

2015-08-03 Thread tala...@fastmail.fm
e:linenote]% \setupdirections[bidi=on,method=default,fences=no]%\stopsetups\starttext \showframe\startlinenumbering\input ward\linenote{هذه تعليقة أولى.}\input ward\linenote{هذه تعليقة ثانية.}\input ward\linenote{هذه تعليقة ثالثة.}مرحباً بالعالم مرحباً بالعالم مرحباً بالعالم . هذا مثال على استعمال كونتكست لأجل تحقيق

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

2015-08-03 Thread tala...@fastmail.fm
٦٨,٢٦٩,٢٧٠, ٢٧١,٢٧٢,٢٧٣,٢٧٤,٢٧٥,٢٧٦,٢٧٧,٢٧٨,٢٧٩,٢٨٠, ٢٨١,٢٨٢,٢٨٣,٢٨٤,٢٨٥,٢٨٦,٢٨٧,٢٨٨,٢٨٩,٢٩٠, ٢٩١,٢٩٢,٢٩٣,٢٩٤,٢٩٥,٢٩٦,٢٩٧,٢٩٨,٢٩٩,٣٠٠,]%%% DOCUMENT\starttext \showframe\section{section one}\startlinenumbering\input tufte\input tufte\stoplinenumbering\dorecurse{20}{\section{محمد الجمل (١٨٧٢—١٩٢٣)} مرحباً باعالم . ١٢٣٤٥٦٧٨٩٠ مرحباً با

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

2015-08-02 Thread tala...@fastmail.fm
. Pellentesque molestie dictum quam non congue. Integer ut dolor vel mi vestibulum molestie vel et nulla. Morbi id justo vitae quam rhoncus tincidunt ut adipiscing nisi. \section{Incorrect} \startlinenumbering Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque molestie dictum quam

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

2015-08-02 Thread tala...@fastmail.fm
, ] \setupbodyfont [mainface] \starttext \showframe \setupdirections[bidi=global] \setupthinrules[color=white] \setupwhitespace[big] \section{Incorrect} \startlinenumbering \startalignment[r2l] هذه رسالة لطيفة ألفها العالم الكبير الفهامة النحرير. هذه رسالة جامعة مانعة ألفها الشيخ الفاضل

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

2015-08-02 Thread Idris Samawi Hamid ادريس سماوي حامد
\showframe \setupthinrules[color=white] \setupwhitespace[big] \section{Incorrect} \startlinenumbering \startalignment[r2l] Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque molestie dictum quam non congue. Integer ut dolor vel mi vestibulum molestie vel et nulla.\thinrule

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

2015-08-02 Thread Idris Samawi Hamid ادريس سماوي حامد
: == snip \setupdirections[bidi=global] \setupthinrules[color=white] \setupwhitespace[big] \section{Incorrect} \startlinenumbering \startalignment[r2l] هذه رسالة لطيفة ألفها العالم الكبير الفهامة النحرير. هذه رسالة جامعة مانعة ألفها الشيخ الفاضل... \thinrule === You're right

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

2015-08-02 Thread tala...@fastmail.fm
[bidi=global] \setupthinrules[color=white] \setupwhitespace[big] \section{Incorrect} \startlinenumbering \startalignment[r2l] هذه رسالة لطيفة ألفها العالم الكبير الفهامة النحرير. هذه رسالة جامعة مانعة ألفها الشيخ الفاضل... \thinrule === You're right. \thinrule has LR unicode

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

2015-08-02 Thread tala...@fastmail.fm
\showframe \righttoleft %\setupdirections[bidi=global,method=two] \section{section one} \startlinenumbering \input ward \stoplinenumbering \footnote{I would like the footnote number — like the page number, section number, and linenumbers — to be in the so-called Arabic-Indic script

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

2015-08-02 Thread tala...@fastmail.fm
] \section{section one} \startlinenumbering \input ward \stoplinenumbering \footnote{I would like the footnote number — like the page number, section number, and linenumbers — to be in the so-called Arabic-Indic script.} \section{section two} مرحباً بالعالم. ١٢٣٤٥٦٧٨٩٠ مرحباً بالعالم. \stoptext

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

2015-08-02 Thread Idris Samawi Hamid ادريس سماوي حامد
= \setuppapersize[A6] \mainlanguage[arabic] \definefontfamily[mainface][serif][ALMFixed][features=arabic,range=arabic,] \setupbodyfont [mainface,10pt] \starttext \showframe \righttoleft %\setupdirections[bidi=global,method=two] \section{section one} \startlinenumbering \input ward

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

2015-08-02 Thread tala...@fastmail.fm
=arabic,range=arabic,] \setupbodyfont [mainface,10pt] \starttext \showframe \righttoleft %\setupdirections[bidi=global,method=two] \section{section one} \startlinenumbering \input ward \stoplinenumbering \footnote{I would like the footnote number — like the page number, section number

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

2015-08-01 Thread Idris Samawi Hamid ادريس سماوي حامد
{Incorrect} \startlinenumbering \startalignment[r2l] Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque molestie dictum quam non congue. Integer ut dolor vel mi vestibulum molestie vel et nulla. \stopalignment \stoplinenumbering \section{Correct} \startalignment[r2l] Lorem ipsum

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

2015-08-01 Thread tala...@fastmail.fm
2015, at 16:30, tala...@fastmail.fm wrote:There seems to be some limitation (or bug) in right-to-left (r2l) alignment, when used alongside linenumbering. Consider the following:\setuppapersize[A6]\starttext \showframe\section{Incorrect}\startlinenumbering\startalignment[r2l]Lorem ipsum dolor sit

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

2015-08-01 Thread Wolfgang Schuster
\showframe \startalignment[righttoleft,flushleft] \input ward \blank \startlinenumbering \input ward \stoplinenumbering \stopalignment \stoptext Wolfgang ___ If your question is of interest

[NTG-context] r2l alignment and linenumbering conflict?

2015-07-30 Thread tala...@fastmail.fm
There seems to be some limitation (or bug) in right-to-left (r2l) alignment, when used alongside linenumbering. Consider the following: \setuppapersize[A6] \starttext \showframe \section{Incorrect} \startlinenumbering \startalignment[r2l] Lorem ipsum dolor sit amet, consectetur

Re: [NTG-context] Linenumering inside floats

2015-07-29 Thread Hans Hagen
On 6/30/2015 7:56 PM, Aditya Mahajan wrote: Hi, I am forwarding a feature request for the t-vim module: https://github.com/adityam/filter/issues/21 Is there a way to enable line numbering inside floats: \definefloat[sourcecode][sourcecodes] \startbuffer \startlinenumbering \input tufte

[NTG-context] issue with hyphenation in linenotes

2015-07-23 Thread Pablo Rodriguez
Dear list (especially Hans, Thomas or Luigi), some time ago I reported (http://www.ntg.nl/pipermail/ntg-context/2013/076021.html) a bug with not hyphenated code in linenotes. Now I have an updated sample that seems to fix it: \setuppapersize[A8] \starttext \startlinenumbering

Re: [NTG-context] Critical editions with ConTeXt

2015-07-22 Thread Pablo Rodriguez
\normalexpanded{\doVariant{Varia:\countvariants}}} \starttext \startlinenumbering \dorecurse{20}{\variant{donald e knuth}{herman zapf} } \stoplinenumbering \stoptext BTW, it has a “minor issue”: hyphenation doesn’t work in the body text It works fine in the notes. I

Re: [NTG-context] Critical editions with ConTeXt

2015-07-22 Thread Talal
: their being identical should be automated so as to minimise errors and reduce the amount of typing.} %% DOCUMENT \starttext \startlinenumbering % EX1 \section{EX1} \variant{Lemma lemma lemma lemma lemma lemma lemma lemma lemma lemma lemma lemma lemma} {Comment comment comment.}.\blank % EX2

Re: [NTG-context] Critical editions with ConTeXt

2015-07-22 Thread tala...@fastmail.fm
:\countvariants}}} \starttext \startlinenumbering \dorecurse{20}{\variant{donald e knuth}{herman zapf} } \stoplinenumbering \stoptext BTW, it has a “minor issue”: hyphenation doesn’t work in the body text It works fine in the notes. I reported this, but I’m afraid it hasn’t

[NTG-context] Linenumering inside floats

2015-06-30 Thread Aditya Mahajan
Hi, I am forwarding a feature request for the t-vim module: https://github.com/adityam/filter/issues/21 Is there a way to enable line numbering inside floats: \definefloat[sourcecode][sourcecodes] \startbuffer \startlinenumbering \input tufte \stoplinenumbering \stopbuffer \starttext

[NTG-context] line numbers position

2015-04-16 Thread Pablo Rodriguez
Dear list, I have the following sample: \mainlanguage[es] \setuppapersize[A7] \setuppagenumbering[location=,] \starttext \startlinenumbering \input cervantes-es \stoplinenumbering \stoptext Compiled with latest beta, line numbers are partly off the page: http

Re: [NTG-context] line numbers position

2015-04-16 Thread Hans Hagen
On 4/16/2015 7:14 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \mainlanguage[es] \setuppapersize[A7] \setuppagenumbering[location=,] \starttext \startlinenumbering \input cervantes-es \stoplinenumbering \stoptext Compiled

[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

[NTG-context] wrong line break in linenotes

2014-11-24 Thread Pablo Rodriguez
[linenote][numbercommand=, width=broad, alternative=serried, distance=1em] \starttext \startlinenumbering \showhyphens{testing paragraph} \dorecurse{50}{This\linenote{That} is\linenote{was} a\linenote{one} testing\linenote{nesting} sentence\linenote{table}. } \stoplinenumbering \stoptext It has wrong line

Re: [NTG-context] bug in hyphenation?

2014-09-16 Thread Thangalin
Hi Pablo, Are you able to avoid \hsize in favour of something like start/stopnarrower? \setuppapersize[A8] \starttext \startnarrower[-left] \startlinenumbering sentence sentence sentence \stoplinenumbering \stopnarrower \startnarrower[-left] sentence sentence sentence \stopnarrower \stoptext

[NTG-context] bug in hyphenation?

2014-09-15 Thread Pablo Rodriguez
Dear list, I have a simplified verson of the sample I submitted to the list almost a week ago: \setuppapersize[A8] \starttext \startlinenumbering \hsize\zeropoint sentence sentence sentence \stoplinenumbering \hsize\zeropoint sentence sentence sentence \stoptext I’m afraid that line numbering

[NTG-context] line numbering prevents some hyphenations

2014-09-06 Thread Pablo Rodriguez
Hans, I’m afraid that I have just discovered that line numbering prevents hyphenation in some circunstances: \setuppapersize[A8] \setuplanguage[en][patterns={en, agr}] \definefontfamily[mainface][serif][GFS Didot] \setupbodyfont[mainface, 13pt] \starttext \startlinenumbering \hsize\zeropoint

Re: [NTG-context] bug in hyphenation?

2014-09-04 Thread Pablo Rodriguez
[linenote][rule=off, paragraph=yes, split=verystrict, scope=text, inbetween=\hskip1.5em, compress=yes] \setupnotation[linenote][numbercommand=, width=broad, alternative=serried, distance=1em] \starttext \startlinenumbering \showhyphens{testing paragraph} \dorecurse{50}{This\linenote

Re: [NTG-context] bug in hyphenation?

2014-08-30 Thread Hans Hagen
=verystrict, scope=text, inbetween=\hskip1.5em, compress=yes] \setupnotation[linenote][numbercommand=, width=broad, alternative=serried, distance=1em] \starttext \startlinenumbering \showhyphens{testing paragraph} \dorecurse{50}{This\linenote{That} is\linenote{was} a\linenote{one} testing\linenote{nesting

[NTG-context] bug in hyphenation?

2014-08-29 Thread Pablo Rodriguez
=yes] \setupnotation[linenote][numbercommand=, width=broad, alternative=serried, distance=1em] \starttext \startlinenumbering \showhyphens{testing paragraph} \dorecurse{50}{This\linenote{That} is\linenote{was} a\linenote{one} testing\linenote{nesting} sentence\linenote{table}. } \stoplinenumbering

Re: [NTG-context] Bug with vimtyping: no line numbers

2014-08-12 Thread Aditya Mahajan
not have access to a computer that has the latest context right now. I'll look into it when I get a chance. In the meantime, can you check if \starttext \startlinenumbering \input knuth \stoplinenumbering \stoptext numbers the lines

Re: [NTG-context] Bug with vimtyping: no line numbers

2014-08-12 Thread Günter Kolousek
if \starttext \startlinenumbering \input knuth \stoplinenumbering \stoptext numbers the lines. Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

[NTG-context] Bug with vimtyping: no line numbers

2014-08-12 Thread Akira Kakuto
\starttext \startlinenumbering \input knuth \stoplinenumbering \stoptext The line numbers seem better in mkii than in mkiv. Best regards, Akira ___ If your question is of interest to others as well, please add

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
} \startlinenumbering text text text \stoplinenumbering \section{Second section} \startlinenumbering text text text \stoplinenumbering \stoptext The problem is that although appears the option [method = page], numbering begins at the beginning of each section. I would like the title of the section

  1   2   3   >