blog about text processing; in drei Sprachen; на три езика
  • Home

Database Publishing with LaTeX and hyperref

28. Juli 2009 – 00:43

We 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:

\begin{eintrag}
  1. \autor{\Index{Springer, Anne}; \Index{Münch, Karsten}; \Index{Munz, Dietrich} (Hg.)}
  2. \titel{Sexualitäten}{854}
  3. \subtitel{Eine Publikation der DGPT}
  4. \artnr{854} \isbn{978-3-89806-854-3}
  5. \jahr{2008} \sechs{455~S.} \sechs{Gebunden}
  6. \preis{€~(D)~39,90}
  7. \beschreibung{Die Autorinnen und Autoren dieses Bandes reflektieren aus heutiger
  8. Sicht mit unterschiedlichen Perspektiven ein zentrales Thema der Psychoanalyse in Überlegungen
  9.  zur Theorie und Behandlungstechnik: die Sexualität. Im Zentrum steht dabei die Aktualität des Triebkonzepts.}
  10. \cover{9783898068543}
  11. \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. 1 Trackback(s)

  2. Sep 30, 2009: Jürgen Fenn (juergenfenn) 's status on Wednesday, 30-Sep-09 12:59:09 UTC - Identi.ca

Post a Comment

  • Letzte Artikel

    • Typesetting Fight Club: 3B2 vs. TeX
    • BibTeX output to XML
    • No Comment. Ohne Worte
    • “Ша” (Ш) като “Шин” (ש)
    • Die neue (Typo-)Epidemie: Ligaturen an den Wortfugen
  • Kategorien

    • Allgemein (7)
    • BibTeX (1)
    • Code (6)
    • Database Publishing (4)
    • Deutsch (8)
    • English (17)
    • Examples (6)
    • Fonts (5)
    • Kvetch (7)
    • LaTeX (8)
    • Math Examples (1)
    • Math Fonts (4)
    • Math Typography (3)
    • Mikrotypografie (1)
    • OpenType (1)
    • TeX (7)
    • Text Processing (7)
    • Typografie (3)
    • Typography (3)
    • Umbruch (3)
    • Work (8)
    • На български (3)
  • Tags

    Ж Курсив Berthold Binnen-I Binnenmajuskel comparing ConTeXt cyrillic diff Ediff Emacs englaufend Font fontinst Formelsatz Geistes- und Sozialwissenschaftler Glyph hanging index italic Katalogproduktion Lindenberg Linotype maiola math Mathesatz Minion Multiple Master online OpenType Piska raggedright register Satz Schrift Slimbach Stempel Garamond TeX tfcpr Times Trennen Umbruch Wortzwischenraum WZR zhe
TANOVSKI & PARTNERS 2.0 is proudly powered by WordPress Entries (RSS) and Comments (RSS). Designed by Bob