From: "Joshua Krämer" <joshua.kraemer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: ntg-context-wvrSQK3plZs@public.gmane.org
Subject: textreference in a protocol (minutes)
Date: Mon, 11 Nov 2013 16:05:54 +0000 (UTC) [thread overview]
Message-ID: <l5qv92$99h$1@ger.gmane.org> (raw)
Dear list members,
I use ConTeXt MkIV to typeset the protocol (minutes) of a meeting. In my
macros, I use \textreference and \about to reuse the text from the agenda
list in the actual sections. It's like the regular table of contents,
but reversed (see the below MWE). I do it like that because sometimes
entries in the agenda list are skipped in the meeting, and that means
they have to appear in the agenda list, but there is no corresponding
section. Now my problem is that the \textreference content is cut off if
it is too long, as seen in the below MWE. How can I disable the
cropping? Additionally, if somebody can think of a better solution than
my \textreference approach, please let me know.
Thank you,
Joshua Krämer
Minimal Working Example:
\def\Agendaentry#1#2{\sym{#1}\textreference[Agendaentry#1]{#2}#2}
\setupreferencing[left={},right={}]
\newcount\Agendaentrynr
\def\Agendasection#1%
{%
\Agendaentrynr=#1%
\advance\Agendaentrynr -1\relax
\setupheadnumber[section][\the\Agendaentrynr]%
\section{\about[Agendaentry#1]}%
}
\starttext
Agenda
\startitemize
\Agendaentry{4}{Berichte des Vorsitzers, des Schatzmeisters und des
Schriftleiters}
\stopitemize
\Agendasection{4}
\input zapf
\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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
reply other threads:[~2013-11-11 16:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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='l5qv92$99h$1@ger.gmane.org' \
--to=joshua.kraemer-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=ntg-context-wvrSQK3plZs@public.gmane.org \
/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).