Acrobat PDF from TEX

Similar documents
Detailed Contents for TEX Unbound: Strategies for Font, Graphics, and More

Adobe Acrobat Distiller Online Guide

Adobe. Type Manager 4.1. User Guide

III-6Exporting Graphics (Windows)

PDF Specification for IEEE Xplore (Part A-Core Requirements)

10 years of OpenType math font development

PDF and Accessibility

Help with PDF Files Is there a way someone else can do this for me? What Software Do I Need to Create PDF Files?

For Windows users: <install drive>:\program Files\Adobe\PageMaker 7.0\Converter for MSP_QXP\Converter for MSP_QXP.pdf

Publishing Electronic Portfolios using Adobe Acrobat 5.0

WELCOME TO L A TEX 2ɛ!

preliminary draft, June 15, :57 preliminary draft, June 15, :57

Kristoffer H. Rose. Version /01/07

The building block of a CSS stylesheet. A rule consists of a selector and a declaration block (one or more declarations).

WordTeX. Tom Wildenhain

FAQ: World of Fiery Webinar Best Practices for Preparing Files for Digital Print

Abstract. 1. The Expanded Role of Programmers. Kent Beck Ward Cunningham Tektronix, Inc. Presented at CASE 87, Boston Mass.

For Windows users: <install drive>:\program Files\Adobe\PageMaker 7.0\Converter for MSP_QXP\Converter for MSP_QXP.pdf

Dvipdfm User s Manual

M4-R4: INTRODUCTION TO MULTIMEDIA (JAN 2019) DURATION: 03 Hrs

PDF-Related Aspects of FrameMaker 6.0

Data Representation From 0s and 1s to images CPSC 101

File Guidelines FILE GUIDELINES

GUI-based Chinese Font Editing System Using Font Parameterization Technique

The AES Convention Paper LATEX class Adam H. Lewenberg (October 18, 2008) 1

HTMLDOC On Line Help

Best practices for producing high quality PDF files

ISAE2013 Conference Proceedings Format Sample File

Palatino. Palatino. Linotype. Palatino. Linotype. Linotype. Palatino. Linotype. Palatino. Linotype. Palatino. Linotype

Good. jute. Graphics Guide. How to get the most out of your bag... printing on

Converting Postscript files to PDF...12

Cloned page. A Technical Introduction to PDF/UA. DEFWhitepaper. The PDF/UA Standard for Universal Accessibility

IT82: Mul timedia. Practical Graphics Issues 20th Feb Overview. Anti-aliasing. Fonts. What is it How to do it? History Anatomy of a Font

Adobe Acrobat Reader 4.05

Ogonkify. Juliusz Chroboczek

In This Issue. Current versions of Acrobat Products. Macintosh Windows HP-UX SunOS Solaris Acrobat Reader

Settings to Create Printer Ready Ads for Publication

Preview tab. The Preview tab is the default tab displayed when the pdffactory dialog box first appears. From here, you can:

This ReadMe contains information about installing Acrobat Reader 4.0 for Windows and Troubleshooting Issues.

Acrobat Widths-Only CIDFont Tutorial ADOBE SYSTEMS INCORPORATED

mdput for mathematical typesetting with Adobe Utopia Paul Pichaureau January 29, 2006

Client Guidelines for Output-Ready Files

MathKit: Alternatives to Computer Modern Mathematics

SOFTWARE ARCHITECTURE 4. TEXT FORMATTING SYSTEM

File Preparation for Eagle Print. PLEASE NOTE:If you are an IBM based customer, we can only accept PDF files!

FDA Portable Document Format (PDF) Specifications

In another markup scheme it will be like as given hereunder:

TUGboat, Volume 37 (2016), No

Word-to-L A TEX specification

XML Professional Publisher: PDF Support in XPP

Understanding the æsthetics of math typesetting

Technical Print Guide

136 TUGboat, Volume 39 (2018), No. 2

Font Information Files for Bitstream Soft Fonts

Adobe Graphics Software

What is T E X? T E X and L A T E X Document preparation tools. Setting and casting type. What Knuth was setting. Setting and casting type

LaTeX and fonts. TrueType is built into most Windows/MacOS systems. PostScript Type 1 fonts are well-established and supported directly by

Script for Interview about LATEX and Friends

An Audio View of (L A )TEX Documents Part II

Procedures for font comparison

