# Old technical dictionary 4 languages in PDF

Submitted by Nicola Rainiero on 2012-10-07 (last updated on 2015-01-30)

In this article I show you a concrete example on the use of my previous tutorials about PDF optimizations, in particular I have added a new pagination, toc and bookmarks. The used PDF is a very old technical dictionary (in English, Italian, French and German), but it is not in copyright and for some words is yet useful.

Generally to facilitate my translations I use the following sites:

Sometimes for specialisti terms I consult:

Particularly Wikipedia allows me to view the definition of the word and if I am lucky to know automatically the translation in the wanted language.

All the same, with few words the translation problems still remain and during my research I found this old dictionary:

• Pages 938
• Page size: 297x441 pt
• File size: 72,50 MB
• No toc and bookmarks. Necessity to view the page-display in Two-Up continuous modality in order to consult in the same page the 4 columns with the relative languages.

After my conversion:

• Pages 464
• Page size: 546x441 pt
• File size: 71,50 MB
• With toc and bookmarks and new pagination: in every pages all the 4 columns.

I have tried to reduce the file size without compromise the quality, but with poor results! So I have desisted and I have executed only a new pagination with this command and excluding the unuseful pages:

\includepdf[nup=2x1, pages={9,11,14-933}]{technicaldiction00webbrich.pdf}

## First LaTeX file

So I have created a first file only to pagination, called add_toc.tex:

\documentclass[portrait]{minimal}\usepackage[paperwidth=546pt,paperheight=441pt]{geometry}\usepackage{pdfpages}\begin{document}\includepdf[nup=2x1, pages={9,11,14-933}]{technicaldiction00webbrich.pdf}\end{document}

Usually I run pdflatex twice to resolve references and then using JPdfBookmarks I have added bookmarks in this pdf. When finished I have exported them in the segnalibri.txt file:

Title/1,Black,notBold,notItalic,open,FitPageA/2,Black,notBold,notItalic,closed,FitPage	Air/12,Black,notBold,notItalic,open,FitPage	Ane/22,Black,notBold,notItalic,open,FitPage	Arm/32,Black,notBold,notItalic,open,FitPageB/38,Black,notBold,notItalic,closed,FitPage	Ben/48,Black,notBold,notItalic,open,FitPage	Bol/58,Black,notBold,notItalic,open,FitPage	Bro/68,Black,notBold,notItalic,open,FitPage[...]Y/461,Black,notBold,notItalic,open,FitPageZ/461,Black,notBold,notItalic,open,FitPage

## Second LaTeX file

I have used my convert_bookmarks.sh script and I have added the resulting text file in technical_dictionary_with_toc.tex:


## Summary

All the text files (tex e txt) are here: technical_dictionary_conversion.zip

Original pdf is available here.

## Related Content:

### Nicola Rainiero

A civil geotechnical engineer with the ambition to facilitate own work with free software for a knowledge and collective sharing. Also, I deal with green energy and in particular shallow geothermal energy. I have always been involved in web design and 3D modelling.