## Instructions on PDF Creation from LaTex

﻿

#### pdfTeX

If the command pdflatex is used, all necessary font information of the TeX source code is embedded automatically.

Warning!!! For display or print information of embedded images to be integrated, all the necessary information must already be contained in the linked files. Therefore please observe the PDF/A or PDF/X standard when creating image files, especially with regard to embedding fonts, e. g. by using a printer driver that supports PDF/A or PDF/X like the free tool PDFCreator.

#### Compilation dvi --> ps --> pdf

##### Font embedding with the program ps2pdf

Pass the following parameters to the conversion tool ps2pdf by Ghostscript:

-dSubsetFonts=true -dEmbedAllFonts=true

and/or

-dPDFSETTINGS=/prepress

When using these parameters, all font information is included in the PDF file.

Example parameters for a document in page format A4 in TeXnicCenter:

-sPAPERSIZE=a4 -dSAFER -dBATCH -dNOPAUSE -sDEVICE=pdfwrite
-dPDFSETTINGS=/prepress -dMaxSubsetPct=100 -dSubsetFonts=true
-dEmbedAllFonts=true -sOutputFile="%bm.pdf" -c save pop -f "%bm.ps"

Paste the command line shown above under:

Output --> Define Output Profile --> LaTeX -> PS -> PDF (Post-Processing) --> Select Ghostscript (ps2pdf) there and paste the command into the field "arguments" --> Compile the PDF with the edited output profile

##### Transformation from type 3- to type 1 fonts with the program dvips

By default, LaTeX uses PostScript fonts of type 3 (bitmap). As type 3 fonts are not scalable, their display on screen in a PDF file is coarse and illegible. It is therefore necessary to substitute them for scalable PostScript type 1 fonts. For this purpose, in the simplest case, the option

-Ppdf
can be passed to the program dvips.

Example parameter for a document in TeXnicCenter:

-P pdf "%Bm.dvi"

Paste the command line shown above under:

Output --> Define Output Profile --> LaTeX -> PS -> PDF (Post-Processing) --> Select DviPs (PDF) there and paste the command into the field "arguments" --> Compile the PDF with the edited output profile

Further information on the creation of PS and PDF from (La)TeX:
Bauermann, Sascha: Erstellung von leistungfähigen PDF-Dokumenten mit LATEX und den Paketen hyperref sowie thumbpdf. - Hannover : Univ., 2002 (Creation of powerful PDF documents with LATEX and the packages hyperref as well as thumbpdf)

#### Automatically generating internal Hhperlinks and bookmarks in the PDF document and adding bibliographic references

Please use the package hyperref for the automatic generation of the bookmarks bar and internal hyperlinks with the following options: