Re: [NTG-context] footnote placement

2017-07-21 Thread Meer, Hans van der

> On 21 Jul 2017, at 07:00, Pablo Rodriguez  wrote:
> 
> On 07/20/2017 10:06 PM, Meer, Hans van der wrote:
>> I did use: \setupnotes[footnote][split=verystrict,scope=page] so I guess
>> there is not much hope here.
>> 
>> A related question: the numbering of endnotes is placed in the
>> leftmargin. Is there a parameter setting that forces them in the
>> textarea of the page?  I tried \setupnotes[endnote][location=text] but
>> without success.
> 
> Hans,
> 
> \setupnotation[endnote][alternative=serried] is what you need.

Does the trick. Thanks. I was afraid I had to make an ad hoc macro, but this is 
far better.

Hans van der Meer

___
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] footnote placement

2017-07-20 Thread Pablo Rodriguez
On 07/20/2017 10:06 PM, Meer, Hans van der wrote:
> I did use: \setupnotes[footnote][split=verystrict,scope=page] so I guess
> there is not much hope here.
> 
> A related question: the numbering of endnotes is placed in the
> leftmargin. Is there a parameter setting that forces them in the
> textarea of the page?  I tried \setupnotes[endnote][location=text] but
> without success.

Hans,

\setupnotation[endnote][alternative=serried] is what you need.

Pablo
-- 
http://www.ousia.tk
___
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] footnote placement

2017-07-20 Thread Meer, Hans van der
I did use: \setupnotes[footnote][split=verystrict,scope=page] so I guess there 
is not much hope here.

A related question: the numbering of endnotes is placed in the leftmargin. Is 
there a parameter setting that forces them in the textarea of the page?  I 
tried \setupnotes[endnote][location=text] but without success.

Hans van der Meer




On 20 Jul 2017, at 21:33, Hans Hagen > 
wrote:

On 7/20/2017 9:14 PM, Meer, Hans van der wrote:
Pablo,
[scope=page] does not help.
I did a few experiments with the following result.
If the footnote is close to the previous page, than obviously the float 
mechanism may decide to put the footnote on the previous page. This happens 
even when the footnote is in the second paragraph of that page. Only when the 
footnote is far enough from the top of the page (I have no inkling how far is 
far enough) will the footnote appear on the current page, as where one expects 
it.
I guess this is a tricky one, but perhaps Hans Hagen will know what to do or 
what to change. I am convinced he will not be afraid of some trickery:-)

if verystrict is not helping there is not much that we can do as tex decides if 
keeping note and reference on one page is possible at all given other 
constraints

(of course there can be a bug in context)

Hans van der Meer
On 20 Jul 2017, at 20:28, Pablo Rodriguez > 
wrote:

On 07/20/2017 11:16 AM, Meer, Hans van der wrote:
It happens that a footnote generated on a certain page is typeset on
the page preceding it. Rather than that, I would like to force a
footnote to appear either on the page where it is defined or on the
following page. Can such behaviour be enforced?
Currently this is my footnote setup:
\setupnotes   [footnote][split=verystrict]

Hans,

I would add "scope=page", but that would prevent moving the footnote to
the next page.

I don’t know whether this would prevent the footnote to be placed in the
page before where it is defined.

Pablo
--
http://www.ousia.tk
___
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
___


--

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

___
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] footnote placement

2017-07-20 Thread Hans Hagen

On 7/20/2017 9:14 PM, Meer, Hans van der wrote:

Pablo,

[scope=page] does not help.

I did a few experiments with the following result.
If the footnote is close to the previous page, than obviously the float 
mechanism may decide to put the footnote on the previous page. This happens 
even when the footnote is in the second paragraph of that page. Only when the 
footnote is far enough from the top of the page (I have no inkling how far is 
far enough) will the footnote appear on the current page, as where one expects 
it.

I guess this is a tricky one, but perhaps Hans Hagen will know what to do or 
what to change. I am convinced he will not be afraid of some trickery:-)


if verystrict is not helping there is not much that we can do as tex 
decides if keeping note and reference on one page is possible at all 
given other constraints


(of course there can be a bug in context)


