Marcus Vinicius Mesquita schrieb am 07.12.2023 um 19:21:
Dear List,
In the MWE below, the left and right arguments are not applied in the
last chapter. How can this be fixed?
\starttext
\startlinenumbering[left={[},right={]}]
\dorecurse{5}{%
\startchapter[title={Knuth}]
\samplefile{knuth
Dear List,
In the MWE below, the left and right arguments are not applied in the
last chapter. How can this be fixed?
\starttext
\startlinenumbering[left={[},right={]}]
\dorecurse{5}{%
\startchapter[title={Knuth}]
\samplefile{knuth}
\stopchapter
}
\stoplinenumbering
\stoptext
Kind regards
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
=separator]%
\setupnotation[linenote][alternative=serried, width=broad]
\starttext
\startlinenumbering
\dorecurse{3}{\subject{Heading\linenote{title}}
\dorecurse{2}{text\linenote{some text}\linenote{another text}\par}}
\stoplinenumbering
\stoptext
How can I get headings added to the line
]
\definelinenote[otherlinenote]
%~ \setupnote[otherlinenote]
%~ [compress=yes]
\starttext
\startlinenumbering
\dorecurse{20}
{uvwxyz\linenote{abcdef} }
\stoplinenumbering
\stoptext
For some reason unknown to me, "compress=yes" only works in linenote if
I setup another linenote and
\start...\stopsplitformula with \start...\stopmathalignment. Curiously,
the line numbering does not appear in these splitformula blocks alone. (It
works for \start...\stopformula) blocks[*]. Below is a MWE:
%%% start example
\starttext
\startlinenumbering
\input knuth
]
\setupnote[footnote][location=text, paragraph=yes]
\setupnotation[footnote][alternative=serried, width=broad]
\starttext
\startlinenumbering[step=3]
\dorecurse{25}
{a\footnote{b} }
\stoplinenumbering
\placenotes[footnote]
\stoptext
I already asked this twice
(https
]
\setupnotation[footnote][alternative=serried, width=broad]
\starttext
\startlinenumbering[step=3]
\dorecurse{25}
{a\footnote{b} }
\stoplinenumbering
\placenotes[footnote]
\stoptext
I already asked this twice
(https://mailman.ntg.nl/pipermail/ntg-context/2022/104770.html,
https://mailman.ntg.nl
,
but it isn't big enough. I've also tried manual measurements in cm, but
I have no idea which setting is typographically good.
\setupinterlinespace[on, big]
\startlinenumbering
\input article
\stoplinenumbering
\setupinterlinespace[off]
How can I achieve double sp
ements in cm, but I have no idea
which setting is typographically good.
\setupinterlinespace[on, big]
\startlinenumbering
\input article
\stoplinenumbering
\setupinterlinespace[off]
How can I achieve double space text
=yes]
\setupnotation[footnote][alternative=serried, width=broad]
\starttext
\startlinenumbering[step=3]
\dorecurse{25}
{a\footnote{b} }
\stoplinenumbering
\placenotes[footnote]
\stoptext
I don’t get paragraph notes with "location=text".
Could anyone confirm the issue
un véritable casse-tête. \type{LaTeX} et
\type{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
\stoplanguage
\startlinenumbering
\dorecurse{6
onnus dans la communauté des éditeurs, notamment dans l'édition savante, pour la collation et la comparaison de textes médiévaux}.
\stoplanguage
\startlinenumbering
\dorecurse{6}% à utiliser seulement pour répéter le paragraphe suivant, ici 8 fois.
{Cum defensionum \CNote{laboribus}{premièr
e following sample:
>
>\setuppapersize[A6]
>\showframe\showgrid
>\setupnote[footnote][paragraph=yes]
>%~ \setupnote[footnote][location=text, paragraph=yes]
>\setupnotation[footnote][alternative=serried, width=broad]
>\starttext
>\startbuffer
>\
\startlinenumbering[step=3]
\dorecurse{25}
{a\footnote{b} }
\stoplinenumbering
\stopbuffer
\getbuffer
\placenotes[footnote]
\stoptext
I get no paragraph notes with \setupnote[footnote][location=text,
paragraph=yes].
What am I missing here?
Many thanks for your help,
Pablo
On 1/4/2022 2:23 PM, Pablo Rodriguez via ntg-context wrote:
Dear list,
I have the following sample:
\setuplinenote[location=text, paragraph=yes]
\starttext
\startbuffer
\startlinenumbering[step=3]
\dorecurse{25}
{a\linenote{b} }
\stoplinenumbering
Dear list,
I have the following sample:
\setuplinenote[location=text, paragraph=yes]
\starttext
\startbuffer
\startlinenumbering[step=3]
\dorecurse{25}
{a\linenote{b} }
\stoplinenumbering
\stopbuffer
\getbuffer
\placenotes[linenote]
\stoptext
I
iant]
\setupnotation[variant][number=no]
\setupnote[variant][way=bypage,paragraph=yes,rule=off]
\definelines[slokaed][][indenting={yes, small, even},
before={\startnarrower\startlinenumbering},
after={\stoplinenumbering\stopnarrower}]
\definelines[slokaedplain][][inde
z 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
\dorecurse{6}% À utiliser seulement pour répéter le paragraphe suivant, ici 8 fois.
{Cum defensionum \CNote{laboribus}{première
e=off]
>
> % Two "environments" for Sanskrit verses, one with, one without
> linenumbers.
>
> % SANSKRIT EDITION linenumbers
> \definelines[slokaed][][indenting={yes, small, even},
>
> before=\startnarrower\startlinenumbering,after=\stoplinenumbering\st
en},
before=\startnarrower\startlinenumbering,after=\stoplinenumbering\stopnarrower]
% SANSKRIT EDITION plain (referring to verses)
\definelines[slokaedplain][][indenting={yes, small, even},
before=\startnarrower,after=\stopnarrower]
With this the code of the edition can be pleasently minimalisti
e difference?
>> I tried English and German and different settings of alignment and tolerance.
>> Might it be font dependent?
>
> explained in manuals ...
>
> \startlinenumbering
> \startparagraph
> Weit .. beirren.
> \stopparagraph
> \stoplinenumberin
in manuals ...
\startlinenumbering
\startparagraph
Weit .. beirren.
\stopparagraph
\stoplinenumbering
\startlinenumbering
\startparagraph\looseness=+2
Weit .. beirren.
\stopparagraph
\stoplinenumbering
\startlinenumbering
\startparagraph
Weit .. beirren.
\looseness=+2\updateparagraphproperties
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
\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
,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
]
\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
}
\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
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
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
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
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
]
#[style=\ss,
# distance=-2ex,
# step=2,
# location=inleft,
# start=20,
# color=darkblue]
#\startlinenumbering[One]
#\input knuth
#\stoplinenumbering
#
# \blank [line]
#
#\definelinenumbering[Two]
#\setuplinenumbering[Two
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
\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
,
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
[{\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
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
,
]
\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
\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
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
)
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
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
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
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
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
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
"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
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
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
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
\\Τὰ ÏÏὸ á½Î¼Î®ÏοÏ
}
\startlinenumbering
á¼Ïγαλεοῦ ÏολÎμοιο \variante{μÎγαν κλÏνον}{κακὸν ÏÏνον Jac.} Ἰλιακοá¿Î¿\\
á¼Î½Î½ÎµÏε, ÎαλλιÏÏεια, á½Ïá¾½ ἡμεÏÎÏá¿Ïιν á¼Î¿Î¹Î´Î±á¿Ï,\\
á¼ÏÏá¿Î¸Îµ δ᾽ á¼ÏαÎιδε καὶ á¼Ï ÏÎλÎ
ρ ἀποδιδῷ τις τὸν ἑκατέρου λόγον τί
ἐστιν αὐτῶν
ἑκατέρῳ τὸ ζῴῳ εἶναι, τὸν αὐτὸν λόγον ἀποδώσει.
\column
\startlinenumbering[continue]
Aequivoca dicuntur quorum \CNote{nomen}{first note}
solum commune
est, secundum nomen vero \A
ν ἑκατέρου λόγον τί
ἐστιν αὐτῶν
ἑκατέρῳ τὸ ζῴῳ εἶναι, τὸν αὐτὸν λόγον ἀποδώσει.
\column
\startlinenumbering[continue]
Aequivoca dicuntur quorum \CNote{nomen}{first note}
solum commune
est, secundum nomen vero \ANote{substanti
έρῳ τὸ ζῴῳ εἶναι, τὸν αὐτὸν λόγον ἀποδώσει.
\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
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
>
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
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
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
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
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
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
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
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
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
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
\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
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
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
ιδῷ τις τί
ἐστιν αὐτῶν ἑκατέρῳ τὸ ζῴῳ
εἶναι, ἴδιον ἑκατέρου λόγον ἀποδώσει.
\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
τοὔνομα λόγος τῆς οὐσίας
ἕτερος· ἐὰν γὰρ ἀποδιδῷ τις τί
ἐστιν αὐτῶν ἑκατέρῳ τὸ ζῴῳ
εἶναι, ἴδιον ἑκατέρου λόγον ἀποδώσει.
\column
\startlinenumbering[continue]
Aequivoca dicuntur quorum \CNote{nomen}{première note} solum
commune est, secundum nomen vero \ANote{substantiae}
, 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
ρωπος καὶ τὸ γεγραμμένον·
τούτων γὰρ ὄνομα μόνον κοινόν, ὁ δὲ
κατὰ τοὔνομα λόγος τῆς οὐσίας
ἕτερος· ἐὰν γὰρ ἀποδιδῷ τις τί
ἐστιν αὐτῶν ἑκατέρῳ τὸ ζῴῳ
εἶναι, ἴδιον ἑκατέρου λόγον ἀποδώσει.
\column
\startlinenumbering[continue]
Aequivoca dicuntur quorum \CNote{nomen}{première
{\startcolumns[n=2, balance=yes]
\Stephanus{1a} Ὁμώνυμα λέγεται ὧν ὄνομα
μόνον κοινόν, ὁ δὲ κατὰ τοὔνομα
λόγος τῆς οὐσίας ἕτερος, οἷον ζῷον
ὅ τε ἄνθρωπος καὶ τὸ γεγραμμένον·
τούτων γὰρ ὄνομα μόνον κοινόν, ὁ δὲ
κατὰ τοὔνομα λόγος τῆς οὐσίας
ἕτερος· ἐὰν γὰρ ἀποδιδῷ τις τί
ὸ γεγραμμένον·
τούτων γὰρ ὄνομα μόνον κοινόν, ὁ δὲ
κατὰ τοὔνομα λόγος τῆς οὐσίας
ἕτερος· ἐὰν γὰρ ἀποδιδῷ τις τί
ἐστιν αὐτῶν ἑκατέρῳ τὸ ζῴῳ
εἶναι, ἴδιον ἑκατέρου λόγον ἀποδώσει.
\column
\startlinenumbering[continue]
Aequivoca dicuntur quorum \CNote{nomen}{première note}
ν αὐτῶν ἑκατέρῳ τὸ ζῴῳ
εἶναι, ἴδιον ἑκατέρου λόγον ἀποδώσει.
\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
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
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
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
\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
, 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
]
\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
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
:
\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
\startlinenumbering
\input ward\footnote{هذه تعليقة أولى كتبت عام ٢٠١٤.}
\input ward\footnote{هذه تعليقة ثانية (٢٠١٤).}
\input ward\linenotedefault{هذه تعليقة أولى كتبت عام ٢٠١٤.}
\input ward\linenotedefault{هذه تعليقة ثانية (٢٠١٤).}
\input ward\linenoteone{هذه تعليقة أولى كتبت عام ٢٠١٤.}
\input
,
٢٨١,٢٨٢,٢٨٣,٢٨٤,٢٨٥,٢٨٦,٢٨٧,٢٨٨,٢٨٩,٢٩٠,
٢٩١,٢٩٢,٢٩٣,٢٩٤,٢٩٥,٢٩٦,٢٩٧,٢٩٨,٢٩٩,٣٠٠,
]
%%% DOCUMENT
\starttext \showframe
\section{section one}
\startlinenumbering
\input tufte
\input tufte
\stoplinenumbering
\dorecurse{20}{
\section{محمد الجمل (١٨٧٢—١٩٢٣)}
مرحباً باعالم . ١٢٣٤٥٦٧٨٩٠ مرحباً بالعالم. ولد
e:linenote]% \setupdirections[bidi=on,method=default,fences=no]%\stopsetups\starttext \showframe\startlinenumbering\input ward\linenote{هذه تعليقة أولى.}\input ward\linenote{هذه تعليقة ثانية.}\input ward\linenote{هذه تعليقة ثالثة.}مرحباً بالعالم مرحباً بالعالم مرحباً بالعالم . هذا مثال على استعمال كونتكست لأجل تحقيق
٦٨,٢٦٩,٢٧٠, ٢٧١,٢٧٢,٢٧٣,٢٧٤,٢٧٥,٢٧٦,٢٧٧,٢٧٨,٢٧٩,٢٨٠, ٢٨١,٢٨٢,٢٨٣,٢٨٤,٢٨٥,٢٨٦,٢٨٧,٢٨٨,٢٨٩,٢٩٠, ٢٩١,٢٩٢,٢٩٣,٢٩٤,٢٩٥,٢٩٦,٢٩٧,٢٩٨,٢٩٩,٣٠٠,]%%% DOCUMENT\starttext \showframe\section{section one}\startlinenumbering\input tufte\input tufte\stoplinenumbering\dorecurse{20}{\section{محمد الجمل (١٨٧٢—١٩٢٣)} مرحباً باعالم . ١٢٣٤٥٦٧٨٩٠ مرحباً با
. 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
,
]
\setupbodyfont [mainface]
\starttext \showframe
\setupdirections[bidi=global]
\setupthinrules[color=white]
\setupwhitespace[big]
\section{Incorrect}
\startlinenumbering
\startalignment[r2l]
هذه رسالة لطيفة ألفها العالم الكبير الفهامة النحرير.
هذه رسالة جامعة مانعة ألفها الشيخ الفاضل
\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
:
==
snip
\setupdirections[bidi=global]
\setupthinrules[color=white]
\setupwhitespace[big]
\section{Incorrect}
\startlinenumbering
\startalignment[r2l]
هذه رسالة لطيفة ألفها العالم الكبير الفهامة النحرير.
هذه رسالة جامعة مانعة ألفها الشيخ الفاضل...
\thinrule
===
You're right
[bidi=global]
\setupthinrules[color=white]
\setupwhitespace[big]
\section{Incorrect}
\startlinenumbering
\startalignment[r2l]
هذه رسالة لطيفة ألفها العالم الكبير الفهامة النحرير.
هذه رسالة جامعة مانعة ألفها الشيخ الفاضل...
\thinrule
===
You're right. \thinrule has LR unicode
\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
]
\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
=
\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
=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
{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
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
\showframe
\startalignment[righttoleft,flushleft]
\input ward
\blank
\startlinenumbering
\input ward
\stoplinenumbering
\stopalignment
\stoptext
Wolfgang
___
If your question is of interest
1 - 100 of 287 matches
Mail list logo