Dynamic Systems and Control Division
Home PIN Login Support Test your pdf document
|Support menu||Overview||Compliance||Page/Font/File Settings||LaTeX Support||MS-Word Support||Upload Help||Copyright Transfer||Compliant Conversion Issues||FAQ|
|TEX/LATEX Related Topics.|
Are there style files available to use with TeX/LaTeX?|
What else do I need to create PDF documents using (La)TeX?
How do I create compliant PDFs from (La)TeX source?
Should I use dvips/ghostscript/distiller combination, PDFLaTeX or dvipdfm?
My TeX installation uses bitmapped fonts, what should I do?
I am using vector fonts, yet the PDF test says there are bitmap fonts in my paper. What should I do?
|TEX/LATEX Related Topics|
|Are there style files available to use with TeX/LaTeX?||
Please download the following files for document preparation using LaTeX.
Unfortunately, at the present time (and in foreseeable future), there is no support for plain TeX or other flavors of TeX (such as AMSTeX, ConTeXt, etc.)
|What else do I need to create PDF documents using LaTeX?||
In addition to above style files you need the following components:
|How do I create compliant PDFs from LaTeX source?||
Assuming that you have a LaTeX distribution for your platform with "Type 1" fonts installed, use one of the following options:
Using a recent distribution of MikTeX or TeTeX and Ghostscript (Linux/Unix and Windows)
Use the command lines
latex sample dvips -Ppdf -G0 -tletter sample ps2pdf -dCompatibilityLevel=1.4 -dMAxSubsetPct=100 -dSubsetFonts=true -dEmbedAllFonts=true -sPAPERSIZE=letter sample.ps sample.pdf
The ps2pdf command should go on a single line. To obtain A4 paper size output the commands are very similar
latex a4sample dvips -Ppdf -G0 -ta4 a4sample ps2pdf -dCompatibilityLevel=1.4 -dMAxSubsetPct=100 -dSubsetFonts=true -dEmbedAllFonts=true -sPAPERSIZE=a4 a4sample.ps a4sample.pdf
These instructions have been tested under Linux with teTeX 1.0.7 and Ghostscript 7.0.4, and more recently with teTeX 3.0 and Ghostscript 8.15.
Without -d[options] listed above, ps2pdf will not embed and subset fonts as required by PDF compliance and your paper will not be ready for upload. Note that if you specify the Adobe Times, Helvetica and Courier font families (the so-called base 14 fonts) to be used but do not have them installed on your computer then they will not be embedded. Pdf files with these fonts missing may or may not be accepted depending on the conference settings; they often are.
Do not omit the target paper size in each step as your system may have a default paper size setting that differs from the target paper size.
Under Windows with MikTeX and Ghostscript the third line
ps2pdf -dCompatibilityLevel=1.4 -dMAxSubsetPct=100 -dSubsetFonts=true -dEmbedAllFonts=true -sPAPERSIZE=letter sample.ps sample.pdf
fails while producing an incomprehensible error message. This is because under Windows ps2pdf is implemented as a batch file which does not allow the character = to be used. In this case modify the command to
ps2pdf -dCompatibilityLevel#1.4 -dMAxSubsetPct#100 -dSubsetFonts#true -dEmbedAllFonts#true -sPAPERSIZE#letter sample.ps sample.pdfand it will work like a charm.
This was tested with MiKTeX 2.3 and Ghostscript 7.04 and more recently wth MikTeK 2.8 and Ghostscript 8.6.
If you are using Windows, we strongly recommend using GSview, a graphical font end to Ghostscript, to convert your postscript file to pdf. It provides an easy interface for setting up the above parameters for ps2pdf.
Follow the steps of the previous item to generate a postscript file from your LaTeX source file. Open the postscript file in GSView.
The first step is to set the media size to Letter. To do this, in the GSview menubar at the top click on "Media" and select Letter as shown below:
Next, click on "File | Convert". In the ensuing window, in Options textbox type in "-dMAxSubsetPct=100", then follow screenshots below:
This option makes sure that the files will be viewable by readers with Acrobat Reader 5 and later.
These two settings, together with "-dMAxSubsetPct=100" will ensure that all fonts are embedded as required.
To produce PDF that will print well on paper as well as look sharp on the screen you must have Type 1 fonts installed with your LaTeX distribution. To create PDF, use the following steps
latex [a4]sample (if needed use also bibTeX and rerun LaTeX) dvips -Ppdf -G0 -tletter sample (for letter sized document) dvips -Ppdf -G0 -ta4 a4sample (for A4 sized document)This generates the postscript file "sample.ps". Next, launch Adobe distiller. Here are the screen captures of settings in Distiller 5.0, similar settings also exist on other Distiller releases.
In the distiller select Settings | Job Options as shown in the first image -
PDFLaTeX is a special version of LaTeX by Han The Thanh which produces PDF output directly using Type-1 fonts instead of the standard dvi file. However, it is still in beta version and does not accept all of the LaTeX packages or postscript figures.
Using OzTeX (Mac)
paper_width = 8.5in paper_height = 11in
In Oztex 5.1, use the "Add Outline Fonts" config.
Finally, when you dvips, the options -CMPS should automatically pop-up. Leave it alone.
OzTeX hints and images courtesy of Brad Burchett.
|Should I use dvips/ghostscript/distiller combination, PDFLaTeX or dvipdfm?||
There are currently two viable alternatives in producing compliant PDF documents from LaTeX (the dvips method and
the pdfTeX Method).
The first option is currently the best one owing to the fact that the LaTeX source file does not have to be modified,
all style and class files are supported, and bitmapped as well as postscript figures can be included directly into the final PDF.
Both methods of creating compliant PDFs work well.
However the work flow and requirements are slightly different.
Of course, they all require that the TeX installation being used supports Type 1 fonts.
Dvipdfm generally works well, but has some bugs in processing certain types of .eps figures. The only reliable way to work with dvipdfm when including encapsulated postscript figures in your document is to first convert them to PDF.
|My TeX installation uses bitmapped fonts, what should I do?||
All earlier TeX/LaTeX installations used METAFONT technology to create Type 3 fonts.
These fonts were customized for the printing device for which they were meant.
Unfortunately that does not help in the creation of PDF that renders well on the screen as well as
If you have the (La)TeX system installed on your own computer, upgrade it to a newer version.
Most newer packaged distributions come with Type 1 fonts.
All packages mentioned above support Type 1 fonts.
If you are using a network installation of LaTeX, please request
your system administrator to upgrade the installation with a
more recent distribution. Unfortunately, there is no reliable
way to convert fonts from bitmapped to vector once the document has been generated.
The changes have to be made when converting from latex --> dvi --> PDF.
|I am using vector fonts, yet the PDF test says there are bitmap fonts in my paper. What should I do?||
It may happen that even if your installation uses Type 1 fonts only your pdf document still contains bitmapped (Type 3) fonts.
The most likely source for bitmapped fonts are images that might be using bitmapped fonts.
You may check if these fonts originate from the graphics in the document by compiling the source file without the graphics.
The solution will be either to regenerate the offending images using Type 1 fonts or to convert them to raster images such as JPEG or PNG..