Hans van der Meer





On 20 Jul 2017, at 20:28, Pablo Rodriguez  wrote:

On 07/20/2017 11:16 AM, Meer, Hans van der wrote:

It happens that a footnote generated on a certain page is typeset on
the page preceding it. Rather than that, I would like to force a
footnote to appear either on the page where it is defined or on the
following page. Can such behaviour be enforced?
Currently this is my footnote setup:
\setupnotes   [footnote][split=verystrict]


Hans,

I would add "scope=page", but that would prevent moving the footnote to
the next page.

I don’t know whether this would prevent the footnote to be placed in the
page before where it is defined.

Pablo
--
http://www.ousia.tk
___
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
___




--

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

Re: [NTG-context] footnote placement

2017-07-20 Thread Meer, Hans van der
Pablo,

[scope=page] does not help. 

I did a few experiments with the following result.
If the footnote is close to the previous page, than obviously the float 
mechanism may decide to put the footnote on the previous page. This happens 
even when the footnote is in the second paragraph of that page. Only when the 
footnote is far enough from the top of the page (I have no inkling how far is 
far enough) will the footnote appear on the current page, as where one expects 
it.

I guess this is a tricky one, but perhaps Hans Hagen will know what to do or 
what to change. I am convinced he will not be afraid of some trickery:-)

Hans van der Meer




> On 20 Jul 2017, at 20:28, Pablo Rodriguez  wrote:
> 
> On 07/20/2017 11:16 AM, Meer, Hans van der wrote:
>> It happens that a footnote generated on a certain page is typeset on
>> the page preceding it. Rather than that, I would like to force a
>> footnote to appear either on the page where it is defined or on the
>> following page. Can such behaviour be enforced?
>> Currently this is my footnote setup:
>> \setupnotes   [footnote][split=verystrict]
> 
> Hans,
> 
> I would add "scope=page", but that would prevent moving the footnote to
> the next page.
> 
> I don’t know whether this would prevent the footnote to be placed in the
> page before where it is defined.
> 
> Pablo
> -- 
> http://www.ousia.tk
> ___
> 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
___

Re: [NTG-context] footnote placement

2017-07-20 Thread Pablo Rodriguez
On 07/20/2017 11:16 AM, Meer, Hans van der wrote:
> It happens that a footnote generated on a certain page is typeset on
> the page preceding it. Rather than that, I would like to force a
> footnote to appear either on the page where it is defined or on the
> following page. Can such behaviour be enforced?
> Currently this is my footnote setup:
> \setupnotes   [footnote][split=verystrict]

Hans,

I would add "scope=page", but that would prevent moving the footnote to
the next page.

I don’t know whether this would prevent the footnote to be placed in the
page before where it is defined.

Pablo
-- 
http://www.ousia.tk
___
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] footnote placement

2017-07-20 Thread Meer, Hans van der
It happens that a footnote generated on a certain page is typeset on the page 
preceding it. Rather than that, I would like to force a footnote to appear 
either on the page where it is defined or on the following page. Can such 
behaviour  be enforced? 
Currently this is my footnote setup:
\setupnotes   [footnote][split=verystrict]
\setupnotation[footnote][way=bypage,numberconversion=set 2,headstyle=small]

Hans van der Meer




___
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] Footnote Placement in Columnsets

2014-08-13 Thread David Baßler
Dear all,

a couple of days ago I asked about placing footnotes in columnsets in only the 
first column.
I haven't received an answer and found this 
http://skryb.info/m/ntg-context%40ntg.nl/45C100C2.5050500%40econ.muni.cz on 
Google, which is basically the same question and also unanswered. So I just 
thought I try again:

I use a two columns columnsets layout and want to place the footnotes in the 
first column only.
I tried 
\setupnotation[footnote][
location=firstcolumn]

but this didn't work as expected it puts the footnotes into both columns.
If it is not possible to do this, I need to know.
I am using the current version of ConTeXt that comes with the MacTeX-2014 
Distribution.

Cheers,
David

PS: I am new to mailing lists like this, so I wasn't sure if I should post it 
again or wait. I'm sorry if I am too impatient.
___
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] Footnote Placement in Columnsets

