* headstyle for synonyms
@ 2008-08-12 13:46 Matthias Wächter
0 siblings, 0 replies; only message in thread
From: Matthias Wächter @ 2008-08-12 13:46 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1: Type: text/plain, Size: 423 bytes --]
Folks,
Just wanted to send the following patch, requesting inclusion to
ConTeXt. It adds support for headstyle option in \setupsynonyms by
passing it to \definedescription.
Maybe the \style option of \definedescription could be set by an
additional option for \setupsynonyms as well, but as I am currently
satisfied with the result in my document, I didn’t care yet.
Thanks for considering,
- Matthias
[-- Attachment #2: core-syn.tex.diff --]
[-- Type: text/plain, Size: 923 bytes --]
--- core-syn-old.tex 2008-08-12 15:35:08.593750000 +0200
+++ core-syn.tex 2008-08-12 14:55:03.843750000 +0200
@@ -80,7 +80,7 @@
\c!inbetween=\synonymparameter\c!inbetween,
\c!after=\synonymparameter\c!after,
\c!indentnext=\synonymparameter\c!indentnext,
- \c!headstyle=,
+ \c!headstyle=\synonymparameter\c!headstyle,
\c!style=]%
\setupwhitespace[\v!none]%
%doutilities{#1}\jobname{#2}\relax\par % no longer \par
@@ -195,7 +195,7 @@
\fi
\dosetupsynonyms
[#1]%
- [\c!synonymstyle=,\c!textstyle=,
+ [\c!synonymstyle=,\c!textstyle=,\c!headstyle=,
\c!state=\v!start,\c!criterium=,
\c!location=\v!left,\c!width=5em,\c!distance=0pt,
\c!sample=,\c!hang=,\c!align=,
@@ -422,6 +422,7 @@
[\v!abbreviation]
[\c!textstyle=\v!capital,
\c!synonymstyle=,
+ \c!headstyle=,
\c!textcolor=,
\c!synonymcolor=,
\c!location=\v!left,
[-- Attachment #3: Type: text/plain, Size: 487 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-08-12 13:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-12 13:46 headstyle for synonyms Matthias Wächter
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).