Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Commit

Permalink
fixes some HTML links
Browse files Browse the repository at this point in the history
Without this patch, the name of some HTML links did use ligatures
('fi' or 'fl' as single character). This did make sense and caused
confusion. Replaced it.
  • Loading branch information
joergsteffens committed Jan 11, 2017
1 parent 9839032 commit 1f7e18c
Showing 1 changed file with 9 additions and 16 deletions.
25 changes: 9 additions & 16 deletions manuals/en/main/bareos-manual-main-reference.htlatex.cfg
Expand Up @@ -33,34 +33,27 @@
\makeatletter \g@addto@macro\UrlSpecials{\do\-{\mbox{-}}}

\renewcommand{\chaptermark}[1]{%
\HCode{<A NAME='section\arabic{chapter}'></a>}%
\HCode{<A NAME='}#1\HCode{'></A>}%
\hypertarget{section\arabic{chapter}}{}
\capitalizewords[e]{#1}%
\noblanks[e]{\thestring}%
\HCode{<A NAME='}\thestring\HCode{'></A>}%
\marginpar{\href{\#\thestring}{\#}}%
%\href{\#\thestring}{\#}%
\hypertarget{\thestring}{}
\marginpar{\hyperlink{\thestring}{\#}}
}

\renewcommand{\sectionmark}[1]{%
\HCode{<A NAME='section\arabic{chapter}.\arabic{section}'></a>}
\HCode{<A NAME='}#1\HCode{'></A>}%
\hypertarget{section\arabic{chapter}.\arabic{section}}{}
\capitalizewords[e]{#1}%
\noblanks[e]{\thestring}%
\noblanks[e]{\thestring}%
\HCode{<A NAME='}\thestring\HCode{'></A>}%
\marginpar{\href{\#\thestring}{\#}}%
%\href{\#\thestring}{\#}%
\hypertarget{\thestring}{}
\marginpar{\hyperlink{\thestring}{\#}}
}

\renewcommand{\subsectionmark}[1]{%
\HCode{<A NAME='section\arabic{chapter}.\arabic{section}.\arabic{subsection}'></a>}
\HCode{<A NAME='}#1\HCode{'></A>}%
\hypertarget{section\arabic{chapter}.\arabic{section}.\arabic{subsection}}{}
\capitalizewords[e]{#1}%
\noblanks[e]{\thestring}%
\HCode{<A NAME='}\thestring\HCode{'></A>}%
\marginpar{\href{\#\thestring}{\#}}%
%\href{\#\thestring}{\#}%
\hypertarget{\thestring}{}
\marginpar{\hyperlink{\thestring}{\#}}
}


Expand Down

0 comments on commit 1f7e18c

Please sign in to comment.