2014-08-13 Thread Wolfgang Schuster

Am 13.08.2014 um 13:42 schrieb David Baßler davidhbass...@gmail.com:

 Dear all,
 
 a couple of days ago I asked about placing footnotes in columnsets in only 
 the first column.
 I haven't received an answer and found this 
 http://skryb.info/m/ntg-context%40ntg.nl/45C100C2.5050500%40econ.muni.cz on 
 Google, which is basically the same question and also unanswered. So I just 
 thought I try again:
 
 I use a two columns columnsets layout and want to place the footnotes in the 
 first column only.
 I tried 
 \setupnotation[footnote][
   location=firstcolumn]
 
 but this didn't work as expected it puts the footnotes into both columns.
 If it is not possible to do this, I need to know.
 I am using the current version of ConTeXt that comes with the MacTeX-2014 
 Distribution.

I think this is not possible and footnotes are always placed in both columns.

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] footnote placement in columns

2009-11-27 Thread Taco Hoekwater

Hi,

Andreas Harder wrote:
 Hi,
 
 something is wrong with the column placement or I did something wrong. I want 
 them on both columns or at least at the right one.
 
 % \setupfootnotes[location=columns] % - box0
 \setupfootnotes[location=lastcolumn] % - = firstcolumn

There is a bug in strc-not.mkiv, it exchanges the numeric values
of 'lastcolumn' (3) and 'firstcolumn' (4) when compared to mkii.

Lines 328,329 should read:

\setvalue{\??vn @\v!lastcolumn }{\setnotelocation\plusthree}
\setvalue{\??vn @\v!firstcolumn}{\setnotelocation\plusfour}

Also, there is a missing \ in page-mul.mkiv.

Line 944 should read:

  \box0}%


After those two fixes and a format regeneration, your input gets the
correct output over here.

Best wishes,
Taco

___
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] footnote placement in columns

2009-11-27 Thread Andreas Harder

Am 27.11.2009 um 17:29 schrieb Taco Hoekwater:

 
 Hi,
 
 Andreas Harder wrote:
 Hi,
 
 something is wrong with the column placement or I did something wrong. I 
 want them on both columns or at least at the right one.
 
 % \setupfootnotes[location=columns] % - box0
 \setupfootnotes[location=lastcolumn] % - = firstcolumn
 
 There is a bug in strc-not.mkiv, it exchanges the numeric values
 of 'lastcolumn' (3) and 'firstcolumn' (4) when compared to mkii.
 
 Lines 328,329 should read:
 
 \setvalue{\??vn @\v!lastcolumn }{\setnotelocation\plusthree}
 \setvalue{\??vn @\v!firstcolumn}{\setnotelocation\plusfour}
 
 Also, there is a missing \ in page-mul.mkiv.
 
 Line 944 should read:
 
  \box0}%
 
 
 After those two fixes and a format regeneration, your input gets the
 correct output over here.
 
Thanks Taco, 

its fixed in the new beta.

Andreas
___
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] footnote placement

2005-03-29 Thread Hans Hagen
Gerben Wierda wrote:
I have been trying to do this for a test with larger notes, but this fails:
\starttext
\startbuffer[tufte]
\input tufte
\stopbuffer
\startbuffer[knuth]
\input knuth
\stopbuffer
\dorecurse{100}{test \footnote{\typebuffer[knuth]} \endnote{eee}\endgraf}
\page
\placenotes[endnote]
\setupnote[endnote][location=none]
\starttext
\dorecurse{100}{test \endnote{eee}\endgraf}
\page
\placenotes[endnote]
\stoptext
i'll make location=none the defautl for endnotes; (other alternatives will snap 
and add backgrounds and such which is one reason for the notes not breaking

Hans
-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] footnote placement

2005-03-29 Thread Hans Hagen
Gerben Wierda wrote:
I have been trying to do this for a test with larger notes, but this fails:
\starttext
\startbuffer[tufte]
\input tufte
\stopbuffer
\startbuffer[knuth]
\input knuth
\stopbuffer
\dorecurse{100}{test \footnote{\typebuffer[knuth]} \endnote{eee}\endgraf}
it's \getbuffer else you indeed get a verbatim buffer (which is what type 
does);
\dorecurse{100}{test \footnote{\input knuth } \endnote{eee}\endgraf}
also works; put a space or \relax after \input, else tex keeps scanning; 
alternatively use \ReadFile{knuth} or \readfile{knuth}{}{}


