From: Andreas Harder <aharder@uni-koblenz.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Line Numbering and References
Date: Wed, 14 Oct 2009 11:54:22 +0200 [thread overview]
Message-ID: <CCF046BA-DC2F-4D56-AB7E-1147E0A3B7DB@uni-koblenz.de> (raw)
In-Reply-To: <E50B8C06-72CE-4C40-89F6-B83807D4AD89@googlemail.com>
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 want to achieve is something like the following:
\starttext
\startlinenumbering
This ist a long transcription from an interview with line
numbers. % #1
\startMyCite[test]
This ist a long transcription from an interview with line
numbers. % #2
This ist a long transcription from an interview with line
numbers. % #3
\stopMyCite
This ist a long transcription from an interview with line
numbers. % #4
\stoplinenumbering
And now \getMyCite[test] should output:
\startblockquote
This ist a long transcription from an interview with line numbers.
% #2
This ist a long transcription from an interview with line numbers.
% #3
\stopblockquote (lines 2--3)
\stoptext
Is something like this possible in ConTeXt and if yes how?
Thanks for your help!
Greetings,
Andreas
___________________________________________________________________________________
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:[~2009-10-14 9:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1.1254823203.32637.ntg-context@ntg.nl>
2009-10-06 19:02 ` footnote Wolfgang Werners-Lucchini
2009-10-13 17:20 ` footnotes Wolfgang Werners-Lucchini
2009-10-13 17:44 ` footnotes Wolfgang Schuster
2009-10-14 9:54 ` Andreas Harder [this message]
2009-10-14 12:23 ` Line Numbering and References Wolfgang Schuster
2009-10-14 12:45 ` Andreas Harder
2009-10-16 11:53 ` Hans Hagen
2009-10-16 12:25 ` Andreas Harder
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=CCF046BA-DC2F-4D56-AB7E-1147E0A3B7DB@uni-koblenz.de \
--to=aharder@uni-koblenz.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).