diff options
author | Karl Berry <karl@freefriends.org> | 2020-08-02 21:04:09 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-08-02 21:04:09 +0000 |
commit | b11502a474f4a0977fe5e13a95c6a3f440ed9cf1 (patch) | |
tree | 665e19c82384e7300fd81d8548bdd0f303ac9227 /Master/texmf-dist/tex | |
parent | ab104e67b3cde0ca3b3ee512e178c05a5d48212b (diff) |
forum (2aug20)
git-svn-id: svn://tug.org/texlive/trunk@56025 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/forum/LY1Frm-LF.fd | 51 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/forum/OT1Frm-LF.fd | 51 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/forum/T1Frm-LF.fd | 51 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/forum/T2AFrm-LF.fd | 51 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/forum/T2BFrm-LF.fd | 51 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/forum/T2CFrm-LF.fd | 51 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/forum/TS1Frm-LF.fd | 51 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/forum/forum.sty | 48 |
8 files changed, 393 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/latex/forum/LY1Frm-LF.fd b/Master/texmf-dist/tex/latex/forum/LY1Frm-LF.fd new file mode 100644 index 00000000000..f7c42763682 --- /dev/null +++ b/Master/texmf-dist/tex/latex/forum/LY1Frm-LF.fd @@ -0,0 +1,51 @@ +%% Generated by autoinst on 2020/08/01 +%% +\ProvidesFile{LY1Frm-LF.fd} + [2020/08/01 (autoinst) Font definitions for LY1/Frm-LF.] + +\ifcsname s@fct@alias\endcsname\else +\gdef\s@fct@alias{\sub@sfcnt\@font@aliasinfo} +\gdef\@font@aliasinfo#1{% + \@font@info{Font\space shape\space `\curr@fontshape'\space will + \space be\space aliased\MessageBreak to\space `\mandatory@arg'}% +} +\fi + +\expandafter\ifx\csname Frm@scale\endcsname\relax + \let\Frm@@scale\@empty +\else + \edef\Frm@@scale{s*[\csname Frm@scale\endcsname]}% +\fi + +\DeclareFontFamily{LY1}{Frm-LF}{} + + +% ---- m = regular ---- + +\DeclareFontShape{LY1}{Frm-LF}{m}{n}{ + <-> \Frm@@scale Frm-lf-ly1 +}{} + +\DeclareFontShape{LY1}{Frm-LF}{regular}{n}{ + <-> alias * Frm-LF/m/n +}{} + + +% ---- b = bold ---- + +\DeclareFontShape{LY1}{Frm-LF}{b}{n}{ + <-> \Frm@@scale Frm-Bold-lf-ly1 +}{} + +\DeclareFontShape{LY1}{Frm-LF}{bold}{n}{ + <-> alias * Frm-LF/b/n +}{} + + +% ---- Extra 'ssub' rules to map 'bx' to 'b' ---- + +\DeclareFontShape{LY1}{Frm-LF}{bx}{n}{ + <-> ssub * Frm-LF/b/n +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/forum/OT1Frm-LF.fd b/Master/texmf-dist/tex/latex/forum/OT1Frm-LF.fd new file mode 100644 index 00000000000..d84395f205c --- /dev/null +++ b/Master/texmf-dist/tex/latex/forum/OT1Frm-LF.fd @@ -0,0 +1,51 @@ +%% Generated by autoinst on 2020/08/01 +%% +\ProvidesFile{OT1Frm-LF.fd} + [2020/08/01 (autoinst) Font definitions for OT1/Frm-LF.] + +\ifcsname s@fct@alias\endcsname\else +\gdef\s@fct@alias{\sub@sfcnt\@font@aliasinfo} +\gdef\@font@aliasinfo#1{% + \@font@info{Font\space shape\space `\curr@fontshape'\space will + \space be\space aliased\MessageBreak to\space `\mandatory@arg'}% +} +\fi + +\expandafter\ifx\csname Frm@scale\endcsname\relax + \let\Frm@@scale\@empty +\else + \edef\Frm@@scale{s*[\csname Frm@scale\endcsname]}% +\fi + +\DeclareFontFamily{OT1}{Frm-LF}{} + + +% ---- m = regular ---- + +\DeclareFontShape{OT1}{Frm-LF}{m}{n}{ + <-> \Frm@@scale Frm-lf-ot1 +}{} + +\DeclareFontShape{OT1}{Frm-LF}{regular}{n}{ + <-> alias * Frm-LF/m/n +}{} + + +% ---- b = bold ---- + +\DeclareFontShape{OT1}{Frm-LF}{b}{n}{ + <-> \Frm@@scale Frm-Bold-lf-ot1 +}{} + +\DeclareFontShape{OT1}{Frm-LF}{bold}{n}{ + <-> alias * Frm-LF/b/n +}{} + + +% ---- Extra 'ssub' rules to map 'bx' to 'b' ---- + +\DeclareFontShape{OT1}{Frm-LF}{bx}{n}{ + <-> ssub * Frm-LF/b/n +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/forum/T1Frm-LF.fd b/Master/texmf-dist/tex/latex/forum/T1Frm-LF.fd new file mode 100644 index 00000000000..1956ffeff4b --- /dev/null +++ b/Master/texmf-dist/tex/latex/forum/T1Frm-LF.fd @@ -0,0 +1,51 @@ +%% Generated by autoinst on 2020/08/01 +%% +\ProvidesFile{T1Frm-LF.fd} + [2020/08/01 (autoinst) Font definitions for T1/Frm-LF.] + +\ifcsname s@fct@alias\endcsname\else +\gdef\s@fct@alias{\sub@sfcnt\@font@aliasinfo} +\gdef\@font@aliasinfo#1{% + \@font@info{Font\space shape\space `\curr@fontshape'\space will + \space be\space aliased\MessageBreak to\space `\mandatory@arg'}% +} +\fi + +\expandafter\ifx\csname Frm@scale\endcsname\relax + \let\Frm@@scale\@empty +\else + \edef\Frm@@scale{s*[\csname Frm@scale\endcsname]}% +\fi + +\DeclareFontFamily{T1}{Frm-LF}{} + + +% ---- m = regular ---- + +\DeclareFontShape{T1}{Frm-LF}{m}{n}{ + <-> \Frm@@scale Frm-lf-t1 +}{} + +\DeclareFontShape{T1}{Frm-LF}{regular}{n}{ + <-> alias * Frm-LF/m/n +}{} + + +% ---- b = bold ---- + +\DeclareFontShape{T1}{Frm-LF}{b}{n}{ + <-> \Frm@@scale Frm-Bold-lf-t1 +}{} + +\DeclareFontShape{T1}{Frm-LF}{bold}{n}{ + <-> alias * Frm-LF/b/n +}{} + + +% ---- Extra 'ssub' rules to map 'bx' to 'b' ---- + +\DeclareFontShape{T1}{Frm-LF}{bx}{n}{ + <-> ssub * Frm-LF/b/n +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/forum/T2AFrm-LF.fd b/Master/texmf-dist/tex/latex/forum/T2AFrm-LF.fd new file mode 100644 index 00000000000..84ae106eb71 --- /dev/null +++ b/Master/texmf-dist/tex/latex/forum/T2AFrm-LF.fd @@ -0,0 +1,51 @@ +%% Generated by autoinst on 2020/08/01 +%% +\ProvidesFile{T2AFrm-LF.fd} + [2020/08/01 (autoinst) Font definitions for T2A/Frm-LF.] + +\ifcsname s@fct@alias\endcsname\else +\gdef\s@fct@alias{\sub@sfcnt\@font@aliasinfo} +\gdef\@font@aliasinfo#1{% + \@font@info{Font\space shape\space `\curr@fontshape'\space will + \space be\space aliased\MessageBreak to\space `\mandatory@arg'}% +} +\fi + +\expandafter\ifx\csname Frm@scale\endcsname\relax + \let\Frm@@scale\@empty +\else + \edef\Frm@@scale{s*[\csname Frm@scale\endcsname]}% +\fi + +\DeclareFontFamily{T2A}{Frm-LF}{} + + +% ---- m = regular ---- + +\DeclareFontShape{T2A}{Frm-LF}{m}{n}{ + <-> \Frm@@scale Frm-lf-t2a +}{} + +\DeclareFontShape{T2A}{Frm-LF}{regular}{n}{ + <-> alias * Frm-LF/m/n +}{} + + +% ---- b = bold ---- + +\DeclareFontShape{T2A}{Frm-LF}{b}{n}{ + <-> \Frm@@scale Frm-Bold-lf-t2a +}{} + +\DeclareFontShape{T2A}{Frm-LF}{bold}{n}{ + <-> alias * Frm-LF/b/n +}{} + + +% ---- Extra 'ssub' rules to map 'bx' to 'b' ---- + +\DeclareFontShape{T2A}{Frm-LF}{bx}{n}{ + <-> ssub * Frm-LF/b/n +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/forum/T2BFrm-LF.fd b/Master/texmf-dist/tex/latex/forum/T2BFrm-LF.fd new file mode 100644 index 00000000000..bd65958bd3a --- /dev/null +++ b/Master/texmf-dist/tex/latex/forum/T2BFrm-LF.fd @@ -0,0 +1,51 @@ +%% Generated by autoinst on 2020/08/01 +%% +\ProvidesFile{T2BFrm-LF.fd} + [2020/08/01 (autoinst) Font definitions for T2B/Frm-LF.] + +\ifcsname s@fct@alias\endcsname\else +\gdef\s@fct@alias{\sub@sfcnt\@font@aliasinfo} +\gdef\@font@aliasinfo#1{% + \@font@info{Font\space shape\space `\curr@fontshape'\space will + \space be\space aliased\MessageBreak to\space `\mandatory@arg'}% +} +\fi + +\expandafter\ifx\csname Frm@scale\endcsname\relax + \let\Frm@@scale\@empty +\else + \edef\Frm@@scale{s*[\csname Frm@scale\endcsname]}% +\fi + +\DeclareFontFamily{T2B}{Frm-LF}{} + + +% ---- m = regular ---- + +\DeclareFontShape{T2B}{Frm-LF}{m}{n}{ + <-> \Frm@@scale Frm-lf-t2b +}{} + +\DeclareFontShape{T2B}{Frm-LF}{regular}{n}{ + <-> alias * Frm-LF/m/n +}{} + + +% ---- b = bold ---- + +\DeclareFontShape{T2B}{Frm-LF}{b}{n}{ + <-> \Frm@@scale Frm-Bold-lf-t2b +}{} + +\DeclareFontShape{T2B}{Frm-LF}{bold}{n}{ + <-> alias * Frm-LF/b/n +}{} + + +% ---- Extra 'ssub' rules to map 'bx' to 'b' ---- + +\DeclareFontShape{T2B}{Frm-LF}{bx}{n}{ + <-> ssub * Frm-LF/b/n +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/forum/T2CFrm-LF.fd b/Master/texmf-dist/tex/latex/forum/T2CFrm-LF.fd new file mode 100644 index 00000000000..cd89179949d --- /dev/null +++ b/Master/texmf-dist/tex/latex/forum/T2CFrm-LF.fd @@ -0,0 +1,51 @@ +%% Generated by autoinst on 2020/08/01 +%% +\ProvidesFile{T2CFrm-LF.fd} + [2020/08/01 (autoinst) Font definitions for T2C/Frm-LF.] + +\ifcsname s@fct@alias\endcsname\else +\gdef\s@fct@alias{\sub@sfcnt\@font@aliasinfo} +\gdef\@font@aliasinfo#1{% + \@font@info{Font\space shape\space `\curr@fontshape'\space will + \space be\space aliased\MessageBreak to\space `\mandatory@arg'}% +} +\fi + +\expandafter\ifx\csname Frm@scale\endcsname\relax + \let\Frm@@scale\@empty +\else + \edef\Frm@@scale{s*[\csname Frm@scale\endcsname]}% +\fi + +\DeclareFontFamily{T2C}{Frm-LF}{} + + +% ---- m = regular ---- + +\DeclareFontShape{T2C}{Frm-LF}{m}{n}{ + <-> \Frm@@scale Frm-lf-t2c +}{} + +\DeclareFontShape{T2C}{Frm-LF}{regular}{n}{ + <-> alias * Frm-LF/m/n +}{} + + +% ---- b = bold ---- + +\DeclareFontShape{T2C}{Frm-LF}{b}{n}{ + <-> \Frm@@scale Frm-Bold-lf-t2c +}{} + +\DeclareFontShape{T2C}{Frm-LF}{bold}{n}{ + <-> alias * Frm-LF/b/n +}{} + + +% ---- Extra 'ssub' rules to map 'bx' to 'b' ---- + +\DeclareFontShape{T2C}{Frm-LF}{bx}{n}{ + <-> ssub * Frm-LF/b/n +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/forum/TS1Frm-LF.fd b/Master/texmf-dist/tex/latex/forum/TS1Frm-LF.fd new file mode 100644 index 00000000000..915982be244 --- /dev/null +++ b/Master/texmf-dist/tex/latex/forum/TS1Frm-LF.fd @@ -0,0 +1,51 @@ +%% Generated by autoinst on 2020/08/01 +%% +\ProvidesFile{TS1Frm-LF.fd} + [2020/08/01 (autoinst) Font definitions for TS1/Frm-LF.] + +\ifcsname s@fct@alias\endcsname\else +\gdef\s@fct@alias{\sub@sfcnt\@font@aliasinfo} +\gdef\@font@aliasinfo#1{% + \@font@info{Font\space shape\space `\curr@fontshape'\space will + \space be\space aliased\MessageBreak to\space `\mandatory@arg'}% +} +\fi + +\expandafter\ifx\csname Frm@scale\endcsname\relax + \let\Frm@@scale\@empty +\else + \edef\Frm@@scale{s*[\csname Frm@scale\endcsname]}% +\fi + +\DeclareFontFamily{TS1}{Frm-LF}{} + + +% ---- m = regular ---- + +\DeclareFontShape{TS1}{Frm-LF}{m}{n}{ + <-> \Frm@@scale Frm-lf-ts1 +}{} + +\DeclareFontShape{TS1}{Frm-LF}{regular}{n}{ + <-> alias * Frm-LF/m/n +}{} + + +% ---- b = bold ---- + +\DeclareFontShape{TS1}{Frm-LF}{b}{n}{ + <-> \Frm@@scale Frm-Bold-lf-ts1 +}{} + +\DeclareFontShape{TS1}{Frm-LF}{bold}{n}{ + <-> alias * Frm-LF/b/n +}{} + + +% ---- Extra 'ssub' rules to map 'bx' to 'b' ---- + +\DeclareFontShape{TS1}{Frm-LF}{bx}{n}{ + <-> ssub * Frm-LF/b/n +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/forum/forum.sty b/Master/texmf-dist/tex/latex/forum/forum.sty index 9c83728fe91..1dbd695e8fe 100644 --- a/Master/texmf-dist/tex/latex/forum/forum.sty +++ b/Master/texmf-dist/tex/latex/forum/forum.sty @@ -1,40 +1,64 @@ \ProvidesPackage{forum}[% - 2020/07/25 (Bob Tennent) Supports Forum font for xeLaTeX and luaLaTeX. ] + 2020/08/01 (Bob Tennent) Supports Forum fonts for all LaTeX engines. ] -\RequirePackage{iftex} +\RequirePackage{ifxetex,ifluatex,textcomp} -\ifpdftex -\PackageError{forum}{% - *****************************************\MessageBreak - Please process using XeLaTeX or luaLaTeX\MessageBreak - *****************************************} -\fi +\newif\ifforum@otf +\ifxetex + \forum@otftrue +\else\ifluatex + \forum@otftrue +\else % [pdf]LaTeX + \forum@otffalse +\fi\fi -\newcommand*{\Forum@scale}{1} +\newcommand*{\Frm@scale}{1} \RequirePackage{xkeyval} -\DeclareOptionX{scaled}{\renewcommand*{\Forum@scale}{#1}} -\DeclareOptionX{scale}{\renewcommand*{\Forum@scale}{#1}} +\DeclareOptionX{scaled}{\renewcommand*{\Frm@scale}{#1}} +\DeclareOptionX{scale}{\renewcommand*{\Frm@scale}{#1}} + +\DeclareOptionX{type1}{\forum@otffalse} \ProcessOptionsX\relax +\ifforum@otf \RequirePackage{fontspec} +\else + \RequirePackage{fontenc,fontaxes,mweights} +\fi +\ifforum@otf \ifxetex\XeTeXtracingfonts=1\fi \defaultfontfeatures{ Ligatures = TeX , - Extension = .ttf , + Extension = .otf , + Scale = \Frm@scale, } \setmainfont [ UprightFont = *-Regular , + BoldFont = Frm-Bold, ] {Forum} \newfontfamily\forum [ UprightFont = *-Regular , + BoldFont = Frm-Bold, ] {Forum} +\else % type1 + + \def\mdseries@rm{regular} + \def\bfseries@rm{bold} + \def\forumfamily{Frm-LF} + \renewcommand*\rmdefault{\forumfamily} + \newcommand*\forum{\fontfamily{\forumfamily}\selectfont} + +\fi + % turn off defaults in case other fonts are selected: +\ifforum@otf \defaultfontfeatures{} +\fi \endinput |