ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* textreference in a protocol (minutes)
@ 2013-11-11 16:05 Joshua Krämer
  0 siblings, 0 replies; only message in thread
From: Joshua Krämer @ 2013-11-11 16:05 UTC (permalink / raw)
  To: ntg-context-wvrSQK3plZs

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-11-11 16:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-11 16:05 textreference in a protocol (minutes) Joshua Krämer

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).