"Fossies" - the Fresh Open Source Software Archive

Member "hevea-2.35/bugs/011/macros.hva" (16 Jan 2021, 685 Bytes) of package /linux/www/hevea-2.35.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 \newstyle{a.navarrow}{color:purple}
    2 \newstyle{div.navarrows}{border:solid purple}
    3 \newcommand{\myprev}[1]
    4 {\@open{li}{}\ahref[class="navarrow" title="Previous" ]{#1}{Previous \@print@u{X1F844}}\@close{li}
    5 }
    6 \newcommand{\myup}[1]
    7 {\@open{li}{}\ahref[class="navarrow" title="Up" ]{#1}{Up \@print@u{X1F845}}\@close{li}
    8 }
    9 \newcommand{\mynext}[1]
   10 {\@open{li}{}\ahref[class="navarrow" title="Next" ]{#1}{Next \@print@u{X1F846}}\@close{li}
   11 }
   12 \newif\iftmp
   13 \newcommand{\mylinks}[1]
   14 {\if@silent\tmptrue\else\tmpfalse\@silenttrue\fi\@open{div}{class="navarrows" role="navigation"}
   15 \@open{ul}{}
   16 #1
   17 \@close{ul}
   18 \@close{div}
   19 \iftmp\else\silentrue\fi}
   20 \formatlinks{\mylinks}{\myprev}{\myup}{\mynext}