ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: footnotes location=text
@ 2012-06-12  7:27 HermannSchopper
  0 siblings, 0 replies; 9+ messages in thread
From: HermannSchopper @ 2012-06-12  7:27 UTC (permalink / raw)
  To: Wolfgang Schuster, daniel.schopper; +Cc: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 746 bytes --]

Thanks a lot, that did it!
Daniel


----- Ursprüngliche Nachricht -----
Von: "Wolfgang Schuster" schuster.wolfgang@googlemail.com
Erhalten: 11.06.2012 16:10
An: daniel.schopper@aon.at
 
Am 11.06.2012 um 15:25 schrieb HermannSchopper: 
 
 Hi Wolfgang,  
 thanks for the quick fix! Unfortunately now the "paragraph" parameter in \setupnote[footnote][location=text,paragraph=yes] is ignored while it is working with location=page...  
 
 
You need \setupnote[…][paragraph=yes] and \setupnotation[…][display=no] (best add also “alternative=serried”) to have footnote etc. as a single paragraph. 
 
\setupnote    [footnote][location=text,paragraph=yes] 
\setupnotation[footnote][display=no,alternative=serried] 
 
Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 1123 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 9+ messages in thread

* Re: footnotes location=text
  2012-06-12  8:10   ` Hans Hagen
@ 2012-06-12 10:32     ` Wolfgang Schuster
  0 siblings, 0 replies; 9+ messages in thread
From: Wolfgang Schuster @ 2012-06-12 10:32 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users


Am 12.06.2012 um 10:10 schrieb Hans Hagen:

> On 11-6-2012 13:55, Wolfgang Schuster wrote:
>> 
>> Am 11.06.2012 um 13:21 schrieb HermannSchopper:
>> 
>>> Thanks, I missed that change!
>>> And what is the parameter to prevent the footnotes being placed twice?
>> 
>> It’s a bug which was fixed a while ago but came back. The code between \unprotect and \protect has to be added/changed in strc-not.mkvi.
> 
> actually it's a mixup of what i wanted to do and what got done ... i made a new beta for you to check

It works.

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] 9+ messages in thread

* Re: footnotes location=text
  2012-06-11 11:55 ` Wolfgang Schuster
@ 2012-06-12  8:10   ` Hans Hagen
  2012-06-12 10:32     ` Wolfgang Schuster
  0 siblings, 1 reply; 9+ messages in thread
From: Hans Hagen @ 2012-06-12  8:10 UTC (permalink / raw)
  To: Wolfgang Schuster; +Cc: mailing list for ConTeXt users

On 11-6-2012 13:55, Wolfgang Schuster wrote:
>
> Am 11.06.2012 um 13:21 schrieb HermannSchopper:
>
>> Thanks, I missed that change!
>> And what is the parameter to prevent the footnotes being placed twice?
>
> It’s a bug which was fixed a while ago but came back. The code between \unprotect and \protect has to be added/changed in strc-not.mkvi.

actually it's a mixup of what i wanted to do and what got done ... i 
made a new beta for you to check

> \unprotect
>
> \unexpanded\def\strc_notes_set_delayed
>    {\setfalse\c_strc_notes_delayed
>     \normalexpanded{\rawprocesscommalist[\noteparameter\c!location]\strc_notes_set_delayed_step}}
>
> \unexpanded\def\strc_notes_set_delayed_step#1%
>    {\ifcsname\??notedelayed#1\endcsname
>       \csname\??notedelayed#1\endcsname\c_strc_notes_delayed
>     \fi}
>
> \protect
>
> \setupnote[footnote][location=text]
>
> \starttext
>
> \dorecurse{10}{\input knuth\footnote{Footnote #1}\par}
>
> \placenotes[footnote]
>
> \stoptext
>
> Wolfgang
>


-- 

-----------------------------------------------------------------
                                           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] 9+ messages in thread

* Re: footnotes location=text
  2012-06-11 13:25 HermannSchopper
@ 2012-06-11 14:10 ` Wolfgang Schuster
  0 siblings, 0 replies; 9+ messages in thread
From: Wolfgang Schuster @ 2012-06-11 14:10 UTC (permalink / raw)
  To: daniel.schopper; +Cc: mailing list for ConTeXt users


