[texhax] Two separate files

Philip G. Ratcliffe philipratcliffe at tiscali.it
Mon Oct 27 17:29:16 CET 2003

> My friend Ofer Biham has to submit a LaTeX article, in pdf form,
> so that the
> article will consist of two separate files -- one file would be
> the article,
> the other file wil be the bibliography.
> Is it possible to create two separate files using LaTeX + bibTeX?  How can
> this be done?

Two possible routes come to mind:

1. Use dvi2ps followed by ps2pdf and at one of the stages just choose the
set of pages you want to be printed.

2. Once the file has been LaTeX'ed and BibTeX'ed to the final form do one
run immediately after having inserted a \end{document} just before the
\bibliography command. Then create a separate file with suitable preamble
\begin{document} etc. containing just \input{filname.bbl} and run through
the usual pdf creation procedure.  At the start of this second file you may
want to insert \setcounter{page}{?} where ? is the number of pages printed
by the first file.

Cheers,  Phil

More information about the texhax mailing list