DOWNLOAD OR READ : WHATS THE DIFFERENCE IN PROTESTANT AND ROMAN CATHOLIC BELIEFS PDF EBOOK EPUB MOBI

Document Centre 286/236 Series PostScript User Guide

The LibertinusT1 Math Package

CID-Keyed Font Technology Overview

A GUIDE TO QUARKXPRESS 4.06 BETA. pthe choice for publishing software worldwide.

PDF Production with Adobe Acrobat Distiller 4.05

Electronic Artwork Information for Authors Glossary and definitions

FontExplorer X Pro User Guide for Windows. June by Linotype, a Monotype Imaging Company

Software Version 7.0 SP1 September P FreeFlow Print Server What s New

About This Manual. How to use this operation manual. Symbols. Trademarks. Software copyright. Regarding this manual. Introduction

DANTE So, it was just five characters for which the META- FONT source had to be made suitable to be processed. TUGboat, Volume 28 (2007), No.

TransType. Mac, PC, PostScript, TrueType basic font converter

PRESENTED BY : RIZWAN AARIF رضوان عارف

Conversion of TEX fonts into Type 1 format

LOGO & BRAND STANDARDS GUIDE

Print Services User Guide

Bookmarks for PDF Output(Outline-Group)

Video Input Daughter Card Reference Manual

Font Emulation. In-RIP Font Emulation gives printers another way around the perennial problem of missing fonts. WHITE PAPER

Océ User manual. Océ PRISMAprepare Printer settings

Fiery X3eTY2 65_55C-KM Color Server. Utilities

Adobe Acrobat Basics

Guidelines for the delivery of data

Substituting outline fonts for bitmap fonts in archived PDF files

Frequently Asked Questions about Text and Graphics

AIP Conference Proceedings: Guidelines for Authors

Phonetics Incorporated

Enhanced Financial Reporting. Overview

AR-PK6. SOFTWARE SETUP GUIDE (for printer)

Everything you always wanted to know about Fonts*

Enable, configure, and adapt print data from any host or application. The Data Enabling Solution for Printing and Archiving

Electronic Production Guidelines

Network Working Group Request for Comments: 1049 March 1988 A CONTENT-TYPE HEADER FIELD FOR INTERNET MESSAGES

Citation guide. Carleton College L A TEX workshop. You don t have to keep track of what sources you cite in your document.

Creating Transparency

Network Fax Guide ES9160 MFP/ES9170 MFP ES9460 MFP/ES9470 MFP CX3535 MFP/CX4545 MFP

From: 8/01/2018

PostScript User Guide

AutoPagex Plug-in User s Manual

Introduction to Scientific Typesetting Lesson 14: Fonts

Transcription:

Acrobat PDF from TEX Y&Y, Inc. From TEX to Acrobat TEX the typesetting language invented by Donald E. Knuth at Stanford is widely used in the academic and research community for typesetting technical articles and books. TEX is unsurpassed in its capabilities for typesetting complex math (see sample at end of this article) andiswell known for its superb dynamic programming hyphenation/line-breaking search algorithm. Adobe Acrobat pdf is a powerful platform-independent technology for document interchange. It is natural to want to convert material typeset using TEX to Acrobat pdf format. It is easy to do this using a TEX system designed from the ground up for scalable outline fonts such as atm compatible fonts in Adobe Type 1 format (a.k.a. PostScript fonts or atm fonts ). With the Y&Y TEX system, for example, you simply typeset the material using TEX, check the result using the dviwindo previewer, then print to file using the special ps printer driver dvipsone (which can be called directly from the previewer). Finally, Acrobat Distiller is used to process the resulting PS file. And that is pretty much all there is to it! Click on text in green to make hypertext jump.

