diff options
Diffstat (limited to 'Master/texmf-dist/doc/support/light-latex-make/llmk-doc.cls')
-rw-r--r-- | Master/texmf-dist/doc/support/light-latex-make/llmk-doc.cls | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/support/light-latex-make/llmk-doc.cls b/Master/texmf-dist/doc/support/light-latex-make/llmk-doc.cls index fedf4a7a2cd..632becfcd3d 100644 --- a/Master/texmf-dist/doc/support/light-latex-make/llmk-doc.cls +++ b/Master/texmf-dist/doc/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 |