Memo‎ > ‎

Generate .pdf for IEEE TVCG

posted Jul 25, 2011, 10:40 AM by Teng-Yok Lee   [ updated Aug 27, 2013, 9:16 PM ]
TVCG and the related conferences asks for camera-ready .pdf in CMYK colorspace and with all fonts embedded, which can be not straightforward. Here is my procedure to do it.

Prerequisite softwares


WinEDT
ghostscript
Miktex
Adobe Acrobat Professional

Compile a .pdf embedded with all the fonts.

Use Texify -> dvi2ps -> gswin32c. The switches of them are listed below. The switches are needed to generate .pdf 1) with "uncompressed figures", 2) embedding all fonts, and 3) in letter size.

 Accessories Program switchesparameters
 Texifytexify.exe
%0
"%F"
 dvip2sdvi2ps-t letter -Ppdf -G0
"%N.dvi"
 ps2pdfps2pdf -sPAPERSIZE#letter -sDEVICE#pdfwrite -dPDFSETTINGS#/prepress -dCompatibilityLevel#1.3 -dAutoFilterColorImages#false -dAutoFilterGrayImages#false -dColorImageFilter#/FlateEncode -dGrayImageFilter#/FlateEncode -dMonoImageFilter#/FlateEncode -dDownsampleGrayImages#false -dDownsampleColorImages#false "%N.ps" "%N.pdf"

Before I recommend to use ghostscript for ps2pdf, but it will have issue with the new TVCG templates in http://www.cs.sfu.ca/~vis/Tasks/camera_tvcg.html. Thus it should be deprecated.
 ps2pdf "C:\Program Files\gs\gs8.70\bin\gswin32c.exe"

(PS. Please change this to reflect the installation path of ghostscript on your computer)
-dPDFX=true -dConvertCMYKImagesToRGB=false -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -dProcessColorModel=/DeviceCMYK -r600 -dCompatibilityLevel=1.3 -sPAPERSIZE=letter -dMaxSubsetPct=100 -dSubsetFonts=true -dEmbedAllFonts=true -dAutoFilterColorImages=false -dAutoFilterGrayImages=false -dColorImageFilter=/FlateEncode -dGrayImageFilter=/FlateEncode -dMonoImageFilter=/FlateEncode-sOutputFile="%N.pdf" -c save pop -f "%N.ps"

Meanwhile, it can be seen that the options for ps2pdf and ghostscript are almost identical except that the operator= is replaced by #. The following 2 links provide more informaiton.
Use # instead of = for ps2pdf options in Windows.
MS Windows.

Generate the final .pdf in CMYK space.

Print the generated .pdf to Adobe PDF Printer, which allows you to specify color space. Also,

  1. Make sure all fonts are embedded. Please refer to this post.
  2. Create lossless compressed image. We need to change the Default Setting of the Printer Adobe PDF. I usually use Press Quality as the Default Setting, and then edit the setting,in the tab Image. Make sure that Downsample for color/gray/monochrome is off, and Compression is ZIP or Off.

Changes for the packages caption/subcaption

If the two packages caption and subcaption are used, please add the following lines:
% Change the colon in figure and table caption to dot. e.g. Change Fig. 2: to Fig. 2.
\captionsetup
{labelsep=period}

%
Use Sans Serif font for the caption.
\captionsetup{font={sf,small}}
% Do not align the caption to the middle even if the caption has only 1 line.
\captionsetup{singlelinecheck=off}

Questions/Issues

Besides Adobe Acrobat Professional, does anyone know other solutions to convert the color space to CMYK?

References

Formatting Guidelines for TVCG: VAST/ InfoVis/ SciVis Papers 2013, http://www.cs.sfu.ca/~vis/Tasks/camera_tvcg.html.

Setup of captions:
http://tex.stackexchange.com/questions/71114/achemso-single-column-abstract-and-helvetica-captions
http://tex.stackexchange.com/questions/29181/figure-and-table-numbers-in-caption-are-terminated-by-a-period-and-semicolon
http://tex.stackexchange.com/questions/95207/how-to-center-a-specific-caption



Comments