Re: [NTG-context] is it possible to have first and last line numbers from page?

2012-03-06 Thread Pablo Rodríguez
On 05/03/12 11:39, Hans Hagen wrote: On 4-3-2012 11:20, Pablo Rodríguez wrote: \starttext \startlinenumbering \dorecurse{10}{\input zapf\par\input knuth} \stoplinenumbering \stoptext currently it's not possible but it's no big deal to add that feature at some point as it's a matter

Re: [NTG-context] is it possible to have first and last line numbers from page?

2012-03-06 Thread Pablo Rodríguez
; \stopluacode \stopsetups \setupheadertexts[\texsetup{linenumber}] \starttext \dorecurse{6}{\input tufte\par} \startlinenumbering \dorecurse{20}{\input knuth\par} \stoplinenumbering \startlinenumbering \dorecurse{20}{\input knuth\par} \stoplinenumbering \stoptext On page 7 lines are numbered

Re: [NTG-context] is it possible to have first and last line numbers from page?

2012-03-05 Thread Hans Hagen
On 4-3-2012 11:20, Pablo Rodríguez wrote: \starttext \startlinenumbering \dorecurse{10}{\input zapf\par\input knuth} \stoplinenumbering \stoptext currently it's not possible but it's no big deal to add that feature at some point as it's a matter of keeping track of first/last numbers

Re: [NTG-context] is it possible to have first and last line numbers from page?

2012-03-05 Thread luigi scarso
(tex.count.realpageno)] l=0; if array ==nil then return end; for _,_ in pairs(array) do l=l+1 end; if l0 then context( nr. ..array[1].. --- ..array[l]) end; \stopluacode \stopsetups \setupheadertexts[\texsetup{linenumber}] \starttext \dorecurse{6}{\input tufte\par} \startlinenumbering \dorecurse{20

[NTG-context] is it possible to have first and last line numbers from page?

2012-03-04 Thread Pablo Rodríguez
. The most basic sample would be: \starttext \startlinenumbering \dorecurse{10}{\input zapf\par\input knuth} \stoplinenumbering \stoptext Is that possible to achieve with ConTeXt? Many thanks for your help, Pablo -- http://www.ousia.tk

Re: [NTG-context] is it possible to have first and last line numbers from page?

2012-03-04 Thread Wolfgang Schuster
is extremely useful when typesetting some kinds of poetry. The most basic sample would be: \starttext \startlinenumbering \dorecurse{10}{\input zapf\par\input knuth} \stoplinenumbering \stoptext Is that possible to achieve with ConTeXt? Yes but it’s not usable because the numbers

[NTG-context] first and last line number on page

2012-03-03 Thread Pablo Rodríguez
Hi there, with the following sample: \starttext \startlinenumbering \dorecurse{10}{\input zapf\par\input knuth} \stoplinenumbering \stoptext I would like to have a header that contains the first and last line number on the page. Is there any way to do that? (The ConTeXt reference manual

[NTG-context] problem with \getparameters

2012-02-23 Thread Thomas A. Schmitz
any more successful): \definestartstop[mynumberedblockquote] [before={\blank[line] \setupindenting[no] \setuplinenumbering[width=1cm,start=\getvalue{testsetupsstart}] \startlinenumbering

Re: [NTG-context] problem with \getparameters

2012-02-23 Thread Wolfgang Schuster
}] \startlinenumbering}, after={\stoplinenumbering \setupindenting[yes] {\blank[line]} \par}] \def\startnumberedblockquote#1[#2]% {\getparameters[testsetups][start=1,#2

Re: [NTG-context] problem with \getparameters

