3
0
Fork 0
mirror of https://github.com/fsr/nopanic synced 2025-04-27 01:58:27 +02:00

Fixed links and special characters in index

This commit is contained in:
Yrr 2017-09-11 16:57:14 +02:00
parent a25e33ba06
commit 286b8f0415
3 changed files with 10 additions and 4 deletions

View file

@ -17,7 +17,8 @@
\newcounter{linkcounter}
\newcommand\linklist{}
\makeatletter
\def\@breaklinklistat{30}
\def\@breaklinklistat{28}
\def\@breaklinklistandat{60}
\newcommand{\link}[1]{%
\edef\tmptoken{\detokenize{#1}}%
\@ifundefined{nopanic@link@\tmptoken}{%
@ -30,7 +31,11 @@
\ifx\@breaklinklistat\@linknumber
\g@addto@macro\linklist{\\}%
\else
\g@addto@macro\linklist{\\*}%
\ifx\@breaklinklistandat\@linknumber
\g@addto@macro\linklist{\\}%
\else
\g@addto@macro\linklist{\\*}%
\fi
\fi
%
% Link system output: