I'm using Scrivener to produce LaTeX output with MultiMarkDown. MultiMarkDown uses natbib by default, so footnotes look like this code snips:
\footnote{~\citep[<prenote>]{<key>}}
The issue is that I need to use biblatex. I can get the footnotes and citations to parse by doing two things: (1) specifying the natbib option in the \usepackage{biblatex-chicago} command and (2) using \renewcommand{\citep}{\Cite}
The problem is that \footenote{\cite{}} doesn't work the same in biblatex as \footcite or \autocite. The first variant doesn't automatically produce proper punctuation after the citation, whereas the latter two variants do.
What I'm trying to figure out is how to replace the two nested commands
\footnote{~\citep[<prenote>]{<key>}}
into a single \autocite command that takes prenote and key as its arguments. Notice that MMD automatically inserts a ~ before the \citep command -- I imagine I'd have to remove that, as well, for this to work properly. The full .tex file:
\documentclass[12pt,letterpaper]{article}
\usepackage[left=1in, right=1in, bottom=1in, top=1in]{geometry}
\geometry{letterpaper}
\usepackage{etoolbox}
\usepackage{keyval}
\usepackage{ifthen}
\usepackage{url}
\usepackage[american]{babel}
\usepackage{csquotes}
\usepackage{multirow}
\usepackage{tabularx}
\usepackage{setspace}
\usepackage[notes,natbib,footmarkoff]{biblatex-chicago}
% Euro-Symbol
\usepackage{textcomp}
\usepackage{appendix}
\usepackage{hyperref}
% Use utf-8 encoding for foreign characters
\usepackage[utf8]{inputenc}
% This is now the recommended way for checking for PDFLaTeX:
\usepackage{ifpdf}
\usepackage{times}
\renewcommand{\citep}{\Cite}
\ifpdf
\usepackage[pdftex]{graphicx}
\else
\usepackage{graphicx}
\fi
\addbibresource{Dissertation.bib}
\bibliocommand
\begin{document}
% TOC
\pagenumbering{roman}
\tableofcontents
\pagebreak
\pagenumbering{arabic}
\doublespacing
Trying to get this footnote to look normal.\footnote{~\citep[22]{Schelling:08}}
\pagebreak
\singlespacing
\printbibliography
\appendix
\end{document}
Please forgive me if this is an obvious question--I'm new to LaTeX, so any help would be much appreciated!
MultiMarkDownbut have for a month been usingpandoc. I haven't tested it in documents with bibliography citations but if you are interested, you can see stackoverflow.com/questions/14288699/… and stackoverflow.com/questions/3594311/…. Thanks for mentioning MultiMarkDown anyway. Might be worth to look at. – hpesoj626 Jan 18 at 0:15[#citekey;](note the semi-colon) for inline citations avoiding the~. MMD only supports a few citation commands from natbib and biblatex offers a whole lot more on top of its natbib-compatible commands. Your issue might be better addressed with a feature request to the MMD authors. – Audrey Jan 18 at 15:57\citet{}, so I use\renewcommand{\citet}{\Autocite}in my preamble. It doesn't have the advantage of auto-punctuation that an in-line\autocitecommand has, but like you said, MMD unfortunately doesn't support the more advanced features ofbiblatexat the moment. Incidentally, is there a way to automatically check for whitespace after the superscript in a footnote and insert it if it is not present? – Gene G. Jan 18 at 18:37