ffer[buf:dict:xxx]}]
\setupsection[section][placehead=hidden,aftersection=\pagebreak]
\definelinenumbering[Poem][step=5,continue=yes]
\defineregister[Dict][pagenumber=no,indicator=no,n=2,criterium=section,before=,textcommand=\bf]
\starttext
\startsection[title=pageA]
\startlines
\startlinenumbering
ng; two
column layout starts in the middle of pages. What I tried so far:
1. \defineparagraphs allows to have two paragraphs of unequal width,
but the line numbering isn't visible:
\setuppapersize[A4,landscape][A4,landscape]
\setuplayout[grid=yes]
\definelinenumbering
[origin
On Thu, 23 Jan 2020 22:53:42 +0100
"Thomas A. Schmitz" wrote:
> > On 23. Jan 2020, at 22:32, Wolfgang Schuster
> > wrote:
> >
> > Bonus question: Why is it necessary to put \definelinenumbering before
> > \framed?
> >
> > Wolfgang
>
testing and discovered what is certainly a
bug. Here’s a new example:
#
# \setbreakpoints [compound]
#
# \definelinenumbering
#[original]
#[style=\tx\ss,distance=-1ex,step=5,location=inleft,start=10,color=darkred]
#
# \definelinenumbering
#[translation]
#[style=\tx\ss,distance=-1e
’s bonus
question. But I have continued testing and discovered what is certainly a bug.
Here’s a new example:
\setbreakpoints [compound]
\definelinenumbering
[original]
[style=\tx\ss,distance=-1ex,step=5,location=inleft,start=10,color=darkred]
\definelinenumbering
[translation]
[sty
> On 23. Jan 2020, at 22:32, Wolfgang Schuster
> wrote:
>
>
> Bonus question: Why is it necessary to put \definelinenumbering before
> \framed?
>
> Wolfgang
I would be grateful for an answer because I have no clue ;-) In my real life
case, I fetch the content
On Thu, 23 Jan 2020 12:45:22 +0100
Tomas Hala wrote:
> Hi Thomas,
>
> move definitions and setups for Three and Four before the use of \framed.
Bonus question: Why is it necessary to put \definelinenumbering before \framed?
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
.
Thanks Wolfgang, this solution works (I must admit I wasn't aware of
\definelinenumbering). Nevertheless, I think Pablo is right because this
means one must define every setup in advance. In some situations, it
might be useful to change on the fly, and I think this "bleeding"
admit I wasn't aware of
\definelinenumbering). Nevertheless, I think Pablo is right because this
means one must define every setup in advance. In some situations, it
might be useful to change on the fly, and I think this "bleeding" of
setups into preceding blocks is unexpected.
A
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 d
t a general
setup before the \starttext):
\definelinenumbering[one][color=red]
\definelinenumbering[two][color=blue]
\starttext
\startlinenumbering[one]
\input knuth
\stoplinenumbering
\startlinenumbering[two]
\input knuth
\stoplinenumbering
\stoptex
result is similar to the previous result :
>
>
>
> I've two columns paragraph, with a verbatim zone in the left column that gets
> two numbering : 1 to 25 then 26 to 50.
>
> If I change the numbering style with the command "\definelinenumbering"
> associated to the
oCols][n=2,before=,after=]
>
> \starttext
> \startTwoCols
> \startcode
> one
> two
> three
> \stopcode
> \TwoCols
> hum
> \stopTwoCols
> \stoptext
>
> I've tried to use the command "\definelinenumbering" without success.
>
> I don't know what
o use the command "\definelinenumbering" without success.
I don't know what happened...
> On 29 Apr 2015, at 16:40, Wolfgang Schuster
> wrote:
>
> \defineframed[numeroLigneCode][location=low,width=fit,strut=yes,frame=off,rightframe=on]
>
> \definetyping[code][numb
>> Here we have a footnote \footnote{%
> >> \startlinenumbering
> >> \input tufte
> > A few numbers : 012345679.
> >> \par % somehow needed
> >> \stoplinenumbering
> >> }
> >> \stoptext
> As to the
annoy you one more time, still one thing : the
font size of the line numbers is the one of the main text, no the
smaller one that numbers should have in the footnote part (just add a
few numbers in the footnote text to compare easily).
As to the size in footnotes, try:
\definelin
ted, but I suppose (1) and (2) are not
the expected behaviour.
==
\setuppapersize[A4]
\setupindenting[yes,first,medium]
\definelinenumbering[lnbasic]
\definelinenumbering[lntext]
\definelinenumbering[lntextandnullwidth]
\definelinenumbering[lntextandwi
ted behaviour.
==
\setuppapersize[A4]
\setupindenting[yes,first,medium]
\definelinenumbering[lnbasic]
\definelinenumbering[lntext]
\definelinenumbering[lntextandnullwidth]
\definelinenumbering[lntextandwidth]
\setuplinenumbering[lnbasic][]
\setuplinenumbering[lntext][locat
should do. I also include commented statements for the
startnarrower issue.
\setupdirections [bidi=on,method=two]
%\setupdirections [bidi=on]
\definelinenumbering[fail][location=text,width=.75em]
\definestartstop[bloccitel][before={\startlinenumbering[fail
Am 12.07.2012 um 15:57 schrieb Thomas A. Schmitz:
> On 07/09/2012 10:46 PM, Hans Hagen wrote:
>> btw, you can define linenumberings ...
>
> Hi Hans,
>
> I finally had time to play a bit with your code, and AFAICS, the settings for
> "before" and "aft
On 07/09/2012 10:46 PM, Hans Hagen wrote:
btw, you can define linenumberings ...
Hi Hans,
I finally had time to play a bit with your code, and AFAICS, the
settings for "before" and "after" in \definelinenumbering are quietly
ignored; at least, I get no blank lines:
|settings|name]
% \startlinenumbering[name][|continue|settings]
btw, you can define linenumberings ...
\definelinenumbering
[blocked]
[width=1cm,
location=text,
before={\blank[line]},
after={\blank[line]}]
\getrawparameters
[numberedblockquote]
[start=1]
\unexpanded\def
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
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
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 g
;
> Consider the following example. I want to define an environment, which,
> amongst other things does line numbering. I want the user to control the
> style and color of line numbering, so I define keys numberstyle and
> numbercolor, which are then passed on to the line numb
dtoks
\definelinenumbering
[\currentwhatever]
[
color=\whateverparameter{numbercolor},
style=\whateverparameter{numberstyle},
]%
\setvalue{start\currentwhatever}{\dostartwhatever[\currentwhatever]}%
\setvalue{stop\currentwhatever}{\dostopwhatever}
:
\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
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
On Thu, Feb 23, 2012 at 2:00 PM, Wolfgang Schuster
wrote:
> \definelinenumbering doesn’t use the commandhandler (see mult-aux.mkiv) but
> this can change.
Ah, right.
--
luigi
___
If your question is of inter
t in an error for
>> commands which
>> use the commandhandler (e.g. \definelayout[][…] vs.
>> \setuplayout[][…]).
> yes, infact It was only to show the interference... I'm not sure if
> it's a bug or not.
>
> Anyway for this case \setup
fact It was only to show the interference... I'm not sure if
it's a bug or not.
Anyway for this case \setup.. seems to inglobe \define...
\unexpanded\def\definelinenumbering
{\dosingleempty\dodefinelinenumbering}
\def\dodefinelinenumbering[#1]%
{\edef\currentlinenumbering{#1}%
\mk
34 matches
Mail list logo