ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [***SPAM***] Symbols for footnotes not working
@ 2013-03-28  6:07 hwitloc
  2013-03-28  6:37 ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: hwitloc @ 2013-03-28  6:07 UTC (permalink / raw)
  To: ntg-context


From ConTeXt's Wiki Garden the below should work, but it isn't. 
How can this be accomlished.  I want to use just \dagger for the symbol, but any symbol would do.

\definesymbol[4]{\dagger]

\starttext
\defineconversion[dagger][{\dagger},{\dagger}]   % use a \dagger for the footnote.
\setupfootnotes[conversion=set dagger,location=text]
This is the dagger, \dagger{}    I want to use for reference\footnote{Will the dagger appear}.

A second line here for robustness.\footnote{It's a number still.}
\stoptext

-------------------------------- end of example

Also I could find no explanations for what a set is, as in  conversion=set 1 or 2 or 3 etc.  What is set 1 or 2 or 3?  

Regards.


___________________________________________________________________________________
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

* Re: [***SPAM***] Symbols for footnotes not working
  2013-03-28  6:07 [***SPAM***] Symbols for footnotes not working hwitloc
@ 2013-03-28  6:37 ` Wolfgang Schuster
  2013-03-29  9:07   ` [***SPAM***] " hwitloc
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2013-03-28  6:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 28.03.2013 um 07:07 schrieb hwitloc@gmail.com:

> 
> From ConTeXt's Wiki Garden the below should work, but it isn't. 
> How can this be accomlished.  I want to use just \dagger for the symbol, but any symbol would do.
> 
> \definesymbol[4]{\dagger]
> 
> \starttext
> \defineconversion[dagger][{\dagger},{\dagger}]   % use a \dagger for the footnote.
> \setupfootnotes[conversion=set dagger,location=text]
> This is the dagger, \dagger{}    I want to use for reference\footnote{Will the dagger appear}.
> 
> A second line here for robustness.\footnote{It's a number still.}
> \stoptext

\setupnotation[footnote][numberconversion=dagger,alternative=text]

> Also I could find no explanations for what a set is, as in  conversion=set 1 or 2 or 3 etc.  What is set 1 or 2 or 3?  


A set is a list with symbols:

\starttext
\dorecurse {8}{\convertnumber{set 0}{\recurselevel}\quad}\par
\dorecurse {9}{\convertnumber{set 1}{\recurselevel}\quad}\par
\dorecurse{12}{\convertnumber{set 2}{\recurselevel}\quad}\par
\dorecurse{15}{\convertnumber{set 3}{\recurselevel}\quad}\par
\stoptext

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
___________________________________________________________________________________


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

* [***SPAM***] Re: [***SPAM***] Symbols for footnotes not working
  2013-03-28  6:37 ` Wolfgang Schuster
@ 2013-03-29  9:07   ` hwitloc
  2013-03-29  9:59     ` [***SPAM***] " Wolfgang Schuster
  2013-03-29 10:10     ` [***SPAM***] Re: [***SPAM***] " Hans Hagen
  0 siblings, 2 replies; 6+ messages in thread
From: hwitloc @ 2013-03-29  9:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users


It didn't work.  Either with texexec or with context.

Here is a simpler test case
-------------------------------- start
% basic test to change footnotes bullet to a symbol
% basice test to change footnotes bullet to a symbol
%   \setupfootnotes[rule=off]   % had no affect

\defineconversion[fnsym]{ \dagger,*,**,***}  % etc.

\setupfootnotes[conversion=fnsym, numberconversion=fnsym]           % Doesn't work
\setupnotation[footnote][numberconversion=fnsym,alternative=text]   % Doesn't work
%  conversion=set fnsym  or conversion=fnsym                does't work
%  numberconversion=fnsym or numberconversion=set fnsym     doesn't work

\starttext
This is a footnote\footnote{a fnote}\\
And another for clarity\footnote{the 2nd footnote.}
\stoptext

----------------end the above does not produce a dagger footnote bullet (only std numbers)

It should be a simple thing to do, but I've tried a lot of combinations..
Any help would be appreciated.



> 
> Am 28.03.2013 um 07:07 schrieb hwitloc@gmail.com:
> 
> > 
> > From ConTeXt's Wiki Garden the below should work, but it isn't. 
> > How can this be accomlished.  I want to use just \dagger for the symbol, but any symbol would do.
> > 
> > \definesymbol[4]{\dagger]
> > 
> > \starttext
> > \defineconversion[dagger][{\dagger},{\dagger}]   % use a \dagger for the footnote.
> > \setupfootnotes[conversion=set dagger,location=text]
> > This is the dagger, \dagger{}    I want to use for reference\footnote{Will the dagger appear}.
> > 
> > A second line here for robustness.\footnote{It's a number still.}
> > \stoptext
> 
> \setupnotation[footnote][numberconversion=dagger,alternative=text]
> 
.......
___________________________________________________________________________________
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

* [***SPAM***] Re:  Symbols for footnotes not working
  2013-03-29  9:07   ` [***SPAM***] " hwitloc
@ 2013-03-29  9:59     ` Wolfgang Schuster
  2013-03-29 11:55       ` d.henman
  2013-03-29 10:10     ` [***SPAM***] Re: [***SPAM***] " Hans Hagen
  1 sibling, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2013-03-29  9:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 29.03.2013 um 10:07 schrieb hwitloc@gmail.com:

> 
> It didn't work.  Either with texexec or with context.
> 
> Here is a simpler test case
> -------------------------------- start
> % basic test to change footnotes bullet to a symbol
> % basice test to change footnotes bullet to a symbol
> %   \setupfootnotes[rule=off]   % had no affect
> 
> \defineconversion[fnsym]{ \dagger,*,**,***}  % etc.
> 
> \setupfootnotes[conversion=fnsym, numberconversion=fnsym]           % Doesn't work
> \setupnotation[footnote][numberconversion=fnsym,alternative=text]   % Doesn't work
> %  conversion=set fnsym  or conversion=fnsym                does't work
> %  numberconversion=fnsym or numberconversion=set fnsym     doesn't work
> 
> \starttext
> This is a footnote\footnote{a fnote}\\
> And another for clarity\footnote{the 2nd footnote.}
> \stoptext
> 
> ----------------end the above does not produce a dagger footnote bullet (only std numbers)
> 
> It should be a simple thing to do, but I've tried a lot of combinations..
> Any help would be appreciated.



1. {} ≠ [], see \defineconversion

2. To end a paragraph use empty lines, \\ is wrong

<example>
\defineconversion[fnsym][\m{\dagger},\m{*},\m{**},\m{***}]

\setupnotation[footnote][numberconversion=fnsym] % change footnote symbols
\setupnote    [footnote][rule=off] % disbale the rule before the footnote block

\starttext

This is a footnote\footnote{a fnote}

And another for clarity\footnote{the 2nd footnote.}

\stoptext
</example>

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
___________________________________________________________________________________

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

* Re: [***SPAM***] Re: [***SPAM***] Symbols for footnotes not working
  2013-03-29  9:07   ` [***SPAM***] " hwitloc
  2013-03-29  9:59     ` [***SPAM***] " Wolfgang Schuster
@ 2013-03-29 10:10     ` Hans Hagen
  1 sibling, 0 replies; 6+ messages in thread
From: Hans Hagen @ 2013-03-29 10:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 3/29/2013 10:07 AM, hwitloc@gmail.com wrote:
>
> It didn't work.  Either with texexec or with context.
>
> Here is a simpler test case
> -------------------------------- start
> % basic test to change footnotes bullet to a symbol
> % basice test to change footnotes bullet to a symbol
> %   \setupfootnotes[rule=off]   % had no affect
>
> \defineconversion[fnsym]{ \dagger,*,**,***}  % etc.
>
> \setupfootnotes[conversion=fnsym, numberconversion=fnsym]           % Doesn't work
> \setupnotation[footnote][numberconversion=fnsym,alternative=text]   % Doesn't work
> %  conversion=set fnsym  or conversion=fnsym                does't work
> %  numberconversion=fnsym or numberconversion=set fnsym     doesn't work
>
> \starttext
> This is a footnote\footnote{a fnote}\\
> And another for clarity\footnote{the 2nd footnote.}
> \stoptext
>
> ----------------end the above does not produce a dagger footnote bullet (only std numbers)

\defineconversion[fnsym][\dagger,*,**,***]

\setupnotation
   [footnote]
   [numberconversion=fnsym,
    alternative=text]  % <<<<<<<<<<<<<<<<<<<<<<< wrong alternative

\starttext
     \dorecurse {10} {
         This has note #1. \footnote{note #1}
     }
\stoptext

There is no alternative text. I've added an extra catch for that 
(fallback to 'left').

-----------------------------------------------------------------
                                           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
-----------------------------------------------------------------
___________________________________________________________________________________
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

* [***SPAM***] Re: Symbols for footnotes not working
  2013-03-29  9:59     ` [***SPAM***] " Wolfgang Schuster
@ 2013-03-29 11:55       ` d.henman
  0 siblings, 0 replies; 6+ messages in thread
From: d.henman @ 2013-03-29 11:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Thank you both, Wolfgang and Hans for helping me be able to use user specified footnote bulltes. 

I am using it in a table which I encapsulate with localfootnotes. I call
\setupnotation[footnote][numberconversion=fnsym] % change footnote symbols

after the startlocal, and it works in the table, but the use of symbols persists after teh stoplocalfootnotes is issued.  However if I undo, just before the end as

 \setupnotation[footnote][numberconversion=n]

then all works well and the counts carry on correctly.

Thank you.
___________________________________________________________________________________
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:[~2013-03-29 11:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-28  6:07 [***SPAM***] Symbols for footnotes not working hwitloc
2013-03-28  6:37 ` Wolfgang Schuster
2013-03-29  9:07   ` [***SPAM***] " hwitloc
2013-03-29  9:59     ` [***SPAM***] " Wolfgang Schuster
2013-03-29 11:55       ` d.henman
2013-03-29 10:10     ` [***SPAM***] Re: [***SPAM***] " Hans Hagen

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