diff options
author | Karl Berry <karl@freefriends.org> | 2020-07-25 21:45:50 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-07-25 21:45:50 +0000 |
commit | 123d248deb5108398b7b8f09342a5f98de0366f4 (patch) | |
tree | 70a853bb94314b1eb8ea15518262e11f805fa586 /Master/texmf-dist/tex/latex | |
parent | 2e4e4492f8975d8549339a3c8a53a6108cd77eb7 (diff) |
forum (25jul20)
git-svn-id: svn://tug.org/texlive/trunk@55940 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/forum/LY1Forum-LF.fd | 57 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/forum/OT1Forum-LF.fd | 57 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/forum/T1Forum-LF.fd | 57 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/forum/T2AForum-LF.fd | 57 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/forum/T2BForum-LF.fd | 57 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/forum/T2CForum-LF.fd | 57 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/forum/TS1Forum-LF.fd | 57 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/forum/forum.sty | 39 |
8 files changed, 8 insertions, 430 deletions
diff --git a/Master/texmf-dist/tex/latex/forum/LY1Forum-LF.fd b/Master/texmf-dist/tex/latex/forum/LY1Forum-LF.fd deleted file mode 100644 index d923a4ff060..00000000000 --- a/Master/texmf-dist/tex/latex/forum/LY1Forum-LF.fd +++ /dev/null @@ -1,57 +0,0 @@ -%% Generated by autoinst on 2019/12/17 -%% -\ProvidesFile{LY1Forum-LF.fd} - [2019/12/17 (autoinst) Font definitions for LY1/Forum-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 Forum@scale\endcsname\relax - \let\Forum@@scale\@empty -\else - \edef\Forum@@scale{s*[\csname Forum@scale\endcsname]}% -\fi - -\DeclareFontFamily{LY1}{Forum-LF}{} - - -% ---- regular ---- - -\DeclareFontShape{LY1}{Forum-LF}{regular}{n}{ - <-> \Forum@@scale Forum-lf-ly1 -}{} - - -% ---- bold ---- - -\DeclareFontShape{LY1}{Forum-LF}{bold}{n}{ - <-> \Forum@@scale Forum-Bold-lf-ly1 -}{} - -% -% Extra 'alias' rules to map the standard NFSS codes to our fancy names -% - -% m --> regular - -\DeclareFontShape{LY1}{Forum-LF}{m}{n}{ - <-> alias * Forum-LF/regular/n -}{} - - -% b --> bold - -\DeclareFontShape{LY1}{Forum-LF}{b}{n}{ - <-> alias * Forum-LF/bold/n -}{} - -\DeclareFontShape{LY1}{Forum-LF}{bx}{n}{ - <-> ssub * Forum-LF/b/n -}{} - -\endinput diff --git a/Master/texmf-dist/tex/latex/forum/OT1Forum-LF.fd b/Master/texmf-dist/tex/latex/forum/OT1Forum-LF.fd deleted file mode 100644 index da216f5ab32..00000000000 --- a/Master/texmf-dist/tex/latex/forum/OT1Forum-LF.fd +++ /dev/null @@ -1,57 +0,0 @@ -%% Generated by autoinst on 2019/12/17 -%% -\ProvidesFile{OT1Forum-LF.fd} - [2019/12/17 (autoinst) Font definitions for OT1/Forum-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 Forum@scale\endcsname\relax - \let\Forum@@scale\@empty -\else - \edef\Forum@@scale{s*[\csname Forum@scale\endcsname]}% -\fi - -\DeclareFontFamily{OT1}{Forum-LF}{} - - -% ---- regular ---- - -\DeclareFontShape{OT1}{Forum-LF}{regular}{n}{ - <-> \Forum@@scale Forum-lf-ot1 -}{} - - -% ---- bold ---- - -\DeclareFontShape{OT1}{Forum-LF}{bold}{n}{ - <-> \Forum@@scale Forum-Bold-lf-ot1 -}{} - -% -% Extra 'alias' rules to map the standard NFSS codes to our fancy names -% - -% m --> regular - -\DeclareFontShape{OT1}{Forum-LF}{m}{n}{ - <-> alias * Forum-LF/regular/n -}{} - - -% b --> bold - -\DeclareFontShape{OT1}{Forum-LF}{b}{n}{ - <-> alias * Forum-LF/bold/n -}{} - -\DeclareFontShape{OT1}{Forum-LF}{bx}{n}{ - <-> ssub * Forum-LF/b/n -}{} - -\endinput diff --git a/Master/texmf-dist/tex/latex/forum/T1Forum-LF.fd b/Master/texmf-dist/tex/latex/forum/T1Forum-LF.fd deleted file mode 100644 index e933484035a..00000000000 --- a/Master/texmf-dist/tex/latex/forum/T1Forum-LF.fd +++ /dev/null @@ -1,57 +0,0 @@ -%% Generated by autoinst on 2019/12/17 -%% -\ProvidesFile{T1Forum-LF.fd} - [2019/12/17 (autoinst) Font definitions for T1/Forum-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 Forum@scale\endcsname\relax - \let\Forum@@scale\@empty -\else - \edef\Forum@@scale{s*[\csname Forum@scale\endcsname]}% -\fi - -\DeclareFontFamily{T1}{Forum-LF}{} - - -% ---- regular ---- - -\DeclareFontShape{T1}{Forum-LF}{regular}{n}{ - <-> \Forum@@scale Forum-lf-t1 -}{} - - -% ---- bold ---- - -\DeclareFontShape{T1}{Forum-LF}{bold}{n}{ - <-> \Forum@@scale Forum-Bold-lf-t1 -}{} - -% -% Extra 'alias' rules to map the standard NFSS codes to our fancy names -% - -% m --> regular - -\DeclareFontShape{T1}{Forum-LF}{m}{n}{ - <-> alias * Forum-LF/regular/n -}{} - - -% b --> bold - -\DeclareFontShape{T1}{Forum-LF}{b}{n}{ - <-> alias * Forum-LF/bold/n -}{} - -\DeclareFontShape{T1}{Forum-LF}{bx}{n}{ - <-> ssub * Forum-LF/b/n -}{} - -\endinput diff --git a/Master/texmf-dist/tex/latex/forum/T2AForum-LF.fd b/Master/texmf-dist/tex/latex/forum/T2AForum-LF.fd deleted file mode 100644 index 5ab48203003..00000000000 --- a/Master/texmf-dist/tex/latex/forum/T2AForum-LF.fd +++ /dev/null @@ -1,57 +0,0 @@ -%% Generated by autoinst on 2019/12/17 -%% -\ProvidesFile{T2AForum-LF.fd} - [2019/12/17 (autoinst) Font definitions for T2A/Forum-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 Forum@scale\endcsname\relax - \let\Forum@@scale\@empty -\else - \edef\Forum@@scale{s*[\csname Forum@scale\endcsname]}% -\fi - -\DeclareFontFamily{T2A}{Forum-LF}{} - - -% ---- regular ---- - -\DeclareFontShape{T2A}{Forum-LF}{regular}{n}{ - <-> \Forum@@scale Forum-lf-t2a -}{} - - -% ---- bold ---- - -\DeclareFontShape{T2A}{Forum-LF}{bold}{n}{ - <-> \Forum@@scale Forum-Bold-lf-t2a -}{} - -% -% Extra 'alias' rules to map the standard NFSS codes to our fancy names -% - -% m --> regular - -\DeclareFontShape{T2A}{Forum-LF}{m}{n}{ - <-> alias * Forum-LF/regular/n -}{} - - -% b --> bold - -\DeclareFontShape{T2A}{Forum-LF}{b}{n}{ - <-> alias * Forum-LF/bold/n -}{} - -\DeclareFontShape{T2A}{Forum-LF}{bx}{n}{ - <-> ssub * Forum-LF/b/n -}{} - -\endinput diff --git a/Master/texmf-dist/tex/latex/forum/T2BForum-LF.fd b/Master/texmf-dist/tex/latex/forum/T2BForum-LF.fd deleted file mode 100644 index ee8b0d789f0..00000000000 --- a/Master/texmf-dist/tex/latex/forum/T2BForum-LF.fd +++ /dev/null @@ -1,57 +0,0 @@ -%% Generated by autoinst on 2019/12/17 -%% -\ProvidesFile{T2BForum-LF.fd} - [2019/12/17 (autoinst) Font definitions for T2B/Forum-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 Forum@scale\endcsname\relax - \let\Forum@@scale\@empty -\else - \edef\Forum@@scale{s*[\csname Forum@scale\endcsname]}% -\fi - -\DeclareFontFamily{T2B}{Forum-LF}{} - - -% ---- regular ---- - -\DeclareFontShape{T2B}{Forum-LF}{regular}{n}{ - <-> \Forum@@scale Forum-lf-t2b -}{} - - -% ---- bold ---- - -\DeclareFontShape{T2B}{Forum-LF}{bold}{n}{ - <-> \Forum@@scale Forum-Bold-lf-t2b -}{} - -% -% Extra 'alias' rules to map the standard NFSS codes to our fancy names -% - -% m --> regular - -\DeclareFontShape{T2B}{Forum-LF}{m}{n}{ - <-> alias * Forum-LF/regular/n -}{} - - -% b --> bold - -\DeclareFontShape{T2B}{Forum-LF}{b}{n}{ - <-> alias * Forum-LF/bold/n -}{} - -\DeclareFontShape{T2B}{Forum-LF}{bx}{n}{ - <-> ssub * Forum-LF/b/n -}{} - -\endinput diff --git a/Master/texmf-dist/tex/latex/forum/T2CForum-LF.fd b/Master/texmf-dist/tex/latex/forum/T2CForum-LF.fd deleted file mode 100644 index 47243d36cbd..00000000000 --- a/Master/texmf-dist/tex/latex/forum/T2CForum-LF.fd +++ /dev/null @@ -1,57 +0,0 @@ -%% Generated by autoinst on 2019/12/17 -%% -\ProvidesFile{T2CForum-LF.fd} - [2019/12/17 (autoinst) Font definitions for T2C/Forum-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 Forum@scale\endcsname\relax - \let\Forum@@scale\@empty -\else - \edef\Forum@@scale{s*[\csname Forum@scale\endcsname]}% -\fi - -\DeclareFontFamily{T2C}{Forum-LF}{} - - -% ---- regular ---- - -\DeclareFontShape{T2C}{Forum-LF}{regular}{n}{ - <-> \Forum@@scale Forum-lf-t2c -}{} - - -% ---- bold ---- - -\DeclareFontShape{T2C}{Forum-LF}{bold}{n}{ - <-> \Forum@@scale Forum-Bold-lf-t2c -}{} - -% -% Extra 'alias' rules to map the standard NFSS codes to our fancy names -% - -% m --> regular - -\DeclareFontShape{T2C}{Forum-LF}{m}{n}{ - <-> alias * Forum-LF/regular/n -}{} - - -% b --> bold - -\DeclareFontShape{T2C}{Forum-LF}{b}{n}{ - <-> alias * Forum-LF/bold/n -}{} - -\DeclareFontShape{T2C}{Forum-LF}{bx}{n}{ - <-> ssub * Forum-LF/b/n -}{} - -\endinput diff --git a/Master/texmf-dist/tex/latex/forum/TS1Forum-LF.fd b/Master/texmf-dist/tex/latex/forum/TS1Forum-LF.fd deleted file mode 100644 index ba7833cb197..00000000000 --- a/Master/texmf-dist/tex/latex/forum/TS1Forum-LF.fd +++ /dev/null @@ -1,57 +0,0 @@ -%% Generated by autoinst on 2019/12/17 -%% -\ProvidesFile{TS1Forum-LF.fd} - [2019/12/17 (autoinst) Font definitions for TS1/Forum-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 Forum@scale\endcsname\relax - \let\Forum@@scale\@empty -\else - \edef\Forum@@scale{s*[\csname Forum@scale\endcsname]}% -\fi - -\DeclareFontFamily{TS1}{Forum-LF}{} - - -% ---- regular ---- - -\DeclareFontShape{TS1}{Forum-LF}{regular}{n}{ - <-> \Forum@@scale Forum-lf-ts1 -}{} - - -% ---- bold ---- - -\DeclareFontShape{TS1}{Forum-LF}{bold}{n}{ - <-> \Forum@@scale Forum-Bold-lf-ts1 -}{} - -% -% Extra 'alias' rules to map the standard NFSS codes to our fancy names -% - -% m --> regular - -\DeclareFontShape{TS1}{Forum-LF}{m}{n}{ - <-> alias * Forum-LF/regular/n -}{} - - -% b --> bold - -\DeclareFontShape{TS1}{Forum-LF}{b}{n}{ - <-> alias * Forum-LF/bold/n -}{} - -\DeclareFontShape{TS1}{Forum-LF}{bx}{n}{ - <-> ssub * Forum-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 ee525ac08be..9c83728fe91 100644 --- a/Master/texmf-dist/tex/latex/forum/forum.sty +++ b/Master/texmf-dist/tex/latex/forum/forum.sty @@ -1,33 +1,24 @@ \ProvidesPackage{forum}[% - 2019/06/18 (Bob Tennent) Supports Forum font for all LaTeX engines. ] + 2020/07/25 (Bob Tennent) Supports Forum font for xeLaTeX and luaLaTeX. ] -\RequirePackage{ifxetex,ifluatex,textcomp} +\RequirePackage{iftex} -\newif\ifforum@ttf -\ifxetex - \forum@ttftrue -\else\ifluatex - \forum@ttftrue -\else % [pdf]LaTeX - \forum@ttffalse -\fi\fi +\ifpdftex +\PackageError{forum}{% + *****************************************\MessageBreak + Please process using XeLaTeX or luaLaTeX\MessageBreak + *****************************************} +\fi \newcommand*{\Forum@scale}{1} \RequirePackage{xkeyval} \DeclareOptionX{scaled}{\renewcommand*{\Forum@scale}{#1}} \DeclareOptionX{scale}{\renewcommand*{\Forum@scale}{#1}} -\DeclareOptionX{type1}{\forum@ttffalse} - \ProcessOptionsX\relax -\ifforum@ttf \RequirePackage{fontspec} -\else - \RequirePackage{fontenc,fontaxes,mweights} -\fi -\ifforum@ttf \ifxetex\XeTeXtracingfonts=1\fi \defaultfontfeatures{ Ligatures = TeX , @@ -35,29 +26,15 @@ } \setmainfont [ UprightFont = *-Regular , - BoldFont = *-Bold, ] {Forum} \newfontfamily\forum [ UprightFont = *-Regular , - BoldFont = *-Bold, ] {Forum} -\else % type1 - - \def\mdseries@rm{regular} - \def\bfseries@rm{bold} - \def\forumfamily{Forum-LF} - \renewcommand*\rmdefault{\forumfamily} - \newcommand*\forum{\fontfamily{\forumfamily}\selectfont} - -\fi - % turn off defaults in case other fonts are selected: -\ifforum@ttf \defaultfontfeatures{} -\fi \endinput |