Re: [NTG-context] footnotes location=text

2012-06-12 Thread HermannSchopper
Thanks a lot, that did it!
Daniel


- Ursprüngliche Nachricht -
Von: Wolfgang Schuster schuster.wolfg...@googlemail.com
Erhalten: 11.06.2012 16:10
An: daniel.schop...@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___
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
___

Re: [NTG-context] footnotes location=text

2012-06-12 Thread 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



\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
___


Re: [NTG-context] footnotes location=text

2012-06-12 Thread Wolfgang Schuster

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
___


[NTG-context] footnotes location=text

2012-06-11 Thread 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. 




\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
___
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
___

Re: [NTG-context] footnotes location=text

2012-06-11 Thread Wolfgang Schuster

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
___


Re: [NTG-context] footnotes location=text

2012-06-11 Thread HermannSchopper
  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.wolfg...@googlemail.com 
  Erhalten: 11.06.2012 11:34 
  An: daniel.schop...@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 
   
  ___
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
___

Re: [NTG-context] footnotes location=text

2012-06-11 Thread Wolfgang Schuster

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
___


Re: [NTG-context] footnotes location=text

2012-06-11 Thread 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...

best,
Daniel



- Ursprüngliche Nachricht -
Von: Wolfgang Schuster schuster.wolfg...@googlemail.com
Erhalten: 11.06.2012 13:55
An: daniel.schop...@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___
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
___

Re: [NTG-context] footnotes location=text

2012-06-11 Thread Wolfgang Schuster

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
___