5

I defined footnotes to insert a colon between \footnote{bla}\footnote{bla}. But when I load hyperref this is destroyed. In addition KOMA removes space at the beginning of a footnote, while hyperref modifies this again. Please compare the results of compiling the following MWE:

\documentclass[footnotes=multiple]{scrbook}


\usepackage{hyperref}

\usepackage{bidi}

%\KOMAoptions{footnotes=multiple}

\deffootnote[1.5em]{1.5em}{0mm}{\textsuperscript{\normalfont\thefootnotemark}}

\begin{document}

Test\footnote{%
first footnote
}\footnote{
Second footnote.
}\footnote{
  The point of writing this text is that I can insert this footnote here so that Ulrike can see how
  a footnote looks like. The lipsum package does not insert footnotes.
}\footnote{
  And if they did not die, the wrote another footnote.
}\footnote{
  The point of writing this text is that I can insert this footnote here so that Ulrike can see how
  a footnote looks like. The lipsum package does not insert footnotes.
}


\end{document}

I found a way to set the footnotes=multiple after loading the hyperref package, but is this the correct way? Seems to be a bug in the hyperref package. Furthermore, when I add the bidipackage, setting the option after loading the packages does not work any longer ...

Stefan Müller
  • 6,901
  • 3
  • 29
  • 61

2 Answers2

1

You can either turn of footnote hyperlinks by

\usepackage[hyperfootnotes=false]{hyperref}

which disables hyperlinking of footnote markers; or manually add \multiplefootnoteseparator between \footnote commands:

\footnote{something}\multiplefootnoteseparator\footnote{whatever}

There is no known solution for multiple footnotes and hyperref at the same time, up to date.

The hyperref package has ambitions to make hyperlinks from footnote marks to the corresponding footnote body; naturally this causes grief to footmisc, and unfortunately no remedy is currently known...

Hasan Zakeri
  • 1,942
  • 2
    “There is no known solution for multiple footnotes and hyperref at the same time, up to date.“ -- Yes, there is: http://tex.stackexchange.com/questions/28465/multiple-footnotes-at-one-point/71015#71015 :) – cgnieder Jul 01 '13 at 21:01
  • @cgnieder: Thank you! Most specially for fnpct. And nice compatibility, by the way! So should I remove or edit my answer? By the way, by no solution, I was mentioning to footmisc and hyperref. – Hasan Zakeri Jul 02 '13 at 11:55
  • Thanks! This also worked for bidi! You should post this as a solution. – Stefan Müller Jul 03 '13 at 12:41
1

Although this is not its purpose the fnpct package might be a solution:

\documentclass{scrbook}

\usepackage{fnpct}
\usepackage{hyperref}

\usepackage{bidi}

\deffootnote[1.5em]{1.5em}{0mm}{\textsuperscript{\normalfont\thefootnotemark}}

\begin{document}

Test\footnote{%
  first footnote%
}\footnote{%
  Second footnote.%
}\footnote{%
  The point of writing this text is that I can insert this footnote here so
  that Ulrike can see how a footnote looks like.  The lipsum package does not
  insert footnotes.%
}\footnote{%
  And if they did not die, the wrote another footnote.%
}\footnote{%
  The point of writing this text is that I can insert this footnote here so
  that Ulrike can see how a footnote looks like. The lipsum package does not
  insert footnotes.%
}

\end{document}

enter image description here

enter image description here

cgnieder
  • 66,645