ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Frans Goddijn" <frans@iaf.nl>
Subject: Re: oldstyle footnotemarks
Date: Sun, 3 Sep 2000 16:18:22 +0200	[thread overview]
Message-ID: <016c01c015b1$e44c3c50$a77c2ed5@arnhem.chello.nl> (raw)
In-Reply-To: <3.0.6.32.20000825153857.01c2aae0@pop.wxs.nl>

Hello Hans,

Today I have time to get back to that book project again and I checked my
files to see if I have correctly implemented your tricks to get oldstyle
numbers. However, I must be missing some point or a connection somewhere
because the definitions and commands that I've inserted have no effect
whatsoever.

In the personal "font-fg.tex" file in ../texmf/tex/context/user  I changed
all of Taco's original \os and
\osi definitions to \fgos and \fgosi so as not to disturb your oldstyle
commands in conTeXt

Then in the test file I have:

\steluitvoerin[pdftex]
\useencoding[ibm]
\stelkorpsin
  [pos,fg]

\defineconversion[o][\oldstylenumerals]
\def\oldstylenumerals#1{{\os\number#1}}
\setupfootnotes[conversion=o]

\starttekst
Dit is een \hoog{1}test\voetnoot{En\hoog{1} dit is een voetnoot}
\stoptekst

I added the \hoog{1} to be able to compare the oldstyle 1 to the uppercase
normal 1

The file compiles fine but only the normal tnr.pfb is used, never the
tnrexp.pfb

It also doesn't make any difference if I put in or leave out
\definefontsynonym[OldStyle][tnrexp]

My font-fg.tex is below, also my fg.map file

Since it's easy for me to get an oldstyle number by putting in \fgos{123}
in the text, i know that the mechanism for getting these is built in by my
setup files, only I can't seem to succeed in telling ConteXt that its'okay
to find and use these oldstyle numbers outside the text that u type in
manually, for instance in footnote marks...

Do you have any idea where I am missing a link?

Groet!

Frans

my font-fg.tex:
//////////////////////

