Would it not be simple and sufficient just to add something like<br><br>\document class{article}<br>\begin{document} <br><br>at&nbsp; the start of the text file&nbsp; and <br><br>\end{document}<br><br>at&nbsp; the end of the&nbsp; file.&nbsp; If you wish to duplicate&nbsp; the text layout exactly then you might consider using a verbatim environment.
<br><br>Regards<br><br>John <br> <br><div><span class="gmail_quote">On 11/02/07, <b class="gmail_sendername">cga</b> &lt;<a href="mailto:gavron@optonline.net">gavron@optonline.net</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have a few text files that I would like to convert to LaTeX.<br><br>Is there any tool that does this..?<br><br>A google search appears to indicate that txt2tex adds minimal TeX<br>formatting to a plain text file, which is precisely what I need, but so
<br>far I haven&#39;t been able to locate a debian package that provides this<br>utility.<br><br>I tried a large number of programs available on my system that convert<br>the text files to html, pdf, ps, dvi, dvi, etc. then and use another
<br>utility to convert the intervening format to LaTeX but so far I haven&#39;t<br>gotten anywhere.<br><br>Has anyone done this before who might be able to recommend a simple<br>solution?<br><br>Thanks,<br><br>cga<br>_______________________________________________
<br>TeX FAQ: <a href="http://www.tex.ac.uk/faq">http://www.tex.ac.uk/faq</a><br>Mailing list archives: <a href="http://tug.org/pipermail/texhax/">http://tug.org/pipermail/texhax/</a><br>More links: <a href="http://tug.org/begin.html">
http://tug.org/begin.html</a><br><br>Automated subscription management: <a href="http://tug.org/mailman/listinfo/texhax">http://tug.org/mailman/listinfo/texhax</a><br>Human mailing list managers: <a href="mailto:postmaster@tug.org">
postmaster@tug.org</a><br></blockquote></div><br><br clear="all"><br>-- <br>John C Frain<br>Trinity College Dublin<br>Dublin 2<br>Ireland<br><a href="http://www.tcd.ie/Economics/staff/frainj/home.html">www.tcd.ie/Economics/staff/frainj/home.html
</a><br>mailto:<a href="mailto:frainj@tcd.ie">frainj@tcd.ie</a><br>mailto:<a href="mailto:frainj@gmail.com">frainj@gmail.com</a>