PDF Workshop – Toledo PDF – freeware Erik van Eynde LUDIT KULeuven
Erik van Eynde, March 17, 2005
Workshop PDF Toledo - p. 1/13
Open/Free Software
● Open/Free Software ● 1. Ghostscript software ● Installatie Ghostscript ● Functie van Ghostscript
1. Ghostscript, Ghostview & GSview software homepage: www.cs.wisc.edu/ ghost/
● Functie Gsview/Ghostview ● 2. PDF(la)(e)tex software ● Installatie PDF(La)TeX ● PDF via PDF(La)(e)TeX
2. pdfTEX homepage: www.pdftex.org
● Valkuilen voor pdf(e)(la)tex ● 3. PDFCreator ● 3. PDFCreator – Scherm ● Motivatie Open/Free Software
3. PDFCreator homepage: sector7g.wurzel6.de/pdfcreator/ 4. MULTIVALENT Tools – zeer recente tools homepage: www.cs.berkeley.edu/ phelps/Multivalent/Tools/ bvb. corrupte PDF herstellen, externe compressie. 5. . . .
Erik van Eynde, March 17, 2005
Workshop PDF Toledo - p. 2/13
1. Ghostscript software
● Open/Free Software
■
Open/Free Software – beschikbaar op alle platformen.
■
Ghostscript is zowel: distiller type ( Postscript file) als van het printer driver type.
■
Front-end voor Ghostscript: Windows: GSView Unix/Linux: Ghostview, xdvi . . .
● 1. Ghostscript software ● Installatie Ghostscript ● Functie van Ghostscript ● Functie Gsview/Ghostview ● 2. PDF(la)(e)tex software ● Installatie PDF(La)TeX ● PDF via PDF(La)(e)TeX ● Valkuilen voor pdf(e)(la)tex ● 3. PDFCreator ● 3. PDFCreator – Scherm ● Motivatie Open/Free Software
Erik van Eynde, March 17, 2005
Workshop PDF Toledo - p. 3/13
Installatie Ghostscript
● Open/Free Software
■
Uitvoeren van gs811w32.exe
■
Installeren van ghostscript in: . . . /gs/gs8.50/bin – best in het uitvoerpad . . . /gs/gs8.50/lib . . . /gs/fonts
■
Folders belangrijk voor software die Ghostscript gebruiken.
● 1. Ghostscript software ● Installatie Ghostscript ● Functie van Ghostscript ● Functie Gsview/Ghostview ● 2. PDF(la)(e)tex software ● Installatie PDF(La)TeX ● PDF via PDF(La)(e)TeX ● Valkuilen voor pdf(e)(la)tex ● 3. PDFCreator ● 3. PDFCreator – Scherm ● Motivatie Open/Free Software
Erik van Eynde, March 17, 2005
Workshop PDF Toledo - p. 4/13
Functie van Ghostscript
● Open/Free Software
■
Preview van Postscript/PDF files.
■
(Simulatie van Postscript bij niet Postscript printers.)
■
PS2PDF & PDF2PS mogelijkheden. lijncommando: bvb. ps2pdf foo.ps foo.pdf MikTeX frontend/texshell: klik ps2pdf icon
■
PS2PS – Postscript revisie bij problemen met Postscript. Beter geoptimalizeerde Postscript – lagere level van Postscript
● 1. Ghostscript software ● Installatie Ghostscript ● Functie van Ghostscript ● Functie Gsview/Ghostview ● 2. PDF(la)(e)tex software ● Installatie PDF(La)TeX ● PDF via PDF(La)(e)TeX ● Valkuilen voor pdf(e)(la)tex ● 3. PDFCreator ● 3. PDFCreator – Scherm ● Motivatie Open/Free Software
Erik van Eynde, March 17, 2005
Workshop PDF Toledo - p. 5/13
Functie Gsview/Ghostview
● Open/Free Software
■
Gsview voor Windows Ghostview voor Unix
■
FrontEnd/Shell voor Ghostscript.
■
Instellen / aanpassen van bounding box
■
Opzoeken van tekst . . .
■
Installatie gsview Uitvoeren van gsv45w32.exe popup scherm: Registratie niet verplicht versie2.6 laatste versie zonder popup menu.
● 1. Ghostscript software ● Installatie Ghostscript ● Functie van Ghostscript ● Functie Gsview/Ghostview ● 2. PDF(la)(e)tex software ● Installatie PDF(La)TeX ● PDF via PDF(La)(e)TeX ● Valkuilen voor pdf(e)(la)tex ● 3. PDFCreator ● 3. PDFCreator – Scherm ● Motivatie Open/Free Software
Erik van Eynde, March 17, 2005
Workshop PDF Toledo - p. 6/13
2. PDF(la)(e)tex software
● Open/Free Software
■
(la) – LaTeX macro package (standaard). (e) – Extended tex (standaard in 64 bit versie)
■
Volgende tex macro pakketten geven PDF output: ◆ (La)TEX – Han The Thanh PDF(La)(e)Tex ◆ Context – tex conversie naar pdf ◆ Texinfo (Linux/Unix documentatie)– PDF output ◆ ...
■
Alle functionaliteiten van PDF zijn beschikbaar hyperref, pdfpages, . . . package
■
Maar vrij hoge leercurve.
● 1. Ghostscript software ● Installatie Ghostscript ● Functie van Ghostscript ● Functie Gsview/Ghostview ● 2. PDF(la)(e)tex software ● Installatie PDF(La)TeX ● PDF via PDF(La)(e)TeX ● Valkuilen voor pdf(e)(la)tex ● 3. PDFCreator ● 3. PDFCreator – Scherm ● Motivatie Open/Free Software
Erik van Eynde, March 17, 2005
Workshop PDF Toledo - p. 7/13
Installatie PDF(La)TeX
● Open/Free Software ● 1. Ghostscript software
Installatie van PDF(La)TeX in Win9x/Me/2000/NT/XP:
● Installatie Ghostscript ● Functie van Ghostscript ● Functie Gsview/Ghostview
■
TeX Implementatie – MikTEX v2.4 homepagina – www.miktex.de
■
Ghostscript en Ghostview zie vorige slide
■
Acrobat reader zie commerciële software
■
(Perl versie – Activeperl) homepagina – www.activestate.com/Products/ActivePerl/
■
Winedt v5.4 homepage – www.winedt.com & www.winedt.org Campuslicentie voor KUleuven studenten & personeel
● 2. PDF(la)(e)tex software ● Installatie PDF(La)TeX ● PDF via PDF(La)(e)TeX ● Valkuilen voor pdf(e)(la)tex ● 3. PDFCreator ● 3. PDFCreator – Scherm ● Motivatie Open/Free Software
Erik van Eynde, March 17, 2005
Workshop PDF Toledo - p. 8/13
PDF via PDF(La)(e)TeX
● Open/Free Software
■
● 1. Ghostscript software
Korte weg: pdf (la)(e)tex compiler
● Installatie Ghostscript
foo.tex −−−−−−−−−−−−−−→ foo.pdf
● Functie van Ghostscript ● Functie Gsview/Ghostview ● 2. PDF(la)(e)tex software ● Installatie PDF(La)TeX ● PDF via PDF(La)(e)TeX
■
● Valkuilen voor pdf(e)(la)tex
Lange weg: pdf (la)tex compiler
● 3. PDFCreator
dvips
foo.tex −−−−−−−−−−−−−→ foo.dvi −−−→ foo.ps
● 3. PDFCreator – Scherm
Ghosscript ps2pdf
● Motivatie Open/Free Software
foo.ps −−−−−−−−−−−−→ foo.pdf Als alternatief voor de conversie van PS naar PDF ◆ PDF995 PDF printer ◆ PDFCreator ◆ Acrobat Distiller of Adobe pdf printer. ■
(Tussenweg:) tex compiler
dvi2pdf
foo.tex −−−−−−−−→ foo.dvi −−−−−→ foo.pdf Erik van Eynde, March 17, 2005
Workshop PDF Toledo - p. 9/13
Valkuilen voor pdf(e)(la)tex
● Open/Free Software
■
figuren – pdf: pdf, jpg of png formaat figuren – dvi: eps formaat Oplossing: Ghostscript – ps2pdf utility
■
(Gebruik in TeX van fonts gemaakt in Metafont geven in PDF zeer slechte output) Oplossing: Metafont convereren naar PS type 1 font Geen probleem meer met acrobat reader versie 6.
■
Latex paketten die postscript snippers in DVI toegevoegen "Non pdf special ignored" bvb prosper (dit presentatiepakket) Oplossing: pdf creatie via lange weg (dvips noodzakelijk)
● 1. Ghostscript software ● Installatie Ghostscript ● Functie van Ghostscript ● Functie Gsview/Ghostview ● 2. PDF(la)(e)tex software ● Installatie PDF(La)TeX ● PDF via PDF(La)(e)TeX ● Valkuilen voor pdf(e)(la)tex ● 3. PDFCreator ● 3. PDFCreator – Scherm ● Motivatie Open/Free Software
Erik van Eynde, March 17, 2005
Workshop PDF Toledo - p. 10/13
Valkuilen voor pdf(e)(la)tex
● Open/Free Software
■
figuren – pdf: pdf, jpg of png formaat figuren – dvi: eps formaat Oplossing: Ghostscript – ps2pdf utility
■
(Gebruik in TeX van fonts gemaakt in Metafont geven in PDF zeer slechte output) Oplossing: Metafont convereren naar PS type 1 font Geen probleem meer met acrobat reader versie 6.
■
Latex paketten die postscript snippers in DVI toegevoegen "Non pdf special ignored" bvb prosper (dit presentatiepakket) Oplossing: pdf creatie via lange weg (dvips noodzakelijk)
● 1. Ghostscript software ● Installatie Ghostscript ● Functie van Ghostscript ● Functie Gsview/Ghostview ● 2. PDF(la)(e)tex software ● Installatie PDF(La)TeX ● PDF via PDF(La)(e)TeX ● Valkuilen voor pdf(e)(la)tex ● 3. PDFCreator ● 3. PDFCreator – Scherm ● Motivatie Open/Free Software
Erik van Eynde, March 17, 2005
Workshop PDF Toledo - p. 10/13
Valkuilen voor pdf(e)(la)tex
● Open/Free Software
■
figuren – pdf: pdf, jpg of png formaat figuren – dvi: eps formaat Oplossing: Ghostscript – ps2pdf utility
■
(Gebruik in TeX van fonts gemaakt in Metafont geven in PDF zeer slechte output) Oplossing: Metafont convereren naar PS type 1 font Geen probleem meer met acrobat reader versie 6.
■
Latex paketten die postscript snippers in DVI toegevoegen "Non pdf special ignored" bvb prosper (dit presentatiepakket) Oplossing: pdf creatie via lange weg (dvips noodzakelijk)
● 1. Ghostscript software ● Installatie Ghostscript ● Functie van Ghostscript ● Functie Gsview/Ghostview ● 2. PDF(la)(e)tex software ● Installatie PDF(La)TeX ● PDF via PDF(La)(e)TeX ● Valkuilen voor pdf(e)(la)tex ● 3. PDFCreator ● 3. PDFCreator – Scherm ● Motivatie Open/Free Software
Erik van Eynde, March 17, 2005
Workshop PDF Toledo - p. 10/13
3. PDFCreator
● Open/Free Software
■
Eerst Ghostscript installeren
■
PDFCreator Frontend voor Ghostscript pdf engine
■
Via Options | directory moeten we ghostscript instellen: binaries, lib en fonts
■
Zowel distiller type als printer driver type
● 1. Ghostscript software ● Installatie Ghostscript ● Functie van Ghostscript ● Functie Gsview/Ghostview ● 2. PDF(la)(e)tex software ● Installatie PDF(La)TeX ● PDF via PDF(La)(e)TeX ● Valkuilen voor pdf(e)(la)tex ● 3. PDFCreator ● 3. PDFCreator – Scherm ● Motivatie Open/Free Software
Erik van Eynde, March 17, 2005
Workshop PDF Toledo - p. 11/13
3. PDFCreator – Scherm
● Open/Free Software ● 1. Ghostscript software ● Installatie Ghostscript ● Functie van Ghostscript ● Functie Gsview/Ghostview ● 2. PDF(la)(e)tex software ● Installatie PDF(La)TeX ● PDF via PDF(La)(e)TeX ● Valkuilen voor pdf(e)(la)tex ● 3. PDFCreator ● 3. PDFCreator – Scherm ● Motivatie Open/Free Software
Erik van Eynde, March 17, 2005
Workshop PDF Toledo - p. 12/13
Motivatie Open/Free Software
● Open/Free Software ● 1. Ghostscript software
Welke standpunt?
● Installatie Ghostscript ● Functie van Ghostscript ● Functie Gsview/Ghostview
■
Aard van de software: free, open en overal beschikbaar.
■
Praktisch oogpunt kan deze software de beste oplossing bieden:
● 2. PDF(la)(e)tex software ● Installatie PDF(La)TeX ● PDF via PDF(La)(e)TeX ● Valkuilen voor pdf(e)(la)tex ● 3. PDFCreator ● 3. PDFCreator – Scherm ● Motivatie Open/Free Software
bvb. Mysql database, perl en tex software Vrij gemakkelijk PDF file aanmaken. bvb. XML Docbook file kan via Context eenvoudig PDF geven Context compiler
foo.xml −−−−−−−−−−−→ foo.pdf cfr. www.leverkruid.nl/context/index.html#DIC bvb. Corrupte PDf file kan soms geheel of gedeeltelijk gered worden – MULTIVALENT Tools. Erik van Eynde, March 17, 2005
Workshop PDF Toledo - p. 13/13