%D \module
%D   [       file=font-kb,
%D        version=1998.11.4,
%D          title=\CONTEXT\ Font Macros,
%D       subtitle=Karl Berry Font Names,
%D         author=Hans Hagen,
%D           date=\currentdate,
%D      copyright={PRAGMA / Hans Hagen \& Ton Otten}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. Non||commercial use is
%C granted.

\definefontsynonym [Courier]                          [pcrr]
\definefontsynonym [Courier-Oblique]                  [pcrro]
\definefontsynonym [Courier-Bold]                     [pcrb]
\definefontsynonym [Courier-BoldOblique]              [pcrbo]
\definefontsynonym [Helvetica]                        [helv2]
\definefontsynonym [Helvetica-Oblique]                [helvi2]
\definefontsynonym [Helvetica-Italic]                 [helvi2]
\definefontsynonym [Helvetica-Bold]                   [helvb2]
\definefontsynonym [Helvetica-BoldOblique]            [helvbi2]
\definefontsynonym [Helvetica-BoldItalic]             [helvbi2]
\definefontsynonym [Times-Roman]                      [tnr2]
\definefontsynonym [Times-Italic]                     [tnri2]
\definefontsynonym [Times-Oblique]                    [tnro2]
\definefontsynonym [Times-Bold]                       [tnrb2]
\definefontsynonym [Times-BoldItalic]                 [tnrbi2]
\definefontsynonym [Times-BoldOblique]                [tnrbo2]
\definefontsynonym [Times-RomanSC]                    [tnrexp]
\definefontsynonym [SerifCaps]                        [tnrexp]
\definefontsynonym [SerifCapsI]                       [tnrexpi]
\definefontsynonym [Times-RomanSCItalic]              [tnrexpi]

%\definefontsynonym [OldStyle] [Times-RomanSC]
\definefontsynonym [OldStyle] [tnrexp]

\definefontsynonym [OldStyleIt] [Times-RomanSCItalic]

\definefont[osi] [OldStyleIt sa \currentfontscale]

\definefont[oldstyle] [OldStyle sa \currentfontscale]
\def\os{\groupedcommand{\oldstyle}{}}

\definefont[oldstyleitalic] [OldStyleIt sa \currentfontscale]
\def\osi{\groupedcommand{\oldstyleitalic}{}}

\definefont[myownkaps] [SerifCaps sa \currentfontscale]
\definefont[myownkapsi] [SerifCapsI sa \currentfontscale]
\def\mykap{\groupedcommand{\myownkaps}{}}
\def\mykapi{\groupedcommand{\myownkapsi}{}}

%\definefontsynonym [AvantGarde]                       [pag]
%\definefontsynonym [BookmanLight]                     [pbk]
%\definefontsynonym [CentaurMT]                        [pur]
%\definefontsynonym [Garamond]                         [pgm]
%\definefontsynonym [GillSans]                         [pgs]
%\definefontsynonym [NewBaskerville]                   [pnb]
%\definefontsynonym [Optima]                           [pop]
%\definefontsynonym [Palatino]                         [ppl]
\definefontsynonym [Symbol]                           [psyr]
%\definefontsynonym [Univers]                          [pun]
%\definefontsynonym [Utopia]                           [put]
\definefontsynonym [ZapfChancery]                     [pzcmi]
\definefontsynonym [ZapfDingbats]                     [pzdr]

//////////////////////////////////////////////////////////////

my fg.map:

* TIMES spullen, mapping door Taco Hoekwater
* De expert set: niet re-encoded
tnrexp    TimesNRExpertMT        <tnrexp.pfb
tnrexpi   TimesNRExpertMT-Italic <tnrexpi.pfb
tnrexpu   TimesNRExpertMT-Italic "-0.167 SlantFont" <tnrexpi.pfb
tnrexpo   TimesNRExpertMT        "0.167 SlantFont" <tnrexp.pfb

* TIMES in TeXnANSI encoding (ly1) voor context.

tnr2       TimesNewRoman            "TeXnANSIEncoding ReEncodeFont"
<texnansi.enc <tnr.pfb
tnri2      TimesNewRoman-Italic     "TeXnANSIEncoding ReEncodeFont"
<texnansi.enc <tnri.pfb
tnru2      TimesNewRoman-Italic     "-0.167 SlantFont TeXnANSIEncoding
ReEncodeFont" <texnansi.enc <tnri.pfb
tnro2      TimesNewRoman            " 0.167 SlantFont TeXnANSIEncoding
ReEncodeFont" <texnansi.enc <tnr.pfb

tnrb2      TimesNewRoman-Bold       "TeXnANSIEncoding ReEncodeFont"
<texnansi.enc <tnrb.pfb
tnrbi2     TimesNewRoman-BoldItalic "TeXnANSIEncoding ReEncodeFont"
<texnansi.enc <tnrbi.pfb
tnrbu2     TimesNewRoman-BoldItalic "-0.167 SlantFont TeXnANSIEncoding
ReEncodeFont" <texnansi.enc <tnrbi.pfb
tnrbo2     TimesNewRoman-Bold       " 0.167 SlantFont TeXnANSIEncoding
ReEncodeFont" <texnansi.enc <tnrb.pfb

tnrbx2     TimesNewRoman-Bold       "1.2 ExtendFont TeXnANSIEncoding
ReEncodeFont" <texnansi.enc <tnrb.pfb
tnrbix2    TimesNewRoman-BoldItalic "1.2 ExtendFont TeXnANSIEncoding
ReEncodeFont" <texnansi.enc <tnrbi.pfb
tnrbux2    TimesNewRoman-BoldItalic "-0.167 SlantFont 1.2 ExtendFont
TeXnANSIEncoding ReEncodeFont" <texnansi.enc <tnrbi.pfb
tnrbox2    TimesNewRoman-Bold       " 0.167 SlantFont 1.2 ExtendFont
TeXnANSIEncoding ReEncodeFont" <texnansi.enc <tnrb.pfb

* TIMES in EC encoding voor LaTeX's T1

tnr8    TimesNewRoman            "ECEncoding ReEncodeFont" <ec.enc <tnr.pfb
tnri8   TimesNewRoman-Italic     "ECEncoding ReEncodeFont" <ec.enc
<tnri.pfb
tnru8   TimesNewRoman-Italic     "-0.167 SlantFont ECEncoding ReEncodeFont"
<ec.enc <tnri.pfb
tnro8   TimesNewRoman            " 0.167 SlantFont ECEncoding ReEncodeFont"
<ec.enc <tnr.pfb

tnrb8   TimesNewRoman-Bold       "ECEncoding ReEncodeFont" <ec.enc
<tnrb.pfb
tnrbi8  TimesNewRoman-BoldItalic "ECEncoding ReEncodeFont" <ec.enc
<tnrbi.pfb
tnrbu8  TimesNewRoman-BoldItalic "-0.167 SlantFont ECEncoding ReEncodeFont"
<ec.enc <tnrbi.pfb
tnrbo8  TimesNewRoman-Bold       " 0.167 SlantFont ECEncoding ReEncodeFont"
<ec.enc <tnrb.pfb

tnrbx8  TimesNewRoman-Bold       "1.2 ExtendFont ECEncoding ReEncodeFont"
<ec.enc <tnrb.pfb
tnrbix8 TimesNewRoman-BoldItalic "1.2 ExtendFont ECEncoding ReEncodeFont"
<ec.enc <tnrbi.pfb
tnrbux8 TimesNewRoman-BoldItalic "-0.167 SlantFont 1.2 ExtendFont
ECEncoding ReEncodeFont" <ec.enc <tnrbi.pfb
tnrbox8 TimesNewRoman-Bold       " 0.167 SlantFont 1.2 ExtendFont
ECEncoding ReEncodeFont" <ec.enc <tnrb.pfb

* TIMES in TeX 7-bit encoding voor LaTeX's OT1 en plain

tnr7    TimesNewRoman            "TeXTextEncoding ReEncodeFont"
<textext.enc <tnr.pfb
tnri7   TimesNewRoman-Italic     "TeXTextEncoding ReEncodeFont"
<textext.enc <tnri.pfb
tnru7   TimesNewRoman-Italic     "-0.167 SlantFont TeXTextEncoding
ReEncodeFont" <textext.enc <tnri.pfb
tnro7   TimesNewRoman            " 0.167 SlantFont TeXTextEncoding
ReEncodeFont" <textext.enc <tnr.pfb

tnrb7   TimesNewRoman-Bold       "TeXTextEncoding ReEncodeFont"
<textext.enc <tnrb.pfb
tnrbi7  TimesNewRoman-BoldItalic "TeXTextEncoding ReEncodeFont"
<textext.enc <tnrbi.pfb
tnrbu7  TimesNewRoman-BoldItalic "-0.167 SlantFont TeXTextEncoding
ReEncodeFont" <textext.enc <tnrbi.pfb
tnrbo7  TimesNewRoman-Bold       " 0.167 SlantFont TeXTextEncoding
ReEncodeFont" <textext.enc <tnrb.pfb

tnrbx7  TimesNewRoman-Bold       "1.2 ExtendFont TeXTextEncoding
ReEncodeFont" <textext.enc <tnrb.pfb
tnrbix7 TimesNewRoman-BoldItalic "1.2 ExtendFont TeXTextEncoding
ReEncodeFont" <textext.enc <tnrbi.pfb
tnrbux7 TimesNewRoman-BoldItalic "-0.167 SlantFont 1.2 ExtendFont
TeXTextEncoding ReEncodeFont" <textext.enc <tnrbi.pfb
tnrbox7 TimesNewRoman-Bold       " 0.167 SlantFont 1.2 ExtendFont
TeXTextEncoding ReEncodeFont" <textext.enc <tnrb.pfb

* Helvetica by Taco Hoekwater
***************************************************************************
**
helv2 Helvetica            "TeXnANSIEncoding ReEncodeFont" <texnansi.enc
<helv.pfb
helv8 Helvetica            "ECEncoding ReEncodeFont" <ec.enc <helv.pfb
helv7 Helvetica            "TeXTextEncoding ReEncodeFont" <textext.enc
<helv.pfb
helvb2 Helvetica-Bold       "TeXnANSIEncoding ReEncodeFont" <texnansi.enc
<helvb.pfb
helvb8 Helvetica-Bold       "ECEncoding ReEncodeFont" <ec.enc <helvb.pfb
helvb7 Helvetica-Bold       "TeXTextEncoding ReEncodeFont" <textext.enc
<helvb.pfb
helvbi2 Helvetica-BoldItalic "TeXnANSIEncoding ReEncodeFont" <texnansi.enc
<helvbi.pfb
helvbi8 Helvetica-BoldItalic "ECEncoding ReEncodeFont" <ec.enc <helvbi.pfb
helvbi7 Helvetica-BoldItalic "TeXTextEncoding ReEncodeFont" <textext.enc
<helvbi.pfb
helvi2 Helvetica-Italic     "TeXnANSIEncoding ReEncodeFont" <texnansi.enc
<helvi.pfb
helvi8 Helvetica-Italic     "ECEncoding ReEncodeFont" <ec.enc <helvi.pfb
helvi7 Helvetica-Italic     "TeXTextEncoding ReEncodeFont" <textext.enc
<helvi.pfb
***************************************************************************
**

* EURO by Taco Hoekwater
***************************************************************************
**
linoefaf LinotypeEuroFontAtoF <linoefaf.pfb
linoefgp LinotypeEuroFontGtoP <linoefgp.pfb
linoefrs LinotypeEuroFontRtoS <linoefrs.pfb
linoeftz LinotypeEuroFontTtoZ <linoeftz.pfb
***************************************************************************
**

* nep Helvetica?
* phvr "NimbusSanL-Regu"  <n019003l.pfb
* phvro "NimbusSanL-ReguItal"  <n019023l.pfb
* phvb "NimbusSanL-Bold"  <n019004l.pfb
* phvbo "NimbusSanL-BoldItal" <n019024l.pfb
* phvrrn "NimbusSanL-ReguCond" <n019043l.pfb
* phvron "NimbusSanL-ReguCondItal" <n019063l.pfb
* phvbrn "NimbusSanL-BoldCond"  <n019044l.pfb
* phvbon "NimbusSanL-BoldCondItal" <n019064l.pfb


  parent reply	other threads:[~2000-09-03 14:18 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-08-25  8:23 Frans Goddijn
2000-08-25 10:22 ` Hans Hagen
2000-08-25 13:34   ` Frans Goddijn
2000-08-25 13:38     ` Hans Hagen
2000-08-25 15:20       ` Frans Goddijn
2000-08-25 16:59         ` Hans Hagen
2000-08-25 19:48           ` Frans Goddijn
2000-09-03 14:18       ` Frans Goddijn [this message]
2000-09-04 15:25         ` Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2000-08-20 16:27 how old are we toay Frans Goddijn
2000-08-27 21:35 ` Oldstyle footnotemarks Frans Goddijn
2000-08-28  7:39   ` 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='016c01c015b1$e44c3c50$a77c2ed5@arnhem.chello.nl' \
    --to=frans@iaf.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).