From: "Matthias Wächter" <matthias@waechter.wiz.at>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: headstyle for synonyms
Date: Tue, 12 Aug 2008 15:46:11 +0200 [thread overview]
Message-ID: <48A19423.9020106@waechter.wiz.at> (raw)
[-- 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
___________________________________________________________________________________
reply other threads:[~2008-08-12 13:46 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=48A19423.9020106@waechter.wiz.at \
--to=matthias@waechter.wiz.at \
--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).