2012-02-23 Thread Thomas A. Schmitz
On 02/23/2012 12:27 PM, Wolfgang Schuster wrote: \usemodule[annotation] \define[2]\NumberedblockquoteCommand {\setupindenting[no] \startlinenumbering[width=1cm][\annotationparameter{start}]% #2% \stoplinenumbering} \defineannotation [numberedblockquote] [alternative

Re: [NTG-context] problem with \getparameters

2012-02-23 Thread Wolfgang Schuster
Am 23.02.2012 um 12:42 schrieb Thomas A. Schmitz: On 02/23/2012 12:27 PM, Wolfgang Schuster wrote: \usemodule[annotation] \define[2]\NumberedblockquoteCommand {\setupindenting[no] \startlinenumbering[width=1cm][\annotationparameter{start}]% #2% \stoplinenumbering

Re: [NTG-context] problem with \getparameters

2012-02-23 Thread luigi scarso
On Thu, Feb 23, 2012 at 12:42 PM, Thomas A. Schmitz thomas.schm...@uni-bonn.de wrote: On 02/23/2012 12:27 PM, Wolfgang Schuster wrote: \usemodule[annotation] \define[2]\NumberedblockquoteCommand   {\setupindenting[no]    \startlinenumbering[width=1cm][\annotationparameter{start}]%    #2

Re: [NTG-context] problem with \getparameters

2012-02-23 Thread Thomas A. Schmitz
[no]% \startlinenumbering[width=1cm][\numberedblockquotestart]} \def\stopnumberedblockquote {\stoplinenumbering \endgroup \blank[line]} Wolfgang Many thanks, Wolfgang, that does exactly what I need! Thomas ___ If your question

[NTG-context] line numbers or margin data in headers

2012-02-19 Thread Pablo Rodríguez
] \starttext \startlinenumbering \dorecurse{50}{\input knuth\par} \stoplinenumbering \stoptext Many thanks for your help, Pablo -- http://www.ousia.tk ___ If your question is of interest to others as well, please add

[NTG-context] margin data prevent line numbering (latest beta)

2012-02-17 Thread Pablo Rodríguez
Hi Hans, many thanks for the new beta. I have noticed that margin data prevent the lines in which they are located to be numbered. Here you have a minimal example: \definemargindata[mgch] \setupmargindata[mgch][location=outer] \starttext \startlinenumbering \dorecurse{10}{\mgch{0}unnumbered

[NTG-context] questions on linenotes/notes

2012-02-11 Thread Pablo Rodríguez
] \setupnote[contextualiza][rule=off,paragraph=yes,numbercommand=,inbetween=\quad] \setupdescriptions[contextualiza][display=yes,location=serried,distance=.5em,] \starttext \startlinenumbering En un lugar\significa{lugar: place} de la Mancha\contextualiza{La Mancha: Spanish region}, de cuyo nombre

[NTG-context] line numbering and margin data

2012-02-10 Thread Pablo Rodríguez
Hi there, in the following sample, all lines are in a line numbering environment, but only those without margin data get actually numbered. \definemargindata[mgch] \setupmargindata[mgch][location=outer] \starttext \startlinenumbering \dorecurse{10}{\mgch[margin]unnumbered lines } \dorecurse{10

[NTG-context] bug with footnotes in latest beta?

2012-02-09 Thread Pablo Rodríguez
Hi there, I have the following sample: \definelinenote[dict] \setupnote[dict][rule=off,paragraph=yes,numbercommand=,inbetween=\quad] \setupdescriptions[dict][display=yes,location=serried,distance=.5em] \definemargindata[mgch][outer][hoffset=0.3em] \starttext \startlinenumbering \dorecurse{10

[NTG-context] bug on margin data and line numbering?

2012-01-26 Thread Pablo Rodríguez
\startlinenumbering \mgch{1}not so\dict{not} \stoplinenumbering \stoptext I'm using ConTeXt stable from TL 2011. Am I doing something wrong or have I hit a bug? Thanks for your help, Pablo -- http://www.oudeis.tk

[NTG-context] line numbers in header

2012-01-23 Thread Pablo Rodríguez
] \starttext \startlinenumbering \dorecurse{50}{\input knuth\par} \stoplinenumbering \stoptext What should I add instead of line--numbers? I have tried to search in the reference on the reference manual and the wiki, but I didn't find anything that could help. Many

[NTG-context] three issues with streams

2011-12-29 Thread Pablo Rodríguez
it. I expect ConTeXt to synchonize both streams in titles and paragraphs, but all I get is the Greek stream typeset before the Spanish stream. Is there no way to get ConTeXt synchronizing both streams automatically? How can I enable \startlinenumbering ... \stoplinenumbering in the poems themselves

[NTG-context] Two questions about sort lists

2011-12-24 Thread Vyatcheslav Yatskovsky
Hi! I have two questions about sort lists. 1) Is there a way to reset (empty) the sorting list, to reuse it several times? \definesorting[song][songs] \unexpanded\def\SongEntry#1#2#3% {#2 \crlf} \starttext \startlinenumbering \startlines \setupinterlinespace[big] \song{Sway} \song{Hit

[NTG-context] images and linenumbering

2011-11-15 Thread Martin Fechner
[location=outer,method=page] \starttext \placefigure[left,4*hang,none]{} {\externalfigure[cow][width=0.2\textwidth]} \startlinenumbering \input tufte \stoplinenumbering \placefigure[right,2*hang,none]{} {\externalfigure[cow][width=0.2\textwidth]} \startlinenumbering

Re: [NTG-context] footnotes and linenumbering

2011-11-14 Thread Martin Fechner
={\startlinenumbering[continue]},after={\stoplinenumbering}] \starttext \startlinenumbering \input knuth some text\footnote{the first footnote} more text\footnote{\dorecurse{10}{a very long footnote }} \stoplinenumbering \stoptext -- but only the whole footnotefigure has one linenumber and it doesn't

