Scans a plain text file for citations, such as (Foo 2020), and prints each one found.
usage: cites [-n] [file]
file Paper in plain text. Read from stdin if absent
-n Print line where cite starts
Example:
pandoc -t plain Paper.docx | cites -n
By default it compiles and copy into /usr/local/bin, so it requires sudo.
Change the Makefile if want to put somewhere else
# install
sudo make install
# uninstall
sudo make remove
Scan a text file:
cites paper.txtConvert a Word document with pandoc and scan the result, showing line numbers:
pandoc -t plain paper.docx | cites -nConverts from pdf with Poppler utils:
pdftotext paper.pdf - | cites