ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Bug in footnote conversion?
@ 2012-10-31 15:16 Procházka Lukáš Ing. - Pontex s. r. o.
  2012-10-31 15:19 ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2012-10-31 15:16 UTC (permalink / raw)
  To: ConTeXt

[-- Attachment #1: Type: text/plain, Size: 1005 bytes --]

Hello,

the following example is copied from http://wiki.contextgarden.net/Command/setupfootnotes:

----
\defineconversion[starred][\starredconv]
\def\starredconv#1{\ifcase#1\or*\or**\or***\fi}

\setupfootnotes[conversion=starred,color=blue,frame=on]

\starttext
   Charles IV\footnote{Best Czech king (14th cent.) and the winner of a \quote{best Czech person} poll.}

   \it
   Charles IV\footnote{Best Czech king (14th cent.) and the winner of a \quote{best Czech person} poll.}

   \tt
   Charles IV\footnote{Best Czech king (14th cent.) and the winner of a \quote{best Czech person} poll.}
\stoptext
----

The problem is that - contrary to wiki - no conversion from numbers to stars is performed.

Any fix needed? Or a new calling convention?

TIA.

Best regards,

Lukas


-- 
Ing. Lukáš Procházka [mailto:LPr@pontex.cz]
Pontex s. r. o.      [mailto:pontex@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

[-- Attachment #2: t-FN2.mkiv --]
[-- Type: application/octet-stream, Size: 508 bytes --]

\defineconversion[starred][\starredconv]
\def\starredconv#1{\ifcase#1\or*\or**\or***\fi}

\setupfootnotes[conversion=starred,color=blue,frame=on]

\starttext
  Charles IV\footnote{Best Czech king (14th cent.) and the winner of a \quote{best Czech person} poll.}

  \it
  Charles IV\footnote{Best Czech king (14th cent.) and the winner of a \quote{best Czech person} poll.}

  \tt
  Charles IV\footnote{Best Czech king (14th cent.) and the winner of a \quote{best Czech person} poll.}
\stoptext

[-- Attachment #3: t-FN2.pdf --]
[-- Type: application/pdf, Size: 18250 bytes --]

[-- Attachment #4: Type: text/plain, Size: 485 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-11-01  7:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-31 15:16 Bug in footnote conversion? Procházka Lukáš Ing. - Pontex s. r. o.
2012-10-31 15:19 ` Wolfgang Schuster
2012-10-31 15:43   ` Procházka Lukáš Ing. - Pontex s. r. o.
2012-10-31 16:08     ` Wolfgang Schuster
2012-10-31 16:17       ` Aditya Mahajan
2012-11-01  7:30         ` Procházka Lukáš Ing. - Pontex s. r. o.

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).