[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fontinst TS1.etx



Hi everyone,

While working on the integration of \textcompfamily into \latinfamily
in fontinst 1.8, I've noticed that ts1.etx was way out of date, so 
I spent some time on bringing it up-to-date and touching up the
documentation.  Enclosed is the new version for you information.

Sebastian: 
I've reverted glyph names to `captialaccent' or `asciiaccent' and
added code to textcomp.mtx to substitute them by normal `accent'
glyphs if they don't exist (except for `tildelow' which is special).  
Hope this should have the same effect as the old version.

Joerg: 
Could you have a look at the documenation to see if the description
really matches the intended purpose of the glyphs?

Chris:
Is is correct that `asciimacron' is accessed through \textmacron
rather than \textasciimacron in ts1enc.def, or might this be a bug?

Furthermore, is there a reason why `comma' and `period' are included,
but not used.  Are these only used to convey kern pairs involving
the oldstyle digits, or what?

Everyone:
Any ideas what to do about the `euro' glyph?  I suppose that new PS 
or TT fonts coming up will eventually include it just like `dollar', 
or `sterling', or `yen'.  The problem is that it's not enough to 
have a slot in TS1, but we also need a slot in the raw 8r (or 8y),
which is used to build TS1.  Opinions?

Cheers, Ulrik.


%%% ====================================================================
%%%  @TeX-font-encoding-file{
%%%     author          = "Sebastian Rahtz and Ulrik Vieth",
%%%     version         = "1.801",
%%%     date            = "10 June 1998",
%%%     time            = "12:30:31 MET DST",
%%%     filename        = "ts1.etx",
%%%     email           = "vieth@thphy.uni-duesseldorf.de",
%%%     URL             = "http://www.thphy.uni-duesseldorf.de/~vieth/",
%%%     checksum        = "10316 718 1787 18493",
%%%     codetable       = "ISO/ASCII",
%%%     keywords        = "encoding, TeX, PostScript",
%%%     supported       = "yes",
%%%     abstract        = "This is the TS1 encoding as a TeX font encoding
%%%                        file, for use with the fontinst utility.
%%%                        It implements the TeX text companion encoding.",
%%%     package         = "fontinst",
%%%     dependencies    = "fontinst.sty, fontdoc.sty",
%%%  }
%%% ====================================================================

%% Changes (UV, 1998/06/08):
%% - brought up to symbol complement of EC/TC fonts 1.0,
%%   adjusted symbol names to match LaTeX ts1enc.def v3.0.
%%
%% - added `capitalcompwordmark' and `ascendercompwordmark'
%% - added new variant tie accents for lowercase and capitals
%% - added angle bracekts and open square brackets
%%   (glyph names based on Lucida New Math)
%% - renamed `shortequals' to `hyphendbl' (in slot 42 and 127)
%% - renamed `ohm' and 'mho' to `Omega' and `Omegainv'
%% - renamed `left/rightpointingarrow' to `arrowleft/arrowright'
%% - added various symbols and  currency signs, including `euro'
%%
%% Notes on Euro fonts:
%%
%% - The Euro{Serif,Sans,Mono} fonts downloadable from Adobe use
%%   the glyph name `Euro' (in slot 128) and the unencoded glyph
%%   `uni20AC'.  It remains to be seen, what glyph names future
%%   releases of new fonts will be using.
%%
%% - The proposed Latin 9 (ISO-8859-15) encoding uses the `currency'
%%   slot for the Euro sign, and changes a few other Latin 1 slots.

\relax

\documentclass[twocolumn]{article}
\usepackage[TS1,T1]{fontenc}
\usepackage{textcomp}
\usepackage{fontdoc}

\title{The \TeX\ text companion font encoding vector}
\author{Sebastian Rahtz, Ulrik Vieth}
\date{10 June 1998 \\
Version 1.801}

\begin{document}
\maketitle

\section{Introduction}

This document describes the \TeX{} text companion encoding vector.

\encoding
\comment{\section{Default values}}

\setstr{codingscheme}{TEX TEXT COMPANION SYMBOLS 1---TS1}

\ifisglyph{x}\then
   \setint{xheight}{\height{x}}
\else
   \setint{xheight}{500}
\fi

\ifisglyph{space}\then
   \setint{interword}{\width{space}}
\else\ifisglyph{i}\then
   \setint{interword}{\width{i}}
\else
   \setint{interword}{333}
\fi\fi


\comment{\section{Default font dimensions}}

\setint{fontdimen(1)}{\int{italicslant}}              % italic slant
\setint{fontdimen(2)}{\int{interword}}                % interword space
\setint{fontdimen(3)}{0}                              % interword stretch
\setint{fontdimen(4)}{0}                              % interword shrink
\setint{fontdimen(5)}{\int{xheight}}                  % x-height
\setint{fontdimen(6)}{1000}                           % quad
\setint{fontdimen(7)}{\int{interword}}                % extra space after .


\comment{\section{The encoding}}

\nextslot{0}
\setslot{captialgrave}
  \comment{The grave accent `\capitalgrave{}',
      intended for use with capital letters.}
\endsetslot

\setslot{captialacute}
  \comment{The acute accent `\capitalacute{}',
      intended for use with capital letters.}
\endsetslot

\setslot{captialcircumflex}
  \comment{The circumflex accent `\capitalcircumflex{}',
      intended for use with capital letters.}
\endsetslot

\setslot{captialtilde}
  \comment{The tilde accent `\capitaltilde{}',
      intended for use with capital letters.}
\endsetslot

\setslot{captialdieresis}
  \comment{The umlaut or dieresis accent `\capitaldieresis{}',
      intended for use with capital letters.}
\endsetslot

\setslot{captialhungarumlaut}
  \comment{The long Hungarian umlaut `\capitalhungarumlaut{}',
      intended for use with capital letters.}
\endsetslot

\setslot{captialring}
  \comment{The ring accent `\capitalring{}',
      intended for use with capital letters.}
\endsetslot

\setslot{captialcaron}
  \comment{The caron or h\'a\v cek accent `\capitalcaron{}',
      intended for use with capital letters.}
\endsetslot

\setslot{captialbreve}
  \comment{The breve accent `\capitalbreve{}',
      intended for use with capital letters.}
\endsetslot

\setslot{captialmacron}
  \comment{The macron accent `\capitalmacron{}',
      intended for use with capital letters.}
\endsetslot

\setslot{capitaldotaccent}
  \comment{The dot accent `\capitaldotaccent{}',
      intended for use with capital letters.}
\endsetslot

\setslot{cedilla}
  \comment{The cedilla accent `\capitalcedilla{}',
      intended for use with capital letters.}
\endsetslot

\setslot{ogonek}
  \comment{The ogonek accent `\capitalogonek{}',
      intended for use with capital letters.}
\endsetslot

\nextslot{13}
\setslot{quotesinglbase}
  \comment{A straight single quote mark on the baseline,
      `\textquotestraightbase'.}
\endsetslot

\nextslot{18}
\setslot{quotedblbase}
  \comment{A straight double quote mark on the baseline,
      `\textquotestraightdblbase'.}
\endsetslot

\nextslot{21}
\setslot{twelveudash}
  \comment{A 2/3~em dash, `\texttwelveudash'.}
\endsetslot

\setslot{threequartersemdash}
  \comment{A 3/4~em dash, `\textthreequartersemdash'.}
\endsetslot

\nextslot{23}
\setslot{capitalcompwordmark}
   \comment{An invisible glyph, with zero width, depth and height.
      It is used to stop ligaturing in words like `shelf{}ful'.}
\endsetslot

\nextslot{24}
\setslot{arrowleft}
  \comment{A left pointing arrow, `\textleftarrow'.}
\endsetslot

\setslot{arrowright}
  \comment{A right pointing arrow, `\textrightarrow'.}
\endsetslot

\nextslot{26}
\setslot{tieaccentlowercase}
  \comment{The tie accent `\t{}',
      intended for use with lowercase letters.}
\endsetslot

\setslot{tieaccentcapital}
  \comment{The tie accent `\capitaltie{}',
      intended for use with capital letters.}
\endsetslot

\setslot{newtieaccentlowercase}
  \comment{A new tie accent `\newtie{}',
      intended for use with lowercase letters.}
\endsetslot

\setslot{newtieaccentcapital}
  \comment{A new tie accent `\capitalnewtie{}',
      intended for use with capital letters.}
\endsetslot

\nextslot{31}
\setslot{ascendercompwordmark}
   \comment{An invisible glyph, with zero width, depth and height.
      It is used to stop ligaturing in words like `shelf{}ful'.}
\endsetslot

\nextslot{32}
\setslot{blank}
  \comment{The blank indicator `\textblank', similar to the
      letter `b' with an oblique bar throgh the stem.}
\endsetslot

\nextslot{36}
\setslot{dollar}
  \comment{The dollar sign `\textdollar'.}
\endsetslot

\nextslot{39}
\setslot{quotesingle}
  \comment{A straight single quote mark, `\textquotesingle'.}
\endsetslot

\nextslot{42}
\setslot{asteriskcentered}
  \comment{The centered asterisk, `\textasteriskcentered'.}
\endsetslot

\nextslot{44}
\setslot{comma}
  \comment{The decimal comma `,'.}
\endsetslot

\nextslot{45}
\setslot{hyphendbl}
  \comment{An alternate double hyphen, `\textdblhyphen'.}
\endsetslot

\nextslot{46}
\setslot{period}
  \comment{The decimal point `.'.}
\endsetslot

\nextslot{47}
\setslot{fraction}
  \comment{The fraction slash `\textfractionsolidus'.}
\endsetslot

\nextslot{48}
\setslot{zerooldstyle}
  \comment{The oldstyle number `\oldstylenums{0}'.}
\endsetslot

\setslot{oneoldstyle}
  \comment{The oldstyle number `\oldstylenums{1}'.}
\endsetslot

\setslot{twooldstyle}
  \comment{The oldstyle number `\oldstylenums{2}'.}
\endsetslot

\setslot{threeoldstyle}
  \comment{The oldstyle number `\oldstylenums{3}'.}
\endsetslot

\setslot{fouroldstyle}
  \comment{The oldstyle number `\oldstylenums{4}'.}
\endsetslot

\setslot{fiveoldstyle}
  \comment{The oldstyle number `\oldstylenums{5}'.}
\endsetslot

\setslot{sixoldstyle}
  \comment{The oldstyle number `\oldstylenums{6}'.}
\endsetslot

\setslot{sevenoldstyle}
  \comment{The oldstyle number `\oldstylenums{7}'.}
\endsetslot

\setslot{eightoldstyle}
  \comment{The oldstyle number `\oldstylenums{8}'.}
\endsetslot

\setslot{nineoldstyle}
  \comment{The oldstyle number `\oldstylenums{9}'.}
\endsetslot

\nextslot{61}
\setslot{angbracketleft}
  \comment{The opening angle bracket `\textlangle'.}
\endsetslot

\nextslot{62}
\setslot{minus}
  \comment{The minus sign `\textminus'.}
\endsetslot

\nextslot{63}
\setslot{angbracketright}
  \comment{The closing angle bracket `\textrangle'.}
\endsetslot

\nextslot{77}
\setslot{Omegainv}
  \comment{The inverted Ohm sign `\textmho'.}
\endsetslot

\nextslot{79}
  \comment{A big circle `\textbigcircle'.}
\setslot{bigcircle}
\endsetslot

\nextslot{87}
\setslot{Omega}
  \comment{The upright Ohm sign `\textohm'.}
\endsetslot

\nextslot{91}
\setslot{openbracketleft}
  \comment{The opening double square bracket `\textlbrackdbl'.}
\endsetslot

\nextslot{93}
\setslot{openbraketright}
  \comment{The closing double square bracket `\textrbrackdbl'.}
\endsetslot

\nextslot{94}
\setslot{arrowup}
  \comment{An upwards pointing arrow `\textuparrow'.}
\endsetslot

\nextslot{95}
\setslot{arrowdown}
  \comment{An downwards pointing arrow `\textdownarrow'.}
\endsetslot

\nextslot{96}
\setslot{asciigrave}
  \comment{An ASCII-style grave accent `\textasciigrave'.
      This is supposed to be character by itself.}
\endsetslot

\nextslot{98}
\setslot{born}
  \comment{The genealogic born symbol `\textborn',
      unavailable in most PostScript fonts.}
\endsetslot

\nextslot{99}
\setslot{divorced}
  \comment{The genealogic divorced symbol `\textdivorced',
      unavailable in most PostScript fonts.}
\endsetslot

\nextslot{100}
\setslot{died}
  \comment{The genealogic died symbol `\textdied',
      unavailable in most PostScript fonts.}
\endsetslot

\nextslot{108}
\setslot{leaf}
  \comment{The genealogic leaf symbol `\textleaf',
      unavailable in most PostScript fonts.}
\endsetslot

\nextslot{109}
\setslot{married}
  \comment{The genealogic married symbol `\textmarried',
      unavailable in most PostScript fonts.}
\endsetslot

\nextslot{110}
\setslot{musicalnote}
  \comment{A musical note symbol, `\textmusicalnote',
      unavailable in most PostScript fonts.}
\endsetslot

\nextslot{126}
\setslot{tildelow}
  \comment{A lowered tilde, `\texttildelow'.}
\endsetslot

\nextslot{127}
\setslot{hyphendblchar}
   \comment{The glyph used for hyphenation in this font, which will
      almost always be the same as `hyphendbl'.}
\endsetslot

\nextslot{128}
\setslot{asciibreve}
  \comment{An ASCII-style breve accent, `\textasciibreve'.
      This is supposed to be character by itself.}
\endsetslot

\setslot{asciicaron}
  \comment{An ASCII-style caron accent, `\textasciicaron'.
      This is supposed to be character by itself.}
\endsetslot

\setslot{asciiacutedbl}
  \comment{An ASCII-style double tick mark, `\textacutedbl'.
      This is supposed to be character by itself.}
\endsetslot

\setslot{asciigravedbl}
  \comment{An ASCII-style double backtick mark, `\textgravedbl'.
      This is supposed to be character by itself.}
\endsetslot

\setslot{dagger}
  \comment{The dagger `\textdagger'.}
\endsetslot

\setslot{daggerdbl}
  \comment{The double dagger `\textdaggerdbl'.}
\endsetslot

\setslot{bardbl}
  \comment{The double vertical bar `\textbardbl'.}
\endsetslot

\setslot{perthousand}
  \comment{The perthousand sign `\textperthousand',
      similar to `\%' with an extra zero.}
\endsetslot

\setslot{bullet}
  \comment{The centered bullet `\textbullet'.}
\endsetslot

\setslot{centigrade}
  \comment{The degree centigrade symbol `\textcelsius'.}
\endsetslot

\setslot{dollaroldstyle}
  \comment{An oldstyle dollar sign `\textdollaroldstyle'.}
\endsetslot

\setslot{centoldstyle}
  \comment{An oldstyle cent sign `\textcentoldstyle'.}
\endsetslot

\setslot{florin}
  \comment{The florin sign `\textflorin'.}
\endsetslot

\setslot{colonmonetary}
  \comment{The monetary colon `\textcolonmonetary', similar to
      a capital `C' with a vertical bar through the middle.}
\endsetslot

\setslot{won}
  \comment{The won currency sign `\textwon', similar to
      a capital `W' with two horizontal bars.}
\endsetslot

\setslot{naira}
  \comment{The naira currency sign `\textnaira', similar to
      a capital `N' with two horizontal bars.}
\endsetslot

\setslot{guarani}
  \comment{The guarani currency sign `\textguarani',  similar to
      a capital `G' with a vertical bar through the middle.}
\endsetslot

\setslot{peso}
  \comment{The peso currency sign `\textpeso', similar to
      a capital `P' with a horizontal bar below the bowl.}
\endsetslot

\setslot{lira}
  \comment{The lira currency sign `\textlira', similar to
      a sterling sign with two horizontal bars.}
\endsetslot

\setslot{recipe}
  \comment{The recipe symbol `\textrecipe', similar
      to a capital `R' with an oblique bar through the tail.}
\endsetslot

\setslot{interrobang}
  \comment{The interrobang symbol `\textinterrobang',
      combining an exclamation mark and a question mark.}
\endsetslot

\setslot{interrobangdown}
  \comment{The inverted interrobang symbol `\textinterrobangdown',
      combining an inverted exclamation mark and a question mark.}
\endsetslot

\setslot{dong}
  \comment{The dong currency sign `\textdong', similar to
      a lowercase `d' with a horizontal bar through the stem
      and another horizontal bar below the letter.}
\endsetslot

\setslot{trademark}
  \comment{The trademark sign, similar to the raised letters `TM'.}
\endsetslot

\setslot{pertenthousand}
  \comment{The pertenthousand sign `\textpertenthousand',
      similar to `\%' with two extra zeros.}
\endsetslot

\setslot{pilcrow}
  \comment{The pilcrow mark `\textpilcrow', similar to
      a paragraph mark `\textparagraph' with a narrow stem.}
\endsetslot

\setslot{baht}
  \comment{The baht currency sign `\textbaht', similar to
      a captial `B' with a vertical bar through the middle.}
\endsetslot

\setslot{numero}
  \comment{The numero sign `\textnumero', similar to
      a stylized letter `N' with a raised letter `o'.}
\endsetslot

\setslot{discount}
  \comment{The discount sign `\textdiscount', similar to
      a stylized percent sign.}
\endsetslot

\setslot{estimated}
  \comment{The estimated sign `\textestimated', similar to
      an enlarged lowercase `e'.}
\endsetslot

\setslot{openbullet}
  \comment{The centered open bullet `\textopenbullet'.}
\endsetslot

\setslot{servicemark}
  \comment{The service mark sign, similar to the raised letters `SM'.}
\endsetslot

\nextslot{160}
\setslot{quillbracketleft}
  \comment{The opening quill bracket, `\textlquill'.}
\endsetslot

\setslot{quillbraketright}
  \comment{The closing quill bracket `\textrquill'.}
\endsetslot

\setslot{cent}
  \comment{The cent sign `\textcent'.}
\endsetslot

\setslot{sterling}
  \comment{The British currency sign, `\textsterling'.}
\endsetslot

\setslot{currency}
  \comment{The international currency sign, `\textcurrency'.}
\endsetslot

\setslot{yen}
  \comment{The Japanese currency sign, `\textyen'.}
\endsetslot

\setslot{brokenbar}
  \comment{A broken vertical bar, `\textbrokenbar',
      similar to `\textbar' with a gap through the middle.}
\endsetslot

\setslot{section}
  \comment{The section mark `\textsection'.}
\endsetslot

\setslot{asciidieresis}
  \comment{An ASCII-style dieresis accent, `\textasciidieresis'.
      This is supposed to be character by itself.}
\endsetslot

\setslot{copyright}
  \comment{The copyright sign `\textcopyright',
      similar to a small `C' enclosed by a circle.}
\endsetslot

\setslot{ordfeminine}
  \comment{The raised letter `\textordfeminine'.}
\endsetslot

\setslot{copyleft}
  \comment{The reversed copyright sign `\textcopyleft',
      similar to a small reverse `C' enclosed by a circle.}
\endsetslot

\setslot{logicalnot}
  \comment{The logical not sign `\textlnot'.}
\endsetslot

\setslot{circledP}
  \comment{A small `P' enclosed by a circle, `\textcircledP'.}
\endsetslot

\setslot{registered}
  \comment{The registered trademark sign `\textregistered',
      similar to a small `R' enclosed by a circle.}
\endsetslot

\setslot{asciimacron}
  \comment{The macron accent `\textmacron'.
      This is supposed to be character by itself.}
\endsetslot

\setslot{degree}
  \comment{The degree sign `\textdegree'.}
\endsetslot

\setslot{plusminus}
  \comment{The plus or minus sign `\textpm'.}
\endsetslot

\setslot{twosuperior}
  \comment{The raised digit `\texttwosuperior'.}
\endsetslot

\setslot{threesuperior}
  \comment{The raised digit `\textthreesuperior'.}
\endsetslot

\setslot{asciiacute}
  \comment{An ASCII-style acute accent, `\textasciiacute'.
      This is supposed to be character by itself.}
\endsetslot

\setslot{mu}
  \comment{The lowercase Greek letter `\textmu', intended
      for use as a prefix `micro' in physical units.}
\endsetslot

\setslot{paragraph}
  \comment{The paragraph mark `\textparagraph'.}
\endsetslot

\setslot{periodcentered}
  \comment{The centered period `\textperiodcentered'.}
\endsetslot

\setslot{referencemark}
  \comment{The reference mark `\textreferencemark',
      similar to a divide-on-times symbol.}
\endsetslot

\setslot{onesuperior}
  \comment{The raised digit `\textonesuperior'.}
\endsetslot

\setslot{ordmasculine}
  \comment{The raised letter `\textordmasculine'.}
\endsetslot

\setslot{radical}
  \comment{The radical sign `\textsurd'.}
\endsetslot

\setslot{onequarter}
  \comment{The fraction `\textonequarter'.}
\endsetslot

\setslot{onehalf}
  \comment{The fraction `\textonehalf'.}
\endsetslot

\setslot{threequarters}
  \comment{The fraction `\textthreequarters'.}
\endsetslot

\setslot{euro}
  \comment{The European currency sign, similar to `\texteuro'.}
\endsetslot


\nextslot{214}
\setslot{multiply}
  \comment{The multiplication sign `\texttimes'.
      This symbol was originally intended to be put into slot~215,
      but ended up in this slot by mistake, at which time it was
      considered too late to change it.}
\endsetslot

\nextslot{246}
\setslot{divide}
  \comment{The divison sign `\textdiv'.
      This symbol was originally intended to be put into slot~247,
      but ended up in this slot by mistake, at which time it was
      onsidered too late to change it.}
\endsetslot

\endencoding
\end{document}