How to embed fonts in a PDF from LaTeX



Similar documents
(La)TeX Support for manuscript preparation. Conference Paper Management System

(1) latex + dvipdfm (which is a DVI to PDF translator) or (2) pdflatex (a version of LaTeX that generates PDF output instead of DVI).

Create a PDF File. Tip. In this lesson, you will learn how to:

2. Basic operations

A Tutorial on Creating Presentations Using Beamer

1 Using CWEB with Microsoft Visual C++ CWEB INTRODUCTION 1

L A TEX in a Nutshell

PDF Export for Capture Designs. OrCAD Capture and Allegro DE CIS since version SPB 16.3, Hotfix 13

PDF: The New Workflow Standard?

Preparing and Printing PDF Files

Preparing a File For Commercial Printing using Microsoft Publisher

PDF Export for Capture Designs. OrCAD Capture and Allegro DE CIS from version SPB 16.3, Hotfix 13

chemscheme Support for chemical schemes

To be productive in today s graphic s industry, a designer, artist, or. photographer needs to have some basic knowledge of various file

CREATING A PDF FILE INDESIGN CS (3) ADOBE ACROBAT 6.0 MAC OS 10.3

Converting an AutoCAD Drawing into PDF File

Application Notes "EPCF 1%' 1SJOU &OHJOF "11&

TU/ePDFScreen. Presentations, Slides and Posters Marko Boon. 25th May /27. / department of mathematics and computer science

White Paper. Configuration of Fabasoft Folio Printer Ports. Fabasoft Folio 2015 Update Rollup 2

How to create and personalize a PDF portfolio

Best practices for producing high quality PDF files

Adobe Acrobat 6.0 Professional

How to Change Your Send Options

Hypercosm. Studio.

PDF Word to PDF utility. User Documentation

Preparing graphics for IOP journals

dbdos PRO 3 FAQ db_config.exe Creates Shortcut Run DOS program dbase, LLC 2012 All rights reserved.

Poster Printer Procedures

Chapter 10 Printing, Exporting, and ing

Presentations Using L A TEX

MSOW. MSO for the Web MSONet Workstation Configuration Guide

Anoto pendocuments. User s Guide

Optimizing Adobe PDF files for display on mobile devices

BarTender Web Print Server

software 4TEX 5.0 for Windows and the 4allTEX CDroms

WSL Course Introduction to Statistics Software, Installation and Use

KX Driver User Guide

WINDOWS. Aloaha. PDF Suite. Manual

Managing a network TEX installation under Windows

How To Write A Paper With The Entcs Macro Package

A-PDF AutoCAD to PDF utility. User Documentation

Using Adobe Acrobat X Professional

ELFRING FONTS UPC BAR CODES

bbc Adobe PDF/XML Architecture - Working Samples

ebooks: Exporting EPUB files from Adobe InDesign

Preparing an electronic file for McAdams Graphics, Inc.

Using the Acrobat tab in Microsoft Word: Setting PDF Preferences

Portable Document Format (PDF) Finally, a Universal Document Exchange Technology Wan-Lee Cheng

Automatic Conversion of SAS Enhanced Programs to PDF

ICC Profiles Guide. English Version 1.0

Installing Settings (Job Options) Files for Use with Acrobat Distiller, Adobe Printer, or PDFMaker (For Windows)

Acrobat X Pro Accessible Forms and Interactive Documents

Strategies for including graphics in L A TEX documents

PDF. Your complete guide to turning QuarkXPress5.0 documents into. single Adobe PDF pages. Cummings. Create Adobe PDF Files for Print

bbc PDF/A-1 in Acrobat 9 and LiveCycle ES PDF/A-1 PDF/A Generation and validation principles APPLIES TO CONTENTS Update March 2009

ArcGIS ArcMap: Printing, Exporting, and ArcPress

How To Use L A T Ex On Pc Or Macbook Or Macintosh (Windows) With A L At Ex (Windows 3) On A Pc Or Ipo (Windows 2) With An Ipo Computer (Windows 4)

1. To ensure the appropriate level of security, you will need Microsoft Windows XP or above.

MAXMAILER USER GUIDE

Build Electronic Portfolios using Windows and PDFMaker

shorewest.net Document Management

Links. Blog. Great Images for Papers and Presentations 5/24/2011. Overview. Find help for entire process Quick link Theses and Dissertations

Welcome to The Grid 2

Adobe Acrobat 9 Pro Accessibility Guide: Creating Accessible PDF from Microsoft Word

Release Notes. DVD Contents. April 23, 2015

Creating PDF Forms in Adobe Acrobat

Using PDF Files in CONTENTdm

Magento Extension Point of Sales User Manual Version 1.0

Product Library 2.5 EUR. DVD Contents. Release Notes January 31st, Windows 2000 Windows Server Windows. Windows Vista. Windows.

Product Library v.2.0eur Release Notes. DVD Contents. October 8th, Windows Server 2008 Server 2008 R2. Windows 2000 Windows

ICPPP484C Set up and operate automated workflow

Adobe Acrobat 9 Pro Accessibility Guide: PDF Accessibility Overview