Re: [NTG-context] footnotes and linenumbering

2011-11-12 Thread Hans Hagen
On 11-11-2011 12:24, Martin Fechner wrote: Hi all, is it possible to have a linenumbering also in the footnotes? I tried it with -- \setuplinenumbering[method=page] \setupfootnotedefinition[location=serried] \setupfootnotes[before={\startlinenumbering[continue]},after={\stoplinenumbering

[NTG-context] footnotes and linenumbering

2011-11-11 Thread Martin Fechner
Hi all, is it possible to have a linenumbering also in the footnotes? I tried it with -- \setuplinenumbering[method=page] \setupfootnotedefinition[location=serried] \setupfootnotes[before={\startlinenumbering[continue]},after={\stoplinenumbering}] \starttext \startlinenumbering \input

[NTG-context] bug with floats and linenumbering (mkiv) ?

2011-09-28 Thread Martin Fechner
=120mm] \setuppagenumbering[alternative=doublesided] \setuplinenumbering[location=outer,method=page] \starttext \startlinenumbering \placefigure[left,1*hang,none]{} {\externalfigure[cow][width=0.2\textwidth]} \input tufte \placefigure[right,1*hang,none

Re: [NTG-context] endnotes/critical apparatus

2011-05-20 Thread Daniel Schopper
, n=2] \starttext \startlinenumbering That’s a \Apparatus{\bf qui\crlf te \page long lemma}{That’s a variant reading…}.\crlf And here comes \Apparatus{another one}{the second one}. \stoplinenumbering \placenotes[endnote] \stoptext Am 19.05.11 23:23, schrieb Wolfgang Schuster: Am

[NTG-context] endnotes/critical apparatus

2011-05-19 Thread Daniel Schopper
\page[right] \expandafter\input\jobname.en } \starttext \startlinenumbering That’s a \appEntry{\bf lemma}{That’s a variant reading…}. \input tufte\crlf But then there’s a blackrule \appEntry{\blackrule[width=5cm]\crlf and a linebreak}{-- which we don’t want to repeat in the apparatus

Re: [NTG-context] endnotes/critical apparatus

2011-05-19 Thread Wolfgang Schuster
{}\to\simplifiedcommands \appendtoks \def\bf{}\to\simplifiedcommands \setuplabeltext[en][lines=,line=] \setupnote [endnote] [textcommand=\gobbleoneargument, command=\gobbleoneargument] \starttext \startlinenumbering That’s a \Apparatus{\bf lemma}{That’s a variant reading…}. \input tufte

Re: [NTG-context] Fastcolor and linenumbering in MkII

2011-04-20 Thread Hans Hagen
On 20-4-2011 6:32, Aditya Mahajan wrote: Hi, In MkII, linenumbering stops working if \dostartattributes with a color is used inside; for example: \setupcolors[state=start] \getparameters[test][color=red,style=] \starttext \startlinenumbering \dostartattributes{test}{style}{color} Why

[NTG-context] Fastcolor and linenumbering in MkII

2011-04-19 Thread Aditya Mahajan
Hi, In MkII, linenumbering stops working if \dostartattributes with a color is used inside; for example: \setupcolors[state=start] \getparameters[test][color=red,style=] \starttext \startlinenumbering \dostartattributes{test}{style}{color} Why no number? \dostopattributes

Re: [NTG-context] counter values as label names

2011-01-04 Thread Daniel Schopper
in the label names would be inserted by a counter: \starttext \startlinenumbering This is a sample % % wrapper macro would start here \startline[line:1]\pagereference[page:1]lemma\stopline[line:1] \footnote{\at[page:1] \inline[line:1] some comment}% % and end here . \crlf

Re: [NTG-context] counter values as label names

2011-01-03 Thread Daniel Schopper
:\the\entrycounter] #1] #2}}% \advance\entrycounter by1% \starttext\startlinenumbering This is a sample \appentry{paragraph}{om. h1}.\\ An this is another \appentry{one}{sentence}. \stoplinenumbering \bigskip Endnotes \placefootnotes \stoptext Finally: is the format of your apparatus

