ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: footnote marks fail
@ 2010-04-13 10:53 Michael Saunders
  2010-04-13 11:24 ` Peter Münster
  0 siblings, 1 reply; 16+ messages in thread
From: Michael Saunders @ 2010-04-13 10:53 UTC (permalink / raw)
  To: ntg-context

Taco Hoekwater wrote:


> \setupfootnotes[textcommand=,numbercommand=,style=,bodyfont=]

Thanks, Taco.  I tried the following:

\setupfootnotes[textcommand=,numbercommand=,style=,bodyfont=]

\starttext
text1\footnote{1footnote}
\stoptext

and it almost works.  The third and fourth '1' look the same, but the
first and second '1' (those in the text) are different.  The second is
on the baseline, but it has been scaled much smaller than the first.
I want to turn off even this scaling.

My eventual plan is to use my sups for this (they seem to work fine
for me), but for now I'd be content to turn the automatic scaling off.
 By the way, of these four keys (textcommand, numbercommand, style,
bodyfont), it's not at all clear to me what each is supposed to
control.
___________________________________________________________________________________
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] 16+ messages in thread
* Re: footnote marks fail
@ 2010-04-13 18:09 Michael Saunders
  0 siblings, 0 replies; 16+ messages in thread
From: Michael Saunders @ 2010-04-13 18:09 UTC (permalink / raw)
  To: ntg-context

Sebastien Mengin:

> Sorry, a bit off topic, but: is \setupfootnotes[] a synonym for
> \setupnote[footnote][] ?

Besides
\setupfootnotes[]
and
\setupnote[footnote][]
there are:
\setupenumerations[footnote][]
and
\setupfootnotedefinition[]
and maybe more.

I have no idea how they are related or even how to find out the difference.
___________________________________________________________________________________
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] 16+ messages in thread
* Re: footnote marks fail
@ 2010-04-13 10:16 Michael Saunders
  2010-04-13 10:22 ` Hans Hagen
  2010-04-13 10:33 ` Taco Hoekwater
  0 siblings, 2 replies; 16+ messages in thread
From: Michael Saunders @ 2010-04-13 10:16 UTC (permalink / raw)
  To: ntg-context

Taco Hoekwater wrote:


> I may be missing something on my side, but I can't get sups=yes
> to work at all.
>
>  \definefontfeature[default][default][mode=node,script=latn,sups=yes]
>  \switchtobodyfont[palatino,11pt]

It may well be that this palatino doesn't have the sups feature.  Let
me put it this way:

\starttext
text1\footnote{1footnote}
\stoptext

This will produce four instances of the numeral '1'.  Suppose I want
them all to look exactly alike.  In other words, suppose I didn't want
either footnote mark to be rescaled or elevated at all.  How could I
do that?
___________________________________________________________________________________
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] 16+ messages in thread
* footnote marks fail
@ 2010-04-12 23:52 Michael Saunders
  2010-04-13  6:47 ` Taco Hoekwater
  0 siblings, 1 reply; 16+ messages in thread
From: Michael Saunders @ 2010-04-12 23:52 UTC (permalink / raw)
  To: ntg-context

Footnotes are normally marked with superior figures both in the text
and before the footnote itself.  Context's defaults prevent this, and
I can't figure out how to change the defaults.

1. The defaults

So that no imagination is necessary, here is a minimal example:

\starttext
text\footnote{footnote}
\stoptext

I have to guess what Context is doing.  It looks like it's taking the
regular numbers from the font, shrinking them somehow and elevating
them.  It does this in unequal amounts for the marks in text and the
marks before footnotes.  In both cases, the number is so light it's
barely readable.  In the case of the mark before the footnote, it's
raised much too high.

Normal, professional fonts have superior figures in them that are used
for footnote marks.  It _should_ be possible to use them, that is.
All I want to do is turn off the default scaling and raising behavior
of Context footnote marks so I can do this, and finally get normal
looking footnotes.  No doubt, people will object that they don't have
my font in the room with them, and it is therefore impossible to think
about the problem. So, I repeat myself:  all I want to do is turn off
the default scaling and raising.

2. My first stab at correcting this.

WARNING:  I have a font with the opentype features 'sups' and 'numr'.
You might not have this font, but it is still possible to think about
the problem:  the problem is not my font, but Context's defaults.

\definefontfeature[su][default][sups=yes]%superior
\definefontfeature[nu][default][numr=yes]%numerator

\newcommand{\fnstyle}{\switchtobodyfont[12pt]\addff{su}}
\setupnote[footnote][numbercommand=\fnstyle,textcommand=\fnstyle\tfa]

(Note: my body font is 12pt.)

This is as close as I could get to correcting the problem.  When I do
this, the marks in text look a little too low, too short and much too
bold.  It looks like Context is still scaling and elevating on its
own.  The marks before the footnotes are much too large and far, far
too high.  Context seems to be trying to squeeze them between the
lines.   This also seems to force extra space between the separate
footnotes, even though I have grid on.

If I try using numerators instead of superiors (they look the same but
are lower), the marks in text look too bold and far too low.  The
marks before the footnotes are at the right height, but too big.

DISCLAIMER:  it is not necessary to own my font in order to think
about this problem.  The issue is the default scaling and raising that
Context applies to footnote marks.  I want to turn it off.
___________________________________________________________________________________
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] 16+ messages in thread

end of thread, other threads:[~2010-04-14 16:20 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-13 10:53 footnote marks fail Michael Saunders
2010-04-13 11:24 ` Peter Münster
2010-04-13 17:52   ` Sebastien Mengin
2010-04-13 18:09     ` Wolfgang Schuster
2010-04-13 18:13     ` Taco Hoekwater
2010-04-13 20:07       ` Sebastien Mengin
2010-04-13 20:18         ` Taco Hoekwater
2010-04-14 14:00         ` Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2010-04-13 18:09 Michael Saunders
2010-04-13 10:16 Michael Saunders
2010-04-13 10:22 ` Hans Hagen
2010-04-13 10:33 ` Taco Hoekwater
2010-04-13 11:16   ` Peter Münster
2010-04-14 16:20     ` Steffen Wolfrum
2010-04-12 23:52 Michael Saunders
2010-04-13  6:47 ` Taco Hoekwater

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