2 Bitmapped Font Woes So what is the problem with Acrobat pdf files made from TEX output? TEX has traditionally been used with Computer Modern fonts also designed by Donald E. Knuth in bitmapped form (pk font file format). Converting PostScript files containing bitmapped fonts to pdf format leads to unattractive (and slow) rendering in the Acrobat Reader, mostly because it is impossible to scale bitmapped fonts well. The solution to this problem is to use scalable outline fonts in atm compatible Adobe Type 1 format. The Computer Moderns fonts are available in Type 1 format in both non-commercial form (on ctan the Comprehensive TEX Archive Network ) and commercial form (from Y&Y, Inc. or Blue Sky Research). For details see end of this note (note that both non-commercial and commercial forms have some restrictions on use). Font Choices Of course, once one uses a TEX system that properly supports scalable outline fonts, there is no longer any neccessity to stick with Computer Modern. Literally thousands of text fonts in Adobe Type 1 format can be used. When it comes to math fonts, however, the choices are much more limited, because of special demands made by TEX onmathfonts. There are presently the following possibilities: (1) Computer Modern (and extra La TE X, SliT E XandAMS fonts); (2) Lucida Bright + Lucida New Math (and Lucida Bright Expert); (3) MathTıme 1.1 (and MathTıme Plus) + Times, Helvetica,& Courier; (4) Adobe Lucida, Lucida Sans, and Lucida Math.

3 The first three font sets are available in Type 1 format from Y&Y, Inc., the last one from Adobe Systems Inc. TEX macro packages are available to make it easy to switch to these fonts in (i) plain TEX, (ii) La TE X 2.09, and (iii) La TE X2ε dialects of TEX. Some find Computer Modern a bit thin and prefer a somewhat heavier face for text, such as Lucida Bright or Times-Roman. The generation of Acrobat pdf files is particularly simple when using a TEX system designed from the ground up for use with scalable outline fonts. Such a system will produce PostScript files referring directly to the Type 1 fonts. This ps file can then be passed through the Acrobat Distiller. In this case, little preparation is needed, other than to first install the fonts using Adobe Type Manager (atm), Other TEX systems require more work, including (i) multiple metric files, (ii) special configuration files that tell where the font files are, (iii) information on how to reencode the fonts, and (iv) what the relationship is betweenthenameusedforafontintex, the PostScript Fontname, and the name of the font file(s). But this is just what it takes for such systems to use fonts in Type 1 format in the first place case when making PostScript files. There isn t anything specific to preparing for Acrobat Distiller. Some Practical Details There are other issues that need to be addressed when creating pdf files: (1) Distiller should be set up to always subset fonts (i.e. use partial font downloading ). This not only reduces the size of the pdf file, but is required by some font licensing agreements. In Distiller 3.0 or later, use Distiller Job Options and click on the Font Embedding tab.

4 Check both Embed All Fonts and Subset fonts below. Change the percentage to 99% (instead of the default 35%). In older versions of Distiller the same effect can be achieved by adding afiletothe startup directory containing the line <</SubsetFonts true /MaxSubsetPct 99 >> setdistillerparams (2) Check that Distiller has embedded all fonts, and that all embedded fonts are subsetted (partial). In Acrobat Reader 3.0, open the pdf file, and page through the file in order to touch all fonts. Then select File Document Info Fonts. Click on List All Fonts and look for Embedded Subset in the Used Font column. In Acrobat Reader 2.1 the Original Names of all subsetted fonts have a six letter prefix followed by +. Fonts listed without such a prefix are (i) not embedded at all, (ii) simulated using generic Multiple Master fonts, or (iii) are embedded as complete fonts. Generally this is not what you want. By the way, if the font is installed on the system on which you are reading the PDF file, then the Used Font column may instead list the font name, indicating that the reader is using the locally installed font rather then the embedded one. This can lead to problems if the local version can not be reencoded, for example. By the way, the Used Font field will only be filled in if you have looked at a page in the document that uses this font. If you notice that complete fonts are embedded, then do not have Distiller s job options set up correctly. If fonts are not embedded at all, then the Acrobat Reader will try to simulate them using the generic Multiple Master fonts. In the case of output from TEX this is almost

5 never what you want. You have to go back to the Distiller and tell it to always embed fonts. Then run the ps file through Distiller again. (3) There may be difficulties when using fonts that use the control character range (character code 0 31). This can be avoided by either using normal text fonts that do not use the control character range, or when this is not possible (as with Computer Modern fonts) use a printer driver that remaps such character codes to higher up (the encoding vectors for the CM fonts in Type 1 format repeat the 0 31 range to 161 170 and 172 195). (4) To exploit fonts other than Computer Modern, use a TEX system that can fully reencode the fonts to provide access to all characters. Otherwise you may have problems getting at some glyphs. For example, out of 228 standard characters found in most text fonts, 21 are not normally accessible on the Macintosh. In Windows, 15 are missing, including important glyphs such as ı (dotlessi), (dotaccent), and the ligatures fi (fi) and fl (fl). (5) Different printer drivers produce very different PostScript code. Post- Script code that works fine on a printer or image setter often is not set up to work optimally with Acrobat. Check, for example, that equal thickness rules render equally thick in the Acrobat Reader, independent of where on the page they lie. This is not the case with some popular PS drivers. (6) Since Acrobat pdf format provides strong hypertext support, you may wanttouseatex system that itself has hypertext support, and that Ideally the system should also provide access to ff ffi ffl j.