Re: [NTG-context] counter values as label names

2011-01-03 Thread Thomas A. Schmitz
:\the\entrycounter]% #1% \stopline[line:\the\entrycounter]% \footnote{{\bf \at[page:\the\entrycounter]} \inline[line:\the\entrycounter] #1] #2}}% \advance\entrycounter by1% \starttext\startlinenumbering This is a sample \appentry{paragraph}{om. h1}.\\ An this is another \appentry

Re: [NTG-context] counter values as label names

2011-01-03 Thread Aditya Mahajan
\at[page:\the\entrycounter]} \inline[line:\the\entrycounter] #1] #2}}% \advance\entrycounter by1% \starttext\startlinenumbering This is a sample \appentry{paragraph}{om. h1}.\\ An this is another \appentry{one}{sentence}. \stoplinenumbering \bigskip Endnotes \placefootnotes \stoptext

[NTG-context] Hook environment into head/structure setup

2010-11-15 Thread Andreas Harder
Hi all, I don't think it is yet possible, but it would be nice if there was something like: \setuphead % or perhaps \setupstructure [chapter] [beforestructure=\startlinenumbering, afterstructure=\stoplinenumbering] Which should result in: \startlinenumbering \startchapter[title=test

Re: [NTG-context] Verbatim typing with numbers inside float

2010-10-06 Thread Hans Hagen
semantically correct approach. Any help appreciated. this sort of works \startbuffer some source code some source code some source code \stopbuffer \setuplinenumbering[style=\ttx,distance=0em,width=1em] \startsetups algorithm \startlinenumbering \setuptyping[file][before=,after=] \framed

Re: [NTG-context] present state of critical editions with ConTeXt MKIV ?

2010-10-04 Thread Hans Hagen
] \startlinenumbering[100] test \linenote {\startlemma{oeps 1} \input tufte\stoplemma} test test test test test test test \startlinenote [well] {oeps X} test test test test test test test \linenote {oeps 2} test test test test test test test \linenote {oeps 3} test test test test test test test

Re: [NTG-context] Problems with Mark IV (MacTeX 2009)

2010-06-25 Thread David Abdurachmanov
, but behavior is different. All my line numberings are gone. Looks like \startlinenumbering only numbers that lines that are longer and does not fit to the page. If the line is shorter it's not numbered. Mostly all lines at the end of paragraph are not numbered and source code examples too

Re: [NTG-context] Problems with Mark IV (MacTeX 2009)

2010-06-25 Thread Hans Hagen
sign is that ConTeXt works without problems, but behavior is different. All my line numberings are gone. Looks like \startlinenumbering only numbers that lines that are longer and does not fit to the page. If the line is shorter it's not numbered. Mostly all lines at the end of paragraph

Re: [NTG-context] Problems with Mark IV (MacTeX 2009)

2010-06-25 Thread David Abdurachmanov
. Looks like \startlinenumbering only numbers that lines that are longer and does not fit to the page. If the line is shorter it's not numbered. Mostly all lines at the end of paragraph are not numbered and source code examples too. Is that default behavior in latest version? I am still new

[NTG-context] Sorting the content of \startlines

