Re: [NTG-context] Bug in footnote conversion?
On Wed, 31 Oct 2012 17:17:06 +0100, Aditya Mahajan adit...@umich.edu wrote: On Wed, 31 Oct 2012, Wolfgang Schuster wrote: You can look if you find something in the manuals or the wiki. If not, then add the information to the wiki. Aditya I added some snippets to existing wiki-pages: http://wiki.contextgarden.net/Command/convertnumber http://wiki.contextgarden.net/Command/defineconversion Best regards, Lukas -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 ___ 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 ___
Re: [NTG-context] Bug in footnote conversion?
Am 31.10.2012 um 16:16 schrieb Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz: 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? \setupnotation[footnote][numberconversion=set 1] 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 ___
Re: [NTG-context] Bug in footnote conversion?
On Wed, 31 Oct 2012 16:19:53 +0100, Wolfgang Schuster wolfgang.schus...@gmail.com wrote: \setupnotation[footnote][numberconversion=set 1] Wolfgang Thanks, it works. Question: set 1 is a built-in number conversion? - If so, what are other built-in [number] conversion sets? - - Are they documented anywhere? Lukas -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 ___ 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 ___
Re: [NTG-context] Bug in footnote conversion?
Am 31.10.2012 um 16:43 schrieb Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz: On Wed, 31 Oct 2012 16:19:53 +0100, Wolfgang Schuster wolfgang.schus...@gmail.com wrote: \setupnotation[footnote][numberconversion=set 1] Wolfgang Thanks, it works. Question: set 1 is a built-in number conversion? - If so, what are other built-in [number] conversion sets? Predefined are “set 0” till “set 3”. \starttext \dorecurse {8}{\convertnumber{set 0}{#1}\quad}\par \dorecurse {9}{\convertnumber{set 1}{#1}\quad}\par \dorecurse{12}{\convertnumber{set 2}{#1}\quad}\par \dorecurse{15}{\convertnumber{set 3}{#1}\quad}\par \stoptext You can write your own symbol lists with (I use math mode because the spacing between the asterisks is better): \defineconversion[starred][\m{*},\m{**},\m{***}] - - Are they documented anywhere? You can look if you find something in the manuals or the wiki. 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 ___
Re: [NTG-context] Bug in footnote conversion?
On Wed, 31 Oct 2012, Wolfgang Schuster wrote: You can look if you find something in the manuals or the wiki. If not, then add the information to the wiki. Aditya ___ 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 ___