Skip to content

Instantly share code, notes, and snippets.

@abhiyerra
Created May 11, 2009 16:29
Show Gist options
  • Save abhiyerra/110041 to your computer and use it in GitHub Desktop.
Save abhiyerra/110041 to your computer and use it in GitHub Desktop.
latex paper
bibtex paper
latex paper
pdflatex paper
cat paper.tex | sed 's/^.*bibliography/%/g' | sed 's/^.*setspace/%/g' | sed 's/^.*biblatex/%/g' | sed 's/^.*singlespacing/%/g' | sed 's/^.*doublespacing/%/g' > paper2.tex
latex paper2.tex
latex2rtf -o paper.rtf paper2.tex
rm paper2.*
open paper.pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment