[texhax] include plain text file and process \cite

Lepore, Bryan Bryan.Lepore at umassmed.edu
Fri Sep 10 23:06:54 CEST 2010


> What do you mean by a preamble (of what? which file?) that must carry \cite commands?

i have an example : 

\usepackage{whatever}
\begin{document}

% in here is where you put your plain .txt file, e.g:
% e.g. that you write out from another program
asdf asdf asdf \cite{author-2001} asdf asdf asdf \cite{author-2002}

\end{document}
\bibliographystyle{latest_greatest_bibliography_style}
\bibliography{latest_greatest_bibtex_file}

... then run that through the mill to get your citations. it works. 

but it'd be easier if, instead of opening the .tex in emacs ever time i rewrite the .txt, that i could use something to read in the .txt.

-bryan



More information about the texhax mailing list