ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Willi Egger" <w.egger@boede.nl>
Subject: Re: Footnotes
Date: Sat, 20 Sep 2003 09:28:00 +0200	[thread overview]
Message-ID: <002101c37f48$ba465450$0100a8c0@vademecum> (raw)
In-Reply-To: <002301c37f37$547ca6d0$0500a8c0@best>

[-- Attachment #1: Type: text/plain, Size: 1707 bytes --]

Dear Pawel,

In order to be able to show the effects I used the Dolly-font.
For your reference I include the probe.tex file and the resulting pdf.

As far as I can see, the footnotes get the numbers from Dolly or Helvetica
according to the setup of the footnotes.

Cheers Willi

----- Original Message ----- 
From: "Pawel Jackowski na Onet" <jackos1@poczta.onet.pl>
To: <ntg-context@ntg.nl>
Sent: Saturday, September 20, 2003 7:23 AM
Subject: Re: [NTG-context] Footnotes


>
>
> > Hi Pawel,
>
> Hi Willi!
>
> > After all the solution is simpel ...
> > [...]
>  > This command will force the bodyfont and the footnotes font to be the
> same.
> > If e.g. Myfont is setup as a typeface of Palatino for rm and Helvetica
for
> > ss, then the footnotes will be in Palatino when saying
> > \setupfootnotes[bodyfont={small, rm}] and will be typeset in Helvetica
> when
> > saying \setupfootnotes[bodyfont={small, ss}]
>
> Isn't that logical?
>
> But look carrefully on the footnote numbers. Are they also from wanted
font?
> That was my problem.
> It is not obvious that footnote reference numbers are set with xx size of
> the bodyfontsize and footnote number with x size of
> bodyfontsize used in footnote. So the way to set this numbers is to set
> bodyfontenvironment for both bodyfintsize and 'footnotebodyfontsize'. The
> puzzle is also that
> one has no problems since bodyfontsize is default (i.e 12pt). So try to
> change bodfontsize to i.e.13pt and than look at footnote numbers. If they
> are correct you are the winner!
>
> Thanks for report, Pawe/l
>
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>

[-- Attachment #2: probe.pdf --]
[-- Type: application/pdf, Size: 42019 bytes --]

[-- Attachment #3: probe.tex --]
[-- Type: application/octet-stream, Size: 1433 bytes --]

% Test file
% Problem: the \setupfootnotes do not switch to the bodyfont
% instead they fall back on cmr or cmss respectively
% 16-09-2003

\setupoutput[pdftex]
\usemodule[units]

\usetypescriptfile[type-dolly]

\definetypeface [Dolly] [rm] [serif] [dolly]      [default] [encoding=texnansi]
\definetypeface [Dolly] [mm] [math]  [times]      [default]
\definetypeface [Dolly] [ss] [sans]  [helvetica]  [default] [rscale=.9,encoding=texnansi]
\definetypeface [Dolly] [tt] [mono]  [courier]    [default] [rscale=.9,encoding=texnansi]

\setupbodyfont[Dolly,rm,13pt]

\starttext

What about measuring (normal) 12 \Milli\Meter, 3 \Centi\Meter\ and 5 \Kilo\Meter?

What about measuring (inline math) $12 \Milli\Meter$, $3 \Centi\Meter$ and $5 \Kilo\Meter$?

Hier is the first footnote \dorecurse{9}{\footnote{Footnote \recurselevel}}.

\setupfootnotes[bodyfont={small,ss}]

 \startitemize[2,packed]
    \item  The base font is Dolly at \the\bodyfontsize.
    \item  Math is typeset with Times $c = \sqrt{a^2 + b^2}$
    \item  The math-font is Tx-font
    \item  The first footnote should be typeset with Dolly font.
    \item  The second footnote should be typeset in Helvetica
           \dorecurse{4}{\footnote{Is this Helvetica, google ? \recurselevel}}.
 \stopitemize

{\tt So it is indeed the case, that all environments switch to a base-body-font if setup with \type{\setupbodyfont}}
\stoptext

  reply	other threads:[~2003-09-20  7:28 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-15 15:54 Footnotes Willi Egger
2003-09-15 16:15 ` Footnotes Pawel Jackowski na Onet
2003-09-15 18:00   ` Footnotes Willi Egger
2003-09-16  5:55     ` Footnotes Pawel Jackowski na Onet
2003-09-16 12:18       ` Footnotes Willi Egger
2003-09-16 19:33         ` Footnotes Pawel Jackowski na Onet
2003-09-19 21:04           ` Footnotes Willi Egger
2003-09-20  5:23             ` Footnotes Pawel Jackowski na Onet
2003-09-20  7:28               ` Willi Egger [this message]
2003-09-23 17:50                 ` Footnotes Pawel Jackowski na Onet
2003-09-16 17:16     ` Footnotes Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2012-04-24  8:56 footnotes Alan BRASLAU
2012-04-24 12:21 ` footnotes Wolfgang Schuster
2012-04-24 13:26   ` footnotes Alan BRASLAU
2012-04-01 21:03 footnotes Thomas A. Schmitz
2012-04-02 10:26 ` footnotes Steffen Fritzsche
2012-04-02 11:02   ` footnotes Thomas A. Schmitz
2012-04-02 20:40 ` footnotes Wolfgang Schuster
2012-03-12 16:50 Footnotes Willi Egger
2010-12-12 11:09 footnotes Achim Jander
2010-12-12 13:41 ` footnotes Achim Jander
     [not found] <mailman.1.1254823203.32637.ntg-context@ntg.nl>
2009-10-13 17:20 ` footnotes Wolfgang Werners-Lucchini
2009-10-13 17:44   ` footnotes Wolfgang Schuster
2009-10-05 14:53 footnotes Wolfgang Werners-Lucchini
2009-10-06  9:36 ` footnotes Taco Hoekwater
2008-07-20  7:54 Footnotes Ulrich Dirr
2008-07-20 17:50 ` Footnotes Aditya Mahajan
2008-07-21  7:09   ` Footnotes Ulrich Dirr
2008-07-21 16:39     ` Footnotes Aditya Mahajan
2008-07-21 17:25       ` Footnotes Ulrich Dirr
2008-07-21 20:58         ` Footnotes Aditya Mahajan
2006-01-29 13:48 footnotes Hans van der Meer
2006-01-30 10:49 ` footnotes Hans Hagen
2006-01-30 14:41   ` footnotes Hans van der Meer
2006-01-30 15:45     ` footnotes Hans Hagen
2003-10-06 15:25 Footnotes Steffen Wolfrum
2003-10-06  9:58 Czech patterns in TeXlive2003 David Antos
2003-10-06 13:40 ` Footnotes Albrecht Kauffmann
2003-10-04 19:02 Footnotes Steffen Wolfrum
2001-04-04 22:28 Footnotes P. van Kranenburg
2001-04-05  7:40 ` Footnotes Hans Hagen
2001-03-12 17:08 footnotes Hans Hagen
2001-03-17 18:14 ` footnotes Giuseppe Bilotta
2001-03-18 20:41   ` footnotes Hans Hagen
2000-05-09 10:09 footnotes Haseloff, Lutz
2000-04-18  8:41 footnotes Haseloff, Lutz
2000-04-19  1:16 ` footnotes Taco Hoekwater
2000-05-08 20:30 ` footnotes Hans Hagen
1999-11-30  8:10 Footnotes Haseloff, Lutz
1999-11-30 15:08 ` Footnotes Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='002101c37f48$ba465450$0100a8c0@vademecum' \
    --to=w.egger@boede.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).