From: "Idris Samawi Hamid ادريس سماوي حامد" <Idris.Hamid@colostate.edu>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: Referencing footnotes by SECTION
Date: Mon, 02 Jul 2018 07:41:38 -0600 [thread overview]
Message-ID: <op.zli1nosrejo439@desktop-mt1m160> (raw)
In-Reply-To: <5B3A26CF.8020505@gmail.com>
On Mon, 02 Jul 2018 07:21:19 -0600, Wolfgang Schuster
<schuster.wolfgang@gmail.com> wrote:
>> Idris Samawi Hamid ادريس سماوي حامد <mailto:Idris.Hamid@colostate.edu>
>> 2. Juli 2018 um 14:34
>> Hi Wolfgang,
>>
>> On Mon, 02 Jul 2018 00:58:44 -0600, Wolfgang Schuster
>> <schuster.wolfgang@gmail.com> wrote:
>>
>>> Hi Idris,
>>>
>>> you can enable the display of chapter numbers with the prefix-key:
>>>
>>> \setupnotation
>>> [footnote]
>>> [prefix=yes,
>>> %prefixsegments=chapter,
>>> way=bychapter]
>>
>> Many thanks for this. There is an unwanted side-effect: Let
>>
>> marker = main-text footnote marker
>> header = numeral for footnote header
>> reference = reference numeral
>>
>> The prefix appears in three places, e.g.,
>>
>> marker - II.1
>> header - II.1
>> reference - II.1
>>
>> but we only want the prefix in the reference, not anywhere else, e.g.,
>>
>> marker - 1
>> header - 1
>> reference - II.1
>>
>> The prefix in the main-text marker and in the footnote header are
>> superfluous, e.g., the reader already knows which chapter one is
>> reading. But to reference a footnote from a later chapter, a prefix is
>> needed to let the reader know which chapter.
>>
>> So the question is: Can the prefix be made to apply only to the
>> reference and not the marker or notation header?
>
> You have to set different prefixsegments settings for the note entries
> and the references.
>
>
> \defineconversionset [OLIE] [n,R,n,n,n,n] [n]
>
> \setuphead
> [sectionconversionset=OLIE]
>
> \setupnotation
> [footnote]
> [prefix=yes,
> prefixset=none]
>
> \setupreferencestructureprefix
> [footnote]
> [default]
> [prefixsegments=chapter,
> prefixset=all]
>
> \starttext
>
> \chapter{Chapter}
>
> Hey\footnote[listen]{This is a footnote.}
>
> See \in{footnote}[listen].
>
> \stoptext
Excellent; this is a big help. Many thanks!
>> ==============
>> Observation:
>>
>> For endnotes at the end of a book having the prefix in the header is
>> also useful, i.e.,
>>
>> marker - 1
>> header - II.1
>> reference - II.1
>>
>> So a general mechanism to set the prefix for each of the above three
>> would be useful.
>>
>> If not currently supported, would like to make this a feature request.
>> ==============
>
> I don’t think this is possible because marker and header share the same
> counter setups.
Ok, that makes sense. As always, thank you for your pointers and
explanations!
Best wishes
Idris
--
Idris Samawi Hamid, Professor
Department of Philosophy
Colorado State University
Fort Collins, CO 80512
___________________________________________________________________________________
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
___________________________________________________________________________________
prev parent reply other threads:[~2018-07-02 13:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-30 21:04 Idris Samawi Hamid ادريس سماوي حامد
2018-06-30 21:04 ` Idris Samawi Hamid ادريس سماوي حامد
2018-07-02 6:58 ` Wolfgang Schuster
2018-07-02 12:34 ` Idris Samawi Hamid ادريس سماوي حامد
2018-07-02 13:21 ` Wolfgang Schuster
2018-07-02 13:41 ` Idris Samawi Hamid ادريس سماوي حامد [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=op.zli1nosrejo439@desktop-mt1m160 \
--to=idris.hamid@colostate.edu \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).