I want to export from org-mode to PDF with IEEE style citations. The IEEE style is roughly this:
Introduction
Here is a citation [1].
Methods, Results, etc.
References
[1] J. Doe and J. Doe, "Paper Title," in SomeJournal, 2022, pp. 99-120
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.
Sign up to join this communityYou can download an IEEE style in csl format from here and save it locally.
#+BIBLIOGRAPHY: cite.bib
* Heading 1
Refer to [cite:@ding2019asm2vec] for more information.
Also I should mention [cite:@grover2016node2vec].
Sometimes we have multiple sources at once, like [cite:@grover2016node2vec;@ding2019asm2vec].
* References
#+CITE_EXPORT: csl ~/repo/papers/templates/ieee.csl
#+PRINT_BIBLIOGRAPHY:
with a bibliography file
@inproceedings{grover2016node2vec,
title={node2vec: Scalable feature learning for networks},
author={Grover, Aditya and Leskovec, Jure},
booktitle={Proceedings of the 22nd ACM SIGKDD international conference on Knowledge discovery and data mining},
pages={855--864},
year={2016}
}
@inproceedings{ding2019asm2vec,
title={Asm2vec: Boosting static representation robustness for binary clone search against code obfuscation and compiler optimization},
author={Ding, Steven HH and Fung, Benjamin CM and Charland, Philippe},
booktitle={2019 IEEE Symposium on Security and Privacy (SP)},
pages={472--489},
year={2019},
organization={IEEE}
}
Result looks like this:
[edit] User Simka suggested in the comments to add hanging indent to the bibliography with this change:
- <bibliography entry-spacing="0" second-field-align="flush">
+ <bibliography entry-spacing="0" second-field-align="flush" hanging-indent="true">
\begin{thebibliography}...\end{thebibliography}
in LaTeX) and not a regular section - but I could not find an example. I'll keep looking.
[numerals]
not indented and any wrapped lines of each reference indented. But \begin{thebiliograpy}
doesn't quite do it.
Jun 23, 2022 at 14:06