diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/FAQ-en/faq.sty')
-rw-r--r-- | Master/texmf-dist/doc/generic/FAQ-en/faq.sty | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/generic/FAQ-en/faq.sty b/Master/texmf-dist/doc/generic/FAQ-en/faq.sty index 16ced807719..ff33448b021 100644 --- a/Master/texmf-dist/doc/generic/FAQ-en/faq.sty +++ b/Master/texmf-dist/doc/generic/FAQ-en/faq.sty @@ -29,7 +29,9 @@ \RequirePackage[T1]{fontenc}% \RequirePackage{textcomp}% \boldmathavailfalse - \RequirePackage[scaled=0.85]{luximono}% not using cmtt-alike + \IfFileExists{luximono.sty}% + {\RequirePackage[scaled=0.85]{luximono}}% not using cmtt-alike + {\RequirePackage{sub-luximono}}% load whatever \RequirePackage{textcomp}% \DeclareRobustCommand{\$}{\char`\$}% otherwise tries to load tctt.... \@ifundefined{Dings}{\RequirePackage{pifont}% @@ -164,6 +166,7 @@ % we define conditional stuff using Eijkhout's package \RequirePackage{comment} \excludecomment{htmlversion} +\includecomment{typesetversion} \ifpdf \includecomment{pdfversion} \includecomment{wideversion} @@ -1138,9 +1141,10 @@ } % minuscule bit more structured markup... -\def\environment#1{\texttt{#1}} -\def\pkgoption#1{\texttt{#1}} -\def\extension#1{\texttt{.#1}} +\newcommand\environment[1]{\texttt{#1}} +\newcommand\pkgoption[1]{\texttt{#1}} +\newcommand\extension[1]{\texttt{.#1}} +\newcommand\ltxcounter[1]{\texttt{#1}} % deal with tabular: special defs to make texfaq2html doable \let\tbamp& |