diff options
author | Karl Berry <karl@freefriends.org> | 2009-08-23 00:26:55 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-08-23 00:26:55 +0000 |
commit | e0377be1ec90f7987965cc9b3ef463a2d7567818 (patch) | |
tree | 3e6bb7410df1f9df3ee10112c2d34dbe1c986106 /Master/texmf/dvipdfmx | |
parent | b21bdce6c58c224889030af836f34d96ff1a2131 (diff) |
update dvipdfmx.cfg, (re)move other map files per ChoF
git-svn-id: svn://tug.org/texlive/trunk@14822 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf/dvipdfmx')
-rw-r--r-- | Master/texmf/dvipdfmx/dvipdfmx.cfg | 88 |
1 files changed, 34 insertions, 54 deletions
diff --git a/Master/texmf/dvipdfmx/dvipdfmx.cfg b/Master/texmf/dvipdfmx/dvipdfmx.cfg index b8adb6c6f11..242f5d0263b 100644 --- a/Master/texmf/dvipdfmx/dvipdfmx.cfg +++ b/Master/texmf/dvipdfmx/dvipdfmx.cfg @@ -1,10 +1,3 @@ -%% -%% ** PLEASE CHECK FILE ACCESS PERMISSION OF THIS FILE ** -%% -%% With 'D' option dvipdfmx may invoke shell command via system() -%% function call. -%% -%% %% PDF Version Setting %% %% PDF (minor) version stamp to use in output file. @@ -14,9 +7,8 @@ %% model requires version 1.4. So if you want soft-masking support for %% PNG image with alpha channels, you should set version to 4 or higher. -V 4 +% V 4 -%% %% Dvipdfmx Compatibility Flags %% %% 0x0002 Use semi-transparent filling for tpic shading command, @@ -25,10 +17,11 @@ V 4 %% This is only for backward compatibility. Don't use that. %% 0x0008 Do not replace duplicate fontmap entries. %% Dvipdfm's (not 'x') behaviour. +%% 0x0010 Do not optimize PDF destinations. +%% (Optimization is still experimental.) -%C 0x0000 +C 0x0010 -%% %% PDF Document Settings %% %% Papersize Option: @@ -37,7 +30,6 @@ V 4 %% %% papersize-spec is 'paper-format' or length-pair, e.g., 'a4', 'letter', %% '20cm,30cm'. Recognized unit is 'cm', 'mm', 'bp', 'pt', 'in'. -%% p a4 @@ -49,7 +41,9 @@ p a4 %% TeX macro packages set the annotation bounding box equal to the TeX box %% that encloses the material. That's not always what you want. %% Annotations created by pdf:bannot/pdf:eannot is also affected. -%% + +%g 0 + %% Bookmark Open Level: %% %% O integer @@ -58,10 +52,8 @@ p a4 %% of that item (from root node) is less than or equal to the integer %% specified with this option. -g 1 O 0 -%% %% PDF Security (Encryption) Setting %% %% Those options won't take effects unless you use flag 'S'. @@ -101,9 +93,11 @@ K 40 P 0x003C -%% %% Image Handler %% +%% With 'D' option dvipdfmx may invoke shell command via system() +%% function call. +%% %% Command-line template for a-to-b conversion: %% %% Supported target format ('b') is currently PDF. @@ -115,40 +109,32 @@ P 0x003C %% success or failure) %% %b The "base" name of the input file, e.g., "foo" instead of %% "foo.eps". +%% %v The PDF version to be converted to, e.g. "1.4" for PDF 1.4. %% %% Replaced with single '%'. -%% *Examples* for GhostScript (PS-to-PDF) +%% GhostScript (PS-to-PDF and PDF-to-PDF): %% -%% The following example decode all DCT (i.e., JPEG) encoded images -%% and then recompress images with Flate (zlib, same as PNG) encode -%% filter. If you are using recent version of gs, then please remove -%% -dAutoFilterXXXImages and -dXXXImageFilter. -%% /FlateEncode is introduced to avoid quality loss of "EPS JPEG" -%% images. +%% ps2pdf is a front-end to gs. For a complete list of options, see +%% http://ghostscript.com/doc/current/Ps2pdf.htm +%% +%% By default, gs encodes all images contained in a PS file using +%% the lossy DCT (i.e., JPEG) filter. This often leads to inferior +%% result (see the discussion at http://electron.mit.edu/~gsteele/pdf/). +%% The "-dAutoFilterXXXImages" and "-dXXXImageFilter" options used +%% below force all images to be encoded with the lossless Flate (zlib, +%% same as PNG) filter. Note that if the PS file already contains DCT +%% encoded images (which is possible in PS level 2), then these images +%% will also be re-encoded using Flate. To turn the conversion off, +%% simply remove the options mentioned above. %% %% Also note that PAPERSIZE=a0 is specified below. This convert PS %% files (including EPS) to A0 papersize PDF. This is necessary to %% prevent gs from clipping PS figure at some papersize. (A0 above -%% simply means large size paper) +%% simply means large size paper.) If you have figures even larger +%% than A0, and their llx=lly=0, you can use "-dEPSCrop" instead of +%% "-sPAPERSIZE=a0" %% -%% If you have figures even larger than A0, and their llx=lly=0, you can -%% use -dEPSCrop instead of -sPAPERSIZE=a0 - -%% Ghostscript (TeX Live -- both Unix and Windows) -%% keep this the same in dvipdfm and dvipdfmx. -%% can't use zcat because the pipe breaks on Windows; better to have -%% one config file. -D "rungs -q -dNOPAUSE -dBATCH -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dUseFlateCompression=true -sOutputFile=%o %i -c quit" - -%% Ghostscript (Unix/Linux): -%D "gs -q -dNOPAUSE -dBATCH -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dUseFlateCompression=true -sOutputFile=%o %i -c quit" - -%% Ghostscript (Win32): -%D "gswin32c -q -dNOPAUSE -dBATCH -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dUseFlateCompression=true -sOutputFile=%o %i -c quit" - -%% Ghostscript (TeX Live -- both Unix and Windows) -%% keep this -D "rungs -q -dNOPAUSE -dBATCH -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dUseFlateCompression=true -sOutputFile=%o %i -c quit" +D "ps2pdf -dCompatibilityLevel=%v -sPAPERSIZE=a0 -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode %i %o" %% Frank Siegert's PStill: %D "/usr/local/bin/pstill -c -o %o %i" @@ -186,23 +172,17 @@ D "rungs -q -dNOPAUSE -dBATCH -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityL %d 5 -%% %% Font Map Files %% +%% teTeX 2.x and TeXLive using updmap (pdfTeX format) +f pdftex.map -% For correct searching / text extraction of ligatures, etc., of cm -% fonts, which are given without an encoding in the map files. However, -% if the latin modern fonts are desired/used instead of bluesky, this -% won't be needed and should be removed. -f cm-dvipdfm-fix.map - -%% teTeX 2.x using updmap - -f dvipdfm.map +%% teTeX 2.x and TeXLive using updmap (DVIPDFM format) +%f dvipdfm.map +%% teTeX 2.x and TeXLive using updmap (DVIPS format) %% MiKTeX 2.2 and 2.3 - %f psfonts.map -%% Put additonal fontmap files here +%% Put additonal fontmap files here (usually for Type0 fonts) f cid-x.map |