summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/poiretone/LY1PoiretOne-LF.fd49
-rw-r--r--Master/texmf-dist/tex/latex/poiretone/OT1PoiretOne-LF.fd49
-rw-r--r--Master/texmf-dist/tex/latex/poiretone/PoiretOne.sty72
-rw-r--r--Master/texmf-dist/tex/latex/poiretone/T1PoiretOne-LF.fd49
-rw-r--r--Master/texmf-dist/tex/latex/poiretone/TS1PoiretOne-LF.fd49
5 files changed, 268 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/poiretone/LY1PoiretOne-LF.fd b/Master/texmf-dist/tex/latex/poiretone/LY1PoiretOne-LF.fd
new file mode 100644
index 00000000000..d7470c5a246
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/poiretone/LY1PoiretOne-LF.fd
@@ -0,0 +1,49 @@
+%% Generated by autoinst on 2019/06/16
+%%
+\ProvidesFile{LY1PoiretOne-LF.fd}
+ [2019/06/16 (autoinst) Font definitions for LY1/PoiretOne-LF.]
+
+\expandafter\ifx\csname PoiretOne@scale\endcsname\relax
+ \let\PoiretOne@@scale\@empty
+\else
+ \edef\PoiretOne@@scale{s*[\csname PoiretOne@scale\endcsname]}%
+\fi
+
+\DeclareFontFamily{LY1}{PoiretOne-LF}{}
+
+
+% ---- regular ----
+
+\DeclareFontShape{LY1}{PoiretOne-LF}{regular}{n}{
+ <-> \PoiretOne@@scale PoiretOne-Regular-lf-ly1
+}{}
+
+
+% ---- bold ----
+
+\DeclareFontShape{LY1}{PoiretOne-LF}{bold}{n}{
+ <-> \PoiretOne@@scale PoiretOne-Bold-lf-ly1
+}{}
+
+%
+% Extra 'ssub' rules to map the standard NFSS codes to our fancy names
+%
+
+% m --> regular
+
+\DeclareFontShape{LY1}{PoiretOne-LF}{m}{n}{
+ <-> ssub * PoiretOne-LF/regular/n
+}{}
+
+
+% b --> bold
+
+\DeclareFontShape{LY1}{PoiretOne-LF}{b}{n}{
+ <-> ssub * PoiretOne-LF/bold/n
+}{}
+
+\DeclareFontShape{LY1}{PoiretOne-LF}{bx}{n}{
+ <-> ssub * PoiretOne-LF/b/n
+}{}
+
+\endinput
diff --git a/Master/texmf-dist/tex/latex/poiretone/OT1PoiretOne-LF.fd b/Master/texmf-dist/tex/latex/poiretone/OT1PoiretOne-LF.fd
new file mode 100644
index 00000000000..bf849c0d734
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/poiretone/OT1PoiretOne-LF.fd
@@ -0,0 +1,49 @@
+%% Generated by autoinst on 2019/06/16
+%%
+\ProvidesFile{OT1PoiretOne-LF.fd}
+ [2019/06/16 (autoinst) Font definitions for OT1/PoiretOne-LF.]
+
+\expandafter\ifx\csname PoiretOne@scale\endcsname\relax
+ \let\PoiretOne@@scale\@empty
+\else
+ \edef\PoiretOne@@scale{s*[\csname PoiretOne@scale\endcsname]}%
+\fi
+
+\DeclareFontFamily{OT1}{PoiretOne-LF}{}
+
+
+% ---- regular ----
+
+\DeclareFontShape{OT1}{PoiretOne-LF}{regular}{n}{
+ <-> \PoiretOne@@scale PoiretOne-Regular-lf-ot1
+}{}
+
+
+% ---- bold ----
+
+\DeclareFontShape{OT1}{PoiretOne-LF}{bold}{n}{
+ <-> \PoiretOne@@scale PoiretOne-Bold-lf-ot1
+}{}
+
+%
+% Extra 'ssub' rules to map the standard NFSS codes to our fancy names
+%
+
+% m --> regular
+
+\DeclareFontShape{OT1}{PoiretOne-LF}{m}{n}{
+ <-> ssub * PoiretOne-LF/regular/n
+}{}
+
+
+% b --> bold
+
+\DeclareFontShape{OT1}{PoiretOne-LF}{b}{n}{
+ <-> ssub * PoiretOne-LF/bold/n
+}{}
+
+\DeclareFontShape{OT1}{PoiretOne-LF}{bx}{n}{
+ <-> ssub * PoiretOne-LF/b/n
+}{}
+
+\endinput
diff --git a/Master/texmf-dist/tex/latex/poiretone/PoiretOne.sty b/Master/texmf-dist/tex/latex/poiretone/PoiretOne.sty
new file mode 100644
index 00000000000..6f77cb2159d
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/poiretone/PoiretOne.sty
@@ -0,0 +1,72 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{PoiretOne}
+ [2019/06/16 (Bob Tennent) Supports PoiretOne fonts for all LaTeX engines.]
+
+\RequirePackage{ifxetex,ifluatex,xkeyval,textcomp}
+
+\newif\ifpoiretone@ttf
+\ifxetex
+ \poiretone@ttftrue
+\else\ifluatex
+ \poiretone@ttftrue
+\else % [pdf]LaTeX
+ \poiretone@ttffalse
+\fi\fi
+
+\newif\ifpoiretone@default \poiretone@defaultfalse
+
+\newcommand*{\PoiretOne@scale}{1}
+\DeclareOptionX{scaled}{\renewcommand*{\PoiretOne@scale}{#1}}
+\DeclareOptionX{scale}{\renewcommand*{\PoiretOne@scale}{#1}}
+
+\DeclareOptionX{default}{\poiretone@defaulttrue}
+\DeclareOptionX{sfdefault}{\poiretone@defaulttrue}
+\DeclareOptionX{type1}{\poiretone@ttffalse}
+
+\ProcessOptionsX\relax
+
+\ifpoiretone@ttf
+\else % type1
+
+ \def\bfseries@sf{bold}
+ \def\mdseries@sf{regular}
+\fi
+
+\ifpoiretone@ttf
+ \RequirePackage{fontspec}
+\else
+ \RequirePackage{fontenc,fontaxes,mweights}
+\fi
+
+\ifpoiretone@ttf
+ \ifxetex\XeTeXtracingfonts=1\fi
+ \defaultfontfeatures{
+ Ligatures = TeX ,
+ Scale = \PoiretOne@scale ,
+ Extension = .ttf }
+ \setsansfont
+ [ UprightFont = *-Regular ,
+ BoldFont = *-Bold ,
+ ]
+ {PoiretOne}
+ % grab current family in case of subsequent change:
+ \let\poiretonefamily\sfdefault
+ \ifpoiretone@default\renewcommand*\familydefault{\poiretonefamily}\fi
+ \newfontfamily\poiretone
+ [ UprightFont = *-Regular ,
+ BoldFont = *-Bold ,
+ ]
+ {PoiretOne}
+\else % type1
+ \def\poiretonefamily{PoiretOne-LF}
+ \newcommand*\poiretone{\fontfamily{\poiretonefamily}\selectfont}
+ \def\sfdefault{\poiretonefamily}
+ \ifpoiretone@default\edef\familydefault{\sfdefault}\edef\seriesdefault{\mdseries@sf}\fi
+\fi
+
+\ifpoiretone@ttf
+% turn off defaults in case other fonts are selected:
+ \defaultfontfeatures{}
+\fi
+
+\endinput
diff --git a/Master/texmf-dist/tex/latex/poiretone/T1PoiretOne-LF.fd b/Master/texmf-dist/tex/latex/poiretone/T1PoiretOne-LF.fd
new file mode 100644
index 00000000000..84b13c450e2
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/poiretone/T1PoiretOne-LF.fd
@@ -0,0 +1,49 @@
+%% Generated by autoinst on 2019/06/16
+%%
+\ProvidesFile{T1PoiretOne-LF.fd}
+ [2019/06/16 (autoinst) Font definitions for T1/PoiretOne-LF.]
+
+\expandafter\ifx\csname PoiretOne@scale\endcsname\relax
+ \let\PoiretOne@@scale\@empty
+\else
+ \edef\PoiretOne@@scale{s*[\csname PoiretOne@scale\endcsname]}%
+\fi
+
+\DeclareFontFamily{T1}{PoiretOne-LF}{}
+
+
+% ---- regular ----
+
+\DeclareFontShape{T1}{PoiretOne-LF}{regular}{n}{
+ <-> \PoiretOne@@scale PoiretOne-Regular-lf-t1
+}{}
+
+
+% ---- bold ----
+
+\DeclareFontShape{T1}{PoiretOne-LF}{bold}{n}{
+ <-> \PoiretOne@@scale PoiretOne-Bold-lf-t1
+}{}
+
+%
+% Extra 'ssub' rules to map the standard NFSS codes to our fancy names
+%
+
+% m --> regular
+
+\DeclareFontShape{T1}{PoiretOne-LF}{m}{n}{
+ <-> ssub * PoiretOne-LF/regular/n
+}{}
+
+
+% b --> bold
+
+\DeclareFontShape{T1}{PoiretOne-LF}{b}{n}{
+ <-> ssub * PoiretOne-LF/bold/n
+}{}
+
+\DeclareFontShape{T1}{PoiretOne-LF}{bx}{n}{
+ <-> ssub * PoiretOne-LF/b/n
+}{}
+
+\endinput
diff --git a/Master/texmf-dist/tex/latex/poiretone/TS1PoiretOne-LF.fd b/Master/texmf-dist/tex/latex/poiretone/TS1PoiretOne-LF.fd
new file mode 100644
index 00000000000..1701efb1cef
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/poiretone/TS1PoiretOne-LF.fd
@@ -0,0 +1,49 @@
+%% Generated by autoinst on 2019/06/16
+%%
+\ProvidesFile{TS1PoiretOne-LF.fd}
+ [2019/06/16 (autoinst) Font definitions for TS1/PoiretOne-LF.]
+
+\expandafter\ifx\csname PoiretOne@scale\endcsname\relax
+ \let\PoiretOne@@scale\@empty
+\else
+ \edef\PoiretOne@@scale{s*[\csname PoiretOne@scale\endcsname]}%
+\fi
+
+\DeclareFontFamily{TS1}{PoiretOne-LF}{}
+
+
+% ---- regular ----
+
+\DeclareFontShape{TS1}{PoiretOne-LF}{regular}{n}{
+ <-> \PoiretOne@@scale PoiretOne-Regular-lf-ts1
+}{}
+
+
+% ---- bold ----
+
+\DeclareFontShape{TS1}{PoiretOne-LF}{bold}{n}{
+ <-> \PoiretOne@@scale PoiretOne-Bold-lf-ts1
+}{}
+
+%
+% Extra 'ssub' rules to map the standard NFSS codes to our fancy names
+%
+
+% m --> regular
+
+\DeclareFontShape{TS1}{PoiretOne-LF}{m}{n}{
+ <-> ssub * PoiretOne-LF/regular/n
+}{}
+
+
+% b --> bold
+
+\DeclareFontShape{TS1}{PoiretOne-LF}{b}{n}{
+ <-> ssub * PoiretOne-LF/bold/n
+}{}
+
+\DeclareFontShape{TS1}{PoiretOne-LF}{bx}{n}{
+ <-> ssub * PoiretOne-LF/b/n
+}{}
+
+\endinput