ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* paragraph footnotes line height
@ 2015-03-06 23:08 mf
  2015-03-07  9:59 ` Wolfgang Schuster
  0 siblings, 1 reply; 7+ messages in thread
From: mf @ 2015-03-06 23:08 UTC (permalink / raw)
  To: ntg-context

Hello,
I'd like to know how I can set the line height of paragraph footnotes.
They get the line height set with \setupinterlinespace, whether I use
the grid or not.
Here's my configuration:

\setupnotation[footnote][
  alternative=serried,
  numbercommand=,
  numberstopper=,
  numbercommand=\high,
  numberconversion=a,
  way=bypage,
  width=0pt,
  location=page
]
\setupnote[footnote][
  paragraph=yes,
  inbetween= \emdash{} ,
  location=page
]

Thanks,
Massi

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

* Re: paragraph footnotes line height
  2015-03-06 23:08 paragraph footnotes line height mf
@ 2015-03-07  9:59 ` Wolfgang Schuster
  2015-03-07 10:42   ` Pablo Rodriguez
                     ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Wolfgang Schuster @ 2015-03-07  9:59 UTC (permalink / raw)
  To: massifr, mailing list for ConTeXt users


> Am 07.03.2015 um 00:08 schrieb mf <massifr@fastwebnet.it>:
> 
> Hello,
> I'd like to know how I can set the line height of paragraph footnotes.
> They get the line height set with \setupinterlinespace, whether I use
> the grid or not.
> Here's my configuration:
> 
> \setupnotation[footnote][
>  alternative=serried,
>  numbercommand=,
>  numberstopper=,
>  numbercommand=\high,
>  numberconversion=a,
>  way=bypage,
>  width=0pt,
>  location=page
> ]
> \setupnote[footnote][
>  paragraph=yes,
>  inbetween= \emdash{} ,
>  location=page
> ]

\startsetups[footnote:interlinespace]
  \setupinterlinespace[line=10pt]
\stopsetups

\setupnote[footnote][setups=footnote:interlinespace]

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

* Re: paragraph footnotes line height
  2015-03-07  9:59 ` Wolfgang Schuster
@ 2015-03-07 10:42   ` Pablo Rodriguez
  2015-03-07 23:46   ` mf
  2015-03-10 21:58   ` mf
  2 siblings, 0 replies; 7+ messages in thread
From: Pablo Rodriguez @ 2015-03-07 10:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 03/07/2015 10:59 AM, Wolfgang Schuster wrote:
>> Am 07.03.2015 um 00:08 schrieb mf:
>> I'd like to know how I can set the line height of paragraph footnotes.
>> [...]
> 
> \startsetups[footnote:interlinespace]
>   \setupinterlinespace[line=10pt]
> \stopsetups
> 
> \setupnote[footnote][setups=footnote:interlinespace]

Wolfgang,

this doesn’t work with paragraph footnotes:

    \startsetups[setups:footnote]
      \setupinterlinespace[line=8ex]
    \stopsetups

    \setupnotation[footnote][
      alternative=serried,
      numbercommand=\high,
      numberconversion=a,
      way=bypage,
      width=0pt,
    ]
    \setupnote[footnote][
      paragraph=yes,
      inbetween= \emdash{} ,
      setups=setups:footnote,
    ]

    \starttext
    \dorecurse{2}{These are footnotes\footnote{\input knuth}. }
    \stoptext

Is it a bug?


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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: paragraph footnotes line height
  2015-03-07  9:59 ` Wolfgang Schuster
  2015-03-07 10:42   ` Pablo Rodriguez
@ 2015-03-07 23:46   ` mf
  2015-03-10 21:58   ` mf
  2 siblings, 0 replies; 7+ messages in thread
From: mf @ 2015-03-07 23:46 UTC (permalink / raw)
  To: Wolfgang Schuster; +Cc: ntg-context, oinos

> > Am 07.03.2015 um 00:08 schrieb mf <massifr@fastwebnet.it>:
> > 
> > Hello,
> > I'd like to know how I can set the line height of paragraph footnotes.
> > They get the line height set with \setupinterlinespace, whether I use
> > the grid or not.
> > Here's my configuration:
> > 
> > \setupnotation[footnote][
> >  alternative=serried,
> >  numbercommand=,
> >  numberstopper=,
> >  numbercommand=\high,
> >  numberconversion=a,
> >  way=bypage,
> >  width=0pt,
> >  location=page
> > ]
> > \setupnote[footnote][
> >  paragraph=yes,
> >  inbetween= \emdash{} ,
> >  location=page
> > ]
> 
> \startsetups[footnote:interlinespace]
>   \setupinterlinespace[line=10pt]
> \stopsetups
> 
> \setupnote[footnote][setups=footnote:interlinespace]
> 
> Wolfgang

Comment out the "paragraph=yes" and it works.
But paragraph footnotes don't seem to work with it, 
as also Pablo pointed out.

Anyway, thank you both.

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

* Re: paragraph footnotes line height
  2015-03-07  9:59 ` Wolfgang Schuster
  2015-03-07 10:42   ` Pablo Rodriguez
  2015-03-07 23:46   ` mf
@ 2015-03-10 21:58   ` mf
  2015-03-10 22:47     ` Hans Hagen
  2 siblings, 1 reply; 7+ messages in thread
From: mf @ 2015-03-10 21:58 UTC (permalink / raw)
  To: ntg-context; +Cc: Pablo Rodriguez

Il giorno sab, 07/03/2015 alle 10.59 +0100, Wolfgang Schuster ha
scritto:
> > Am 07.03.2015 um 00:08 schrieb mf <massifr@fastwebnet.it>:
> > 
> > Hello,
> > I'd like to know how I can set the line height of paragraph footnotes.
> > They get the line height set with \setupinterlinespace, whether I use
> > the grid or not.
> > Here's my configuration:
> > 
> > \setupnotation[footnote][
> >  alternative=serried,
> >  numbercommand=,
> >  numberstopper=,
> >  numbercommand=\high,
> >  numberconversion=a,
> >  way=bypage,
> >  width=0pt,
> >  location=page
> > ]
> > \setupnote[footnote][
> >  paragraph=yes,
> >  inbetween= \emdash{} ,
> >  location=page
> > ]
> 
> \startsetups[footnote:interlinespace]
>   \setupinterlinespace[line=10pt]
> \stopsetups
> 
> \setupnote[footnote][setups=footnote:interlinespace]
> 
> Wolfgang

I have found a solution, searching with docfetcher for the occurrencies
of "\baselineskip" in all the ConTeXt documentation I've downloaded.
In "LaTeX in proper ConTeXt", at page 26, Berend de Boer shows how to
set the the interline space relatively to the body font size.

My layout has a body font size of 11 points on 12 points of interline
space; I'm using grid snapping (\setuplayout[ ... grid=tolerant, ... ]).

Instead of setting the interline space like this:
\setupinterlinespace[12pt]
I've used:
\setupinterlinespace[1.09\bodyfontsize]  % 11pt * 1.09 = 12pt

This way:
- the paragraph footnotes' interline space is less than the 12 points of
the grid
- Wolfgang's solution works too: 
  \startsetups[footnote:interlinespace]
    \setupinterlinespace[line=1.2\bodyfontsize]
  \stopsetups
  but only to widen the interline space of footnotes;

When I try to shrink the footnotes' interline space with:
  \startsetups[footnote:interlinespace]
    \setupinterlinespace[line=.9\bodyfontsize]
  \stopsetups
the only vertical space that shrinks it the one between the bottom of
the main text and the footnotes' top.

Have you an explanation for that behaviour? I'm new to ConTeXt and I
still need to develop a "ConTeXt mindset"; perhaps the people who know
how ConTeXt works will find that understandable.
Any hint is welcome.

Thanks,
Massi

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

* Re: paragraph footnotes line height
  2015-03-10 21:58   ` mf
@ 2015-03-10 22:47     ` Hans Hagen
  0 siblings, 0 replies; 7+ messages in thread
From: Hans Hagen @ 2015-03-10 22:47 UTC (permalink / raw)
  To: massifr, mailing list for ConTeXt users; +Cc: Pablo Rodriguez

On 3/10/2015 10:58 PM, mf wrote:
> Il giorno sab, 07/03/2015 alle 10.59 +0100, Wolfgang Schuster ha
> scritto:
>>> Am 07.03.2015 um 00:08 schrieb mf <massifr@fastwebnet.it>:
>>>
>>> Hello,
>>> I'd like to know how I can set the line height of paragraph footnotes.
>>> They get the line height set with \setupinterlinespace, whether I use
>>> the grid or not.
>>> Here's my configuration:
>>>
>>> \setupnotation[footnote][
>>>   alternative=serried,
>>>   numbercommand=,
>>>   numberstopper=,
>>>   numbercommand=\high,
>>>   numberconversion=a,
>>>   way=bypage,
>>>   width=0pt,
>>>   location=page
>>> ]
>>> \setupnote[footnote][
>>>   paragraph=yes,
>>>   inbetween= \emdash{} ,
>>>   location=page
>>> ]
>>
>> \startsetups[footnote:interlinespace]
>>    \setupinterlinespace[line=10pt]
>> \stopsetups
>>
>> \setupnote[footnote][setups=footnote:interlinespace]
>>
>> Wolfgang
>
> I have found a solution, searching with docfetcher for the occurrencies
> of "\baselineskip" in all the ConTeXt documentation I've downloaded.
> In "LaTeX in proper ConTeXt", at page 26, Berend de Boer shows how to
> set the the interline space relatively to the body font size.
>
> My layout has a body font size of 11 points on 12 points of interline
> space; I'm using grid snapping (\setuplayout[ ... grid=tolerant, ... ]).
>
> Instead of setting the interline space like this:
> \setupinterlinespace[12pt]
> I've used:
> \setupinterlinespace[1.09\bodyfontsize]  % 11pt * 1.09 = 12pt
>
> This way:
> - the paragraph footnotes' interline space is less than the 12 points of
> the grid
> - Wolfgang's solution works too:
>    \startsetups[footnote:interlinespace]
>      \setupinterlinespace[line=1.2\bodyfontsize]
>    \stopsetups
>    but only to widen the interline space of footnotes;
>
> When I try to shrink the footnotes' interline space with:
>    \startsetups[footnote:interlinespace]
>      \setupinterlinespace[line=.9\bodyfontsize]
>    \stopsetups
> the only vertical space that shrinks it the one between the bottom of
> the main text and the footnotes' top.
>
> Have you an explanation for that behaviour? I'm new to ConTeXt and I
> still need to develop a "ConTeXt mindset"; perhaps the people who know
> how ConTeXt works will find that understandable.
> Any hint is welcome.

the defaults are these:

\setupinterlinespace
   [height=.72,
    depth=.28,
    line=2.8\exheight]

so you can try for instance

\setupinterlinespace
   [line=3.2\exheight]

the height/depth are ratios used in struts etc



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

* Re: paragraph footnotes line height
@ 2015-03-09 13:28 massifr
  0 siblings, 0 replies; 7+ messages in thread
From: massifr @ 2015-03-09 13:28 UTC (permalink / raw)
  To: ntg-context

>On 03/07/2015 10:59 AM, Wolfgang Schuster wrote:
>>> Am 07.03.2015 um 00:08 schrieb mf:
>>> I'd like to know how I can set the line height of paragraph footnotes.
>>> [...]
>> 
>> \startsetups[footnote:interlinespace]
>>   \setupinterlinespace[line=10pt]
>> \stopsetups
>> 
>> \setupnote[footnote][setups=footnote:interlinespace]
>
>Wolfgang,
>
>this doesn’t work with paragraph footnotes:
>
>    \startsetups[setups:footnote]
>      \setupinterlinespace[line=8ex]
>    \stopsetups
>
>    \setupnotation[footnote][
>      alternative=serried,
>      numbercommand=\high,
>      numberconversion=a,
>      way=bypage,
>      width=0pt,
>    ]
>    \setupnote[footnote][
>      paragraph=yes,
>      inbetween= \emdash{} ,
>      setups=setups:footnote,
>    ]
>
>    \starttext
>    \dorecurse{2}{These are footnotes\footnote{\input knuth}. }
>    \stoptext
>
>Is it a bug?
>
>
>Pablo

This problem was already outlined here: 
http://www.ntg.nl/pipermail/ntg-context/2007/024384.html

Is it a bug or a feature that has not been implemented?
I know that paragraph footnotes are less common, but a smaller font with the same line space of the main text is ugly.
Is there a workaround? Where should I look for a solution?
I tried to modify the interline space in "before" parameter, without success.
I looked at strc-not.mkvi, but it's too difficult for me (at least for now), since I'm new to ConTeXt (and TeX).
Any suggestions?
Thanks in advance,
Massi
___________________________________________________________________________________
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] 7+ messages in thread

end of thread, other threads:[~2015-03-10 22:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-06 23:08 paragraph footnotes line height mf
2015-03-07  9:59 ` Wolfgang Schuster
2015-03-07 10:42   ` Pablo Rodriguez
2015-03-07 23:46   ` mf
2015-03-10 21:58   ` mf
2015-03-10 22:47     ` Hans Hagen
2015-03-09 13:28 massifr

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