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 ...

  • You can try loading scrhack with the option hyperref. – Marco Daniel Jun 19 '13 at 15:41
  • This had no effect. – Stefan Müller Jun 19 '13 at 16:16
  • scrhack only modifies section heading in \section, \chapter, \part and etc. It has nothing to do with footnotes. See my answer below. – Hasan Zakeri Jul 1 '13 at 20:54
  • Holles answer here worked for me: tex.stackexchange.com/questions/40072/… You can just replace the comma with a colon. – Kubo Dec 10 '18 at 13:09
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...

  • 2
    “There is no known solution for multiple footnotes and hyperref at the same time, up to date.“ -- Yes, there is: tex.stackexchange.com/questions/28465/… :) – cgnieder Jul 1 '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 2 '13 at 11:55
  • Thanks! This also worked for bidi! You should post this as a solution. – Stefan Müller Jul 3 '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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.