ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* linenumbering
@ 2006-01-14 12:18 Thomas A. Schmitz
  2006-01-15 18:14 ` linenumbering Hans Hagen
  0 siblings, 1 reply; 17+ messages in thread
From: Thomas A. Schmitz @ 2006-01-14 12:18 UTC (permalink / raw)


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 or a workaround?

Thanks, and best

Thomas

^ permalink raw reply	[flat|nested] 17+ messages in thread
* Linenumbering
@ 2012-05-25  8:07 Willi Egger
  2012-05-25  8:48 ` Linenumbering Hans Hagen
  0 siblings, 1 reply; 17+ messages in thread
From: Willi Egger @ 2012-05-25  8:07 UTC (permalink / raw)
  To: NTG-Context ConTeXt users

Hi all,

may be i am mistaken, but I can't get line numbering to show in the beta of yesterday afternoon.

\starttext
\setuplinenumbering[step=5,location=intext]
\startlines
Een nieuwe lente en een nieuw geluid:
Ik wil dat dit lied klinkt als het gefluit,
Dat ik vaak hoorde voor een zomernacht,
In een oud stadje, langs de watergracht ---
In huis was 't donker, maar de stille straat
Vergaarde schemer, aan de lucht blonk laat
Nog licht, er viel een gouden blanke schijn
Over de gevels van mijn raamkozijn.
\stoplines
\stoptext

It compiles ok, no error messages.


Willi
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 17+ messages in thread
* linenumbering
@ 2012-07-09 18:50 Thomas A. Schmitz
  2012-07-09 20:46 ` linenumbering Hans Hagen
  0 siblings, 1 reply; 17+ messages in thread
From: Thomas A. Schmitz @ 2012-07-09 18:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users

OK, here's another one. For the code, I must admit: 
http://www.alyssahiba.com/wp-content/uploads/2012/02/no-idea-what-im-doing-dog.jpg

I think it was the Wolfgang who helped me with this a couple of months 
ago. I want a start/stop pair that will take as an argument a key-value 
to set 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]%
    \setuplinenumbering[location=text]
    \startlinenumbering[width=1cm][\numberedblockquotestart]}

\def\stopnumberedblockquote
   {\stoplinenumbering
    \endgroup
    \blank[line]}

\starttext

\startnumberedblockquote[start=3]

\input knuth

\stopnumberedblockquote

\stoptext

This works with 2012.06.30 12:32, but not with 2012.07.07 15:04.

All best

Thomas
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 17+ messages in thread
* Linenumbering
@ 2014-04-09 22:46 MANUEL GONZALEZ SUAREZ
  2014-04-15  6:58 ` Linenumbering Hans Hagen
  0 siblings, 1 reply; 17+ messages in thread
From: MANUEL GONZALEZ SUAREZ @ 2014-04-09 22:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 930 bytes --]

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

\section{Second section}

\startlinenumbering



text text text

\stoplinenumbering

\stoptext

The problem is that although appears the option [method = page], numbering begins at the beginning of each section. I would like the title of the section does not appear as numbered line but continue after the title the above numbering, e.e.:



\startlinenumbering

\section{First section} no numbered line

Numbered line (1)

Numbered line (2)

\section{Second section} no numbered line

Numbered line (3)

Numbered line (4)

...

\stoplinenumbering



Thanks very much?


[-- Attachment #1.2: Type: text/html, Size: 4161 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2014-04-23  8:06 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-14 12:18 linenumbering Thomas A. Schmitz
2006-01-15 18:14 ` linenumbering Hans Hagen
2012-05-25  8:07 Linenumbering Willi Egger
2012-05-25  8:48 ` Linenumbering Hans Hagen
2012-05-25 10:30   ` Linenumbering Willi Egger
2012-05-25 10:33     ` Linenumbering Willi Egger
2012-05-25 11:59       ` Linenumbering Rogers, Michael K
2012-05-25 15:19         ` Linenumbering Willi Egger
2012-07-09 18:50 linenumbering Thomas A. Schmitz
2012-07-09 20:46 ` linenumbering Hans Hagen
2012-07-10  5:43   ` linenumbering Thomas A. Schmitz
2012-07-12 13:57   ` linenumbering Thomas A. Schmitz
2012-07-12 20:34     ` linenumbering Wolfgang Schuster
2012-07-14 15:09       ` linenumbering Thomas A. Schmitz
2014-04-09 22:46 Linenumbering MANUEL GONZALEZ SUAREZ
2014-04-15  6:58 ` Linenumbering Hans Hagen
2014-04-23  8:06   ` Linenumbering MANUEL GONZALEZ SUAREZ

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).