summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfmx/dvipdfmx-20120420
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2012-08-18 03:29:55 +0000
committerKhaled Hosny <khaledhosny@eglug.org>2012-08-18 03:29:55 +0000
commitdb17d5c10a299313921c3b7abd582bd29fa5962c (patch)
tree4e799e9818be538ab315e1779f1ec50027bd33f2 /Build/source/texk/dvipdfmx/dvipdfmx-20120420
parent19cb3f89d4f6b2bdea83bec7df5f5b540601b9b0 (diff)
Prepare for flattening dvipdfmx
git-svn-id: svn://tug.org/texlive/trunk@27447 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfmx/dvipdfmx-20120420')
-rw-r--r--Build/source/texk/dvipdfmx/dvipdfmx-20120420/ChangeLog.PATCHES116
-rw-r--r--Build/source/texk/dvipdfmx/dvipdfmx-20120420/ChangeLog.TL313
-rw-r--r--Build/source/texk/dvipdfmx/dvipdfmx-20120420/ac/withenable.ac7
-rw-r--r--Build/source/texk/dvipdfmx/dvipdfmx-20120420/man/dvipdfm.1358
-rw-r--r--Build/source/texk/dvipdfmx/dvipdfmx-20120420/man/dvipdft.140
-rwxr-xr-xBuild/source/texk/dvipdfmx/dvipdfmx-20120420/src/dvipdft105
-rw-r--r--Build/source/texk/dvipdfmx/dvipdfmx-20120420/version.ac11
7 files changed, 950 insertions, 0 deletions
diff --git a/Build/source/texk/dvipdfmx/dvipdfmx-20120420/ChangeLog.PATCHES b/Build/source/texk/dvipdfmx/dvipdfmx-20120420/ChangeLog.PATCHES
new file mode 100644
index 00000000000..a3f68887592
--- /dev/null
+++ b/Build/source/texk/dvipdfmx/dvipdfmx-20120420/ChangeLog.PATCHES
@@ -0,0 +1,116 @@
+2012-05-21 Norbert Preining <preining@logic.at>
+
+ * patch-05-cid-x_map (new): add entries for rml-jis and gbm-jis
+
+2012-05-06 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
+
+ * patch-04-pdftex_map (new): Fix a typo in fontmap.c.
+ * fontmap.c: Allow pdftex.map without PS name.
+
+2012-04-27 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * patch-03-trivial (new): Reduce differences between dvipdfmx
+ and xdvipdfmx:
+ * cid.c, cidtype[02].c, truetype.c, tt_cmap.c, type1c.c:
+ Trivial modifications.
+
+2012-04-25 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * patch-02-MEM_DEBUG (new): Try to avoid mem_debug_check warning.
+ * spc_pdfm.c (spc_handler_pdfm_stream_with_type): Free fullname.
+ * mem.c: Increase MEM_LINE, avoid C99-ism, add tex-k@tug.org.
+
+2012-04-21 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * patch-01-texlive (new): Indicate this the TeX Live version.
+ * dvipdfmx.c (show_version): Print "modified for TeX Live,".
+
+2012-04-20 Norbert Preining <preining@logic.at>
+
+ Created snapshot 20120420.
+ * remove all patches but patch-00-cfg and include them in
+ proper dvipdfmx, add also the changelogs there.
+
+2012-03-29 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * patch-08-extern (new): Remove extern decls from *.c files.
+ * dpxfile.c: Drop obsolete comment that mkstemp may not be
+ declared in stdlib.h.
+ * spc_color.c: Drop 'extern' from function definition.
+ * error.h: ANSI C prototype for error_cleanup().
+ * error.c: Drop extern decl, now in error.h.
+ * dvipdfmx.c: Add '#include "error.h"' and drop extern decl.
+
+2012-03-05 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * patch-07-surrogates (new): Handle UTP-16 surrogates for UCS-4
+ supplementary planes. Based on patch from Tanaka Takuji-san.
+
+2012-01-17 Hironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
+
+ * patch-06-dtou (new): Support for (e-)(u)pTeX dtou direction.
+
+2011-11-05 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
+
+ * patch-04-uptex: remove incompatible lines and erase #ifdef upTeX.
+
+2011-10-18 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * patch-05-typo (new): Fix typo "featre" -> "feature".
+
+2011-09-07 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
+
+ * patch-04-uptex (new): (e-)upTeX support.
+
+2011-06-15 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * patch-02-exec_spawn (new): Bug fix for exec_spawn() from
+ Akira Kakuto <kakuto@fuk.kindai.ac.jp> and Peter Breitenlohner.
+
+ * patch-03-uint32_t (new): Portability fix (for AIX).
+
+2011-05-31 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * patch-01-manpage: Adapted to modified extractbb manpage.
+
+2011-05-09 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * ../dvipdfmx-20110311/data/dvipdfmx.cfg: Synched from Master.
+ * patch-00-cfg: Adapted (by Karl Berry <karl@tug.org>).
+
+2011-05-03 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ Imported snapshot 20110311.
+ * patch-04-dvipdfmx-20110311 (removed): Now included.
+ * patch-01-manpage (new): Update man/extractbb.1.
+
+2011-04-29 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * patch-00-cfg (new): Change dvipdfmx.cfg to use rungs instead of
+ the default ps2pdf -dSAFER, to avoid complete pstricks failure with
+ xetex.
+
+2011-03-11 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * patch-04-dvipdfmx-20110311 (new): From upstream.
+
+2011-03-09 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ Imported snapshot 20110309.
+ * patch-01-dpxfile, patch-02-manpage, patch-03-sys_wait_h
+ (removed): Now all in the distributed snapshot.
+
+2011-03-08 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * patch-03-sys_wait_h (new): Check for sys/wait.h, in order to
+ define HAVE_SYS_WAIT_H (required for src/dpxfile.c).
+
+2011-03-07 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ Imported snapshot 20110305.
+
+ * patch-01-dpxfile (new): Use concat3() instead of concatn().
+ Avoid compiler warnings: add const's; cast `unsigned char' to
+ `unsigned short' for printing.
+
+ * patch-02-manpage (new): Add ebb to NAME; better formatting.
diff --git a/Build/source/texk/dvipdfmx/dvipdfmx-20120420/ChangeLog.TL b/Build/source/texk/dvipdfmx/dvipdfmx-20120420/ChangeLog.TL
new file mode 100644
index 00000000000..d2096bb1f7b
--- /dev/null
+++ b/Build/source/texk/dvipdfmx/dvipdfmx-20120420/ChangeLog.TL
@@ -0,0 +1,313 @@
+2012-04-20 Norbert Preining <preining@logic.at>
+
+ Imported snapshot 20120420.
+ * version.ac, man/dvipdfm.1: Adapted.
+
+2011-12-06 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * Makefile.am: Replace ${prefix}/texmf => $(datarootdir)/texmf.
+
+2011-11-05 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
+
+ * dvi.c, spc-pdfm.c, tfm.c and vf.c: remove incompatible lines
+ with the non-upTeX case and erase #ifdef upTeX.
+
+2011-09-07 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
+
+ * dvi.c, spc-pdfm.c, tfm.c and vf.c: apply patches by Takuji Tanaka
+ in order to support (e)-upTeX. The (e)-upTeX support is enabled by
+ defining upTeX. In the case -DupTeX, the dvipdfmx must be compatible
+ with the old one, which can be obtained without -DupTeX.
+
+2011-06-15 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * version.ac: New file defining the dvipdfmx version.
+ * configure.ac: Adapt. (AC_TYPE_UINT32_T) Portability fix for AIX.
+ * dpxcrypt.c: Use headers as in configure test for uint32_t.
+
+2011-06-06 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * dpxfile.c (exec_spawn): Do not quote execvp() arguments.
+
+2011-06-03 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * dpxfile.c (exec_spawn): Exit if execvp() fails, some clean up.
+
+2011-06-03 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
+
+ * dpxfile.c: fix a bug in exec_spawn().
+
+2011-06-03 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * Makefile.am (mapdata*): Do install the map file, still needed
+ in pTeX.
+
+2011-06-01 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * Makefile.am (mapdata*): Don't install the map file.
+
+2011-05-30 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * doc/Makefile.am: Use ../am/bin_links.am for $(bindir) links.
+
+2011-05-03 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ Imported snapshot 20110311.
+ * configure.ac: Adapted.
+
+2011-03-09 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ Imported snapshot 20110309.
+ * configure.ac: Adapted.
+
+2011-03-08 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * configure.ac: Check for sys/wait.h, in order to define
+ HAVE_SYS_WAIT_H (required for src/dpxfile.c).
+
+2011-03-07 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * Makefile.am, configure.ac: Proxy build system for TeX Live,
+ using the dvipdfmx-20110305 distribution tree.
+ * dvipdfmx-20110305-PATCHES: New directory with patches applied
+ to the dvipdfmx-20110305 distribution.
+
+2011-02-28 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * src/pngimage.c (create_cspace_ICCBased): Avoid libpng-1.5.x
+ compiler warning.
+
+2011-02-15 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * src/Makefile.am [WIN32]: Add dvipdfmx.exe, ebb.exe, and
+ extractbb.exe wrappers for MinGW.
+
+2010-02-11 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * man: New directory with manual pages (from Master).
+ man/dvipdft.1 needs to be updated and man/dvipdfm.1 replaced by
+ man/dvipdfmx.1 (with a link to dvipdfm.1).
+ * Makefile.am, configure.ac: Adapted.
+
+ * man/extractbb.1, man/dvipdfm.1, dvipdft.1: Formatting.
+
+2010-12-30 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * src/dvipdfmx.c: Check for argv[0] with .exe via strcasecmp().
+
+2010-12-29 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * configure.ac, src/Makefile.am: Ignore shell script for WIN32.
+
+2010-06-10 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ Avoid using "%hu" with fscanf/sscanf, for older Solaris.
+ * src/pdfobj.c (pdf_open, check_for_pdf_version): Declare minor
+ as unsigned int for use with "%u".
+
+2010-06-08 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ Solaris9 doesn't support "%hhu".
+ * src/dpxfile.c (dpx_file_apply_filter):
+ Use (unsigned short) version with "%hu".
+ * src/pdfobj.c (pdf_open, check_for_pdf_version): Declare minor
+ as unsigned short for use with "%hu".
+
+2010-03-29 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * configure.ac: Remove AC_TYPE_SIZE_T, now part of KPSE_COMMON.
+
+2010-02-22 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * src/pngimage.c (check_for_png): Replace png_check_sig() by
+ png_sig_cmp() for libpng-1.4.
+ From Hanno Boeck <hanno@hboeck,de>.
+
+2010-02-20 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * src/sfnt.h: #define CHAR as SFNT_CHAR to avoid conflict with
+ CHAR from <winnt.h>.
+
+2009-11-07 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * configure.ac, src/dpxfile.c: Require recent kpathsea version.
+
+2009-09-02 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ Avoid more maximal compiler warnings:
+ * src/pst_obj.c (pst_new_mark, pst_release_obj, pst_parse_null):
+ Instead of casting a const string to non-const, make a copy and
+ later free the copy.
+
+2009-08-31 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ Avoid almost all maximal compiler warnings:
+ src/agl.c (agl_load_listfile),
+ src/cid.c (CIDFont_base_open),
+ src/cff_types.h (cff_dict_entry),
+ src/cff_dict.c (add_dict, cff_dict_add),
+ src/dpxutil.[ch] (read_c_escchar, read_c_litstrc,
+ parse_c_string, parse_c_ident, parse_float_decimal),
+ src/dvi.c (dvi_do_special, read_length, scan_special),
+ src/dvipdfmx.c (read_length, select_paper, select_pages,
+ do_args, read_config_file),
+ src/fontmap.c (skip_blank, parse_string_value,
+ parse_integer_value, fontmap_parse_mapdef_dpm,
+ fontmap_parse_mapdef_dps, pdf_read_fontmap_line,
+ is_pdfm_mapline, pdf_load_fontmap_file),
+ src/mpost.[ch] (mps_scan_bbox, skip_prolog, do_mpost_bind_def,
+ mp_parse_body, mps_exec_inline, mps_include_page, mps_do_page),
+ src/otl_conf.c (parse_uc_coverage, parse_substrule, parse_block),
+ src/otl_opt.c (parse_expr, otl_parse_optstring),
+ src/pdfdev.c (handle_multibyte_string, pdf_dev_set_string),
+ src/pdfdoc.c (name_dict, pdf_doc_init_names),
+ src/pdfencoding.c (load_encoding_file),
+ src/pdfobj.c (find_xref, parse_trailer, pdf_read_object,
+ read_objstm, pdf_get_object),
+ src/pdfparse.[ch] (save, skip_line, skip_white, parse_number,
+ parse_unsigned, parse_gen_ident, parse_ident, parse_val_ident,
+ parse_opt_ident, parse_pdf_number, pn_getc, parse_pdf_name,
+ parse_pdf_boolean, parse_pdf_null, ps_getescc,
+ parse_pdf_literal_string, parse_pdf_hex_string,
+ parse_pdf_string, parse_pdf_tainted_dict, parse_pdf_dict,
+ parse_pdf_array, parse_pdf_stream, parse_pdf_reference,
+ try_pdf_reference, parse_pdf_object),
+ src/spc_color.c (skip_blank, spc_color_check_special,
+ spc_color_setup_handler),
+ spc_dvips.c (parse_filename, spc_dvips_check_special,
+ spc_dvips_setup_handler),
+ src/spc_html.c (parse_key_val, read_html_tag, atopt,
+ spc_html__img_empty, cvt_a_to_tmatrix, spc_html_check_special,
+ spc_html_setup_handler),
+ src/spc_misc.c (spc_handler_postscriptbox,
+ spc_misc_check_special, spc_misc_setup_handler),
+ src/spc_pdfm.c (my_parse_pdf_dict, spc_pdfm_check_special,
+ spc_pdfm_setup_handler),
+ src/spc_tpic.c (skip_blank, spc_tpic_check_special,
+ spc_tpic_setup_handler),
+ src/spc_util.c (skip_blank),
+ src/specials.c (init_special, print_error),
+ src/specials.h (spc_arg), src/subfont.c (read_sfd_record):
+ Rewrite all parsing routines to operate on const strings.
+ Constify start/end pointer args and local vars.
+ Constify struct member strings. Drop or adjust casts.
+ Cast a few non-const start pointers to 'const char **'.
+ Use a few non-const local vars, not to modify const strings.
+
+2009-08-30 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ Avoid some more maximal compiler warnings.
+
+ * src/tt_post.[ch] (tt_post_table): Constify struct member
+ strings and drop casts.
+ (macglyphorder): Declare 'const char**' not 'const char*const*'.
+
+ * src/truetype.c (selectglyph): Use additional const string local
+ var and drop cast.
+
+ * src/dpxcrypt.[ch] (transform, MD5_write): Constify args.
+ * src/pdfencrypt.c (compute_user_password): Drop cast.
+
+ * src/fontmap.c (chop_sfd_name): Drop useless cast.
+ (substr): Constify string arg and local var.
+ (strip_options): Constify local var and drop cast.
+
+ * src/cmap_write.c (CMap_create_stream): Constify cast.
+ * src/pdfcolor.c (str2iccSig, iccp_check_colorspace,
+ iccp_get_rendering_intent, iccp_unpack_header,
+ iccp_get_checksum): Constify local vars and casts.
+ * src/pdfencoding.[ch] (pdf_encoding_new_encoding,
+ pdf_encoding_findresource): Constify args.
+ * src/pdfobj.c (pdf_out): Constify cast.
+ * src/specials.c (spc_exec_special): Drop useless casts.
+
+ * src/pdfdoc.c (pdf_doc_add_goto): Constify local vars.
+
+2009-08-28 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ Avoid some more compiler warnings.
+
+ * src/pdfobj.c (parse_xref_stream): Drop inner declaration of
+ size and use size_obj, not to shadow previous local (diff type).
+ Rename local index=>index_obj, not to shadow string function.
+
+2009-08-27 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ Avoid some more maximal compiler warnings.
+
+ * src/cff.[ch] (cff_get_sid, cff_add_string): Constify string arg.
+ * src/cidtype2.c (find_tocode_cmap), src/cmap.c (CMap_decode_char),
+ src/dpxfile.c (dpx_create_temp_file, dpx_file_apply_filter):
+ Constify local vars and drop casts.
+ * src/dpxutil.c (get_hash): Constify cast.
+ * src/pdfnames.c (cmp_key), src/t1_char.c (stem_compare),
+ tt_glyf.c (glyf_cmp): Constify local vars and adjust casts.
+ * src/t1_load.[ch] (t1_get_standard_glyph): Constify return
+ type and drop cast.
+ * src/type1.c (pdf_font_load_type1): Constify local vars.
+ * src/cidtype0.c (CIDFont_type0_t1cdofont,
+ CIDFont_type0_t1dofont): Drop casts.
+
+2009-08-26 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ Avoid some maximal compiler warnings.
+
+ * src/mfileio.c (os_error),
+ src/pdfencoding.c (pdf_encoding_complete):
+ ANSI C function definitions, i.e., '()'=>'(void)'.
+
+ * src/agl.c (skip_capital, skip_modifier): Constify string args.
+ (is_smallcap, agl_name_convert_unicode, put_unicode_glyph,
+ agl_sput_UTF16BE, agl_get_unicodes): Constify local strings
+ and drop casts.
+ * src/xbb.c (extensions): Constify global strings.
+
+2009-07-17 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * src/pdfximage.h: add prototype for pdf_ximage_get_subtype.
+
+2009-06-20 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * Makefile.am (AM_CFLAGS): enable compiler warnings.
+ * src/pdfobj.c (pdf_file_new): declare as static.
+
+2009-06-05 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * configure.ac: replace '--enable-tetex-build' by
+ '--enable-texlive-build' (automatic if configured as part of the
+ TeXLive tree).
+
+2009-06-04 Karl Berry <karl@tug.org>
+
+ * src/Makefile.am (dist_bin_SCRIPTS): dvipdft.
+ * src/dvipdft: revised script from Matthias to replace
+ version in dvipdfm.
+
+2009-05-27 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ Adapt to TL2009 build system.
+
+2009-05-15 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * pdfdoc.c (pdf_doc_get_page): Avoid C99isms
+ (variable declaration not at the beginning of a block).
+
+ From Vladimir Volovich <vvv@vsu.ru>
+
+2009-03-16 Peter Breitenlohner <peb@mppmu.mpg.de>
+ * src/cff.c, src/dpxutil.c, src/mem.c, src/pdfencoding.c,
+ src/pdfencrypt.c: Must include Kpathsea headers (via `system.h')
+ before including `mem.h'.
+
+2008-04-06 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * configure.in: respect library dependencies.
+
+2008-03-04 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * Makefile.am: added `ACLOCAL_AMFLAGS -I m4'
+ * configure.in: moved macro definitions ...
+ * m4/maw-time.m4 (new): ... to here
+ * acinclude.m4 (removed): moved macro definitions ...
+ * m4/maw-kpse.m4, maw-libs.m4 (both new): ... to here; these
+ files are the same as in ../xdvipdfmx.
diff --git a/Build/source/texk/dvipdfmx/dvipdfmx-20120420/ac/withenable.ac b/Build/source/texk/dvipdfmx/dvipdfmx-20120420/ac/withenable.ac
new file mode 100644
index 00000000000..6233831bc89
--- /dev/null
+++ b/Build/source/texk/dvipdfmx/dvipdfmx-20120420/ac/withenable.ac
@@ -0,0 +1,7 @@
+## texk/dvipdfmx/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/dvipdfmx/
+dnl
+dnl Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
+dnl You may freely use, modify and/or distribute this file.
+dnl
+## configure options and TL libraries required for dvipdfmx
+KPSE_ENABLE_PROG([dvipdfmx], [kpathsea libpng])
diff --git a/Build/source/texk/dvipdfmx/dvipdfmx-20120420/man/dvipdfm.1 b/Build/source/texk/dvipdfmx/dvipdfmx-20120420/man/dvipdfm.1
new file mode 100644
index 00000000000..b72633f76ae
--- /dev/null
+++ b/Build/source/texk/dvipdfmx/dvipdfmx-20120420/man/dvipdfm.1
@@ -0,0 +1,358 @@
+.de EX
+.sp
+.in +5
+.nf
+.ft CW
+..
+.de EE
+.in -5
+.ft R
+.sp
+.fi
+..
+.TH "DVIPDFM" "1" "28 April 2011" "20120420" "DVIPDFMx"
+.SH NAME
+dvipdfm \- produce PDF files directly from DVI files
+
+.SH SYNOPSIS
+.B dvipdfm
+.RI [ options ]
+.I file\c
+.RB [ .dvi ]
+
+.SH DESCRIPTION
+In TeX Live,
+.B dvipdfm
+is another incarnation of
+.B dvipdfmx
+rather than a separate program. Compatibility is attempted as best as
+possible. (The change was made due to duplicated security and
+configuration issues arising repeatedly.) Please report problems with
+this
+.B dvipdfm
+to the
+.B dvipdfmx
+maintainers at dvipdfmx (at) ktug.or.kr.
+
+The program
+.B dvipdfm
+generates a
+.SM PDF
+file from a
+.SM DVI
+file.
+.SM DVI
+files are the output format
+produced by TeX.
+Output from
+.B groff
+can be converted to
+.SM DVI
+format
+using
+.BR grodvi .
+
+The program
+.B dvipdfm
+recognizes several commonly used
+.BR \especial
+commands, which are extensions to the
+.SM DVI
+format.
+Specifically, it understands
+color specials, papersize specials,
+tpic specials (which allow it to be used with
+.BR pic ),
+hypertex specials, and some PostScript
+specials. These extensions allow documents
+to contain color, figures, and hyperlinks.
+The program tries to mimic
+the behavior of
+.B dvips
+so that many
+macro packages produced for use with
+.B dvips
+will work with
+.B dvipdfm.
+Dvipdfm understands its own specific
+.B \especial
+commands to allow access to PDF features
+such as annotations and bookmarks.
+
+For issues related to bounding boxes (and hence image sizes), please see
+.BR extractbb (1).
+
+.SH OPTIONS
+
+.TP 5
+.B \-\^c
+Ignore color
+.BR \especials .
+The
+.B \-\^c
+toggles a flag that disables color
+.B \especial
+processing.
+Unless changed in the configuration file,
+that flag is off, and color
+.BR \especial "s"
+are interpreted normally.
+The
+.B \-\^c
+option may be used to produce a black and white document
+from a document containing color TeX
+.B \especial
+commands.
+
+.TP 5
+.B \-\^d
+Remove thumbnail images after including them.
+(See the
+.B \-\^t
+option for more information.)
+
+.TP 5
+.B \-\^e
+Toggle partial font embedding flag. If partial
+font embedding is off, embedded fonts are
+.I fully
+embedded.
+The default, if not changed in the configuration file,
+is to embed only those glyphs actually used in the document.
+
+.TP 5
+.B \-\^f map_file
+Set the name of the font map file to
+.IR map_file .
+The format of the font map file
+is documented in the
+.IR "Dvipdfm User's Manual" .
+
+.TP 5
+.B \-\^l
+Select landscape mode. In other words, exchange the
+.I x
+and
+.I y
+dimensions of the paper.
+
+.TP 5
+.B \-\^m " mag"
+Magnify the input document by
+.IR mag .
+
+.TP 5
+.B \-\^o " name"
+Generate PDF output file having the name
+.IR name .
+By default, the name of the output
+file is
+.IR file .pdf.
+
+.TP 5
+.B \-\^p " paper"
+Select the papersize by name (e.g.,
+.BR letter ", " legal ", " ledger ", " tabloid ", " a3 ", " a4 ", or " a5
+)
+
+.TP 5
+.B \-\^r " size"
+Set resolution of bitmapped fonts to
+.B size
+dots per inch. Bitmapped fonts are generated
+by the Kpathsea library, which uses Metafont. Bitmapped
+fonts are included as type 3 fonts in the PDF output file.
+
+.TP 5
+.B \-\^s " page_specifications"
+Select the pages of the
+.SM DVI
+file to be converted.
+The
+.I page_specifications
+consists of a comma separated list of
+.I page_ranges:
+
+.EX
+.IR "page_specifications := page_specification" "[," page_specifications "]"
+.EE
+
+where
+
+.EX
+.IR "page_specification := single_page" | page_range
+
+.IR "page_range := " [ first_page ]\^\-\^[ last_page ]
+.EE
+
+An empty
+.I first_page
+is implied to be the first page of the
+.SM DVI
+file.
+An empty
+.I last_page
+is treated as the last page of the
+.SM DVI
+file.
+
+Examples:
+.RS
+.TP 5
+.B "\-\^s 1,3,5"
+includes pages 1, 3, and 5;
+.TP 5
+.B "\-\^s \-"
+includes all pages;
+.TP 5
+.B "\-\^s \-,\-"
+includes two copies of all pages in the
+.SM DVI
+file;
+and
+.TP 5
+.B "\-\^s 1\-10"
+includes the first ten pages of the
+.SM DVI
+file.
+.RE
+.TP 5
+.B \-\^t
+Search for thumbnail images of each page
+in the directory named by the
+.B TMPDIR
+environment variable.
+The thumbnail images must be named in a specific format.
+They must have the same base name
+as the
+.SM DVI
+file and they must have the page number as the extension
+to the file name. Dvipdfm does not
+generate the thumbnails itself, but it is distributed with a wrapper
+program named
+.B dvipdft
+that does so.
+
+.TP 5
+.B \-\^v
+Increase verbosity.
+Results of the
+.B \-\^v
+option are cumulative (e.g.,
+.B \-\^vv
+) increases the verbosity by two increments.
+
+.TP 5
+.B \-\^x x_offset
+Set the left margin to
+.IR x_offset .
+The default left margin is
+.BR 1.0in .
+The dimension may be specified in any units understood by TeX (e.g.,
+.BR bpt ", " pt ", " in ", " cm
+)
+
+.TP 5
+.B \-\^y y_offset
+Set the top margin to
+.IR y_offset .
+The default top margin is
+.BR 1.0in .
+The dimension may be specified in any units understood by TeX (e.g.,
+.BR bpt ", " pt ", " in ", " cm
+)
+
+.TP 5
+.B \-\^z compression_level
+Set the compression level to
+.IR compression_level .
+Compressions levels range from 0 (no compression) to
+9 (maximum compression) and correspond to the values understood by zlib.
+
+.SH "IMAGE BOUNDING BOXES"
+
+When including images with
+.BR dvipdfm ,
+their bounding boxes should be generated by running
+.BR ebb ,
+or extractbb -m.
+The result will be in an
+.B .bb
+file.
+
+When including images with
+.BR dvipdfmx ,
+their bounding boxes should be generated by running
+.BR extractbb .
+The result will be in an
+.B .xbb
+file; the xbb information is the same as for the PDF format.
+
+.SH ENVIRONMENT
+
+.B Dvipdfm
+uses the
+.B kpathsea
+library for locating the files that it opens. Hence,
+the environment variables documented in the
+.I Kpathsea library
+documentation influence
+.B dvipdfm.
+
+Dvipdfm also reads the following environment variables:
+
+.TP 5
+TMP
+The directory to search for thumbnail images of each page.
+
+.SH FILES
+The precise location of the following files is determined by the
+.I Kpathsea library
+configuration. The location may be determined by using kpsewhich, e.g.,
+.nf
+.B kpsewhich \-progname=dvipdfm \-format='other text files' config
+.fi
+
+.TP 5
+.I config
+Startup options
+
+.TP 5
+.I t1fonts.map
+The default font map file (this name may be changed in the config file).
+
+.TP 5
+.I *.tfm
+TeX font metrics
+
+.TP 5
+.I *.vf
+TeX virtual font files
+
+.TP 5
+.I *.pfb
+PostScript Type 1 font files
+
+.TP 5
+.I
+texmf.cnf
+The Kpathsea library configuration file.
+The location of this file may be found by typing
+.nf
+.B kpsewhich texmf.cnf
+.fi
+
+
+.SH "SEE ALSO"
+.BR dvipdft "(1), "
+.BR tex "(1), " dvips "(1), " groff "(1), " grodvi "(1), " pic "(1), "
+.BR extractbb "(1), "
+and the
+.I "Kpathsea library"
+info documentation.
+
+.SH AUTHOR
+Mark A. Wicks. But for the version in TeX Live, all bugs and other
+reports should go to the
+.B dvipdfmx
+maintainers at dvipdfmx (at) ktug.or.kr.
diff --git a/Build/source/texk/dvipdfmx/dvipdfmx-20120420/man/dvipdft.1 b/Build/source/texk/dvipdfmx/dvipdfmx-20120420/man/dvipdft.1
new file mode 100644
index 00000000000..50646022ef0
--- /dev/null
+++ b/Build/source/texk/dvipdfmx/dvipdfmx-20120420/man/dvipdft.1
@@ -0,0 +1,40 @@
+.TH "dvipdft" "1" "May 2004" "teTeX" "teTeX"
+.PP
+.SH "NAME"
+dvipdft \- create thumbnail images for use with dvipdfm
+.PP
+.SH "SYNOPSIS"
+.PP
+.B dvipdft
+.RI [ DVIPDFM-OPTIONS \&.\&.\&.]
+.I filename\c
+.RB [ .dvi ]
+.PP
+.SH "DESCRIPTION"
+.PP
+.B dvipdft
+creates thumbnail pictures of the pages in your file
+and subsequently runs dvipdfm to create a PDF file with these
+thumbnails.
+.PP
+.SH "OPTIONS"
+.HP
+All options are simply handed on to dvipdfm
+.HP
+.SH "SEE ALSO"
+.IP
+\fBdvipdfm\fP(1)
+.PP
+.SH "BUGS"
+.PP
+None known\&.
+.PP
+.SH "AUTHOR"
+.PP
+\fBdvipdft\fP was written by Mark A. Wicks and Thomas Esser.
+.PP
+This manual page was written by Frank K\[:u]ster <frank@kuesterei\&.ch>,
+for the Debian GNU/Linux system\&. It may be used by others without
+contacting the author\&. Any mistakes or omissions in the manual page
+are my fault; inquiries about or corrections to this manual page
+should be directed to me (and not to the primary author)\&.
diff --git a/Build/source/texk/dvipdfmx/dvipdfmx-20120420/src/dvipdft b/Build/source/texk/dvipdfmx/dvipdfmx-20120420/src/dvipdft
new file mode 100755
index 00000000000..3bcd0027db1
--- /dev/null
+++ b/Build/source/texk/dvipdfmx/dvipdfmx-20120420/src/dvipdft
@@ -0,0 +1,105 @@
+#!/bin/sh
+# dvipdft, completely rewritten by Thomas Esser for teTeX after an
+# original script by Mark A. Wicks
+#
+# Thomas Esser. Public Domain.
+#
+# Modified by Matthias Franz for dvipdfmx (when running as dvipdfm) and
+# TeX Live.
+
+# This script makes a first (fast) run with dvipdfm, then calls gs on
+# the resulting pdf file to get the thumbnails and finally calls dvipdfm.
+
+progname=dvipdft
+version=20090604.0046
+
+# set trap for error
+trap '
+ echo "$progname: fatal error." >&2
+ exit 1
+' 1
+
+test -f /bin/sh5 && test -z "$RUNNING_SH5" \
+ && { UNAMES=`uname -s`; test "x$UNAMES" = xULTRIX; } 2>/dev/null \
+ && { RUNNING_SH5=true; export RUNNING_SH5; exec /bin/sh5 $0 ${1+"$@"}; }
+unset RUNNING_SH5
+
+test -f /bin/bsh && test -z "$RUNNING_BSH" \
+ && { UNAMES=`uname -s`; test "x$UNAMES" = xAIX; } 2>/dev/null \
+ && { RUNNING_BSH=true; export RUNNING_BSH; exec /bin/bsh $0 ${1+"$@"}; }
+unset RUNNING_BSH
+
+# hack around a bug in zsh:
+test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"'
+
+help="Usage: $progname [options] dvifile
+ $progname --help
+ $progname --version"
+
+quoteit()
+{
+ echo "x$1" | sed "s@.@@; s@'@'\\\\''@; s@^@'@; s@\$@'@"
+}
+
+# process args 1 to (n-1) and scan for a -o argument keep a properly
+# quoted backup of the options, so that they can be restored later
+unset s outfile
+while test $# -gt 1; do
+ case $1 in
+ -o) outfile=$2;;
+ esac
+ s="$s${s+ }"`quoteit "$1"`
+ shift
+done
+
+# check for last argument
+case $1 in
+ --help)
+ echo "$help"
+ exit 0
+ ;;
+ --version)
+ echo "$progname version $version by Thomas Esser and others"
+ exit 0
+ ;;
+ "")
+ echo "$help"
+ exit 1
+ ;;
+esac
+
+# args 1 to (n-1) are gone, last one must be the dvifile
+dvifile="$1"
+
+# outfile comes from -o argument, else it is derived from the input file
+test -n "$outfile" \
+ || outfile=`echo "$dvifile" | sed 's@.*/@@; s@\.dvi$@@; s@$@.pdf@'`
+
+# outBase is part of the thumbname files just as dvipdfm expects them:
+outBase=`echo "$outfile" | sed 's@\.pdf$@@'`
+
+ls "$outBase".[1-9]* >/dev/null 2>&1 && {
+ echo "$progname: Please move the following files out of the way:" >&2
+ ls "$outBase".[1-9]* >&2
+ exit 1
+}
+
+# restore args 1 to (n-1):
+eval set x "$s"; shift
+
+# set trap for cleanup
+trap '
+ rm -f "$outBase".[1-9]*
+' 0
+
+# Run dvipdfm with the fastest options for the first pass
+echo "$progname: running dvipdfm $@ -z0 $dvifile" >&2
+dvipdfm ${1+"$@"} -z0 "$dvifile"
+
+# run gs
+echo "$progname: running gs" >&2
+gs -r10 -dNOPAUSE -dBATCH -sDEVICE=png256 -sOutputFile="$outBase.%d" "$outfile"
+
+# run dvipdfm with the users specified options for the last pass
+echo "$progname: running dvipdfm -t $@ $dvifile" >&2
+dvipdfm ${1+"$@"} -t "$dvifile"
diff --git a/Build/source/texk/dvipdfmx/dvipdfmx-20120420/version.ac b/Build/source/texk/dvipdfmx/dvipdfmx-20120420/version.ac
new file mode 100644
index 00000000000..d4bdfae37be
--- /dev/null
+++ b/Build/source/texk/dvipdfmx/dvipdfmx-20120420/version.ac
@@ -0,0 +1,11 @@
+dnl
+dnl Copyright (C) 2011 Peter Breitenlohner <tex-live@tug.org>
+dnl
+dnl This file is free software; the copyright holder
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+dnl
+dnl --------------------------------------------------------
+dnl
+dnl m4-include this file to define the current dvipdfmx version
+m4_define([dvipdfmx_version], [20120420])