Skip to content

Instantly share code, notes, and snippets.

@mseri
Forked from DominikPeters/lwarp-tips.md
Created August 3, 2024 21:41
Show Gist options
  • Save mseri/5f2a778029e2b4b77a0716af92352c20 to your computer and use it in GitHub Desktop.
Save mseri/5f2a778029e2b4b77a0716af92352c20 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