KTUGFaq
KTUG FAQ
How you look depends on where you go.
UbuntuTeXϱ/Dapper&value=DVI̹ › 絹躍; › MusiXTeX › ?사랑방&value=/200304 › WinEdtTip/���ڼ�&value=Yhchoe/FindPage › GhostScriptUtilities
PostScript / GhostScript / ƿƼ
GhostScript پ ƿƼ Բ Ѵ. ̴ 캸.
GhostScript ƿƼ gs Ǵ gswin32c ̿ ġ ɾ · ȴ.
1.1 ps2pdf ¶
#> ps2pdf [options] input.[e]ps [output.pdf]
PS Ǵ EPS PDF ٲپ.
ũƮ 뷫 ϴ ̴.
#> gs -q -dSAFER -dNOPAUSE -dBATCH -dDEVICE#pdfwrite -sOutputFile#output.pdf -c .setpdfwrite -f input.ps
= Ƶ ʴ # Ѵ.
gs gswin32c̴.
ũƮ DVIPDFMx EPS óϱ ؼ ϴµ, . dvipdfmx.cfg Ǵ config(DVIPDFm) D ڷ Ǿ ִ.
D "gs -q -dNOPAUSE -dBATCH -sPAPERSIZE=a4 -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 \ -dAutoFilterGrayImages=false -dAutoFilterColorImages=false -dGrayImageFilter=/FlateEncode \ -dColorImageFilter=/FlateEncode -dUseFlateCompression=true -sOutputFile=%o %i -c quit"
1.2 pdf2ps ¶
#> pdf2ps [options] input.pdf output.ps
ũƮ ϴ.
#> gs -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE#pswrite -sOutputFile#output.ps input.pdf -c quit
, pswrite ͵̹ ִ ε, Windows pswrite μϸ κ ѱ ۲ Ʈ ٲ. ѱ Ե PDF PS ٲ GhostScript pdf2psٴ XPdf ƿƼ pdftops ϵ ϴ 찡 .
1.3 eps2eps ¶
#> eps2eps [options] input.eps output.eps
ũƮ input.eps о epswrite ͵̽ Ѵ. ó ٸ α export EPS ʿ garbage ϰ ְų ϸ EPS ִ.
1.4 ps2ps ¶
eps2eps input.ps ۰ output.ps ȯִ GhostScript distiller.
#> ps2ps [options] input.ps output.ps
ps ٷ eps ȯ ִ.
#> ps2ps input.ps output.eps
1.5 ps2epsi ¶
#> ps2epsi infile.ps outfile.epsi
1.6 pdfopt ¶
PDF optimizeش. Ư PDF "linearize"ϰ, "hint pointers" Ͽ, Ʈ PDF ÷ϴ ü ٿε尡 ʾƵ ǥõǵ ش.
, ¶ο 鼭 غ.
- pdfopt (1.6M) : memhangul-manual.pdf
- pdfopt (1.7M) : memucs-manual-opt.pdf
3.1 (E)PS JPEG ȯϱ ¶
gs ̽ 캸 Ģ ִ. ڼ GhostScript ̰, ⼭ EPS о鿩 jpeg ͵̹ غ.
gs -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE#jpeg -dEPSCROP -r100 -sOutputFile#output.jpg input.eps -c quit
gs -sDEVICE=jpeg -r100 -dNOPAUSE -sOutputFile=test%d.jpg orig.pdf
orig.pdf test1.jpg, test2.jpg, ... ɰ ش.