PaperlessPrinter. Version 3.0. User s Manual

Net Services: File System Monitor

fonts: tutorial How to install a Type1 Font using fontinst

1.1 Prezi Desktop Guide Requirements Download and Install First start Overview 12

Intro to Web Development

Best Practices: PDF Export

WatchDox for Windows. User Guide. Version 3.9.5

Guide to PDF Publishing

A short manual for TEXworks

How To Create PDF Files For Free Under Windows 2000/XP

bbc Creating a Purchase Order Form Adobe LiveCycle Designer ES2 November 2009 Version 9

Legal Notes. Regarding Trademarks. Models supported by the KX printer driver KYOCERA MITA Corporation

How to install software applications in networks to remote computers

dobe Acrobat XI Pro Digital Signatures

Speeding up PDF display in Acrobat

What s New in Version Cue CS2

TxDMV RTS Training Guide for Working with Cognos Reports

Transcription:

How to embed fonts in a PDF from LaTeX 1. Make sure your LaTeX distribution is up to date. The newer the distribution, the better chance its default settings embed the fonts in a PDF. For Windows, MikTeX 2.8 and newer does this. Also Tex Live 2009 and MacTeX-2009 and newer have the correct default settings. 2. Decide on a compilation scheme There are multiple ways to create a PDF from LaTeX. The best and easiest way is to compile directly to PDF using pdflatex or xelatex. The other option is to first create an intermediate file, either a DVI or PS, and convert that to PDF. A LaTeX editor usually has predefined output profiles for these cases: LaTeX => (pdflatex file.tex) PDF LaTeX => (latex file.tex) DVI => (dvips file.dvi) PS => (ps2pdf file.ps) PDF LaTeX => (latex file.tex) DVI => (dvipdfm file.dvi) PDF The notation used above is type of file => (command to go to new type of file) new type of file. Of these three schemes, we only recommend the first two, and not the last (LaTeX => DVI => PDF). Decide which compilation scheme you re going to use, and follow the steps below. 3. LaTeX => PDF The preferred way to create a PDF from LaTeX is to compile directly to PDF without an intermediate step. However, on Windows you cannot use Acrobat (Reader) as a previewer, as it locks the PDF while viewing it. A good alternative is SumatraPDF, which also has support for forward search (jumping to the section of the PDF where you were editing the source) and inverse search (jumping to the section of the source where you were viewing the PDF). On OS X a good PDF viewer is Skim. Another minor drawback is that you can no longer include EPS images, but these can be converted to PDF with e.g. Adobe s Distiller, or the ps2pdf command from Ghostscript. If you decide to convert your EPS images to PDF with the ps2pdf command, make sure to embed any fonts into the images. The necessary commands are given in section 4. Furthermore, some LaTeX packages, such as PSTricks, do not work with pdflatex. There are usually PDF-compatible alternatives available; TikZ, for example, is an excellent PSTricks replacement. To ensure that pdflatex embeds the fonts in your document, edit the updmap config file by locating updmap.cfg (for MikTeX it s in MikTeX_install_dir/miktex/config) and editing it. On Linux systems you can also enter the command updmap --edit

to edit the config file. Find the lines # # pdftexdownloadbase14 # # Should pdftex download the base 14 pdf fonts? Since some configurations # (ps / pdf tools / printers) use bad default fonts, it is safer to download # the fonts. The pdf files will get bigger, though. # Valid settings are true (download the fonts) or false (don't download # the fonts). pdftexdownloadbase14 true Make sure pdftexdownloadbase14 is set to true. If it is not, change it, and run updmap once. That s it! 4. LaTeX => DVI => PS => PDF Although this is perhaps not the fastest way to create PDF from LaTeX, it can certainly be used create PDFs with the necessary fonts embedded. The key is to make sure the last step, the conversion from either DVI or PostScript to PDF, embeds the fonts. In this compilation scheme the ps2pdf command from GhostScript is usually used to convert the PS file to a PDF. Adding five switches to the command ensures it embeds the fonts: ps2pdf -dpdfsettings=/prepress -dsubsetfonts=true -dembedallfonts=true -dmaxsubsetpct=100 -dcompatibilitylevel=1.3 <other switches> file.ps In the commonly used LaTeX editor WinEdt, you can add these switch by going to Options -> Execution Modes, selecting ps2pdf, and adding the switch in the Switches box as follows:

There is also the simpdftex command that takes a.tex or.dvi file and creates a PDF out of it by doing the intermediate step, the conversion to PostScript, automatically. The program TeXShop on OS X has a build-in option to use it. To force simpdftex to embed the fonts, add the following switches to its command in the editor: simpdftex <old switches> --maxpfb --extradvipsopts "-Pdownload35" file.tex To change these settings in TeXShop, go the Preferences -> Engine, and add the extra switches in the TeX + dvips + distiller box:

6. Testing for embedded fonts You can check if the fonts have been embedded by opening the PDF in Acrobat (Reader), and going to File -> Properties -> Fonts. This lists all the fonts used in the PDF, and tells you whether or not they have been embedded.

On Linux you can also use the command pdffonts to check for embedded fonts.