2010-04-24 Thread Vyatcheslav Yatskovsky
Hello, Is there a way to sort the content of \startlines envinroment by the alphabet? I have a list of songs in arbitrary order, and what to output it in alphabetical one. ex.: \starttext \subject{My set-list} \startcolumns\startlinenumbering\startlines Fly me to the moon Hit the road jack

Re: [NTG-context] page-break

2010-04-23 Thread Jörg Hagmann
. AMA meldet die Beobachtung eines Ind. am 8.6. in der PCA und KEL eines Ind. am 21.6. in Iselisboden bei Hésingue. OES sah am 3.7. 1 Ind. in einer Buntbrache zwischen Reinach und Aesch. \stoplines %\stoplinenumbering \section{Nachträge zum Jahresbericht 2007} %\startlinenumbering S. 29

[NTG-context] page-break

2010-04-20 Thread Jörg Hagmann
. in der PCA und KEL eines Ind. am 21.6. in Iselisboden bei Hésingue. OES sah am 3.7. 1 Ind. in einer Buntbrache zwischen Reinach und Aesch. \stoplines %\stoplinenumbering \section{Nachträge zum Jahresbericht 2007} %\startlinenumbering S. 29 Goldhähnchenlaubsänger -- Pouillot de Pallas

[NTG-context] Line numbering in columns

2010-03-31 Thread Vyatcheslav Yatskovsky
Hello, I'm just curious, why line mumbers appear mirrored (on the right side of text) in the rightmost column? \starttext \startcolumns\startlinenumbering\startlines Fly me to the moon Hit the road jack Sway Libertango Sunny Besame mucho (Em) La Bamba Hey-na-na-na Venus (Dm) El Talisman Oye

[NTG-context] Indent after \startline[… ]

2009-12-16 Thread Andreas Harder
\blank \startlinenumbering \startline[lin:1] \NoIndent \getbuffer \stopline[lin:1] \NoIndent \getbuffer \stoplinenumbering \blank \getbuffer \stoptext To make myself clear, I want indenting but not inside the linenumbering-environment. I tried already to play with \setuplinenumbering

Re: [NTG-context] Indent after \startline[…]

2009-12-16 Thread Wolfgang Schuster
, } \par } \stopbuffer \starttext \showframe \getbuffer \blank \startlinenumbering \startline[lin:1] \NoIndent \getbuffer \stopline[lin:1] \NoIndent \getbuffer \stoplinenumbering \blank \getbuffer \stoptext To make myself clear, I want indenting but not inside

Re: [NTG-context] Indent after \startline[…]

2009-12-16 Thread Andreas Harder
} \startbuffer \dorecurse{3}{\dorecurse{10}{some text, } \par } \stopbuffer \starttext \showframe \getbuffer \blank \startlinenumbering \startline[lin:1] \NoIndent \getbuffer \stopline[lin:1] \NoIndent \getbuffer \stoplinenumbering \blank \getbuffer \stoptext To make myself

Re: [NTG-context] \inline[…]

2009-11-07 Thread Hans Hagen
not help. \starttext \startlinenumbering \someline[a]We thrive in information--thick worlds because of our marvelous and everyday ca-pacity to select, …\someline[b] \stoplinenumbering \inline[a] or \inline[b] \stoptext should work ok in beta

[NTG-context] Error with the new luatex

2009-10-30 Thread Alain Delmotte
Hi! I could compile the following document (part of it givne here): == \starttext \startlinenumbering Thus, I came to the conclusion that the designer of a new system must not only be the implementer and first large--scale user;\someline[here] the designer should also write

[NTG-context] Error with \inline[…]

