summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/unicodefonttable/unicodefont.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-10-21 20:31:49 +0000
committerKarl Berry <karl@freefriends.org>2021-10-21 20:31:49 +0000
commita4756b9a2c587fe3fe092cc9cfd8e3b1fb267445 (patch)
tree0b4d0134bccafad5daeb2ede7b872e66e611a6a6 /Master/texmf-dist/tex/latex/unicodefonttable/unicodefont.tex
parentc1fb42e1c4a88d363f56d1eed4804bc16bcaee59 (diff)
unicodefonttable (21oct21)
git-svn-id: svn://tug.org/texlive/trunk@60826 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/unicodefonttable/unicodefont.tex')
-rw-r--r--Master/texmf-dist/tex/latex/unicodefonttable/unicodefont.tex125
1 files changed, 125 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/unicodefonttable/unicodefont.tex b/Master/texmf-dist/tex/latex/unicodefonttable/unicodefont.tex
new file mode 100644
index 00000000000..309f1eb1b9b
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/unicodefonttable/unicodefont.tex
@@ -0,0 +1,125 @@
+%%
+%% This is file `unicodefont.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% unicodefonttable.dtx (with options: `standalone')
+%%
+%% This is a generated file.
+%%
+%% Copyright 2019-2021 Frank Mittelbach
+%%
+%% This file was generated from file(s) of the LaTeX `unicodefonttable Bundle'.
+%% --------------------------------------------------------------------------
+%%
+%% It may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3c
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% https://www.latex-project.org/lppl.txt
+%% and version 1.3c or later is part of all distributions of LaTeX
+%% version 2008 or later.
+%%
+%% This file may only be distributed together with a copy of the LaTeX
+%% `unicodefonttable Bundle'. You may however distribute the `unicodefonttable Bundle'
+%% without such generated files.
+%%
+%% The newest sources can be found below
+%%
+%% https://github.com/FrankMittelbach/fmitex-unicodetable
+%%
+%% where one can also log issues in case there are any.
+%%
+%%
+%%%%% \iffalse meta-comment
+%% File: unicodefonttable.dtx (C) Copyright 2019-2021 Frank Mittelbach
+
+\def\unicodefonttabledate {2021/10/19}
+\def\unicodefonttableversion{v1.0e}
+
+
+\documentclass{article}
+\setlength\textwidth{470pt}
+\setlength\oddsidemargin{0pt}
+\addtolength\textheight{7\baselineskip}
+\addtolength\topmargin{-3\baselineskip}
+\usepackage{unicodefonttable}
+\def\DEFAULTfontname{Latin Modern Roman}
+\def\DEFAULTfontfeatures{}
+\def\DEFAULTtableconfig{}
+\def\DEFAULTunicodefont{}
+\begin{document}
+\typeout{^^J}
+\ifx\generatetable\undefined
+\else
+ \typein[\answer]{^^JReuse settings from last time (default yes)?^^J^^J%
+ [ font name = \DEFAULTfontname^^J
+ \space unicode? = \ifx\DEFAULTunicodefont\empty yes^^J
+ \space font features = \DEFAULTfontfeatures
+ \else no\fi^^J
+ \space table config = \DEFAULTtableconfig \space]}
+\fi
+\ifx\answer\empty
+ \let\FontNameToTable\DEFAULTfontname
+ \let\IsUnicodeFont\DEFAULTunicodefont
+ \let\FontFeaturesToApply\DEFAULTfontfeatures
+ \let\TableConfigurationToApply\DEFAULTtableconfig
+\else
+\typein[\FontNameToTable]%
+ {^^JInput external font name as understood by fontspec, e.g.,^^J%
+ 'TeX Gyre Pagella' or 'lmroman10-regular.otf'%
+ \ifx\DEFAULTfontname\empty\else
+ ^^J^^J[default \DEFAULTfontname]\fi:}
+\ifx\FontNameToTable\empty \let\FontNameToTable\DEFAULTfontname \fi
+\typein[\IsUnicodeFont]%
+ {^^JIs this a Unicode font?^^J^^J%
+ \ifx\DEFAULTunicodefont\empty [default yes]\else [default no]\fi:}
+\ifx\IsUnicodeFont\empty
+ \let\IsUnicodeFont\DEFAULTunicodefont
+\else
+ \ifx\DEFAULTunicodefont\empty
+ \else
+ \let\IsUnicodeFont\empty
+ \fi
+\fi
+\ifx\IsUnicodeFont\empty
+ \typein[\FontFeaturesToApply]%
+ {^^JInput font feature key/value list to apply%
+ \ifx\DEFAULTfontfeatures\empty\else
+ ^^J^^J[default \DEFAULTfontfeatures]\fi:}
+ \ifx\FontFeaturesToApply\empty \let\FontFeaturesToApply\DEFAULTfontfeatures \fi
+\else
+ \let\FontFeaturesToApply\DEFAULTfontfeatures
+\fi
+\typein[\TableConfigurationToApply]%
+ {^^JInput table configuration key/value list to apply%
+ \ifx\DEFAULTtableconfig\empty\else
+ ^^J^^J[default
+ \expandafter\detokenize\expandafter{\DEFAULTtableconfig}]\fi:}
+\ifx\TableConfigurationToApply\empty
+ \let\TableConfigurationToApply\DEFAULTtableconfig
+\fi
+\edef\generatetable{\noexpand\displayfonttable
+ \ifx\IsUnicodeFont\empty\else *\fi
+ \ifx\TableConfigurationToApply\empty\else
+ [\expandafter\unexpanded\expandafter{\TableConfigurationToApply}]\fi
+ {\FontNameToTable}%
+ \ifx\FontFeaturesToApply\empty\else[\FontFeaturesToApply]\fi
+}
+\fi
+\makeatletter
+\protected@write\@auxout{}{\gdef\string\generatetable
+ {\expandafter\detokenize\expandafter{\generatetable}}}
+\protected@write\@auxout{}{\gdef\string\DEFAULTfontname{\FontNameToTable}}
+\protected@write\@auxout{}{\gdef\string\DEFAULTunicodefont{\IsUnicodeFont}}
+\protected@write\@auxout{}{\gdef\string\DEFAULTfontfeatures{\FontFeaturesToApply}}
+\protected@write\@auxout{}{\gdef\string\DEFAULTtableconfig
+ {\expandafter\detokenize\expandafter{\TableConfigurationToApply}}}
+\makeatother
+\generatetable
+\end{document}
+
+\endinput
+%%
+%% End of file `unicodefont.tex'.