diff options
author | Joerg Steffens <joerg.steffens@bareos.com> | 2017-01-11 18:45:41 +0300 |
---|---|---|
committer | Joerg Steffens <joerg.steffens@bareos.com> | 2017-01-11 18:45:41 +0300 |
commit | 1f7e18c9acd24aa0f53fbfbed73a4095e89acef6 (patch) | |
tree | 3f89d25d1f428a1a38ba250f5d937ffd7d0b46a7 | |
parent | 9839032c94341fdc55d8f86aa0517ce945b9722b (diff) |
fixes some HTML links
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.
-rw-r--r-- | manuals/en/main/bareos-manual-main-reference.htlatex.cfg | 25 |
1 files changed, 9 insertions, 16 deletions
diff --git a/manuals/en/main/bareos-manual-main-reference.htlatex.cfg b/manuals/en/main/bareos-manual-main-reference.htlatex.cfg index 795b199..5798051 100644 --- a/manuals/en/main/bareos-manual-main-reference.htlatex.cfg +++ b/manuals/en/main/bareos-manual-main-reference.htlatex.cfg @@ -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}{\#}} } |