2009-10-29 Thread Andreas Harder
Hello Hans. With the current beta referencing lines is broken again. It used to work yesterday. Here is a test file and the error message: \starttext \startlinenumbering \input tufte \someline[lin:b] \startline[lin:a] \input tufte \stopline[lin:a] \stoplinenumbering \inline[lin:b

Re: [NTG-context] \starbuffer in own macros

2009-10-18 Thread Wolfgang Schuster
]\stoplines \savebuffer[#1]}% \dostartbuffer[#1][startMyCite][stopMyCite]} \def\getMyCite[#1]% {\doifreferencefoundelse{lr:b:#1} {\startlinenumbering[\currentreferencedefault]} \startlinenumbering \startlines\readfile{\jobname-#1.tmp}{}{}\stoplines \stoplinenumbering

[NTG-context] Line Numbering and References

2009-10-14 Thread Andreas Harder
Hello all, I have a problem with referencing from a line numbered text. In page-lin.mkiv I've found the \inline-command, but I can't make use of it: \starttext \startlinenumbering Hello \textreference[ref]{} World! \stoplinenumbering \inline[ref] % output: line ?? \stoptext What I really

Re: [NTG-context] Line Numbering and References

2009-10-14 Thread Wolfgang Schuster
wrong with the \mksomelinereference command and 'ctxlua' with it's argument appears in the text. \starttext \startlinenumbering Thus, I came to the conclusion that the designer of a new system must not only be the implementer and first large--scale user;\someline [here] the designer should also

Re: [NTG-context] paragraph question

2009-03-06 Thread Hans Hagen
\the\linenumber)} \linenumber=0\relax} \parnumber=0\relax} \setuphead[chapter][page=,after={\myCounters}] \starttext \chapter{Chapter 0} Only one line. \dorecurse{2}{\chapter{Chapter #1}\input knuth} \stoptext \startlinenumbering \input tufte \stoplinenumbering

Re: [NTG-context] paragraph question

2009-03-06 Thread Alan Stone
On Fri, Mar 6, 2009 at 3:05 PM, Hans Hagen pra...@wxs.nl wrote: [...] \startlinenumbering \input tufte \stoplinenumbering Ok, my question was a bit ambiguous... I was not looking to number lines, but to count lines using EveryLine within EveryPar, aka the paragraph counter \parnumber

Re: [NTG-context] footnote and linenumbering

2009-01-04 Thread Wolfgang Schuster
Am 02.01.2009 um 16:58 schrieb Thomas Engel: Hello, I have problems with footnote in an area with \startlinenumbering -- \stoplinenumbering. No footnote will be generated. Is this an error? Or it is not possible to use footnote within linenumbering? It's a side effect of the MkII code

[NTG-context] footnote and linenumbering

2009-01-03 Thread Thomas Engel
Hello, I have problems with footnote in an area with \startlinenumbering -- \stoplinenumbering. No footnote will be generated. Is this an error? Or it is not possible to use footnote within linenumbering? I'm working with Context 2008.05.21 Thanks Thomas

[NTG-context] Reset linenumbers on each page

2008-12-17 Thread Wolfgang Schuster
Hi, How can I reset the linenumber on each new page. \starttext \startlinenumbering \dorecurse{10}{\input knuth\par} \stoplinenumbering \stoptext Wolfgang ___ If your question is of interest to others as well

Re: [NTG-context] looking for equivalence to LaTeX algorithm package

2008-12-01 Thread Richard Rascher-Friesenhausen
=screen,offset=none] % \setuplinenumbering[location=intext] % \startlinenumbering #1 % \stoplinenumbering \stopframedtext } %D names \def\algorithmicend{{\bf end}} \def\algorithmicif{{\bf if}} \def\algorithmicthen{{\bf then}} \def\algorithmicelse{{\bf else}} \def\algorithmicelseif

Re: [NTG-context] Listings

2008-09-28 Thread Wolfgang Schuster
=luatex \setuplinenumbering[location=text] \showframe \starttext \startlinenumbering A line of text with the line number. \stoplinenumbering \stoptext 3. Is there a way to supress the 'there is nothing to split' warning? It's a bug, I will look for a solution (the caption has to be fixed

Re: [NTG-context] Listings

2008-09-28 Thread Wolfgang Schuster
. Test file for Hans: % engine=luatex \setuplinenumbering[location=text] \showframe \starttext \startlinenumbering A line of text with the line number. \stoplinenumbering \stoptext 3. Is there a way to supress the 'there is nothing to split' warning? It's a bug, I will look

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
\startline[reference] \stopline \startlinecorrection \stoplinecorrection \startlinenumbering[continue] \stoplinenumbering \startlines \stoplines \startlocal \stoplocal \startlocalenvironment \stoplocalenvironment \startlocalfootnotes \stoplocalfootnotes # \startlocalsetups \stoplocalsetups

Re: [NTG-context] Quickie about Line Numbering

2007-11-23 Thread Thomas A. Schmitz
On Fri, 2007-11-23 at 21:46 +0100, Matthias Wächter wrote: Hi! Just wondering how I can manage to number all the lines of my document. Thought that this would work but it actually doesn't. \starttext \startlinenumbering \chapter{First} A paragraph Another paragraph. \chapter

[NTG-context] Quickie about Line Numbering

2007-11-23 Thread Matthias Wächter
Hi! Just wondering how I can manage to number all the lines of my document. Thought that this would work but it actually doesn't. \starttext \startlinenumbering \chapter{First} A paragraph Another paragraph. \chapter{Second} Wait and see---nothing. \stoplinenumbering \stoptext

Re: [NTG-context] Law/Jurisdiction typesetting

2007-07-06 Thread Steffen Wolfrum
] %\startlinenumbering \section{bloo} \input knuth \section{blah} \input knuth \par \setupparagraphnumbering[state=stop] \input tufte \par \blank \dorecurse{2}{\input tufte \par} \blank \par \setupparagraphnumbering[state=start,color=red] \dorecurse{4}{\input tufte \par} \stoptext Does anybody now have

