A previous question asked about how to use a CSL-defined bibliography style with LaTeX. The accepted answer gave the following use:
pandoc --bibliography=refs.bib --csl=mystyle.csl -o out.pdf doc.tex
However, when I used pandoc to convert my tex file to a pdf, it messed up the formatting and recommended I use pdflatex instead. So I did use pdflatex and it preserves the correct formatting of my .tex file. However, I do not see any pdflatex options for including a citation style like one defined in a CSL file. So, my question is, if I want to convert my tex file to a PDF using pdflatex, is there any way to compile such that my citations are formatted by a specified .csl file?
citeproc-lua? – Ingmar Apr 05 '23 at 06:23citeproc-luarequires manually runningciteproc-lua foo.auxin the command line. However Overleaf can only runlatexmkwhich currently cannot call citeproc-lua. – Zeping Lee Apr 06 '23 at 14:44