Skip to content

Instantly share code, notes, and snippets.

@asmwarrior
Forked from DominikPeters/lwarp-tips.md
Created February 16, 2022 14:58
Show Gist options
  • Save asmwarrior/38a8ac15b32e01423a9cca1b31a9c28d to your computer and use it in GitHub Desktop.
Save asmwarrior/38a8ac15b32e01423a9cca1b31a9c28d to your computer and use it in GitHub Desktop.
Some tips for using lwarp for Latex to HTML conversion

Replace natbib by biblatex to get citation links

\usepackage[backend=bibtex, style=authoryear-comp, natbib=true, sortcites=false]{biblatex}
\addbibresource{main.bib}

% optional if you want (Smith 1776) instead of (Smith, 1776)
\renewcommand*{\nameyeardelim}{\addspace}

\begin{document}
% . . .
\printbibliography
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment