PdfTeX
{{Short description|Extension of Knuth's typesetting program TeX}}
{{lowercase|pdfTeX}}
{{Infobox software
| name = pdfTeX
| screenshot =
| caption =
| author = Hàn Thế Thành
| developer = The pdfTeX team
| latest release version = {{wikidata|property|edit|reference|P348}}
| latest release date = {{start date and age|{{wikidata|qualifier|P348|P577}}}}
| latest preview version =
| latest preview date =
| genre = Typesetting
| license = GNU General Public License
| website = {{URL|https://www.tug.org/applications/pdftex/}}
| operating_system = Multiplatform
}}
__NOTOC__
The computer program pdfTeX is an extension of Knuth's typesetting program TeX, and was originally written and developed into a publicly usable product by Hàn Thế Thành as a part of the work for his PhD thesis at the Faculty of Informatics, Masaryk University, Brno, Czech Republic. The idea of making this extension to TeX was conceived during the early 1990s, when Jiří Zlatuška and Phil Taylor discussed some developmental ideas with Donald Knuth at Stanford University. Knuth later met Hàn Thế Thành in Brno during his visit to the Faculty of Informatics to receive an honorary doctorate from Masaryk University.
Two prominent characteristics of pdfTeX are character protrusion, which generalizes the concept of hanging punctuation, and font expansion, an implementation of Hermann Zapf's ideas for improving the grayness of a typeset page. Both extend the core paragraph breaking routine. They are discussed in Thành's PhD thesis.{{Cite web |date=October 2000 |title=Micro-typographic extensions to the TEX typesetting system |url=http://www.pragma-ade.com/pdftex/thesis.pdf |access-date=2025-01-09 |website=pragma-ade.com}}
pdfTeX is included in most modern distributions of LaTeX and ConTeXt (including TeX Live, MacTeX, and MiKTeX)[https://archive.today/20130904030834/http://web.archive.org/web/20010124043000/http://www.ctan.org/tex-archive/help/Catalogue/entries/pdftex.html "TeX catalogue online"]. Archived from [https://pdfguru.com/word-to-pdf the original] on 2013-09-04. Retrieved 2007-09-12. and used as the default TeX engine.{{Cite web|title=Documentation - TeX Live - TeX Users Group|url=https://www.tug.org/texlive/doc.html|access-date=2020-11-14|website=www.tug.org}}[http://dojo.miktex.org/blogs/christian_schenk/archive/2006/05/16/488.aspx Christian Schenk : MiKTeX 2.5: pdfetex becomes default engine]. dojo.miktex.org. {{webarchive|url=https://web.archive.org/web/20070907131815/http://dojo.miktex.org/blogs/christian_schenk/archive/2006/05/16/488.aspx|date=2007-09-07}} The main difference between TeX and pdfTeX is that whereas TeX outputs DVI files, pdfTeX can output PDF files directly. This allows tight integration of PDF features such as hypertext links and tables of contents, using packages such as hyperref
. On the other hand, packages (such as PSTricks) which exploit the earlier conversion process of DVI-to-PostScript may fail, although replacements such as PGF/TikZ have been written. Direct embedding of PostScript graphics is no longer functional, and one has to use a program such as eps2pdf to convert EPS files to PDF, which can then be directly inserted by pdfTeX.
It is possible to obtain DVI output from pdfTeX. This DVI output should be identical to that of TeX, unless pdfTeX's extra microtypography features have been activated. Moreover, since LaTeX, ConTeXt et al. are simply macro packages for TeX, they work equally well with pdfTeX. Hence, pdflatex
, for example, calls the pdfTeX program using the standard LaTeX macros to typeset LaTeX documents, whereas it was the default rendering engine for ConTeXt documents. Current versions of ConTeXt use
LuaMetaTeX as default rendering engine.{{cite web |
url=https://github.com/contextgarden/luametatex/blob/main/README.adoc|
title=LuaMetaTeX - README |
work=GitHub |
access-date=2024-08-18
}}
Features
pdfTeX has several features not available in standard TeX:
- Native TrueType and Type 1 font embedding
- Micro-typographic extensions such as margin kerning and font expansion
- Direct access to PDF-specific features such as hyperlinks, tables of contents and document information
See also
{{Portal|Free and open-source software}}
References
{{Reflist}}
External links
- [https://www.tug.org/applications/pdftex/ pdfTeX project page]
- [http://mirrors.ibiblio.org/CTAN/systems/doc/pdftex/manual/pdftex-a.pdf pdfTeX manual]
- [http://www.pragma-ade.com/pdftex/thesis.pdf Micro-typographic extensions to the TeX typesetting system] - dissertation by Hàn Thế Thành
- [https://tug.org/interviews/thanh.html 2008 interview]
{{TeX navbox}}
{{DEFAULTSORT:Pdftex}}