# comma delineation of consecutive endnotes

Consecutive footnotes can be separated by commas by invocation of the multiple option of the footmisc package:

\documentclass{article}
\usepackage[multiple]{footmisc}
\begin{document}
Comma delineation of consecutive footnotes fails upon conversion to endnotes%
\footnote{First note.}%
\footnote{Second note.}.%
\end{document}


This comma delineation fails, however, if footnotes are converted to endnotes using the endnotes package:

\documentclass{article}
\usepackage{endnotes}
\let\footnote=\endnote
\usepackage[multiple]{footmisc}
\begin{document}
Comma delineation of consecutive footnotes fails upon conversion to endnotes%
\footnote{First note.}%
\footnote{Second note.}.%
\theendnotes
\end{document}


How can one preserve automated comma delineation of consecutive endnotes?

-
you need a revised version of footmisc; i'll see what i can do. (the problem is that footmisc redefines \footnote and blunders on...) –  wasteofspace May 2 '12 at 9:28

# Manual solution

An admittedly not very comfortable solution is doing it manually, for example with KOMA-Script's \multiplefootnoteseparator:

\documentclass{scrartcl}
% for convenient typing:
\let\mfs\multiplefootnoteseparator
\usepackage{endnotes}
\let\footnote=\endnote
\begin{document}
Comma delineation of consecutive footnotes fails upon conversion to endnotes%
\footnote{First note.}\mfs%
\footnote{Second note.}.%
\theendnotes
\end{document}


Or with a standard class something like this:

\documentclass{article}
\newcommand*\multiplefootnoteseparator{%
\textsuperscript{\multfootsep}\nobreak
}
\newcommand*\multfootsep{,}
% for convenient typing:
\let\mfs\multiplefootnoteseparator
\usepackage{endnotes}
\let\footnote=\endnote
\begin{document}
Comma delineation of consecutive footnotes fails upon conversion to endnotes%
\footnote{First note.}\mfs%
\footnote{Second note.}.%
\theendnotes
\end{document}


# Alternative

My not yet officially puplished package fnpct offers a different solution. If loaded together with the endnotes package it provides the command

\multendnote{<fn1>;<fn2>;...}


The reason for this command is that the package's purpose is actually a different one, namely to be a solution to this question.

## The default:

So you could say something like this:

\documentclass{article}
\usepackage{endnotes}
\usepackage{fnpct}

\begin{document}
Comma delineation of consecutive footnotes fails upon conversion to endnotes%
\multendnote{First note.;Second note.}.%
\theendnotes
\end{document}


## The multiple option:

The package offers an option multiple which turns every \footnote into a \multfootnote and likewise every \endnote into a \multendnote. So this might be more comfortable (as long as one does not forget that the semicolon delimits different notes):

\documentclass{article}
\usepackage{endnotes}
\usepackage[multiple]{fnpct}

\begin{document}
Comma delineation of consecutive footnotes fails upon conversion to endnotes%
\endnote{First note.;Second note.}.%
\theendnotes
\end{document}


You now also can \let the \footnote command to \endnote:

\documentclass{article}
\usepackage{endnotes}
\usepackage[multiple]{fnpct}
\let\footnote\endnote

\begin{document}
Comma delineation of consecutive footnotes fails upon conversion to endnotes%
\footnote{First note.;Second note.}.%
\theendnotes
\end{document}


## How it looks:

All three examples look like this:

Note that in all cases the dot is not placed after instead of before the footnote marks. If you don't want that use the package option punct-after to get the result below.

-

I had a similar problem and the footmisc package did not work. I did the following

\footnote{note1}\vphantom{d}$^{\text{,}}$\footnote{note2}


It's quick and dirty but it worked.

-
Instead of \vphantom{d}$^{\text{,}}$ I'd rather use \textsuperscript{,}  –  clemens Sep 10 '14 at 16:56