Hi, how do I change the numbering of subfootnote from eg. "2.1" to "2a"? See minimal example, please: \setupenumerations[subfootnote][conversion=a] % ? \setupsubfootnotes[conversion=a] % ? \starttext test \footnote{xxxx} \subfootnote{xxxx} text test \startfootnote note \stopfootnote test \startsubfootnote subnote \stopsubfootnote text \stoptext Thanks, Steffen
Untested, but the usual option is conversion=characters
Aditya
On Sep 30, 2010, at 8:03 AM, Steffen Wolfrum
Hi,
how do I change the numbering of subfootnote from eg. "2.1" to "2a"?
See minimal example, please:
\setupenumerations[subfootnote][conversion=a] % ? \setupsubfootnotes[conversion=a] % ?
\starttext test \footnote{xxxx} \subfootnote{xxxx} text test \startfootnote note \stopfootnote test \startsubfootnote subnote \stopsubfootnote text \stoptext
Thanks, Steffen ___________________________________________________________________________________ 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 ___________________________________________________________________________________
Am 30.09.2010 um 18:28 schrieb Wolfgang Schuster:
Am 30.09.2010 um 14:03 schrieb Steffen Wolfrum:
Hi,
how do I change the numbering of subfootnote from eg. "2.1" to "2a"?
See minimal example, please:
\setupenumerations[subfootnote][conversion=a] % ? \setupsubfootnotes[conversion=a] % ?
numberconversion=...
No, not yet. Now the result is "1", "2" and "b.a" ... but it should be "2a"!!!! Steffen ------- test file: \setupenumerations[subfootnote][numberconversion=character] \starttext test \footnote{xxxx} text test \startfootnote note \stopfootnote test \startsubfootnote subnote \stopsubfootnote text \stoptext
Am 30.09.2010 um 18:53 schrieb Steffen Wolfrum:
Am 30.09.2010 um 18:28 schrieb Wolfgang Schuster:
Am 30.09.2010 um 14:03 schrieb Steffen Wolfrum:
Hi,
how do I change the numbering of subfootnote from eg. "2.1" to "2a"?
See minimal example, please:
\setupenumerations[subfootnote][conversion=a] % ? \setupsubfootnotes[conversion=a] % ?
numberconversion=...
No, not yet.
Now the result is "1", "2" and "b.a" ... but it should be "2a"!!!!
\definestructureconversionset[footnote][number,characters][numbers] \setupenumerations[footnote][numberconversionset=footnote] Wolfgang
Am 30.09.2010 um 20:06 schrieb Wolfgang Schuster:
Am 30.09.2010 um 18:53 schrieb Steffen Wolfrum:
Am 30.09.2010 um 18:28 schrieb Wolfgang Schuster:
Am 30.09.2010 um 14:03 schrieb Steffen Wolfrum:
Hi,
how do I change the numbering of subfootnote from eg. "2.1" to "2a"?
See minimal example, please:
\setupenumerations[subfootnote][conversion=a] % ? \setupsubfootnotes[conversion=a] % ?
numberconversion=...
No, not yet.
Now the result is "1", "2" and "b.a" ... but it should be "2a"!!!!
\definestructureconversionset[footnote][number,characters][numbers] \setupenumerations[footnote][numberconversionset=footnote]
Again, not yet! Please run the test file: now we have "2.a" ... instead of "2a". And setupenumerations[footnote] doesn't take a stopper! So, how do I get rid of this "." inbetween?? Steffen ------- test file: \definestructureconversionset[footnote][number,characters][numbers] \setupenumerations[footnote][numberconversionset=footnote] \starttext test \footnote{xxxx} text test \startfootnote note \stopfootnote test \startsubfootnote subnote \stopsubfootnote text \stoptext
Am 30.09.2010 um 20:31 schrieb Steffen Wolfrum:
\definestructureconversionset[footnote][number,characters][numbers] \setupenumerations[footnote][numberconversionset=footnote]
Again, not yet!
Please run the test file: now we have "2.a" ... instead of "2a".
\definestructureseparatorset [footnote][][] \definestructureconversionset[footnote][number,characters][numbers] \setupenumerations[footnote][numberconversionset=footnote,numberseparatorset=footnote] @Hans Can you make synonyms of the \define... commands without the “structure” in the name! Wolfgang
Am 30.09.2010 um 20:42 schrieb Wolfgang Schuster:
Am 30.09.2010 um 20:31 schrieb Steffen Wolfrum:
\definestructureconversionset[footnote][number,characters][numbers] \setupenumerations[footnote][numberconversionset=footnote]
Again, not yet!
Please run the test file: now we have "2.a" ... instead of "2a".
\definestructureseparatorset [footnote][][] \definestructureconversionset[footnote][number,characters][numbers] \setupenumerations[footnote][numberconversionset=footnote,numberseparatorset=footnote]
Wow, it's really needs a lot to change the outfit of one tiny subfoonote ;o)
@Hans Can you make synonyms of the \define... commands without the “structure” in the name!
+1 I assumed that "\definestructurefoo" is always related to structure, meaning structure of document, sections ... not the formatting of footnotes. Next time I know better: it's all about enumeration, it's all about structure today. Thank you very much! Steffen
On 30-9-2010 8:57, Steffen Wolfrum wrote:
Am 30.09.2010 um 20:42 schrieb Wolfgang Schuster:
Am 30.09.2010 um 20:31 schrieb Steffen Wolfrum:
\definestructureconversionset[footnote][number,characters][numbers] \setupenumerations[footnote][numberconversionset=footnote]
Again, not yet!
Please run the test file: now we have "2.a" ... instead of "2a".
\definestructureseparatorset [footnote][][] \definestructureconversionset[footnote][number,characters][numbers] \setupenumerations[footnote][numberconversionset=footnote,numberseparatorset=footnote]
Wow, it's really needs a lot to change the outfit of one tiny subfoonote ;o)
that's the price that comes with flexibility ... better this than messy definitions when you want more control Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On 30-9-2010 8:42, Wolfgang Schuster wrote:
Am 30.09.2010 um 20:31 schrieb Steffen Wolfrum:
\definestructureconversionset[footnote][number,characters][numbers] \setupenumerations[footnote][numberconversionset=footnote]
Again, not yet!
Please run the test file: now we have "2.a" ... instead of "2a".
\definestructureseparatorset [footnote][][] \definestructureconversionset[footnote][number,characters][numbers] \setupenumerations[footnote][numberconversionset=footnote,numberseparatorset=footnote]
@Hans Can you make synonyms of the \define... commands without the “structure” in the name!
yes ... later ... eventually 'structure' will go and be the synonyms (compatinility) -- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Thursday 30 September 2010 18:53:43 Steffen Wolfrum wrote:
------- test file:
\starttext test \footnote{xxxx} text test \startfootnote note \stopfootnote test \startsubfootnote subnote \stopsubfootnote text \stoptext
On Thursday 30 September 2010 20:42:39 Wolfgang Schuster wrote:
\definestructureseparatorset [footnote][][] \definestructureconversionset[footnote][number,characters][numbers] \setupenumerations[footnote][numberconversionset=footnote,numberseparatorse t=footnote]
Nice to discover subfootnotes! The above example illustrates a *spacing problem* after \startfootnote \stopfootnote (the spacing after the footnote enumerator differs from \footnote{xxxx}) Alan
Am 05.10.2010 um 14:41 schrieb Alan BRASLAU:
On Thursday 30 September 2010 18:53:43 Steffen Wolfrum wrote:
------- test file:
\starttext test \footnote{xxxx} text test \startfootnote note \stopfootnote test \startsubfootnote subnote \stopsubfootnote text \stoptext
On Thursday 30 September 2010 20:42:39 Wolfgang Schuster wrote:
\definestructureseparatorset [footnote][][] \definestructureconversionset[footnote][number,characters][numbers] \setupenumerations[footnote][numberconversionset=footnote,numberseparatorset=footnote]
Nice to discover subfootnotes!
The above example illustrates a *spacing problem* after \startfootnote \stopfootnote (the spacing after the footnote enumerator differs from \footnote{xxxx})
The \stopfootnote gobbles the next space, to prevent this you can say in mkii \setupnote[footnote][next=\autoinsertnextspace] but the ”next” key is missing in mkiv. Wolfgang
Am 05.10.2010 um 15:32 schrieb Wolfgang Schuster:
Am 05.10.2010 um 14:41 schrieb Alan BRASLAU:
On Thursday 30 September 2010 18:53:43 Steffen Wolfrum wrote:
------- test file:
\starttext test \footnote{xxxx} text test \startfootnote note \stopfootnote test \startsubfootnote subnote \stopsubfootnote text \stoptext
On Thursday 30 September 2010 20:42:39 Wolfgang Schuster wrote:
\definestructureseparatorset [footnote][][] \definestructureconversionset[footnote][number,characters][numbers] \setupenumerations[footnote][numberconversionset=footnote,numberseparatorset=footnote]
Nice to discover subfootnotes!
The above example illustrates a *spacing problem* after \startfootnote \stopfootnote (the spacing after the footnote enumerator differs from \footnote{xxxx})
The \stopfootnote gobbles the next space, to prevent this you can say in mkii \setupnote[footnote][next=\autoinsertnextspace] but the ”next” key is missing in mkiv.
Wolfgang
I can't switch it off!!!! \definestructureseparatorset [footnote][][] \definestructureconversionset[footnote][number,characters][numbers] \setupenumerations[footnote][numberconversionset=footnote,numberseparatorset=footnote] \setupfootnotes[way=bytext]% <- here is the problem!! \starttext test \footnote{xxxx} text test \startfootnote note \stopfootnote test \startsubfootnote subnote \stopsubfootnote test \startfootnote note \stopfootnote \stoptext Steffen
\definestructureseparatorset [footnote][][] \definestructureconversionset[footnote][number,characters][numbers] \setupenumerations[footnote][numberconversionset=footnote,numberseparatorset=footnote]
\setupfootnotes[way=bytext]%<- here is the problem!!
\starttext test \footnote{xxxx} text test \startfootnote note \stopfootnote test \startsubfootnote subnote \stopsubfootnote test \startfootnote note \stopfootnote \stoptext
fixed in next beta ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Am 07.10.2010 um 10:36 schrieb Hans Hagen:
\definestructureseparatorset [footnote][][] \definestructureconversionset[footnote][number,characters][numbers] \setupenumerations[footnote][numberconversionset=footnote,numberseparatorset=footnote]
\setupfootnotes[way=bytext]%<- here is the problem!!
\starttext test \footnote{xxxx} text test \startfootnote note \stopfootnote test \startsubfootnote subnote \stopsubfootnote test \startfootnote note \stopfootnote \stoptext
fixed in next beta
Yes, this was fixed. But in todays beta (20110211) suddenly there appears "number" in front of the actual footnote number. Please run example below: \definestructureseparatorset [footnote][][] \definestructureconversionset[footnote][number,characters][numbers] \setupenumerations[footnote][numberconversionset=footnote,numberseparatorset=footnote] \setupfootnotes[way=bytext] \starttext test \footnote{xxxx} text test \startfootnote note \stopfootnote test \startsubfootnote subnote \stopsubfootnote test \startfootnote note \stopfootnote \stoptext Steffen
On Tuesday 05 October 2010 15:32:27 Wolfgang Schuster wrote:
Am 05.10.2010 um 14:41 schrieb Alan BRASLAU:
The above example illustrates a *spacing problem* after \startfootnote \stopfootnote (the spacing after the footnote enumerator differs from \footnote{xxxx})
The \stopfootnote gobbles the next space, to prevent this you can say in mkii \setupnote[footnote][next=\autoinsertnextspace] but the ”next” key is missing in mkiv.
Indeed! What to do? Alan
Am 12.10.2010 um 11:48 schrieb Alan BRASLAU:
On Tuesday 05 October 2010 15:32:27 Wolfgang Schuster wrote:
Am 05.10.2010 um 14:41 schrieb Alan BRASLAU:
The above example illustrates a *spacing problem* after \startfootnote \stopfootnote (the spacing after the footnote enumerator differs from \footnote{xxxx})
The \stopfootnote gobbles the next space, to prevent this you can say in mkii \setupnote[footnote][next=\autoinsertnextspace] but the ”next” key is missing in mkiv.
Indeed! What to do?
Hans recommended: \stopfootnote{} Steffen
On Tuesday 12 October 2010 11:54:28 Steffen Wolfrum wrote:
Hans recommended:
\stopfootnote{}
Thank you. This will work, but it is pretty ugly.% \startfootnote Hopefully Hans will fix this in mkiv. \stopfootnote{} In the meantime, we will just have to make do, but the special syntax as seen here raises eyebrows with my MS-Word bound collaborators. Alan
On Tue, Oct 12, 2010 at 12:27 PM, Alan BRASLAU
On Tuesday 12 October 2010 11:54:28 Steffen Wolfrum wrote:
Hans recommended:
\stopfootnote{}
Thank you.
This will work, but it is pretty ugly.% \startfootnote Hopefully Hans will fix this in mkiv. \stopfootnote{} In the meantime, we will just have to make do, but the special syntax as seen here raises eyebrows with my MS-Word bound collaborators. Maybe for now \let\StartFootnote\startfootnote \def\StopFootnote{\stopfootnote{}} and after fix \let\StartFootnote\startfootnote \let\StopFootnote\stopfootnote
-- luigi
luigi scarso wrote:
On Tue, Oct 12, 2010 at 12:27 PM, Alan BRASLAU
wrote: On Tuesday 12 October 2010 11:54:28 Steffen Wolfrum wrote:
Hans recommended:
\stopfootnote{}
Thank you.
This will work, but it is pretty ugly.% \startfootnote Hopefully Hans will fix this in mkiv. \stopfootnote{} In the meantime, we will just have to make do, but the special syntax as seen here raises eyebrows with my MS-Word bound collaborators. Maybe for now \let\StartFootnote\startfootnote \def\StopFootnote{\stopfootnote{}} and after fix \let\StartFootnote\startfootnote \let\StopFootnote\stopfootnote How would that help? \somecommand automatically gobbles the next space.
On Tue, Oct 12, 2010 at 1:09 PM, Yury G. Kudryashov
luigi scarso wrote:
On Tue, Oct 12, 2010 at 12:27 PM, Alan BRASLAU
wrote: On Tuesday 12 October 2010 11:54:28 Steffen Wolfrum wrote:
Hans recommended:
\stopfootnote{}
Thank you.
This will work, but it is pretty ugly.% \startfootnote Hopefully Hans will fix this in mkiv. \stopfootnote{} In the meantime, we will just have to make do, but the special syntax as seen here raises eyebrows with my MS-Word bound collaborators. Maybe for now \let\StartFootnote\startfootnote \def\StopFootnote{\stopfootnote{}} and after fix \let\StartFootnote\startfootnote \let\StopFootnote\stopfootnote How would that help? \somecommand automatically gobbles the next space.
___________________________________________________________________________________ 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 ___________________________________________________________________________________
You are right, my apologies for the error. I mean that in the meanwhile perhaps you can use somenthing like this \long\def\StartFootnote#1\StopFootnote{\startfootnote#1\stopfootnote\space} -- luigi
On Tue, 12 Oct 2010, luigi scarso wrote:
You are right, my apologies for the error. I mean that in the meanwhile perhaps you can use somenthing like this \long\def\StartFootnote#1\StopFootnote{\startfootnote#1\stopfootnote\space}
Better use \autoinsertnextspace rather than \space. Or perhaps add \autoinsertnextspace to \dodoredefinenotecommands. See the attached file. Aditya
On Tue, Oct 12, 2010 at 1:09 PM, Yury G. Kudryashov
luigi scarso wrote:
On Tue, Oct 12, 2010 at 12:27 PM, Alan BRASLAU
wrote: On Tuesday 12 October 2010 11:54:28 Steffen Wolfrum wrote:
Hans recommended:
\stopfootnote{}
Thank you.
This will work, but it is pretty ugly.% \startfootnote Hopefully Hans will fix this in mkiv. \stopfootnote{} In the meantime, we will just have to make do, but the special syntax as seen here raises eyebrows with my MS-Word bound collaborators. Maybe for now \let\StartFootnote\startfootnote \def\StopFootnote{\stopfootnote{}} and after fix \let\StartFootnote\startfootnote \let\StopFootnote\stopfootnote How would that help? \somecommand automatically gobbles the next space.
I meant this \long\def\StartFootnote#1\StopFootnote{\startfootnote#1\stopfootnote\relax{} }
-- luigi
Am 12.10.2010 um 11:48 schrieb Alan BRASLAU:
On Tuesday 05 October 2010 15:32:27 Wolfgang Schuster wrote:
Am 05.10.2010 um 14:41 schrieb Alan BRASLAU:
The above example illustrates a *spacing problem* after \startfootnote \stopfootnote (the spacing after the footnote enumerator differs from \footnote{xxxx})
The \stopfootnote gobbles the next space, to prevent this you can say in mkii \setupnote[footnote][next=\autoinsertnextspace] but the ”next” key is missing in mkiv.
Indeed! What to do?
Patch strc-not.mkiv \def\dodoredefinenotecommands#1#2#3% {\unexpanded\expandafter\def\csname\e!start#3#1\expandafter\endcsname\expandafter {\expandafter\dosingleempty\csname\s!do\e!start#3#1\endcsname}% \unexpanded\expandafter\def\csname\s!do\e!start#3#1\expandafter\endcsname \expandafter[\expandafter##\expandafter1\expandafter]\expandafter##\expandafter2\csname\e!stop#3#1\endcsname {\begingroup \doenumerationinit{#1}{#2}{#3}% \@@notemakedescription[##1]{}{##2}% \endgroup \namednoteparameter{#1}\c!next}} Example: \starttext One\startfootnote one\stopfootnote Two\startfootnote two\stopfootnote \setupnote[footnote][next=\autoinsertnextspace] One\startfootnote one\stopfootnote Two\startfootnote two\stopfootnote \stoptext Wolfgang
On Tue, 12 Oct 2010, Wolfgang Schuster wrote:
Am 12.10.2010 um 11:48 schrieb Alan BRASLAU:
On Tuesday 05 October 2010 15:32:27 Wolfgang Schuster wrote:
Am 05.10.2010 um 14:41 schrieb Alan BRASLAU:
The above example illustrates a *spacing problem* after \startfootnote \stopfootnote (the spacing after the footnote enumerator differs from \footnote{xxxx})
The \stopfootnote gobbles the next space, to prevent this you can say in mkii \setupnote[footnote][next=\autoinsertnextspace] but the ”next” key is missing in mkiv.
Indeed! What to do?
Patch strc-not.mkiv
Did not see this before I posted my reply. Of course, using a proper key is better than explicitly add \autoinsertnextspace in the definition. Aditya
On Tuesday 12 October 2010 13:35:19 Wolfgang Schuster wrote:
Patch strc-not.mkiv
\def\dodoredefinenotecommands#1#2#3%
{\unexpanded\expandafter\def\csname\e!start#3#1\expandafter\endcsname\expa ndafter {\expandafter\dosingleempty\csname\s!do\e!start#3#1\endcsname}% \unexpanded\expandafter\def\csname\s!do\e!start#3#1\expandafter\endcsname \expandafter[\expandafter##\expandafter1\expandafter]\expandafter##\expand after2\csname\e!stop#3#1\endcsname {\begingroup \doenumerationinit{#1}{#2}{#3}% \@@notemakedescription[##1]{}{##2}% \endgroup \namednoteparameter{#1}\c!next}}
Example:
\starttext
One\startfootnote one\stopfootnote Two\startfootnote two\stopfootnote
\setupnote[footnote][next=\autoinsertnextspace]
One\startfootnote one\stopfootnote Two\startfootnote two\stopfootnote
\stoptext
Wolfgang
Thanks! But, following Mojca's comment, I am expecting: On Mon, Oct 11, 2010 at 09:20, Wolfgang Schuster wrote:
Fixed in next beta.
:)
On 12-10-2010 5:06, Alan BRASLAU wrote:
Fixed in next beta.
Not unless Wolfgang mails me a patch that he's confident with (as this is sort of tricky). Okay, 'next' can be any next, so watch a "fixed in *the* next beta" -) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (7)
-
Aditya Mahajan
-
Alan BRASLAU
-
Hans Hagen
-
luigi scarso
-
Steffen Wolfrum
-
Wolfgang Schuster
-
Yury G. Kudryashov