Re: [NTG-context] Make footnote/endnote number not superscript?

2022-03-21 Thread Bruce Horrocks via ntg-context
Thank-you all - the textcommand= was the necessary magic incantation. 

I will certainly use the linknote suggestion, not least because I'll still need 
regular footnotes as well.

And if I can pluck up courage to "move" the \setupnote Wiki page over to the 
new style (I don't know how to do an "undo" if it all goes wrong!) I will 
document the parameters discovered so far.


> On 21 Mar 2022, at 18:25, Pablo Rodriguez via ntg-context 
>  wrote:
> 
> On 3/20/22 22:18, Rik Kabel via ntg-context wrote:
>> On 2022-03-20 17:07, Wolfgang Schuster via ntg-context wrote:
>>> [...]
>>> \setupnote[footnote][textcommand=]
>>> [...]
>> You might want to define a separate set of notes, for example,
>> linknotes, defined as Wolfgang suggests, so
>> [...]
>> You can define multiple streams of footnotes and endnotes.
> Hi Bruce,
> 
> following the conversation, this might be a sample of what I think you
> intend to achieve:
> 
> \definenote[linknote]
> \setupnote[linknote]
> [textcommand={\ }, textstyle=, location=text]
> \setupnotation[linknote]
> [alternative=serried, numberstyle={\switchtobodyfont[12pt]},
>  style={\switchtobodyfont[12pt]}, numbercommand=]
> \starttext
> 
> \dorecurse{25}
> {First\footnote{Footnote one}.
>  See my video at link\linknote{yewtu.be/my-great-video.}. }
> 
> \title{Links}
> \placenotes[linknote]
> 
> \stoptext
> 
> I hope it may help,
> 
> Pablo

—
Bruce Horrocks
Hampshire, UK

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Make footnote/endnote number not superscript?

2022-03-21 Thread Pablo Rodriguez via ntg-context
On 3/20/22 22:18, Rik Kabel via ntg-context wrote:
> On 2022-03-20 17:07, Wolfgang Schuster via ntg-context wrote:
>> [...]
>> \setupnote[footnote][textcommand=]
>> [...]
> You might want to define a separate set of notes, for example,
> linknotes, defined as Wolfgang suggests, so
> [...]
> You can define multiple streams of footnotes and endnotes.
Hi Bruce,

following the conversation, this might be a sample of what I think you
intend to achieve:

  \definenote[linknote]
  \setupnote[linknote]
  [textcommand={\ }, textstyle=, location=text]
  \setupnotation[linknote]
  [alternative=serried, numberstyle={\switchtobodyfont[12pt]},
   style={\switchtobodyfont[12pt]}, numbercommand=]
  \starttext

  \dorecurse{25}
  {First\footnote{Footnote one}.
   See my video at link\linknote{yewtu.be/my-great-video.}. }

  \title{Links}
  \placenotes[linknote]

  \stoptext

I hope it may help,

Pablo
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Make footnote/endnote number not superscript?

2022-03-20 Thread Rik Kabel via ntg-context


On 2022-03-20 17:07, Wolfgang Schuster via ntg-context wrote:

Bruce Horrocks via ntg-context schrieb am 20.03.2022 um 21:10:
I'm editing a book that will be printed, however the authors have 
included URLs which will no doubt suffer from "bit rot" in no time at 
all. I think it will make the main text cleaner if I use endnotes 
rather than include the URL in-line in the text or as a (distracting) 
footnote. So when the author writes "See my video at URL>" I will print "See my video at link 1". At the back of the book, 
in an appendix somewhere, I then use \placenotes to display a table 
of the actual URLs for any readers that want to type them in.


I want the "link 1" bit to be normal text rather than superscript so 
it's more visible. Using the \setupnote[textstyle=...] command I can 
change the style of the number but not the superscript placing.


Is there a way to remove the superscript placing, please?


\starttext

First\footnote{Footnote one}

\setupnote[footnote][textcommand=]

First\footnote{Footnote two}

\stoptext

Wolfgang

You might want to define a separate set of notes, for example, 
linknotes, defined as Wolfgang suggests, so


   \setupnote[linknote][textcommand=]

so that they are a separate sequence. These would be used exclusively 
for the url links you describe and regular footnotes would continue to 
be superscript (or however else you choose to treat them). You can 
define multiple streams of footnotes and endnotes.


--
Rik
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Make footnote/endnote number not superscript?

2022-03-20 Thread Wolfgang Schuster via ntg-context

Bruce Horrocks via ntg-context schrieb am 20.03.2022 um 21:10:

I'm editing a book that will be printed, however the authors have included URLs which will no doubt suffer from 
"bit rot" in no time at all. I think it will make the main text cleaner if I use endnotes rather than 
include the URL in-line in the text or as a (distracting) footnote. So when the author writes "See my video at 
" I will print "See my video at link 1". At the back of the book, in an 
appendix somewhere, I then use \placenotes to display a table of the actual URLs for any readers that want to type 
them in.

I want the "link 1" bit to be normal text rather than superscript so it's more 
visible. Using the \setupnote[textstyle=...] command I can change the style of the number 
but not the superscript placing.

Is there a way to remove the superscript placing, please?


\starttext

First\footnote{Footnote one}

\setupnote[footnote][textcommand=]

First\footnote{Footnote two}

\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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Make footnote/endnote number not superscript?

2022-03-20 Thread jbf via ntg-context
Bruce, I suppose one way to achieve your aim, if there is no easy way to 
prevent superscript, would be to put your reference in parentheses: (See 
my video at link 1), followed by the normal superscript number for 
footnote anchors. You can still go with the endnotes.


The other thing, and I know this because I am often having to deal with 
long URLs, is to remember to use \hyphenatedurl{}, and you can determine 
separately where the breaks occur if the default is not to your liking.


I know it is not quite what you were looking for, but it would be a 
simple solution and not to distracting.


Julian

On 21/3/22 07:10, Bruce Horrocks via ntg-context wrote:

I'm editing a book that will be printed, however the authors have included URLs which will no doubt suffer from 
"bit rot" in no time at all. I think it will make the main text cleaner if I use endnotes rather than 
include the URL in-line in the text or as a (distracting) footnote. So when the author writes "See my video at 
" I will print "See my video at link 1". At the back of the book, in an 
appendix somewhere, I then use \placenotes to display a table of the actual URLs for any readers that want to type 
them in.

I want the "link 1" bit to be normal text rather than superscript so it's more 
visible. Using the \setupnote[textstyle=...] command I can change the style of the number 
but not the superscript placing.

Is there a way to remove the superscript placing, please?

Alternative solutions welcome: the URLs printed in the book will be mirrored on 
a web page associated with the book for as long as possible so that content 
that vanishes over time can be replaced with Internet Archive links as they are 
discovered. However the order of the book isn't finalised yet so I'd like the 
numbering to be sequential regardless of whether I move a chapter around later 
on. This is partly the reason for using \endnote because I can use a reference 
elsewhere in the text if necessary.

Thanks in advance.
—
Bruce Horrocks
Hampshire, UK

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Make footnote/endnote number not superscript?

2022-03-20 Thread Bruce Horrocks via ntg-context
I'm editing a book that will be printed, however the authors have included URLs 
which will no doubt suffer from "bit rot" in no time at all. I think it will 
make the main text cleaner if I use endnotes rather than include the URL 
in-line in the text or as a (distracting) footnote. So when the author writes 
"See my video at " I will print "See my video at link 1". At 
the back of the book, in an appendix somewhere, I then use \placenotes to 
display a table of the actual URLs for any readers that want to type them in. 

I want the "link 1" bit to be normal text rather than superscript so it's more 
visible. Using the \setupnote[textstyle=...] command I can change the style of 
the number but not the superscript placing.

Is there a way to remove the superscript placing, please?

Alternative solutions welcome: the URLs printed in the book will be mirrored on 
a web page associated with the book for as long as possible so that content 
that vanishes over time can be replaced with Internet Archive links as they are 
discovered. However the order of the book isn't finalised yet so I'd like the 
numbering to be sequential regardless of whether I move a chapter around later 
on. This is partly the reason for using \endnote because I can use a reference 
elsewhere in the text if necessary.

Thanks in advance.
—
Bruce Horrocks
Hampshire, UK

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___