# Conversion of text file in PDF and vice versa in UNIX

Yes, this is also a good solution. All you need is to add:

\documentclass[a4paper]{article}
\begin{document}
.... your original text goes here
...
\end{document}


after that call pdflatex youFIle.tex in your shell script.