ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* two (2) questions about footnotes
@ 2019-05-27  6:45 Thomas A. Schmitz
  2019-05-27  7:29 ` Hans Hagen
  2019-05-27  7:35 ` Hans Hagen
  0 siblings, 2 replies; 4+ messages in thread
From: Thomas A. Schmitz @ 2019-05-27  6:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi all,

I have two questions/problems about footnotes. Here is a minimal 
example, which does not compile in this form:

\unexpanded\def\MyRule{\blackrule[width=\textwidth,height=3pt]}
\setupfootnotes[rule=\MyRule]

\starttext
Test1: \index{Adam}Adam.\footnote{Test2: \index{Eve}Eve.}
\page
\placeregister [index]
\stoptext

(1) In my current project, the publisher wants the rule separating text 
and notes to extend across the entire text width. I found the \blackrule 
command and its use in the setup on the mailing list, many years ago, 
proposed by Steffen Wolfrum, but it doesn't work (anymore?); I get "tex 
error on line 3 in file /tmp/test.tex: ! Missing \endcsname inserted." 
Any hints?

(2) Again, something that has been asked on the mailing list, but not 
received any replies: would it be possible to have the index report that 
"Eve" occurs inside a footnote? So it says "Eve 1 n. 1" or something 
like that?

Thanks a lot, and all best

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

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

* Re: two (2) questions about footnotes
  2019-05-27  6:45 two (2) questions about footnotes Thomas A. Schmitz
@ 2019-05-27  7:29 ` Hans Hagen
  2019-05-27  7:35 ` Hans Hagen
  1 sibling, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2019-05-27  7:29 UTC (permalink / raw)
  To: ntg-context

On 5/27/2019 8:45 AM, Thomas A. Schmitz wrote:
> \unexpanded\def\MyRule{\blackrule[width=\textwidth,height=3pt]}
> \setupfootnotes[rule=\MyRule]
> 
> \starttext
> Test1: \index{Adam}Adam.\footnote{Test2: \index{Eve}Eve.}
> \page
> \placeregister [index]
> \stoptext

\setupnote
   [footnote]
   [rule=command,
    rulecommand=\MyRule]


-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: two (2) questions about footnotes
  2019-05-27  6:45 two (2) questions about footnotes Thomas A. Schmitz
  2019-05-27  7:29 ` Hans Hagen
@ 2019-05-27  7:35 ` Hans Hagen
  2019-05-27  7:46   ` Thomas A. Schmitz
  1 sibling, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2019-05-27  7:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Thomas A. Schmitz

On 5/27/2019 8:45 AM, Thomas A. Schmitz wrote:
> Hi all,

> (2) Again, something that has been asked on the mailing list, but not 
> received any replies: would it be possible to have the index report that 
> "Eve" occurs inside a footnote? So it says "Eve 1 n. 1" or something 
> like that?
\starttext

           Test1: \index{Adam}Adam.
\footnote{Test2: \index{Eve}Eve.}
\footnote[note:abel]{Test3: \index[Abel]{Abel in \in{note}[note:abel]}Abel.}

\page

\placeregister [index]
\stoptext


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: two (2) questions about footnotes
  2019-05-27  7:35 ` Hans Hagen
@ 2019-05-27  7:46   ` Thomas A. Schmitz
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas A. Schmitz @ 2019-05-27  7:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Hans Hagen

On 05/27/2019 09:35 AM, Hans Hagen wrote:
> 
>            Test1: \index{Adam}Adam.
> \footnote{Test2: \index{Eve}Eve.}
> \footnote[note:abel]{Test3: \index[Abel]{Abel in 
> \in{note}[note:abel]}Abel.}
> 
> \page
> 
> \placeregister [index]
> \stoptext

Ah excellent, thanks a lot, that makes everything clear!

All best

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

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

end of thread, other threads:[~2019-05-27  7:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-27  6:45 two (2) questions about footnotes Thomas A. Schmitz
2019-05-27  7:29 ` Hans Hagen
2019-05-27  7:35 ` Hans Hagen
2019-05-27  7:46   ` Thomas A. Schmitz

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