From: Steffen Wolfrum <context@st.estfiles.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: runner (was: Law/Jurisdiction typesetting)
Date: Sun, 8 Jul 2007 21:46:47 +0200 [thread overview]
Message-ID: <20070708214647680606.5bfb9b79@st.estfiles.de> (raw)
In-Reply-To: <20070708123012.7b22c63e.schuster.wolfgang@googlemail.com>
Thank you Wolfgang.
This was the easy part ...
... but do you also know how to implement in ConTeXt the real usage of runner – what I have described when starting this thread?
[Is it understandable what I am looking for? Otherwise I can contact you privately in German.]
Steffen
On Sun, 8 Jul 2007 12:30:12 +0200, Wolfgang Schuster wrote:
> On Sat, 7 Jul 2007 20:03:30 +0200
> Steffen Wolfrum <context@st.estfiles.de> wrote:
>
>> Hi,
>>
>> now I found something (for LaTeX) that looks like exactly what I mean:
>>
>> a "runner"
>>
>> see
>> http://www.ctan.org/tex-archive/macros/latex/contrib/juramisc/doc/jmgerdoc.pdf
>> , page 20:
>> "\rn[ (Marke) ] { (erstes Wort) }
>> rn steht für Randnummer oder für runner, der englischen Bezeichnung
>> für Randziffern."
>>
>>
>> Does someone know how to do this in ConTeXt?
>> Steffen
>
> \unprotect
>
> \newcounter\rn!counter
>
> \def\rn{\dosingleempty\dorn}
>
> \def\dorn[#1]#2%
> {\doglobal\increment\rn!counter
> \iffirstargument
> \reference[#1]{\rn!counter}
> \fi
> \dontleavehmode\llap{\rn!counter\quad}}
>
> \protect
>
> \starttext
>
> Wolfgang
>
> \rn text text
>
> \rn[rn:one] text text
>
> see \in{runner}[rn:one] \unknown
>
> \rn text text
>
> \stoptext
> ___________________________________________________________________________________
> 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 : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2007-07-08 19:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-05 15:41 Law/Jurisdiction typesetting Steffen Wolfrum
2007-07-06 16:23 ` Steffen Wolfrum
2007-07-07 18:03 ` runner (was: Law/Jurisdiction typesetting) Steffen Wolfrum
2007-07-07 19:53 ` Aditya Mahajan
2007-07-08 10:30 ` Wolfgang Schuster
2007-07-08 19:46 ` Steffen Wolfrum [this message]
2007-07-09 6:04 ` Wolfgang Schuster
2007-07-09 11:20 ` Steffen Wolfrum
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=20070708214647680606.5bfb9b79@st.estfiles.de \
--to=context@st.estfiles.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).