ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Christopher Creutzig <ccr@mupad.de>
Subject: Re: [Fwd: Please forward]
Date: Sun, 01 Aug 2004 20:54:24 +0200	[thread overview]
Message-ID: <410D3C60.9060407@mupad.de> (raw)
In-Reply-To: <40F69CC8.9010306@wxs.nl>

> From:
> ishamid <ishamid@lamar.colostate.edu>

> I am having trouble with footnotes. For an article, I want some footnotes to
> be symbolized by \ast, \dag, etc, but without affecting the numbering of
> regular footnotes. For example, the title of article may have a footnote

  If these footnotes need not be printed intermixed with other 
footnotes, please try

\starttext
\definenote[othernote][conversion=set 2]
test\footnote{footnote}

test\othernote{othernote}

blah\footnote{another footnote}
\stoptext

Otherwise, please see below.

> Related question: can't I just specify a footnote outside the counting
> mechanism with any symbol I want at any point in the text, without disturbing
> the regular counted footnotes?

  It seems you can't do this directly, but with a specially defined 
conversion and the \savecounter[footnote] stuff below, it is certainly 
doable.

> But if I do, e.g., conversion={---}, TeX complains of course. What am I
> missing?

  You must define your conversion first:

\starttext
\defineconversion[emdash][{---},{---}]
\setupfootnotes[conversion=emdash]
test\footnote{footnote}
\stoptext

  You need two of the dashes to make ConTeXt realize you want to define 
a (one-element) set, not some command.

> Where are the conversion keys set 2, set 3, etc. documented?

  I don't know about documentation (right now), but look into 
core-con.tex.  Hans, for me

texexec --module `kpsewhich core-con.tex`

results in an error, line 42 calls \starttyping, but modules use the 
Dutsch interface, no?

> How can I reset the numbering if I make local changes? For example, I am using
> regular default footnotes, then I switch to conversion=set 2, then I want to
> reset to the default footnotes without losing my numbering. I thought that

  What about grouping?

\starttext
test\footnote{othernote}

{\setupfootnotes[conversion=set 3]
blah\footnote{another footnote}} and more text\footnote{with
footnotes}.
\stoptext

But since this only changes the way the footnote numbers are displayed, 
there won't be a footnote "2" in the code above.  To get this, the best 
I could find is

\starttext
test\footnote{othernote}

{% grouping
  \savenumber[footnote]%
  \setupfootnotes[conversion=set 3]%
  blah\footnote{another footnote}%
  \restorenumber[footnote]%
}
and more text\footnote{with footnotes}.
\stoptext

  By the way: Is there some \save-magic that will automatically restore 
at the end of the innermost current group, like color does?

regards,
	Christopher Creutzig

  reply	other threads:[~2004-08-01 18:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-15 15:03 Hans Hagen
2004-08-01 18:54 ` Christopher Creutzig [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-07-15 15:01 Hans Hagen

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=410D3C60.9060407@mupad.de \
    --to=ccr@mupad.de \
    --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).