[NTG-context] question about linenotes

2006-11-05 Thread Thomas A. Schmitz
I'm playing with (and happy about) linenotes; I'm just running into one small (?) problem. Here's a testfile: \starttext % \setuplinenumbering[location=intext,step=2] \startlinenumbering Long and boring text that has \linenote{note one} no other sense than demonstrating a problem

Re: [NTG-context] question about linenotes

2006-11-05 Thread Hans Hagen
Thomas A. Schmitz wrote: I'm playing with (and happy about) linenotes; I'm just running into one small (?) problem. Here's a testfile: \starttext % \setuplinenumbering[location=intext,step=2] \startlinenumbering Long and boring text that has \linenote{note one} no other sense than

Re: [NTG-context] [Fwd: Line numbering]

2006-09-07 Thread Hans Hagen
? } \protect \starttext \startcolumns \setuplinenumbering[location=inleft] \startlinenumbering \input knuth \stoplinenumbering \column \setuplinenumbering[location=inright] \startlinenumbering[continue] \input knuth \stoplinenumbering \stopcolumns \stoptext

Re: [NTG-context] [Fwd: Line numbering]

2006-09-06 Thread Aditya Mahajan
\setuplinenumbering[location=inleft] \startlinenumbering \input knuth \stoplinenumbering \column \setuplinenumbering[location=inright] \startlinenumbering[continue] \input knuth \stoplinenumbering \stopcolumns \stoptext Aditya

Re: [NTG-context] typing and linenumbering

2006-03-16 Thread Taco Hoekwater
,% step=2,start=3,location=inmargin,method=type] \startframelisting \obeylines \startlinenumbering}, after={\stoplinenumbering\stopframelisting\endgroup}] Is there a way to achieve this in a more integrated way with the typing

Re: [NTG-context] typing and linenumbering

2006-03-16 Thread nico
] \startframelisting \obeylines \startlinenumbering}, after={\stoplinenumbering\stopframelisting\endgroup}] Ah, yes, the method=type option helps much. The behaviour is quite strange with intext. Is it an official option? The other side effect

Re: [NTG-context] typing and linenumbering

2006-03-16 Thread Hans Hagen
] \startframelisting \obeylines \startlinenumbering}, after={\stoplinenumbering\stopframelisting\endgroup}] Ah, yes, the method=type option helps much. The behaviour is quite strange with intext. Is it an official option

[NTG-context] typing and linenumbering

2006-03-15 Thread nico
] \startframelisting\startlinenumbering}, after={\stoplinenumbering\stopframelisting}] % after={\stoplinenumbering\setuplinenumbering[reset]}] \startprog first line: blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah

[NTG-context] linenumbering

2006-01-14 Thread Thomas A. Schmitz
All, I have a document with several sections and would like to have lines numbered consecutively across all sections. However, when the \startlinenumbering ... stoplinenumbering spans a \section command, it doesn't work any longer; lines are not numbered. Is there a solution

[NTG-context] Lettrine Problems

