and need breaking. Is that possible?
In my example below the 3rd line is too long and gets line numbers 3
and 4.
Same problem with source code examples, i.e. \starttyping with
numbering.
I thought numbering=file (or \setuplinenumbering[method=file]) would
address that, but apparently not
thought numbering=file (or \setuplinenumbering[method=file])
would address that, but apparently not.
\start \setupparagraphnumbering[state=start]
\startlines
...
\stoplines
\stop
Thank you – that works for the minimal example, but the options for
paragraph numbering are very limited, I can’t
to adhere to that, even if some
lines are too long and need breaking. Is that possible?
In my example below the 3rd line is too long and gets line numbers 3
and 4.
Same problem with source code examples, i.e. \starttyping with
numbering.
I thought numbering=file (or \setuplinenumbering
long and need breaking. Is that possible?
In my example below the 3rd line is too long and gets line numbers 3
and 4.
Same problem with source code examples, i.e. \starttyping with
numbering.
I thought numbering=file (or \setuplinenumbering[method=file]) would
address that, but apparently not
example below the 3rd line is too long and gets line numbers 3
and 4.
Same problem with source code examples, i.e. \starttyping with numbering.
I thought numbering=file (or \setuplinenumbering[method=file]) would
address that, but apparently not.
\start \setupparagraphnumbering[state=start
numbers 3 and 4.
Same problem with source code examples, i.e. \starttyping with numbering.
I thought numbering=file (or \setuplinenumbering[method=file]) would
address that, but apparently not.
Hraban
\mainlanguage[de]
\setuppapersize[A7,landscape]
\setuplayout[topspace=0mm,bottom=0mm,width
examples, i.e. \starttyping with numbering.
I thought numbering=file (or \setuplinenumbering[method=file]) would
address that, but apparently not.
Hraban
\mainlanguage[de]
\setuppapersize[A7,landscape]
\setuplayout[topspace=0mm,bottom=0mm,width=90mm,height=70mm]
\setuppagenumbering[location=none
}
\stopchapter
}
\stoplinenumbering
\stoptext
When you have a single linenumbering block in your document you can set
the left/right values at the begin of your document with
\setuplinenumbering[left={[},right={]}]
When you have multiple linenumbering blocks in your document you can
ensure the
file called "three_lines.txt" to be created in the local directory containing
the lines:
one
two
three
begin
\setuplinenumbering[location=text,style=\small\tt]
\starttext
Location=text not working in main body
\typefile[numbering=line]{three_lines.txt}
But it does work i
I have some text that is a block quote, but also has line numbering:
\setuplinenumbering[step=3] \starttext
\startblockquote
\startlinenumbering
\input knuth
\stoplinenumbering
\stopblockquote \stoptext
The line numbering is
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
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
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
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
page;
\setuplinenumbering[step=5] % La sortie PDF comportera une numérotation
des lignes de 5 en 5; on peut régler de 1 à 10/Ruling linenumbering from
1 to 10.
\setupnotations[alternative=serried] % On définit le caractère
séquentiel des notes/ Definethe sequential mode of the notes.
\definelin
s en-têtes, le numéro des pages, etc.
\mainlanguage[la] % Définition du latin comme langue principale du document.
\setupbodyfontenvironment[default][em=italic]
\setuplayout[header=2cm, footer=2cm] % Paramétrage de la page;
\setuplinenumbering[step=2] % La sortie PDF comportera une
ltanées. On peut affiner encore, en ajoutant d'autres commandes stipulant les marges, les en-têtes, le numéro des pages, etc.
\mainlanguage[la] % Définition du latin comme langue principale du document.
\setupbodyfontenvironment[default][em=italic]
\setuplayout[header=2cm, footer=2cm] % Para
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
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
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
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
.
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
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
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
x27;ll
>>> add a feature:
>>>
>>> \pagereference[column:#1]
>>>
>>> \doifelsereferencefound{column:#1}{\number\referencecolumnnumber}{}
>>>
>>> in the next beta,
>>>
>>> Hans
>>
>> Thanks for i
umber\referencecolumnnumber}{}
in the next beta,
Hans
Thanks for implementing this, but I am afraid it does not work
properly, at least not if there are several targets following one
after another.
Consider this example:
\setupcolumns[
n=2,
]
\setuplinenumbering[
step=5,
method
id it does not work properly,
at least not if there are several targets following one after another.
Consider this example:
\setupcolumns[
n=2,
]
\setuplinenumbering[
step=5,
method=page,
]
\def\Lab#1{%
\pagereference[#1]%
\pagereference[column:#1]%
\someline[#1]%
}
\def\Ref#1{
[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
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
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
Pablo Rodriguez schrieb am 30.11.18 um 19:29:
Dear list,
I have the following sample:
\setuplinenumbering[step=3, style=\tfxx]
\starttext
\startlinenumbering
\dorecurse{40}{This is a verse.\\}
\stoplinenumbering
\stoptext
Is there a way to center vertically the
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
section, subject][style=\ssa]
%
\setupindenting[first,always,2em]
\setupinterlinespace[line=1.5em]
\setupheads[indentnext=yes]
\setupwhitespace[big]
\setupfootnotes[bodyfont=9pt]
%
\setuplinenumbering[style=small,location=text,color=darkgreen]
\setuptype[style=\ttx]
%\setuptype[space=o
t it’s not
usable because the numbers are always shown on the next page." He made
the following example (which I have slightly adapted):
\definemarking[linenumber]
\define\LinenumberCommand
{\normalexpanded{\setmarking[linenumber]{\linenumber}}}
\setuplinenumbering[command=\LinenumberCommand
aign=reach>
Hello,
could anyone confirm that line numbering on the last page is somehow
broken, i.e. it ignores the style assigned by \setuplinenumbering (but
works OK on other pages)?
It’s a side effect of the way how line numbering works. To get the
correct style for the last page you need global
he style assigned by \setuplinenumbering (but
works OK on other pages)?
It’s a side effect of the way how line numbering works. To get the
correct style for the last page you need global setups.
begin example
\setuplinenumbering
[TEX]
[location=inmargin,
style=\tt\tfx,
color=dark
Hello,
could anyone confirm that line numbering on the last page is somehow broken,
i.e. it ignores the style assigned by \setuplinenumbering (but works OK on
other pages)?
Best regards,
Lukas
On Tue, 28 Mar 2017 10:10:14 +0200, Procházka Lukáš Ing. wrote:
Hello,
in the following
fontsize[z]
\definebodyfontenvironment[default][z=.75]
\setuplinenumbering[location=inmargin,style={\tfz\tt},color=darkgreen,]
\setuptyping[TEX][style=\tfz,numbering=line,]
\typefile[TEX]{t3.mkiv}
\stop
\if+-
Some dummy text
Some dummy text
Some dummy text
Some dummy text
Some
efault][em=italic]
\setupinterlinespace[line=3ex]
\setuplinenumbering[location=left, step=5, method=section, style=\tfxx, align=left, distance=1em, width=0.4em]
\setuppagenumbering[alternative=doublesided,location=]
\definelinenote[comment]
\setupnote[comment][paragraph=yes, rule=off, split=verystrict, sc
\def\BNote#1#2{#1\bNote{#1] #2}}
\def\CNote#1#2{#1\cNote{#1] #2}}
\def\DNote#1#2{#1\dNote{#1] #2}}
\setupalign[hz, hanging]
\setuptolerance[strict]
\setupnotes[spacebefore=4*line]
\setupnotes[spaceinbetween=]
% \setuplinenumbering[step=5, location=inright,
distance=1ex,align=cente
\aNote{#1] #2}}
\def\BNote#1#2{#1\bNote{#1] #2}}
\def\CNote#1#2{#1\cNote{#1] #2}}
\def\DNote#1#2{#1\dNote{#1] #2}}
\setupalign[hz, hanging]
\setuptolerance[strict]
\setupnotes[spacebefore=4*line]
\setupnotes[spaceinbetween=]
% \setuplinenumbering[step=5, locatio
dNote][paragraph=yes]
\def\ANote#1#2{#1\aNote{#1] #2}}
\def\BNote#1#2{#1\bNote{#1] #2}}
\def\CNote#1#2{#1\cNote{#1] #2}}
\def\DNote#1#2{#1\dNote{#1] #2}}
\setupalign[hz, hanging]
\setuptolerance[strict]
\setuplinenumbering[step=5, location=inright, distance=1ex,
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
gs
are forgotten when the numbers are added on ConTeXt
uses the global values instead when it add them.
According to the description from page 301 in i-context.pdf,
\startlinenumbering ... \stoplinenumbering inherit from
\setuplinenumbering.
I changed it, valid keys are continue, start, step and
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
escription from page 301 in i-context.pdf,
\startlinenumbering ... \stoplinenumbering inherit from \setuplinenumbering.
Pablo
--
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to
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
following code ?
JP
\usemodule[newcolumnsets]
\definecolumnset[example][n=2,page=middle,distance=1cm]
\setupcolumnset
[example]
[background=contrast]
% \definecolor[fakerulecolor][white] \faketriggertrue
\setuphead
[section]
[style=\bfd]
\setuplinenumbering
[style=regular,
distance=0pt,
ali
e[bNote][n=2]
\definelinenote[cNote][n=3]
\definelinenote[dNote][paragraph=yes]
\def\ANote#1#2{#1\aNote{#1] #2}}
\def\BNote#1#2{#1\bNote{#1] #2}}
\def\CNote#1#2{#1\cNote{#1] #2}}
\def\DNote#1#2{#1\dNote{#1] #2}}
\setupalign[hz, hanging]
\setuptolerance[stric
rried]
\definelinenote[aNote]
\definelinenote[bNote][n=2]
\definelinenote[cNote][n=3]
\definelinenote[dNote][paragraph=yes]
\def\ANote#1#2{#1\aNote{#1] #2}}
\def\BNote#1#2{#1\bNote{#1] #2}}
\def\CNote#1#2{#1\cNote{#1] #2}}
\def\DNote#1#2{#1\dNote{#1] #2}}
\setupalign[hz, han
1] #2}}
\def\DNote#1#2{#1\dNote{#1] #2}}
\setupalign[hz, hanging]
\setuptolerance[strict]
\setuplinenumbering[step=5, location=inright, distance=1ex,
align=center, width=0.5em]
\definemargindata[Stephanus][location=inner, distance=2ex,
style=\em]
\setupbodyfont[ma
orks when you load the mainface.
5. It is better when you use typefaces distributed with ConTeXt.
Well, my code doesn’t work well. Line numbers and notes are only allowed
on one column.
I know Hans will hate me ;-), but the fun comes when the recursion
exceeds the first page.
BTW, I gues
def\CNote#1#2{#1\cNote{#1] #2}}
\def\DNote#1#2{#1\dNote{#1] #2}}
\setupalign[hz, hanging]
\setuptolerance[strict]
\setuplinenumbering[step=5, location=inright, distance=1ex,
align=center, width=0.5em]
\definemargindata[Stephanus][location=inner, distance=2ex,
style=\em]
\setupbodyf
\definelinenote[cNote][n=3]
\definelinenote[dNote][paragraph=yes]
\def\ANote#1#2{#1\aNote{#1] #2}}
\def\BNote#1#2{#1\bNote{#1] #2}}
\def\CNote#1#2{#1\cNote{#1] #2}}
\def\DNote#1#2{#1\dNote{#1] #2}}
\setupalign[hz, hanging]
\setuptolerance[strict]
\setuplinenumbering[ste
olerance[strict]
\defineparagraphs[TwoColumns][n=2, align={hz, hanging}]
\setupparagraphs[TwoColumns][1][width=200pt, style=regular, align=left]
\setuplinenumbering[step=5]
\setupbodyfont[palatino, 7.8pt]
\starttext
\start\fr % some text in French
Définir un apparat critique et le mettre
given by LaTeX ? I am not looking for a very translation in
> ConTeXt of this file given in LaTeX ! A similar sample (where different
> levels of notes are managed as in this LaTeX file) will be perfect.
Hi Jean-Pierre,
here you have a basic sample:
\mainlanguage[la]
\setuplayout
ar sample (where different
> levels of notes are managed as in this LaTeX file) will be perfect.
Hi Jean-Pierre,
here you have a basic sample:
\mainlanguage[la]
\setuplayout[header=0cm, footer=0cm]
\setuplinenumbering[step=5]
\setupnotations[alternative=serried]
\definel
slation in
> ConTeXt of this file given in LaTeX ! A similar sample (where different
> levels of notes are managed as in this LaTeX file) will be perfect.
Hi Jean-Pierre,
here you have a basic sample:
\mainlanguage[la]
\setuplayout[header=0cm, footer=0cm]
\setuplinenumbering[step=5]
t; doesn’t stop where I would expect. Is this a bug or a limitation of context?
>
> \setuplayout [leftmargin=2cm]
>
> \setupbodyfont [times,10pt]
>
> \setuplinenumbering [step=1,location=inmargin]
>
> \setupcolumns [n=2]
>
> \starttext
>
> \startcolumns
> \
ion of context?
\setuplayout [leftmargin=2cm]
\setupbodyfont [times,10pt]
\setuplinenumbering [step=1,location=inmargin]
\setupcolumns [n=2]
\starttext
\startcolumns
\startlinenumbering
Had we but world enough, and time,
This coyness, Lady, were no crime.
We would sit down and think which
right,
]
\setuplinenumbering[%
style=\tfxx,
referencing=on,
step=1,
location=outer,
method=page,
align=left,
distance=1em,
width=0.4em,
conversion=arabicdecimals,
]
\definelinenote[linenotedefault][%
setups=note:linenotede
TO ARABIC-HINDI NUMERALS\defineconversion[myconversion][١,٢,٣,٤,٥,٦,٧,٨,٩,١٠,١١,١٢,١٣,١٤,١٥,١٦,١٧,١٨,١٩,٢٠,]%% HEADINGS\setuppagenumber[numberconversion=myconversion]%%% LINENUMBERING\setuplinenumbering[% style=\tfxx, referencing=on, step=1, location=outer, method=page, align=left, distance=1
]
\setupdirections[bidi=global,method=two]
\setupalign[r2l]
%\righttoleft
%% HEADINGS
\setuphead[section][
conversion=myconversion,
numbercommand=\righttoleft, % <-- toggle
]
\setuplinenumbering[conversion=myconversion]
\setupnotations[footnote][numberconversion=myconvers
?
arabicdigits?
[myconversion]
[١,٢,٣,٤,٥,٦,٧,٨,٩,١٠,
١١,١٢,١٣,١٤,١٥,١٦,١٧,١٨,١٩,٢٠,
۲۱,۲۲,۲۳,۲٤,۲٥,۲٦,۲۷,۲۸,۲۹,۳۰,
> another million entries
the next beta will have:
\setuplinenumbering[conversion=arabicdecimals]
What's wrong with 'persiannumerals' and 'arabicnumera
,
١١,١٢,١٣,١٤,١٥,١٦,١٧,١٨,١٩,٢٠,
۲۱,۲۲,۲۳,۲٤,۲٥,۲٦,۲۷,۲۸,۲۹,۳۰,
> 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
,
> 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
ave:
\setuplinenumbering[conversion=arabicdecimals]
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.
[rm] [ALM Fixed][range=arabic,features=arabic] \setupbodyfont[mainface,12pt]%\setupdirections[bidi=global]\setupalign[r2l]%\righttoleft%% HEADINGS\setuphead[chapter,section][ conversion=myconversion,% numbercommand=\lefttoright % <-- toggle ]\setuplinenumbering[conversion=myconversion]\s
ersion]
[۱,۲,۳,۴,۵,۶,۷,۸,۹,۱۰,
۱۱,۱۲,۱۳,۱۴,۱۵,۱۶,۱۷,۱۸,۱۹,۲۰,
۲۱,۲۲,۲۳,۲۴,۲۵,۲۶,۲۷,۲۸,۲۹,۳۰]
\setuppagenumber[numberconversion=myconversion]
Of course, one can add the same to setups for the other matters as well:
\setuphead[chapter,title,section,subject][conversion=myconversion]
\setuplinenum
in.
This is my attempt so far:
- - -
\setuplinenumbering[% style=\tfxx,referencing=on, step=1,
location=outer, method=page,align=left, distance=1em,
width=0.4em,]
\definelinenote[linenote][% paragraph=yes, frame=on,framecolor=red,
verbatim zone from the global numbering style, I get one
> numbering with the
> particular style and the other with the global style.
When you create custom typing environment context also creates a line numbering
environment with the same name
and to change its values you should use t
t;
> \definetyping[code][numbering=line,page=yes,bodyfont=9pt,tab=2]
>
>
> \setuplinenumbering[code][location=text,align=left,style={\switchtobodyfont[9pt,tt]},command=\numeroLigneCode,distance=-.5em,width=2em]
>
> \defineparagraphs[Tw
]
\setuplinenumbering[code][location=text,align=left,style={\switchtobodyfont[9pt,tt]},command=\numeroLigneCode,distance=-.5em,width=2em]
\defineparagraphs[TwoCols][n=2,before=,after=]
\starttext
\startTwoCols
\startcode
one
two
three
\stopcode
\TwoCols
hum
\stopTwoCols
\stoptext
I've tried t
ine,page=yes,bodyfont=9pt,before={%
>\begingroup%
>
> \setuplinenumbering[location=text,align=left,style=\tt,command=\numeroLigneCode,distance=-.5em,width=2em]%
>},after={\endgroup},tab=2]
>
Hello,
I've tracked down the problem :
\def\numeroLigneCode#1{\inframed[width=fit,strut=yes,frame=off,rightframe=on]{\switchtobodyfont[9pt]#1}}
\definetyping[code][numbering=line,page=yes,bodyfont=9pt,before={%
\begingroup%
\setuplinenumbering[loc
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
llo everyone.
>
> I give a small example:
>
> \setuppagenumbering [alternative=doublesided]
>
> \setuplinenumbering[location=outer, step=5, method=page,
>
> style=\tfxx, align=left, distance=1em, width=0.4em]
>
> \starttext
>
> \section{First section}
>
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
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
) -1cm
> >It seems I can indeed get nice results with
> >
> > \setuplinenumbering[location=text]
> > \startnarrower[left]
> > \startlinenumbering
> >
> >> i've added support for notes (somewhat tricky)
> >>
> >> \starttext
>
sions
(25/03 and 27/03).
with respect to text: you need to go narrower or set the distance to
(e.g.) -1cm
It seems I can indeed get nice results with
\setuplinenumbering[location=text]
\startnarrower[left]
\startlinenumbering
Thanks !
i
t; (e.g.) -1cm
It seems I can indeed get nice results with
\setuplinenumbering[location=text]
\startnarrower[left]
\startlinenumbering
Thanks !
> i've added support for notes (somewhat tricky)
>
> \starttext
> Here we have a footnote \footnote{%
> \startlinenumber
dth]
\setuplinenumbering[lnbasic][]
\setuplinenumbering[lntext][location=text]
\setuplinenumbering[lntextandnullwidth][location=text,width=0pt]
\setuplinenumbering[lntextandwidth][location=text,width=.75em]
\starttext
{\bf A normal paragraph for reference}. \input tufte
\startlinenumbering[lnbasic]
{\bf Numbers
ted behaviour.
==
\setuppapersize[A4]
\setupindenting[yes,first,medium]
\definelinenumbering[lnbasic]
\definelinenumbering[lntext]
\definelinenumbering[lntextandnullwidth]
\definelinenumbering[lntextandwidth]
\setuplinenumbering[lnbasic][]
\setuplinenumbering[lntext][locat
Hans.
> >
> > But why can't I use
> >
> > \defineframedtext[framedcode][strut=yes,offset=2mm,width=7cm,align=right]
> >
> > \definetyping[code][numbering=line,bodyfont=small,before={\startframedcode},after={\stopframedcode}]
> >
> > \setuplinenu
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
\
; \stopxmlsetups
First of all, thank you very much, Hans.
But why can't I use
\defineframedtext[framedcode][strut=yes,offset=2mm,width=7cm,align=right]
\definetyping[code][numbering=line,bodyfont=small,before={\startframedcode},after={\stopframedcode}]
\setuplinenumbering[location=intext
hss}%
\else
\setbox0\hbox to \wd2{\hss\box0\hss}%
\fi
\box0
\kern-\wd2
\raise\lineheight\box2
\endgroup}
\indenting[never]
\setuplinenumbering[step=5]
\starttext
\chapter{Canto 1}
\startlinenumbering[]
\dos{La cólera}{M~hnin} \dos{canta}{>'aeide} \dos{diosa}{je`a} \dos{del
hi
g of the footnotes?
>
> Any hint would be great!
You can use the line numbering and line note mechanism.
%\setuplinenumbering[command=\gobbleoneargument]
\starttext
\startlinenumbering
\dorecurse{20}{\input knuth\linenote{Note \recurselevel} }
\stoplinenumber
]
\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
tput, that would facilitate
things.
Actually ranges have always been supported (as we needed in the previous
century already for referring to passages in texts where students had to
comment on):
\definelinenote[linenote] % was commented but will be predefined
\starttext
\setuplinenumber
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
t the beginning of the line numbering. So here's my example:
\def\startnumberedblockquote
{\dosingleempty\dostartnumberedblockquote}
\def\dostartnumberedblockquote[#1]%
{\getrawparameters[numberedblockquote][start=1,#1]%
\blank[line]%
\begingroup
\setupindenting[no]%
\setuplin
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
restart the numbering on every page as I do not need to reference each line.
> e.g. finding line 15 on page 6 is fine.
>
>
> \setuplinenumbering doesn't seem to provide an option.
>
> Anything I can do? Thanks!
\starttext
\setuplinenumbering[method=page]
\sta
. finding line 15 on page 6 is fine.
\setuplinenumbering doesn't seem to provide an option.
Anything I can do? Thanks!
Martin
___
If your question is of interest to others as well, please add an entry to the
nt option is not honored and the numbers appear
>>> always in the margin.
>>
>> should read as intext .. ;-)
>>> - The numbers are flush right in the margin, but after line >99 the third
>>> number is placed outside the margin towards the text.
>&
ways in the margin.
>
> should read as intext .. ;-)
>> - The numbers are flush right in the margin, but after line >99 the third
>> number is placed outside the margin towards the text.
>>
>> Willi
Try
\setuplinenumbering[step=5,location=text]
1 - 100 of 179 matches
Mail list logo