From: Wolfgang Schuster <wolfgang.schuster@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: setuphead command changes?
Date: Sun, 9 Dec 2012 18:24:18 +0100 [thread overview]
Message-ID: <3E5304E3-8120-4451-BA55-8CF5A4F83653@gmail.com> (raw)
In-Reply-To: <5CCA1C44-64AA-48D2-9674-EEC084F0C469@gmail.com>
Am 09.12.2012 um 15:46 schrieb Wolfgang Schuster <wolfgang.schuster@gmail.com>:
>
> Am 09.12.2012 um 12:22 schrieb reviczky@caesar.elte.hu:
>
>> Thanks. I only apply commands for certain headings, so is there a way to have that working within the startsubject or is it not inheriting from setup heads?
>
>
> You can use the optional second argument for \start… to set your own arguments.
>
> \define\SubectCommand
> {\doifsomething
> {\structureuservariable{text}}
> {\inmargin{\structureuservariable{text}}}}
>
> \setuphead[section][commandbefore=\SubectCommand]
Should be:
\define\SubjectCommand
{\doifsomething
{\structureuservariable{text}}
{\inmargin{\structureuservariable{text}}}}
\setuphead[subject][commandbefore=\SubjectCommand]
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2012-12-09 17:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-09 11:22 reviczky
2012-12-09 14:46 ` Wolfgang Schuster
2012-12-09 17:24 ` Wolfgang Schuster [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-12-09 1:35 reviczky
2012-12-09 8:41 ` Wolfgang Schuster
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=3E5304E3-8120-4451-BA55-8CF5A4F83653@gmail.com \
--to=wolfgang.schuster@gmail.com \
--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).