Am 11.06.2012 um 15:25 schrieb HermannSchopper:

> Hi Wolfgang, 
> thanks for the quick fix! Unfortunately now the "paragraph" parameter in \setupnote[footnote][location=text,paragraph=yes] is ignored while it is working with location=page... 


You need \setupnote[…][paragraph=yes] and \setupnotation[…][display=no] (best add also “alternative=serried”) to have footnote etc. as a single paragraph.

\setupnote    [footnote][location=text,paragraph=yes]
\setupnotation[footnote][display=no,alternative=serried]

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] 9+ messages in thread

* Re: footnotes location=text
@ 2012-06-11 13:25 HermannSchopper
  2012-06-11 14:10 ` Wolfgang Schuster
  0 siblings, 1 reply; 9+ messages in thread
From: HermannSchopper @ 2012-06-11 13:25 UTC (permalink / raw)
  To: Wolfgang Schuster, daniel.schopper
  Cc: mailing list for ConTeXt users, Hans Hagen


[-- Attachment #1.1: Type: text/plain, Size: 1220 bytes --]

Hi Wolfgang,
thanks for the quick fix! Unfortunately now the "paragraph" parameter in \setupnote[footnote][location=text,paragraph=yes] is ignored while it is working with location=page...

best,
Daniel



----- Ursprüngliche Nachricht -----
Von: "Wolfgang Schuster" schuster.wolfgang@googlemail.com
Erhalten: 11.06.2012 13:55
An: daniel.schopper@aon.at
 
Am 11.06.2012 um 13:21 schrieb HermannSchopper: 
 
 Thanks, I missed that change!  
 And what is the parameter to prevent the footnotes being placed twice?  
 
It’s a bug which was fixed a while ago but came back. The code between \unprotect and \protect has to be added/changed in strc-not.mkvi. 
 
\unprotect 
 
\unexpanded\def\strc_notes_set_delayed 
  {\setfalse\c_strc_notes_delayed 
   \normalexpanded{\rawprocesscommalist[\noteparameter\c!location]\strc_notes_set_delayed_step}} 
 
\unexpanded\def\strc_notes_set_delayed_step#1% 
  {\ifcsname\??notedelayed#1\endcsname 
     \csname\??notedelayed#1\endcsname\c_strc_notes_delayed 
   \fi} 
 
\protect 
 
\setupnote[footnote][location=text] 
 
\starttext 
 
\dorecurse{10}{\input knuth\footnote{Footnote #1}\par} 
 
\placenotes[footnote] 
 
\stoptext 
 
Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 1842 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 9+ messages in thread

* Re: footnotes location=text
  2012-06-11 11:21 HermannSchopper
@ 2012-06-11 11:55 ` Wolfgang Schuster
  2012-06-12  8:10   ` Hans Hagen
  0 siblings, 1 reply; 9+ messages in thread
From: Wolfgang Schuster @ 2012-06-11 11:55 UTC (permalink / raw)
  To: daniel.schopper; +Cc: mailing list for ConTeXt users, Hans Hagen


Am 11.06.2012 um 13:21 schrieb HermannSchopper:

> Thanks, I missed that change! 
> And what is the parameter to prevent the footnotes being placed twice? 

It’s a bug which was fixed a while ago but came back. The code between \unprotect and \protect has to be added/changed in strc-not.mkvi.

\unprotect

\unexpanded\def\strc_notes_set_delayed
  {\setfalse\c_strc_notes_delayed
   \normalexpanded{\rawprocesscommalist[\noteparameter\c!location]\strc_notes_set_delayed_step}}

\unexpanded\def\strc_notes_set_delayed_step#1%
  {\ifcsname\??notedelayed#1\endcsname
     \csname\??notedelayed#1\endcsname\c_strc_notes_delayed
   \fi}

\protect

\setupnote[footnote][location=text]

\starttext

\dorecurse{10}{\input knuth\footnote{Footnote #1}\par}

\placenotes[footnote]

\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] 9+ messages in thread

* Re: footnotes location=text
@ 2012-06-11 11:21 HermannSchopper
  2012-06-11 11:55 ` Wolfgang Schuster
  0 siblings, 1 reply; 9+ messages in thread
