Sub Articulo 119.2
textmerg.sty is very useful for printing circular letters and so
on. Is it also possible to print all entries of a database aligning
the corresponding entries using the tabular environment (LaTeX2e)?
I attach a database example (file.dat) and a latex file (db.tex).
The latex file shows in the upper part what I want to do but can't,
and in the lower part (commented out) what I don't want to do but
can.
Thank you in advance!
Horst Gwinner
--------------4A2C9E2941CDCE683F59C93C
Content-Type: text/plain; charset=us-ascii;
name="file.dat"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="file.dat"
Mike
Piff
University Lane 23
Sheffield
John
Miller
Stadelheimstreet 4
Muenchen
--------------4A2C9E2941CDCE683F59C93C
Content-Type: application/x-tex;
name="db.tex"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="db.tex"
\documentclass{article}
\usepackage{textmerg}
\begin{document}
\Fields{\Forename\Surname\Street\Town\EmptyLine}
\begin{tabular}{llll}
\Merge{file.dat}{%
\Forename & \Surname & \Street & \Town \\
}
\end{tabular}
%\Merge{file.dat}{%
%\begin{tabular}{llll}
%\Forename & \Surname & \Street & \Town \\
%\end{tabular}
%
%}
\end{document}