6 also translates hypertext links to appropriate Acrobat pdfmarks embedded in the PostScript file (see Contact Information)). (7) Before posting PDF files with embedded fonts on the InterNet, check with the font vendor whether any special licensing is required. Legacy Documents The above assumes that the TEX source files are available. Often all that is left are PostScript files made some years ago. These typically will contain bitmapped fonts that lead to exactly the rendering problems described above. It is non-trivial to reverse engineer one of these files, since there is no information in the file on what the fonts are called, and since the bitmaps for a given font are not fixed entities, depending on the printer resolution and the METAFONT mode def settings used when creating them. Look for Converting Legacy PostScript Files and FixFont on the emerge websiteforanattemptatasolution. Sample PDF Documents Some samples typeset using TEX and converted to Acrobat pdf format maybefoundathttp://www.yandy.com/products.htm#fonts, There are pdf files illustrating the first three font choices discussed above: Additional Information CM, LB+LNM, MathTıme. For additional information on Distiller s parameters, check the Distiller on-line help file; and page 127 in Acrobat 2.1: Your Personal Consultant by Roy Christmann, Ziff-Davis Press, Emeryville, California, 1995, ISBN 1-

7 56276-336-9. Also see page 15 in Adobe s Technical Note 5151 Acrobat Distiller Parameters available from http://www.adobe.com/supportservice/devrelations/devtechnotes.html.

8 Contact Information ctan is the Comprehensive TEX Archive Network. The main servers are ftp://ftp.ctan.org (USA), ftp://ftp.dante.de (Germany), ftp://ftp.tex.ac.uk (United Kingdom). Look in tex-archive. Blue Sky Research, makers of Textures an integrated TEX system forthemacintosh maybefoundat http://www.bluesky.com. Y&Y, Inc. makers of the Y&Y TEX system for Windows may be be found at http://www.yandy.com. Y&Y also specializes in atm compatible Type 1 fonts for use with TEX. ι 0 O C E φ ρ 0 L 0 ψ δ 0 O C π O D R 1 f O V ( D) 0 θ i γ 1 R 1 ( f OV ( im) ) γ 1 0 Try typesetting the above without using TEX!

9 Colophon This document was typeset using the Y&Y TEX System release 2.0 translated to PostScript form by dvipsone thentopdf form by Acrobat Distiller 3.0.2 for Windows. DocInfo pdfmark (check out File Document Info General in Acrobat Reader) produced automatically by dvipsone. Keywords (in DocInfo pdfmark) supplied via \special{...}. CropBox pdfmark (which defines the area shown in Acrobat Reader) supplied via \special{...}. Hypertext links to named destinations automatically translated by dvipsone to appropriate pdfmarks. Similarly, dvipsone translated hypertext links to urls tostandard/uri /Action annotations (these require the (Acrobat WebLink plug-in) for proper operation). tiff image (the Y&Y logo) inserted via \special{insertimage...}. Colored text produced via \special{color rgb...}. Fonts used include several from the Lucida Bright + Lucida New Math super family, as well as a few Computer Modern fonts and Times-Italic (check out File Document Info Fonts in Acrobat Reader). Trademark Information TEX is a registered trademark of the AMS (American Mathematical Society). Lucida is a registered trademark of Bigelow & Holmes, Inc. MathTıme is a trademark of Publish or Perish, Inc. Y&Y and the Y&Y logo are registered trademarks of Y&Y, Inc. dvipsone and dviwindo are trademarks of Y&Y, Inc. PostScript, Acrobat, and Adobe Type Manager are registered trademarks of Adobe Systems, Inc., Windows is a registered trademark of Microsoft, Inc.

10 Index From TEX to Acrobat Bitmapped Font Woes Font Choices Some Practical Details Legacy Documents Sample PDF Documents Additional Information Contact Information Colophon Trademark Information Click on text in green to make hypertext jump.