Open hamzashezad opened 8 months ago
i am using basictex (https://www.tug.org/mactex/morepackages.html) rather than the heavy TexLive distribution. i have downloaded IEEEtran.cls file from https://www.ctan.org/tex-archive/macros/latex/contrib/IEEEtran/.
basictex
IEEEtran.cls
in this basic markdown file:
This is a reference to [@allen1957] @altshuler2019 [p. 33] says blah.
with this .bib file:
@article{allen1957, title = {Symbolic {{Logic}}: {{A Razor-Edged Tool}} for {{Drafting}} and {{Interpreting Legal Documents}}}, shorttitle = {Symbolic {{Logic}}}, author = {Allen, Layman E.}, date = {1957-05}, journaltitle = {The Yale Law Journal}, shortjournal = {The Yale Law Journal}, volume = {66}, number = {6}, eprint = {794073}, eprinttype = {jstor}, pages = {833}, issn = {00440094}, doi = {10.2307/794073}, url = {https://www.jstor.org/stable/794073?origin=crossref}, urldate = {2023-10-09}, langid = {english}, file = {/Users/hamza/Zotero/storage/YI8TUGPL/Allen - 1957 - Symbolic Logic A Razor-Edged Tool for Drafting an.pdf} } @book{altshuler2019, title = {A Course in Semantics}, author = {Altshuler, Daniel and Parsons, Terence and Schwarzschild, Roger}, date = {2019}, publisher = {{The MIT Press}}, location = {{Cambridge, MA}}, isbn = {978-0-262-04277-2}, pagetotal = {225}, keywords = {Semantics} }
running pandoc --citeproc with the template.latex from this repo gives this error:
pandoc --citeproc
template.latex
$ > pandoc --citeproc -o p.pdf t.md [WARNING] Citeproc: citation allen1957 not found [WARNING] Citeproc: citation altshuler2019 not found $ > pandoc --bibliography=bibliography.bib --citeproc -o p.pdf t.md $ > pandoc --csl=bibliography.csl --bibliography=bibliography.bib --citeproc -o p.pdf t.md $ > pandoc --template=template.latex --csl=bibliography.csl --bibliography=bibliography.bib --citeproc -o p.pdf t.md Error producing PDF. ! LaTeX Error: Lonely \item--perhaps a missing list environment. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.97 \bibitem[\citeproctext]{ref-allen1957}
versions used; pandoc: 3.1.8 basictex: 2023.0314
FWIW, the default LaTeX template in Pandoc is changing over time and it changed at some point between 3.1.6 and 3.1.8 in an incompatible way.
i am using
basictex
(https://www.tug.org/mactex/morepackages.html) rather than the heavy TexLive distribution. i have downloadedIEEEtran.cls
file from https://www.ctan.org/tex-archive/macros/latex/contrib/IEEEtran/.in this basic markdown file:
with this .bib file:
running
pandoc --citeproc
with thetemplate.latex
from this repo gives this error:versions used; pandoc: 3.1.8 basictex: 2023.0314