Re: [NTG-context] paragraph footnotes line height

2015-03-10 Thread mf
Il giorno sab, 07/03/2015 alle 10.59 +0100, Wolfgang Schuster ha
scritto:
  Am 07.03.2015 um 00:08 schrieb mf mass...@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
___

Re: [NTG-context] paragraph footnotes line height

2015-03-10 Thread Hans Hagen

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 mass...@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
___

Re: [NTG-context] paragraph footnotes line height

2015-03-09 Thread massifr
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
___

Re: [NTG-context] paragraph footnotes line height

2015-03-07 Thread Pablo Rodriguez
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
___

Re: [NTG-context] paragraph footnotes line height

2015-03-07 Thread Wolfgang Schuster

 Am 07.03.2015 um 00:08 schrieb mf mass...@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
___

Re: [NTG-context] paragraph footnotes line height

2015-03-07 Thread mf
  Am 07.03.2015 um 00:08 schrieb mf mass...@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
___

[NTG-context] paragraph footnotes line height

2015-03-06 Thread mf
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
___