summaryrefslogtreecommitdiff
path: root/support/light-latex-make/llmk-doc.cls
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-10-03 03:01:09 +0000
committerNorbert Preining <norbert@preining.info>2020-10-03 03:01:09 +0000
commit0e644e6805342838052f46e6af93f81644d0390b (patch)
tree26169230ce62dc353013ad08fb824f46d9511980 /support/light-latex-make/llmk-doc.cls
parent37f9a57b2f39142fbccb20b758af8e0502499671 (diff)
CTAN sync 202010030301
Diffstat (limited to 'support/light-latex-make/llmk-doc.cls')
-rw-r--r--support/light-latex-make/llmk-doc.cls15
1 files changed, 11 insertions, 4 deletions
diff --git a/support/light-latex-make/llmk-doc.cls b/support/light-latex-make/llmk-doc.cls
index fedf4a7a2c..632becfcd3 100644
--- a/support/light-latex-make/llmk-doc.cls
+++ b/support/light-latex-make/llmk-doc.cls
@@ -16,7 +16,7 @@
\def\@tempb{\@gobble}%
\@for\next:=\@classoptionslist\do
{\ifx\next\@tempa
- \message{Cleared option \next\space from global list}%
+ \message{Cleared option \next\space from global list}%
\else
\edef\@tempb{\@tempb,\next}%
\fi}%
@@ -131,7 +131,7 @@
\vskip 1em
{\fontsize{1.2cm}{0pt}\selectfont\logomainfont llmk}
\vskip .3em
- {\fontsize{0.5cm}{0pt}\selectfont\logosubfont The Light {\LaTeX} Make}
+ {\fontsize{0.5cm}{0pt}\selectfont\logosubfont Light {\LaTeX} Make}
\vskip .5em
%{\ifx\@subtitle\@empty\else\usekomafont{subtitle}\@subtitle\par\fi}%
\vskip 1em
@@ -166,8 +166,8 @@
\newcommand*{\hyph}{-}
\newcommand*{\meta}[1]{\bgroup
\normalfont\color{special}$\langle$\textit{#1}$\rangle$\egroup}
-\newcommand*{\code}[1]{\bgroup
- \chardef\_=`\_\code@font #1\egroup}
+\DeclareRobustCommand{\code}[1]{%
+ \texorpdfstring{\bgroup\chardef\_=`\_\code@font #1\egroup}{#1}}
\newcommand*{\cs}[1]{\texttt{\char`\\#1}}
\newcommand*{\sopt}[1]{\hyperlink{clo:#1}{\code{\hyph#1}}}
\newcommand*{\lopt}[1]{\hyperlink{clo:#1}{\code{\hyph{}\hyph#1}}}
@@ -182,6 +182,13 @@
\expandafter\egroup\x
\hyperlink{\@tmp@hyname}{\code{#1}}}
\newcommand*{\type}[1]{\textcolor{special}{#1}}
+\newcommand*{\README}{%
+ \href{https://github.com/wtsnjp/llmk/blob/master/README.md}
+ {\code{README.md}}}
+\newcommand{\printLICENSE}{%
+ \IfFileExists{./LICENSE}{\input{./LICENSE}}{% else
+ \IfFileExists{../LICENSE}{\input{../LICENSE}}{% else
+ \message{File LICENSE not found}}}}
% verbatim
\def\code@font{% code