ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Peter Park Nelson <peter.park.nelson@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Footnote marker inside custom list environment - font problem
Date: Mon, 23 Jan 2012 18:20:38 -0600	[thread overview]
Message-ID: <CAGfkPGkpWqHni-_6Q9uz+X39Hn7GFV8GoO=VBu1Jsj3cGbtmRw@mail.gmail.com> (raw)
In-Reply-To: <AE8E9D87-EB69-43B9-9274-E3313001AA51@googlemail.com>

On Mon, Jan 23, 2012 at 3:56 PM, Wolfgang Schuster
<schuster.wolfgang@googlemail.com> wrote:
>
> Am 23.01.2012 um 22:47 schrieb Peter Park Nelson:
>
>> Hello,
>>
>> Maybe this is related to the problems with \definenote posted
>> recently...I have played with setups but have been unable to figure
>> this one out.
>
> It was \setupnote and this problem is fixed.
>
>> I have a custom enumeration environment to display the names of
>> journal authors in a paragraph format, with local footnotes for their
>> affiliations. Since updating, it no longer works as expected; the
>> footnote markers after author names use the document roman font
>> instead of the sans font.
>
> You have to use the textstyle key, the value of the style is only used
> when nothing is set for the headstyle or textstyle keys but textstyle
> already has a different value.
>
>> Also, if I use this inside a \startnarrower...\stopnarrower block, the
>> environment extends past where it should stop, which didn't happen
>> before.
>
> Can you show a example.
>
> Wolfgang

Thank you, that textcommand parameter was the missing piece.

I will try to put together a minimal example of the width thing, but
this document setup is getting complicated now so I should see if it
can be refactored first to be simpler.

I have another related command that is not working now -- I defined
this little macro for convenience so that I could reuse the a single
affiliation for multiple authors after I had used it once.

\def\useaffiliation#1{\high{\note[#1]}}

Now, it inserts the numbers correctly but they are in the wrong font
-- everything else is in sans, they are in document roman. Oddly, if I
just use \note[] without the \high{}, the note numbers are in the
correct font.

-- 
Peter Park Nelson
peter.park.nelson@gmail.com
___________________________________________________________________________________
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:[~2012-01-24  0:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-23 21:47 Peter Park Nelson
2012-01-23 21:56 ` Wolfgang Schuster
2012-01-24  0:20   ` Peter Park Nelson [this message]

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='CAGfkPGkpWqHni-_6Q9uz+X39Hn7GFV8GoO=VBu1Jsj3cGbtmRw@mail.gmail.com' \
    --to=peter.park.nelson@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).