From: HermannSchopper @ 2012-06-11 11:21 UTC (permalink / raw)
  To: Wolfgang Schuster, daniel.schopper, mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1133 bytes --]

      Thanks, I missed that change!
  And what is the parameter to prevent the footnotes being placed twice?

  \definenote [myFoot]  \setupnote [myFoot] [location=text] \starttext \input knuth\myFoot{a footnote (which should not be placed on the page)} \page \placeno tes[myFoot] \stoptext
cheers
Daniel

  ----- Ursprüngliche Nachricht ----- 
  Von: "Wolfgang Schuster" schuster.wolfgang@googlemail.com 
  Erhalten: 11.06.2012 11:34 
  An: daniel.schopper@aon.at, "mailing list for ConTeXt users" ntg-context@ntg.nl 
   
  Am 11.06.2012 um 10:58 schrieb HermannSchopper: 
   
   Dear list, 
   
   after switching to the current beta (2012.06.09 01:22) manually placed footnotes are being placed _both_ on the page and at the place specified by \placenotes. 
   And another one: I'd like to align the footnote number with the text (instead of having it ahng into the margin). Following http://wiki.contextgarden.net/Footnotes#Special_Needs I tried the location key in \setupnotation but this doesn't seem to do anything. 
   
  You have to write \setupnotation[…][alternative=…]. 
   
  Wolfgang 
   
  

[-- Attachment #1.2: Type: text/html, Size: 1950 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 9+ messages in thread

* Re: footnotes location=text
  2012-06-11  8:58 HermannSchopper
@ 2012-06-11  9:34 ` Wolfgang Schuster
  0 siblings, 0 replies; 9+ messages in thread
From: Wolfgang Schuster @ 2012-06-11  9:34 UTC (permalink / raw)
  To: daniel.schopper, mailing list for ConTeXt users


Am 11.06.2012 um 10:58 schrieb HermannSchopper:

> Dear list, 
> 
> after switching to the current beta (2012.06.09 01:22) manually placed footnotes are being placed _both_ on the page and at the place specified by \placenotes. 
> And another one: I'd like to align the footnote number with the text (instead of having it ahng into the margin). Following http://wiki.contextgarden.net/Footnotes#Special_Needs I tried the location key in \setupnotation but this doesn't seem to do anything. 

You have to write \setupnotation[…][alternative=…].

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] 9+ messages in thread

* footnotes location=text
@ 2012-06-11  8:58 HermannSchopper
  2012-06-11  9:34 ` Wolfgang Schuster
  0 siblings, 1 reply; 9+ messages in thread
From: HermannSchopper @ 2012-06-11  8:58 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 820 bytes --]

Dear list,

after switching to the current beta (2012.06.09 01:22) manually placed footnotes are being placed _both_ on the page and at the place specified by \placenotes.
And another one: I'd like to 
align the footnote number with the text (instead of having it ahng into 
the margin). Following http://wiki.contextgarden.net/Footnotes#Special_Needs I tried the 
location key in \setupnotation but this doesn't seem to do anything. 




\showframe 
\definenote [myFoot]
\setupnote [myFoot] [location=text]

\definenote[myOtherFoot]
\setupnotation[myOtherFoot][location=left]

\starttext
\input knuth\myFoot{a footnote (which should be placed in the text)}
\input knuth\myOtherFoot{ this footnote number should be aligned with the edge of the text.}
\page
\placenotes[myFoot]
\stoptext


thanks in advance!best,
Daniel

[-- Attachment #1.2: Type: text/html, Size: 2637 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 9+ messages in thread

end of thread, other threads:[~2012-06-12 10:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-12  7:27 footnotes location=text HermannSchopper
  -- strict thread matches above, loose matches on Subject: below --
2012-06-11 13:25 HermannSchopper
2012-06-11 14:10 ` Wolfgang Schuster
2012-06-11 11:21 HermannSchopper
2012-06-11 11:55 ` Wolfgang Schuster
2012-06-12  8:10   ` Hans Hagen
2012-06-12 10:32     ` Wolfgang Schuster
2012-06-11  8:58 HermannSchopper
2012-06-11  9:34 ` Wolfgang Schuster

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