[NTG-context] Re: registers in footnotes as page glossaries

2024-08-31 Thread M U via ntg-context
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

[NTG-context] columns yet again

2020-09-13 Thread Thomas A. Schmitz
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

Re: [NTG-context] line numbering within frame

2020-01-25 Thread Wolfgang Schuster
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 >

Re: [NTG-context] line numbering within frame

2020-01-24 Thread Tomas Hala
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

Re: [NTG-context] line numbering within frame

2020-01-24 Thread Thomas A. Schmitz
’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

Re: [NTG-context] line numbering within frame

2020-01-23 Thread Thomas A. Schmitz
> 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

Re: [NTG-context] line numbering within frame

2020-01-23 Thread Wolfgang Schuster
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?

Re: [NTG-context] line numbering within frame

2020-01-23 Thread Tomas Hala
numbering systems. I hit a similar problem in 2016, and Wolfgang provided a solution (defining different numbering environment). However, this does not work within a frame. The example shows the problem: # # \starttext # # % This works: # \definelinenumbering[One] #\setuplinenumbering[One

[NTG-context] line numbering within frame

2020-01-23 Thread Thomas A. Schmitz
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] position of linenumbering

2016-10-12 Thread Hans Hagen
. 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"

Re: [NTG-context] position of linenumbering

2016-10-12 Thread Thomas A. Schmitz
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

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 d

Re: [NTG-context] position of linenumbering

2016-10-12 Thread Wolfgang Schuster
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

Re: [NTG-context] line number overwriting

2015-05-01 Thread Wolfgang Schuster
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

Re: [NTG-context] line number overwriting

2015-04-29 Thread Wolfgang Schuster
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

Re: [NTG-context] line number overwriting

2015-04-29 Thread Pierre-François Bonnefoi
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

Re: [NTG-context] Bugs in linenumbering ?

2014-04-03 Thread Stéphane Goujet
>> Here we have a footnote \footnote{% > >> \startlinenumbering > >> \input tufte > > A few numbers : 012345679. > >> \par % somehow needed > >> \stoplinenumbering > >> } > >> \stoptext > As to the

Re: [NTG-context] Bugs in linenumbering ?

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

Re: [NTG-context] Bugs in linenumbering ?

2014-04-03 Thread Hans Hagen
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

[NTG-context] Bugs in linenumbering ?

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

Re: [NTG-context] Linenumbering and bidi

2014-03-28 Thread Rik Kabel
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

Re: [NTG-context] linenumbering

2012-07-12 Thread Wolfgang Schuster
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

Re: [NTG-context] linenumbering

2012-07-12 Thread 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 "after" in \definelinenumbering are quietly ignored; at least, I get no blank lines:

Re: [NTG-context] linenumbering

2012-07-09 Thread Hans Hagen
|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

Re: [NTG-context] Bug with linenumbering

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

Re: [NTG-context] Bug with linenumbering

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

Re: [NTG-context] Bug with linenumbering

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

Re: [NTG-context] Bug with linenumbering

2012-05-03 Thread Wolfgang Schuster
; > 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

Re: [NTG-context] Bug with linenumbering

2012-05-02 Thread Aditya Mahajan
dtoks \definelinenumbering [\currentwhatever] [ color=\whateverparameter{numbercolor}, style=\whateverparameter{numberstyle}, ]% \setvalue{start\currentwhatever}{\dostartwhatever[\currentwhatever]}% \setvalue{stop\currentwhatever}{\dostopwhatever}

Re: [NTG-context] Bug with linenumbering

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

[NTG-context] Bug with linenumbering

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

Re: [NTG-context] problem with \getparameters

2012-02-23 Thread luigi scarso
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

Re: [NTG-context] problem with \getparameters

2012-02-23 Thread Wolfgang Schuster
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

Re: [NTG-context] problem with \getparameters

2012-02-23 Thread luigi scarso
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