KTUGFaq

KTUG FAQ

α:
йȣ:
A man who fishes for marlin in ponds will put his money in Etruscan bonds.
GNUPlot&value=LaTeX/FrontPage占쏙옙占싱댐옙占쏙옙&value=LaTeX/FindPageHANGULkStyleKarnes/2008-09&value=CygWinġϱLaTeX�����Ϻ�����/Obsolete&value=UHC۲ › GhostScriptUtilities

GhostScript پ ƿƼ Բ Ѵ.  ̴ 캸. GhostScript ƿƼ gs Ǵ gswin32c ̿ ġ ɾ · ȴ.

1 PS, EPS, PDF
1.1 ps2pdf
1.2 pdf2ps
1.3 eps2eps
1.4 ps2ps
1.5 ps2epsi
1.6 pdfopt
1.7 ps2ascii
2 PS Font
2.1 font2c
2.2 pfb2pfa
3
3.1 (E)PS JPEG ׸ ȯϱ
3.2 PDF(JPG) bounding box

[]

1 PS, EPS, PDF

[]

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
EPSI, EPS ϳ preview Ʈ ϰ ִ PostScript  ϳ̴. Ʈ low resolution, no color Ʈ ȭ鿡 ⿡ , μ PostScript ϰ ȴ.
<!> Ϲ EPS ȯϴ ͸ ̶ ƿƼٴ PS2Eps . ׷ PS2Eps Ʈ ʴ´.

[]

1.6 pdfopt

PDF optimizeش. Ư PDF "linearize"ϰ, "hint pointers" Ͽ, Ʈ PDF ÷ϴ ü ٿε尡 ʾƵ ǥõǵ ش. , ¶ο 鼭 غ.
[]

1.7 ps2ascii

PS ؽƮ о ش. ѱ κ ó ϴ 찡 PS óѴ.

[]

2 PS Font

[]

2.1 font2c


[]

2.2 pfb2pfa


[]

3

[]

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
-dEPSCROP gs ⺻ PAPERSIZE ̿Ѵ. -r100 Resolution ̴.

KTUGOperate:7154 PS Է JPEG ϴ Ұ ִ.

gs -sDEVICE=jpeg -r100 -dNOPAUSE -sOutputFile=test%d.jpg orig.pdf

orig.pdf test1.jpg, test2.jpg, ... ɰ ش.

[]

3.2 PDF(JPG) bounding box

KC2008(=texlive 2008) DVIPDFMx .bb ̸ ξ ϴ . graphicx Ű ɼ dvipdfmx , latex ÿ -shell ɼ ߰ϸ ʿ .bb Ǵ .xbb ̴. , ̷ ϸ DVIPDFMx óϴ jpg ׸ ũⰡ pdftex ó Ͱ ´.( ebb ̿ pdftex ؼ dvipdfm dvipdfmx ̷ ׸ ũ ó߾.)
# latex -shell foo
# dvipdfmx foo




^
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2008-01-10 16:17:23
Processing time 0.0522 sec