summaryrefslogtreecommitdiff
path: root/support/luafindfont/doc/luafindfont-doc.tex
diff options
context:
space:
mode:
Diffstat (limited to 'support/luafindfont/doc/luafindfont-doc.tex')
-rw-r--r--support/luafindfont/doc/luafindfont-doc.tex33
1 files changed, 29 insertions, 4 deletions
diff --git a/support/luafindfont/doc/luafindfont-doc.tex b/support/luafindfont/doc/luafindfont-doc.tex
index b896d5953a..be0ea0c3c8 100644
--- a/support/luafindfont/doc/luafindfont-doc.tex
+++ b/support/luafindfont/doc/luafindfont-doc.tex
@@ -1,4 +1,4 @@
- %% $Id: luafindfont-doc.tex 341 2021-12-05 10:38:08Z herbert $
+ %% $Id: luafindfont-doc.tex 533 2022-05-01 18:31:44Z herbert $
%
\listfiles\setcounter{errorcontextlines}{100}
\documentclass[paper=a4,fontsize=11pt,DIV=14,parskip=half-,
@@ -37,7 +37,7 @@
\usepackage{xltabular,pdflscape}
\usepackage{hvlogos} % for Wikipedia W
\usepackage{listings}
-\usepackage{dtk-extern} % for Wikipedia W
+\usepackage{hvextern} % for Wikipedia W
\lstset{basicstyle=\ttfamily\small,language=[LaTeX]TeX}
\usepackage{ragged2e}
\usepackage{makeidx}\makeindex
@@ -77,9 +77,9 @@
\def\setVersion#1{\setVVersion#1!!}
\def\setVVersion#1=#2!!{\def\luafindfontVersion{#2}}
-\setVersion{version = 0.06}% can be automatically changed by perl
+\setVersion{version = 0.07}% can be automatically changed by perl
-\setkeys{dtk}{cleanup=true,force}
+\setkeys{hv}{cleanup=true,force}
\title{Program \texttt{luafindfont} \\--\\ \normalsize \luafindfontVersion\ (\today)}
\author{\shortstack{Herbert Voß\\\small \href{mailto:hvoss@tug.org}{hvoss@tug.org}}}
@@ -166,6 +166,7 @@ long form which, of course, can be mixed:
-h,--help
-o,--otfinfo (default 0)
-i,--info (default 0)
+ -x,--xetex
-n,--nosymbolicnames
-v... Verbosity output
-m,--max_string (default 90)
@@ -292,6 +293,30 @@ For the font number 4 there also exists a Regular, Bold, and a Italic font. The
is a BoldItalic version.
+\subsection{Option \texttt{-x}}\label{xetex}
+
+\XeTeX\ will find OpenType and TrueType fonts only, if they are part of the system fonts or
+found by \texttt{kpsewhich} by its filename. With the option \texttt{-x} you'll an additional
+column, which shows if the font is found by \texttt{kpsewhich} (1) or not (0). If not, then
+it is obvious, that you have to update the filename database of the \TeX\ distribution in
+the usual way by running \texttt{texhash} or via a menu entry if using a file manager.
+
+
+
+\begin{Verbatim}
+bash-3.2$ ./luafindfont.lua -x PStricksdotfont
+We are using Lua 5.3
+Looking for font "pstricksdotfont"
+No. Fontname Symbolic Name Path X
+ 1. myFont.otf pstricksdotfont /usr/local/texlive/texmf-local/fonts/opentype/ 0
+ 2. PSTricksDotFont.otf pstricksdotfont /usr/local/texlive/texmf-local/fonts/opentype/ 1
+\end{Verbatim}
+
+
+The font \texttt{myFont.otf} is found by \LuaTeX\ but not by \XeTeX.
+
+
+
\section{Examples}