Preparation of PDF papers from LaTeX in A4 format
Based on: http://www.cs.sfu.ca/~vis/Tasks/electronic.html
There are two ways to prepare a paper in PDF format from LaTeX:
-use pdflatex command instead of latex
-conversion dvi -> pdf
The former method is easy, however, I prefer the latter because it let me to control the conversion process.
Let's start:
1. Create dvi file (f.e. foo.dvi) from your LaTeX document using latex command with, for example, \documentclass[a4paper,12pt]{report} line in the preamble.
2. Convert dvi to ps format: dvips -t a4 -Ppdf -G0 -o foo.ps bar.dvi
3. Convert ps to pdf document: ps2pdf -sPAPERSIZE=a4 -dMaxSubsetPct=100 -dCompatibilityLevel=1.3 -dSubsetFonts=true -dEmbedAllFonts=true -dAutoFilterColorImages=false -dAutoFilterGrayImages=false -dColorImageFilter=/FlateEncode -dGrayImageFilter=/FlateEncode -dMonoImageFilter=/FlateEncode bar.ps final_paper.pdf


0 Comments:
Post a Comment
<< Home