LaTeXの組版の仕上げを頼まれている [TeX]
ちょっと、複雑な生い立ちのあるLaTeXで書かれている原稿の、最終段階の作業を頼まれている。忘れていたわけじゃない。しかし、浅学菲才ゆえ、他の人の書いたマクロを解読できない。提供されたスタイルファイルでは目次に、前書き、参考文献、索引が表示されない。
仕上げはdvipdfmxでPDF化で良いのだろうと思う。ついでにdvipdfmxのオプションについて自分用のメモを記しておく。
dvipdfmx --help
/////////////////////////////////
This is dvipdfmx-20100328 by the DVIPDFMx project team,
an extended version of dvipdfm-0.13.2c developed by Mark A. Wicks.
Copyright (C) 2002-2009 by the DVIPDFMx project team
This is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
Usage: dvipdfmx [options] dvifile []の中がデフォルトの値。
-c Ignore color specials (for B&W printing) カラーが含まれていても白黒にする。紙への印刷本を白黒でも、電子本をカラーにできるので便利。
-d number Set PDF decimal digits (0-5) [2]
-f filename Set font map file name フォントマップファイルの指定。
-g dimension Annotation "grow" amount [0.0in]
-l Landscape mode 横向き
-m number Set additional magnification [1.0] 拡大する(1以下なら縮小)。
-o filename Set output file name [dvifile.pdf] ファイル名を指定する。
-p papersize Set papersize [a4] 用紙を決める。b5varが用意されているなんて、知らなかった。ただし、(182.03mm 230.01mm)となっている。私は(182mm 230mm)としている。どのようなサイズに対応しているかは、dvipdfmx -vhとする。
-q Be quiet 処理メッセージを出さない。
-r resolution Set resolution (in DPI) for raster fonts [600] 解像度をしているする。600で十分。
-s pages Select page ranges (-) 指定したページだけをPDFにする。基のdviファイル名と同じなるので、ファイル名を指定するとよい。
-t Embed thumbnail images of PNG format [dvifile.1]
-x dimension Set horizontal offset [1.0in] 用紙からの横方向の印刷位置の指定。
-y dimension Set vertical offset [1.0in] 用紙からの縦方向の印刷位置の指定。
-z number Set zlib compression level (0-9) [9] ファイルの圧縮率の指定。
-v Be verbose 処理メッセージをたくさん出す。
-vv Be more verbose 処理メッセージをもっとたくさん出す。
-C number Specify miscellaneous option flags [0]: なんだか良くわからない設定。
0x0001 reserved
0x0002 Use semi-transparent filling for tpic shading command,
instead of opaque gray color. (requires PDF 1.4)
0x0004 Treat all CIDFont as fixed-pitch font.
0x0008 Do not replace duplicate fontmap entries.
0x0010 Do not optimize PDF destinations.
Positive values are always ORed with previously given flags.
And negative values replace old values.
-D template PS->PDF conversion command line template [none]
-E Enable DVIPDFM emulation mode
-K number Encryption key bits [40] 暗号化の際の鍵のビット数。%% dvipdfmx.cfg (20050508)を見たら128だった。
-O number Set maximum depth of open bookmark items [0] しおりの深さを指定。
-P number Set permission flags for PDF encryption [0x003C] セキュリティを指定した場合に、ユーザができる作業の許容範囲の指定。
-S Enable PDF encryption
-V number Set PDF minor version [4] PDFのバージョンを指定する。通常印刷所ではAcrobat 5までに対応。PDF/X-1a準拠は、これだと思う。
All dimensions entered on the command line are "true" TeX dimensions.
Argument of "-s" lists physical page ranges separated by commas, e.g., "-s 1-3,5-6"
Papersize is specified by paper format (e.g., "a4") or by w,h (e.g., "20cm,30cm").
Please type "dvipdfmx -vh" for the list of available paper formats.
紙のサイズ dvipdfmx -vh
%%%%%%%%%%%
a4: 595.00 842.00 (209.90mm 297.04mm)
letter: 612.00 792.00 (215.90mm 279.40mm)
note: 612.00 792.00 (215.90mm 279.40mm)
legal: 612.00 1008.00 (215.90mm 355.60mm)
executive: 522.00 756.00 (184.15mm 266.70mm)
halfletter: 396.00 612.00 (139.70mm 215.90mm)
halfexecutive: 378.00 522.00 (133.35mm 184.15mm)
11x17: 792.00 1224.00 (279.40mm 431.80mm)
statement: 396.00 612.00 (139.70mm 215.90mm)
folio: 612.00 936.00 (215.90mm 330.20mm)
quarto: 610.00 780.00 (215.19mm 275.17mm)
10x14: 720.00 1008.00 (254.00mm 355.60mm)
ledger: 1224.00 792.00 (431.80mm 279.40mm)
tabloid: 792.00 1224.00 (279.40mm 431.80mm)
a0: 2384.00 3370.00 (841.02mm 1188.86mm)
a1: 1684.00 2384.00 (594.08mm 841.02mm)
a2: 1191.00 1684.00 (420.16mm 594.08mm)
a3: 842.00 1191.00 (297.04mm 420.16mm)
a5: 420.00 595.00 (148.17mm 209.90mm)
a6: 298.00 420.00 (105.13mm 148.17mm)
a7: 210.00 298.00 (74.08mm 105.13mm)
a8: 147.00 210.00 (51.86mm 74.08mm)
a9: 105.00 147.00 (37.04mm 51.86mm)
a10: 74.00 105.00 (26.11mm 37.04mm)
b0: 2835.00 4008.00 (1000.13mm 1413.93mm)
b1: 2004.00 2835.00 (706.97mm 1000.13mm)
b2: 1417.00 2004.00 (499.89mm 706.97mm)
b3: 1001.00 1417.00 (353.13mm 499.89mm)
b4: 709.00 1001.00 (250.12mm 353.13mm)
b5: 499.00 709.00 (176.04mm 250.12mm)
b6: 354.00 499.00 (124.88mm 176.04mm)
b7: 249.00 354.00 (87.84mm 124.88mm)
b8: 176.00 249.00 (62.09mm 87.84mm)
b9: 125.00 176.00 (44.10mm 62.09mm)
b10: 88.00 125.00 (31.04mm 44.10mm)
c2: 1298.00 1837.00 (457.91mm 648.05mm)
c3: 918.00 1298.00 (323.85mm 457.91mm)
c4: 649.00 1003.00 (228.95mm 353.84mm)
c5: 459.00 649.00 (161.92mm 228.95mm)
c6: 323.00 459.00 (113.95mm 161.92mm)
c7: 230.00 323.00 (81.14mm 113.95mm)
c8: 162.00 230.00 (57.15mm 81.14mm)
jisb0: 2920.00 4127.00 (1030.11mm 1455.91mm)
jisb1: 2064.00 2920.00 (728.13mm 1030.11mm)
jisb2: 1460.00 2064.00 (515.06mm 728.13mm)
jisb3: 1032.00 1460.00 (364.07mm 515.06mm)
jisb4: 729.00 1032.00 (257.17mm 364.07mm)
jisb5: 516.00 729.00 (182.03mm 257.17mm)
jisb6: 363.00 516.00 (128.06mm 182.03mm)
jisb7: 258.00 363.00 (91.02mm 128.06mm)
jisb8: 181.00 258.00 (63.85mm 91.02mm)
b5var: 516.00 652.00 (182.03mm 230.01mm)
DL: 312.00 624.00 (110.07mm 220.13mm)
Comm10: 297.00 684.00 (104.77mm 241.30mm)
Monarch: 279.00 540.00 (98.42mm 190.50mm)
archE: 2592.00 3456.00 (914.40mm 1219.20mm)
archD: 1728.00 2592.00 (609.60mm 914.40mm)
archC: 1296.00 1728.00 (457.20mm 609.60mm)
archB: 864.00 1296.00 (304.80mm 457.20mm)
archA: 648.00 864.00 (228.60mm 304.80mm)
flsa: 612.00 936.00 (215.90mm 330.20mm)
flse: 612.00 936.00 (215.90mm 330.20mm)
csheet: 1224.00 1584.00 (431.80mm 558.80mm)
dsheet: 1584.00 2448.00 (558.80mm 863.60mm)
esheet: 2448.00 3168.00 (863.60mm 1117.60mm)
%&%
仕上げはdvipdfmxでPDF化で良いのだろうと思う。ついでにdvipdfmxのオプションについて自分用のメモを記しておく。
dvipdfmx --help
/////////////////////////////////
This is dvipdfmx-20100328 by the DVIPDFMx project team,
an extended version of dvipdfm-0.13.2c developed by Mark A. Wicks.
Copyright (C) 2002-2009 by the DVIPDFMx project team
This is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
Usage: dvipdfmx [options] dvifile []の中がデフォルトの値。
-c Ignore color specials (for B&W printing) カラーが含まれていても白黒にする。紙への印刷本を白黒でも、電子本をカラーにできるので便利。
-d number Set PDF decimal digits (0-5) [2]
-f filename Set font map file name フォントマップファイルの指定。
-g dimension Annotation "grow" amount [0.0in]
-l Landscape mode 横向き
-m number Set additional magnification [1.0] 拡大する(1以下なら縮小)。
-o filename Set output file name [dvifile.pdf] ファイル名を指定する。
-p papersize Set papersize [a4] 用紙を決める。b5varが用意されているなんて、知らなかった。ただし、(182.03mm 230.01mm)となっている。私は(182mm 230mm)としている。どのようなサイズに対応しているかは、dvipdfmx -vhとする。
-q Be quiet 処理メッセージを出さない。
-r resolution Set resolution (in DPI) for raster fonts [600] 解像度をしているする。600で十分。
-s pages Select page ranges (-) 指定したページだけをPDFにする。基のdviファイル名と同じなるので、ファイル名を指定するとよい。
-t Embed thumbnail images of PNG format [dvifile.1]
-x dimension Set horizontal offset [1.0in] 用紙からの横方向の印刷位置の指定。
-y dimension Set vertical offset [1.0in] 用紙からの縦方向の印刷位置の指定。
-z number Set zlib compression level (0-9) [9] ファイルの圧縮率の指定。
-v Be verbose 処理メッセージをたくさん出す。
-vv Be more verbose 処理メッセージをもっとたくさん出す。
-C number Specify miscellaneous option flags [0]: なんだか良くわからない設定。
0x0001 reserved
0x0002 Use semi-transparent filling for tpic shading command,
instead of opaque gray color. (requires PDF 1.4)
0x0004 Treat all CIDFont as fixed-pitch font.
0x0008 Do not replace duplicate fontmap entries.
0x0010 Do not optimize PDF destinations.
Positive values are always ORed with previously given flags.
And negative values replace old values.
-D template PS->PDF conversion command line template [none]
-E Enable DVIPDFM emulation mode
-K number Encryption key bits [40] 暗号化の際の鍵のビット数。%% dvipdfmx.cfg (20050508)を見たら128だった。
-O number Set maximum depth of open bookmark items [0] しおりの深さを指定。
-P number Set permission flags for PDF encryption [0x003C] セキュリティを指定した場合に、ユーザができる作業の許容範囲の指定。
-S Enable PDF encryption
-V number Set PDF minor version [4] PDFのバージョンを指定する。通常印刷所ではAcrobat 5までに対応。PDF/X-1a準拠は、これだと思う。
All dimensions entered on the command line are "true" TeX dimensions.
Argument of "-s" lists physical page ranges separated by commas, e.g., "-s 1-3,5-6"
Papersize is specified by paper format (e.g., "a4") or by w
コメント 0