I am trying to typeset a small document to help me with the creation of archives. I want to create a number of title cards to put on the fronts of the folders, and then, using the same data, make a list of all the folders.
So far, I used the mailmerge package and two separate files --- one for the cards, the other for the list, but since there are sometimes a lot of corrections to be made to the titles, it becomes quite cumbersome. Moreover, some people from other departments, who are not LaTeX-literary, asked me to show them how to use it, so I want to keep it as simple as possible.
I have been trying with the formlett package, because it has an organised structure of the input, but I cannot seem to make it print the table. All I get is the first page of , when it should look like .
Here is the actual code (sorry for the bulkiness):
Code: Select all
Code, edit and compile here:
\documentclass[a4paper,12pt,draft]{article}\usepackage[polish]{babel}\usepackage[OT1,OT4]{fontenc}\usepackage{xltxtra}\usepackage{paralist}\usepackage{tabularx}%\usepackage{supertabular}\usepackage{formlett}\usepackage{longtable}\usepackage[left=1.5cm,right=1.5cm,top=2cm,bottom=2cm]{geometry}\setmainfont[Mapping=tex-text]{%%Times New Roman}%Gill Sans MT}Arial}\sloppy\pagestyle{plain}\makeatletter\renewcommand{\@evenfoot}{\hfill\thepage/\pageref{LastPage}\hfill}\renewcommand{\@oddfoot}{\@evenfoot}\makeatother\newcounter{Numer}\newcounter{Teczki}\def\urzad{Urząd Gminy i~Miasta Dobczyce}\def\referat{Referat Inwestycji, Rolnictwa i~Gospodarki Komunalnej}\def\tworca{Joanna Mus}\begin{document}\beginletter%---------------------------------- This part is responsible for title cards, and it works\NOPAGENUMBERS\parindent=0pt{\centering\bf\urzad\\\vspace{3mm}\centering\referat\\\normalfont}\vspace{2cm}{\bf Znak:} \paras[1]\hfill {\bf Kat. akt:} \paras[2]\vspace{2cm}%\setlength{\floatsep}{0pt}{\centering\large\bf \paras[3]\\}