\page
\placenotes[endnote]
\stoptext
But I get \input tufte in my footnotes. Putting the \input directly in 
the \footnote also fails because TeX cannot open the fiile.

G
On 21 Mar 2005, at 17:42, Hans Hagen wrote:
Idris Samawi Hamid wrote:
Dear gang,
I think this may have been missed, so I'm sending it again.

replace your core-not.tex by the attached file and regenerate the format
\starttext
\dorecurse{100}{test \footnote{test} \endnote{eee}\endgraf}
\page
\placenotes[endnote]
\stoptext
should work then
Hans
-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
core-not.tex___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


--
-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


RE: [NTG-context] footnote placement

2005-03-29 Thread Idris Samawi Hamid
= Original Message From Hans Hagen [EMAIL PROTECTED] =
 \starttext
 \startbuffer[tufte]
 \input tufte
 \stopbuffer
 \startbuffer[knuth]
 \input knuth
 \stopbuffer
 \dorecurse{100}{test \footnote{\typebuffer[knuth]} \endnote{eee}\endgraf}

it's \getbuffer else you indeed get a verbatim buffer (which is what type 
does);

\dorecurse{100}{test \footnote{\input knuth } \endnote{eee}\endgraf}

So \endgraf (or \par) is needed here; I should have guessed-)

also works; put a space or \relax after \input, else tex keeps scanning;
alternatively use \ReadFile{knuth} or \readfile{knuth}{}{}

I definitely prefer the \ReadFile option. I could not find it (or 
\readfile{}{}{}) in ConTeXt Commands or texshow; must be new...

What's the difference between these two commands?

Also: given the ConTeXt philosophy, shouldn't there be a non-cryptic 
replacement for \par or \endgraf, something like \paragraph or \endparagraph?

Best
Idris


Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] footnote placement

2005-03-21 Thread Idris Samawi Hamid
Dear gang,
I think this may have been missed, so I'm sending it again.
Best
Idris
=
Thu, 17 Mar 2005 21:24:43 -0700==
Dear syndicate,
1. When I place footnotes as endnotes, they overflow the page, like an 
oversize \vbox.

2. E.g.
\input tufte
does not work from inside \footnote{}
Here is a test file.
Best
Idris
==test-notes===
\setupoutput[pdftex]
\setupfootnotes[location=text]
\starttext
\dorecurse{14}
{\input tufte\footnote{Here is a footnote.\par Here is a footnote.\par 
Here is a footnote.}
\par
\input knuth\footnote{Here is a footnote.\par Here is a footnote.\par Here 
is a footnote.}
\par}

%\dorecurse{14} % THIS DOES NOT WORK!!!
%{\input tufte\footnote{\input tufte}
%\par
%\input knuth\footnote{\input knuth}
%\par}
\section{notes}
\placefootnotes[location=text,split=tolerant]
% the split option does not help:-(
\stoptext
===
--
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] footnote placement

2005-03-17 Thread ishamid
Dear syndicate,

1. When I place footnotes as endnotes, they overflow the page, like an 
oversize \vbox.

2. E.g.

\input tufte

does not work from inside \footnote{}

Here is a test file.

Best
Idris

==test-notes===
\setupoutput[pdftex]

\setupfootnotes[location=text]

\starttext

\dorecurse{14}
{\input tufte\footnote{Here is a footnote.\par 
Here is a footnote.\par Here is a footnote.}
\par
\input knuth\footnote{Here is a footnote.\par 
Here is a footnote.\par Here is a footnote.}
\par}

%\dorecurse{14} % THIS DOES NOT WORK!!!
%{\input tufte\footnote{\input tufte}
%\par
%\input knuth\footnote{\input knuth}
%\par}

\section{notes}

\placefootnotes[location=text,split=tolerant]
% the split option does not help:-(

\stoptext
===


Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context