Database Publishing with LaTeX and hyperref
28. Juli 2009 – 00:43We had to produce a book catalogue from publisher’s data. The layout was also predefined. We got a Word file with fields-like data:
#001 Springer, Anne; Münch, Karsten; Munz, Dietrich (Hg.) #002 Sexualitäten #003 Eine Publikation der DGPT #004 #005 Bestellnr.: 854 #006 ISBN 978-3-89806-854-3 #007 2008 #006 455 Seiten #006 Gebunden #008 ? (D) 39,90 #009 Die Autorinnen und Autoren dieses Bandes reflektieren aus heutiger Sicht mit unterschiedlichen Perspektiven ein zentrales Thema der Psychoanalyse in Überlegungen zur Theorie und Behandlungstechnik: die Sexualität. Im Zentrum steht dabei die Aktualität des Triebkonzepts. #010 #011 9783898068543
After automatic cleaning and processing the file, we produced a LaTeX formated data:
-
\autor{\Index{Springer, Anne}; \Index{Münch, Karsten}; \Index{Munz, Dietrich} (Hg.)}
-
\titel{Sexualitäten}{854}
-
\subtitel{Eine Publikation der DGPT}
-
\artnr{854} \isbn{978-3-89806-854-3}
-
\jahr{2008} \sechs{455~S.} \sechs{Gebunden}
-
\preis{€~(D)~39,90}
-
\beschreibung{Die Autorinnen und Autoren dieses Bandes reflektieren aus heutiger
-
Sicht mit unterschiedlichen Perspektiven ein zentrales Thema der Psychoanalyse in Überlegungen
-
zur Theorie und Behandlungstechnik: die Sexualität. Im Zentrum steht dabei die Aktualität des Triebkonzepts.}
-
\cover{9783898068543}
-
\end{eintrag}
The pictures for the book covers were delivered as jpeg files. We used ImageMagic to add shadows to them. The \cover macro also examines the year of publication and adds via overpic a “NEW” label to the recent publications. Author names and titles are linked using hyperref to the particular publisher’s website. Clicking on an author’s name for example leeds to the website with all publications from the same person listed. Since every person was marked, it was easy to produce an index as well.
At the end, some few corrections in the content and the layout had to be made. Also the hyphenation was corrected and some pagebreaks were shifted. As a result we produced a fully linkend, (almost) automatically produced PDF file. It is online now and available here.
And the best part was, no XML was ever envolved in the production ![]()
Tags: catalogue, hyperref, imagemagick, katalog, Katalogproduktion, online, pdf
1 Trackback(s)