Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cites

Scans a plain text file for citations, such as (Foo 2020), and prints each one found.

Usage

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

Install / Uninstall

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

Examples

Scan a text file:

cites paper.txt

Convert a Word document with pandoc and scan the result, showing line numbers:

pandoc -t plain paper.docx | cites -n

Converts from pdf with Poppler utils:

pdftotext paper.pdf - | cites

About

Extract citations from plain text

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages