Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bareos/bareos-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Steffens <joerg.steffens@bareos.com>2017-01-11 18:45:41 +0300
committerJoerg Steffens <joerg.steffens@bareos.com>2017-01-11 18:45:41 +0300
commit1f7e18c9acd24aa0f53fbfbed73a4095e89acef6 (patch)
tree3f89d25d1f428a1a38ba250f5d937ffd7d0b46a7
parent9839032c94341fdc55d8f86aa0517ce945b9722b (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.cfg25
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}{\#}}
}