From: "Thomas A. Schmitz" <thomas.schmitz@uni-bonn.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: linenumbering
Date: Thu, 12 Jul 2012 15:57:22 +0200 [thread overview]
Message-ID: <4FFED7C2.9000808@uni-bonn.de> (raw)
In-Reply-To: <4FFB4337.1050607@wxs.nl>
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:
\definelinenumbering
[blocked]
[width=1cm,
location=text,
before={\blank[line]},
after={\blank[line]}]
\getrawparameters
[numberedblockquote]
[start=1]
\unexpanded\def\startnumberedblockquote
{\dosingleempty\dostartnumberedblockquote}
\def\dostartnumberedblockquote[#1]%
{\begingroup
\setupindenting[no]%
\getrawparameters[numberedblockquote][#1]%
\startlinenumbering[blocked][start=\numberedblockquotestart]}
\unexpanded\def\stopnumberedblockquote
{\stoplinenumbering
\endgroup}
\starttext
\input tufte
\startnumberedblockquote[start=3]
\input knuth
\stopnumberedblockquote
\input tufte
\stoptext
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
___________________________________________________________________________________
next prev parent reply other threads:[~2012-07-12 13:57 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Thomas A. Schmitz [this message]
2012-07-12 20:34 ` linenumbering Wolfgang Schuster
2012-07-14 15:09 ` linenumbering Thomas A. Schmitz
-- strict thread matches above, loose matches on Subject: below --
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
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
2006-01-14 12:18 linenumbering Thomas A. Schmitz
2006-01-15 18:14 ` linenumbering Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FFED7C2.9000808@uni-bonn.de \
--to=thomas.schmitz@uni-bonn.de \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).