2005-09-30 Thread Marcus Vinicius Mesquita de So
,Nindent=0pt] \setupspacing[packed] \setuplinenumbering[start=1,step=5,style=\tfx] \setupindenting[medium] \setupindenting[medium] \starttext \language[pt] \startlinenumbering \lettrine{N}{aquele dia}, --- já lá vão dez anos! --- o Dr. Félix levantou-se tarde, abriu a janela e cumprimentou

Re: [NTG-context] how to number poetry?

2005-07-18 Thread Hans Hagen
) % this will switch off line numbering, make a new line % and switch line numbering on again \def\\{\isemptyline=1\crlf\isemptyline=0} \obeylines \dorecurse{30}{the text goes here\par} \setuplinenumbering [start=2, step=2, distance=-1em] \startlinenumbering \startlines \fakewords{5}{8} \fakewords{5

Re: [NTG-context] paragraph enumeration

2005-04-27 Thread Adam Lindsay
have the configuration options that allow the numbers to be set in the text, but it strikes me as a good departure. You don't have to turn it off for headings, either: \starttext \showframe \setupcolors[state=start] \setupparagraphnumbering[state=start,style=italic,distance=0pt] %\startlinenumbering

[NTG-context] Line numbering and drop caps

2005-04-06 Thread Marcus Vinicius Mesquita de Sousa
] \starttext \startlinenumbering \MyDroppedCaps Text test prestou—se às expansões do parasita. Lívia contemplava o noivo com adoração. Para ambos eles o mundo inteiro havia desaparecido. Inteiro não; Viana fez casualmente alusão a Raquel, e essa intempestiva recordação entristeceu a moça. Ela via que a sua

Re: [NTG-context] critical editions in context

2005-03-16 Thread h h extern
\increment\DummyNumber % else dups due to reuse \startlinenumbering[100] test \linenote {oeps} test test test test test test test \startlinenote [well:\DummyNumber] {oeps} test test test test test test test \linenote {oeps} test test test test test test test \extralinenote {oeps} test test test test

Re: [NTG-context] numbering lines

2005-02-21 Thread Thomas A . Schmitz
\setuplinenumbering[step=5,location=inmargin] \startlinenumbering [and don't forget the \stoplinenumbering at the end, or ConTeXt will complain] Best Thomas On Feb 21, 2005, at 8:49 PM, Ciro A. Soto wrote: is there a quick way to generate the number of each line in the margin of the page? thank

Re: [NTG-context] Re: \startlinenumbering and \starttyping

2004-06-14 Thread Hans Hagen
Nikolai Weibull wrote: * Patrick Gundlach [EMAIL PROTECTED] [Jun 11, 2004 19:00]: What is your def of \startfiletyping? Argh, should have sticked to the original example - copy and pasted... Anyway, it is equivalent to \startlinenumbering \starttyping Kenneth Brown recent conduct has been

[NTG-context] \startlinenumbering and \starttyping

2004-06-11 Thread Nikolai Weibull
I hope I'm missing something, because these commands don't seem to interact flawlessly. What I do now is \startlinenumbering \startfiletyping Kenneth Brown recent conduct has been rather unacceptable in my humble opinion. It is, perhaps, not a coincidence that his last name is the name

[NTG-context] Re: \startlinenumbering and \starttyping

2004-06-11 Thread Patrick Gundlach
Nikolai Weibull [EMAIL PROTECTED] writes: I hope I'm missing something, because these commands don't seem to interact flawlessly. What I do now is \startlinenumbering ! Undefined control sequence. recently read \startfiletyping l.3 \startfiletyping

[NTG-context] Re: \startlinenumbering and \starttyping

2004-06-11 Thread Patrick Gundlach
Hello Nikolai, Argh, should have sticked to the original example - copy and pasted... Anyway, it is equivalent to [...] Sorry, your file works fine here, except that there is no \starttext...\stoptext pair. No error/overfull box/... ... systems: begin file test at line 1

[NTG-context] Re: \startlinenumbering and \starttyping

2004-06-11 Thread Nikolai Weibull
* Patrick Gundlach [EMAIL PROTECTED] [Jun 11, 2004 19:30]: Please post a minimal file that is *complete* (!!) and shows the error /warning you get. I tried producing one, but it didn't give. Weird, I can't understand why it gets messed up. Oh well, such is life. nikolai -- ::: name:

<    1   2   3