[tldistro] patches for TeX Live 2014?

Norbert Preining preining at logic.at
Tue Apr 29 12:35:33 CEST 2014


Hi Karl, hi everyone,

> If any of you have patches in your distros for TeX-related stuff that
> should be considered upstream, now (or earlier :) is the time.

Here is our (Debian) bunch that might be useful for upstream,
or other distros:

I split them into three batches:

* patches to the sources
========================
Here we have two patches, both of which should probably included:
- mendex-snprintf
  replace sprintf with snprintf in mendex
- relax-zlib-version-check
  (from an email to upstream luazlib author, not luatex)
  The version check is very strict, it checks even the minor version of
  the zlib. This causes a disfunction in luatex in case people upgrade
  their zlib version (see http://bugs.debian.org/581818 and friends).

  Is there a specific reason why the check is that strict? Do you
   hink it is possible to untighten it and check only the major version
  of the zlib (i.e. turn the 5 above into a 3)?

* factorization of paper configuration
======================================
Here we splitted out the code that configures the paper size
for dvipdfmx, dvips, pdftex, xdvi so that the paper configuration
is in a separate file for the five programs, and included inthe
main config file. THis way in Debian we can update the paper size
in file in /etc/... which only contain this one directive, and not
the full config file (admins tend to break things in dvipdfmx.cfg etc).

These patches might not be soo useful for TeX Live itself, but for
other distros it might help. Using these patches one has to
either patch also TLPaper or override the %paper_config_name hash
when using TLPaper.pm, as we do in our Debian program "tl-paper":
...
# overwrite the default paper config settings
our %paper_config_name = (
  "xdvi"     => "XDvi-paper",
  "pdftex"   => "pdftexconfig-paper.tex",
  "dvips"    => "config-paper.ps",
  "dvipdfmx" => "dvipdfmx-paper.cfg",
  "dvipdfm"  => "config-paper",
  "context"  => "cont-sys-paper.tex",
);


* upupstream patches
====================
The biggest bunch are fixes to upupstream, that somehow have never
been fixed, although most of them (but I am not sure whether all!)
have been reproted upupstream:
- fix-invoice: replace \input with \RequirePackage
- fix-mf2pt1-info: fixes the INFO-DIR-SECTION entry
- fix-natbib-add-spaces: natbib adds extra spaces, fix that
- latex2man-mktemp: use mktemp instead of hard-coded tmpf-file path
- mptopdf-manpage-fixes: some format fixes for this manpage
- tmp-dir-for-pdfjam: use TMPDIR instead of /tmp hard coded
- ulqda-use-digest-sha: use "use Digest:SHA" instead of "..::SHA1"
- upstream_fix_babel_french_days: fix a bug in babelbib/spanish.ldf
  (don't ask me the strange name of the patch!)

--------------------

There are some more, but these are about integration into Debian.

If we could fix the upupstream patches somehow upupstream, and get the
source patches into TL, that would be great. THe paper factorization
is a matter of taste, I agree.

All the best

Norbert

------------------------------------------------------------------------
PREINING, Norbert                               http://www.preining.info
JAIST, Japan                                 TeX Live & Debian Developer
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13
------------------------------------------------------------------------
-------------- next part --------------
---
 texk/mendexk/ChangeLog |    4 +
 texk/mendexk/fwrite.c  |  105 +++++++++++++++++++++++++------------------------
 2 files changed, 58 insertions(+), 51 deletions(-)

--- texlive-bin.orig/texk/mendexk/ChangeLog
+++ texlive-bin/texk/mendexk/ChangeLog
@@ -1,3 +1,7 @@
+2013-09-11  Norbert Preining  <preining at logic.at>
+
+	* fwrite.c: replace sprintf with snprintf
+
 2013-11-16  Akira Kakuto  <kakuto at fuk.kindai.ac.jp>
 
 	* fread.c: Allow lines with only a line ending in mfgets(),
--- texlive-bin.orig/texk/mendexk/fwrite.c
+++ texlive-bin/texk/mendexk/fwrite.c
@@ -10,12 +10,15 @@
 
 int line_length=0;
 
+#define BUFFERLEN 4096
+
 static void printpage(struct index *ind, FILE *fp, int num, char *lbuff);
 static int range_check(struct index ind, int count, char *lbuff);
 static void linecheck(char *lbuff, char *tmpbuff);
 static void crcheck(char *lbuff, FILE *fp);
 
 #define TAIL(x) ((x)+strlen(x))
+#define TAIL_LEN(x) ((x)+strlen(x)), (BUFFERLEN-strlen(x))
 
 /* if we don't have vsnprintf() */
 /* #define vsnprintf(buff,len,format,argptr) vsprintf(buff,format,argptr) */
@@ -67,7 +70,7 @@
 void indwrite(char *filename, struct index *ind, int pagenum)
 {
 	int i,j,hpoint=0;
-	char datama[256],lbuff[4096];
+	char datama[256],lbuff[BUFFERLEN];
 	FILE *fp;
 
 	if (filename[0]!='\0' && kpse_out_name_ok(filename)) fp=fopen(filename,"wb");
@@ -99,7 +102,7 @@
 						fprintf(fp,"%s%s%s",lethead_prefix,symhead_negative,lethead_suffix);
 					}
 				}
-				sprintf(lbuff,"%s%s",item_0,ind[i].idx[0]);
+				snprintf(lbuff, BUFFERLEN, "%s%s",item_0,ind[i].idx[0]);
 			}
 			else if (alphabet(ind[i].dic[0][0])) {
 				if (lethead_flag>0) {
@@ -108,7 +111,7 @@
 				else if (lethead_flag<0) {
 					fprintf(fp,"%s%c%s",lethead_prefix,ind[i].dic[0][0]+32,lethead_suffix);
 				}
-				sprintf(lbuff,"%s%s",item_0,ind[i].idx[0]);
+				snprintf(lbuff, BUFFERLEN, "%s%s",item_0,ind[i].idx[0]);
 			}
 			else if (japanese(ind[i].dic[0])) {
 				if (lethead_flag) {
@@ -125,7 +128,7 @@
 					}
 					fputs(lethead_suffix,fp);
 				}
-				sprintf(lbuff,"%s%s",item_0,ind[i].idx[0]);
+				snprintf(lbuff, BUFFERLEN, "%s%s",item_0,ind[i].idx[0]);
 				for (hpoint=0;hpoint<(strlen(datama)/2);hpoint++) {
 					if ((unsigned char)ind[i].dic[0][1]<(unsigned char)datama[hpoint*2+1]) {
 						break;
@@ -134,18 +137,18 @@
 			}
 			switch (ind[i].words) {
 			case 1:
-				sprintf(TAIL(lbuff),"%s",delim_0);
+				snprintf(TAIL_LEN(lbuff), "%s",delim_0);
 				break;
 
 			case 2:
-				sprintf(TAIL(lbuff),"%s%s",item_x1,ind[i].idx[1]);
-				sprintf(TAIL(lbuff),"%s",delim_1);
+				snprintf(TAIL_LEN(lbuff), "%s%s",item_x1,ind[i].idx[1]);
+				snprintf(TAIL_LEN(lbuff), "%s",delim_1);
 				break;
 
 			case 3:
-				sprintf(TAIL(lbuff),"%s%s",item_x1,ind[i].idx[1]);
-				sprintf(TAIL(lbuff),"%s%s",item_x2,ind[i].idx[2]);
-				sprintf(TAIL(lbuff),"%s",delim_2);
+				snprintf(TAIL_LEN(lbuff),"%s%s",item_x1,ind[i].idx[1]);
+				snprintf(TAIL_LEN(lbuff),"%s%s",item_x2,ind[i].idx[2]);
+				snprintf(TAIL_LEN(lbuff),"%s",delim_2);
 				break;
 
 			default:
@@ -201,41 +204,41 @@
 
 			switch (ind[i].words) {
 			case 1:
-				sprintf(TAIL(lbuff),"%s%s%s",item_0,ind[i].idx[0],delim_0);
+				snprintf(TAIL_LEN(lbuff),"%s%s%s",item_0,ind[i].idx[0],delim_0);
 				break;
 
 			case 2:
 				if (strcmp(ind[i-1].idx[0],ind[i].idx[0])!=0 || strcmp(ind[i-1].dic[0],ind[i].dic[0])!=0) {
-					sprintf(TAIL(lbuff),"%s%s%s",item_0,ind[i].idx[0],item_x1);
+					snprintf(TAIL_LEN(lbuff),"%s%s%s",item_0,ind[i].idx[0],item_x1);
 				}
 				else {
 					if (ind[i-1].words==1) {
-						sprintf(TAIL(lbuff),"%s",item_01);
+						snprintf(TAIL_LEN(lbuff),"%s",item_01);
 					}
 					else {
-						sprintf(TAIL(lbuff),"%s",item_1);
+						snprintf(TAIL_LEN(lbuff),"%s",item_1);
 					}
 				}
-				sprintf(TAIL(lbuff),"%s",ind[i].idx[1]);
-				sprintf(TAIL(lbuff),"%s",delim_1);
+				snprintf(TAIL_LEN(lbuff),"%s",ind[i].idx[1]);
+				snprintf(TAIL_LEN(lbuff),"%s",delim_1);
 				break;
 
 			case 3:
 				if (strcmp(ind[i-1].idx[0],ind[i].idx[0])!=0 || strcmp(ind[i-1].dic[0],ind[i].dic[0])!=0) {
-					sprintf(TAIL(lbuff),"%s%s",item_0,ind[i].idx[0]);
-					sprintf(TAIL(lbuff),"%s%s%s",item_x1,ind[i].idx[1],item_x2);
+					snprintf(TAIL_LEN(lbuff),"%s%s",item_0,ind[i].idx[0]);
+					snprintf(TAIL_LEN(lbuff),"%s%s%s",item_x1,ind[i].idx[1],item_x2);
 				}
 				else if (ind[i-1].words==1) {
-					sprintf(TAIL(lbuff),"%s%s%s",item_01,ind[i].idx[1],item_x2);
+					snprintf(TAIL_LEN(lbuff),"%s%s%s",item_01,ind[i].idx[1],item_x2);
 				}
 				else if (strcmp(ind[i-1].idx[1],ind[i].idx[1])!=0 || strcmp(ind[i-1].dic[1],ind[i].dic[1])!=0) {
-					if (ind[i-1].words==2) sprintf(TAIL(lbuff),"%s%s%s",item_1,ind[i].idx[1],item_12);
-					else sprintf(TAIL(lbuff),"%s%s%s",item_1,ind[i].idx[1],item_x2);
+					if (ind[i-1].words==2) snprintf(TAIL_LEN(lbuff),"%s%s%s",item_1,ind[i].idx[1],item_12);
+					else snprintf(TAIL_LEN(lbuff),"%s%s%s",item_1,ind[i].idx[1],item_x2);
 				}
 				else {
-					sprintf(TAIL(lbuff),"%s",item_2);
+					snprintf(TAIL_LEN(lbuff),"%s",item_2);
 				}
-				sprintf(TAIL(lbuff),"%s%s",ind[i].idx[2],delim_2);
+				snprintf(TAIL_LEN(lbuff),"%s%s",ind[i].idx[2],delim_2);
 				break;
 
 			default:
@@ -253,7 +256,7 @@
 static void printpage(struct index *ind, FILE *fp, int num, char *lbuff)
 {
 	int i,j,k,cc;
-	char buff[4096],tmpbuff[4096],errbuff[4096];
+	char buff[BUFFERLEN],tmpbuff[BUFFERLEN],errbuff[BUFFERLEN];
 
 	buff[0]=tmpbuff[0]='\0';
 
@@ -272,25 +275,25 @@
 				|| ind[num].p[j].enc[0]==range_close)
 				ind[num].p[j].enc++;
 			if (strlen(ind[num].p[j].enc)>0) {
-				sprintf(buff,"%s%s%s",encap_prefix,ind[num].p[j].enc,encap_infix);
+				snprintf(buff,"%s%s%s",encap_prefix,ind[num].p[j].enc,encap_infix);
 			}
 			if (strlen(suffix_3p)>0 && (pnumconv(ind[num].p[cc].page,ind[num].p[cc].attr[0])-pnumconv(ind[num].p[j].page,ind[num].p[j].attr[0]))==2) {
-				sprintf(TAIL(buff),"%s%s",ind[num].p[j].page,suffix_3p);
+				snprintf(TAIL_LEN(buff),"%s%s",ind[num].p[j].page,suffix_3p);
 			}
 			else if (strlen(suffix_mp)>0 && (pnumconv(ind[num].p[cc].page,ind[num].p[cc].attr[0])-pnumconv(ind[num].p[j].page,ind[num].p[j].attr[0]))>=2) {
-				sprintf(TAIL(buff),"%s%s",ind[num].p[j].page,suffix_mp);
+				snprintf(TAIL_LEN(buff),"%s%s",ind[num].p[j].page,suffix_mp);
 			}
 			else if (strlen(suffix_2p)>0 && (pnumconv(ind[num].p[cc].page,ind[num].p[cc].attr[0])-pnumconv(ind[num].p[j].page,ind[num].p[j].attr[0]))==1) {
-				sprintf(TAIL(buff),"%s%s",ind[num].p[j].page,suffix_2p);
+				snprintf(TAIL_LEN(buff),"%s%s",ind[num].p[j].page,suffix_2p);
 			}
 			else {
-				sprintf(TAIL(buff),"%s%s",ind[num].p[j].page,delim_r);
-				sprintf(TAIL(buff),"%s",ind[num].p[cc].page);
+				snprintf(TAIL_LEN(buff),"%s%s",ind[num].p[j].page,delim_r);
+				snprintf(TAIL_LEN(buff),"%s",ind[num].p[cc].page);
 			}
-			sprintf(TAIL(tmpbuff),"%s",buff);
+			snprintf(TAIL_LEN(tmpbuff),"%s",buff);
 			buff[0]='\0';
 			if (strlen(ind[num].p[j].enc)>0) {
-				sprintf(TAIL(tmpbuff),"%s",encap_suffix);
+				snprintf(TAIL_LEN(tmpbuff),"%s",encap_suffix);
 			}
 			linecheck(lbuff,tmpbuff);
 			j=cc;
@@ -298,53 +301,53 @@
 				goto PRINT;
 			}
 			else {
-				sprintf(TAIL(tmpbuff),"%s",delim_n);
+				snprintf(TAIL_LEN(tmpbuff),"%s",delim_n);
 				linecheck(lbuff,tmpbuff);
 			}
 		}
 		else if (strlen(ind[num].p[j].enc)>0) {
 /* normal encap */
 			if (ind[num].p[j].enc[0]==range_close) {
-				sprintf(errbuff,"Warning: Unmatched range closing operator \'%c\',",range_close);
-				for (i=0;i<ind[num].words;i++) sprintf(TAIL(errbuff),"%s.",ind[num].idx[i]);
+				sprintf(errbuff, "Warning: Unmatched range closing operator \'%c\',",range_close);
+				for (i=0;i<ind[num].words;i++) snprintf(TAIL_LEN(errbuff),"%s.",ind[num].idx[i]);
 				warn_printf(efp, "%s\n", errbuff);
 				ind[num].p[j].enc++;
 			}
 			if (strlen(ind[num].p[j].enc)>0) {
-				sprintf(TAIL(tmpbuff),"%s%s%s",encap_prefix,ind[num].p[j].enc,encap_infix);
-				sprintf(TAIL(tmpbuff),"%s%s%s",ind[num].p[j].page,encap_suffix,delim_n);
+				snprintf(TAIL_LEN(tmpbuff),"%s%s%s",encap_prefix,ind[num].p[j].enc,encap_infix);
+				snprintf(TAIL_LEN(tmpbuff),"%s%s%s",ind[num].p[j].page,encap_suffix,delim_n);
 				linecheck(lbuff,tmpbuff);
 			}
 			else {
-				sprintf(TAIL(tmpbuff),"%s%s",ind[num].p[j].page,delim_n);
+				snprintf(TAIL_LEN(tmpbuff),"%s%s",ind[num].p[j].page,delim_n);
 				linecheck(lbuff,tmpbuff);
 			}
 		}
 		else {
 /* no encap */
-			sprintf(TAIL(tmpbuff),"%s%s",ind[num].p[j].page,delim_n);
+			snprintf(TAIL_LEN(tmpbuff),"%s%s",ind[num].p[j].page,delim_n);
 			linecheck(lbuff,tmpbuff);
 		}
 	}
 
 	if (ind[num].p[j].enc[0]==range_open) {
 		sprintf(errbuff,"Warning: Unmatched range opening operator \'%c\',",range_open);
-		for (k=0;k<ind[num].words;k++) sprintf(TAIL(errbuff),"%s.",ind[num].idx[k]);
+		for (k=0;k<ind[num].words;k++) snprintf(TAIL_LEN(errbuff),"%s.",ind[num].idx[k]);
 		warn_printf(efp, "%s\n", errbuff);
 		ind[num].p[j].enc++;
 	}
 	else if (ind[num].p[j].enc[0]==range_close) {
 		sprintf(errbuff,"Warning: Unmatched range closing operator \'%c\',",range_close);
-		for (k=0;k<ind[num].words;k++) sprintf(TAIL(errbuff),"%s.",ind[num].idx[k]);
+		for (k=0;k<ind[num].words;k++) snprintf(TAIL_LEN(errbuff),"%s.",ind[num].idx[k]);
 		warn_printf(efp, "%s\n", errbuff);
 		ind[num].p[j].enc++;
 	}
 	if (strlen(ind[num].p[j].enc)>0) {
-		sprintf(TAIL(tmpbuff),"%s%s%s",encap_prefix,ind[num].p[j].enc,encap_infix);
-		sprintf(TAIL(tmpbuff),"%s%s",ind[num].p[j].page,encap_suffix);
+		snprintf(TAIL_LEN(tmpbuff),"%s%s%s",encap_prefix,ind[num].p[j].enc,encap_infix);
+		snprintf(TAIL_LEN(tmpbuff),"%s%s",ind[num].p[j].page,encap_suffix);
 	}
 	else {
-		sprintf(TAIL(tmpbuff),"%s",ind[num].p[j].page);
+		snprintf(TAIL_LEN(tmpbuff),"%s",ind[num].p[j].page);
 	}
 	linecheck(lbuff,tmpbuff);
 
@@ -362,7 +365,7 @@
 	for (i=count;i<ind.num+1;i++) {
 		if (ind.p[i].enc[0]==range_close) {
 			sprintf(errbuff,"Warning: Unmatched range closing operator \'%c\',",range_close);
-			sprintf(TAIL(errbuff),"%s.",ind.idx[0]);
+			snprintf(TAIL_LEN(errbuff),"%s.",ind.idx[0]);
 			warn_printf(efp, "%s\n", errbuff);
 			ind.p[i].enc++;
 		}
@@ -379,20 +382,20 @@
 					}
 					else if (j!=i && ind.p[j].enc[0]==range_open) {
 						sprintf(errbuff,"Warning: Unmatched range opening operator \'%c\',",range_open);
-						for (k=0;k<ind.words;k++) sprintf(TAIL(errbuff),"%s.",ind.idx[k]);
+						for (k=0;k<ind.words;k++) snprintf(TAIL_LEN(errbuff),"%s.",ind.idx[k]);
 						warn_printf(efp, "%s\n", errbuff);
 						ind.p[j].enc++;
 					}
 					if (strlen(ind.p[j].enc)>0) {
-						sprintf(tmpbuff,"%s%s%s",encap_prefix,ind.p[j].enc,encap_infix);
-						sprintf(TAIL(tmpbuff),"%s%s%s",ind.p[j].page,encap_suffix,delim_n);
+						snprintf(tmpbuff, BUFFERLEN, "%s%s%s",encap_prefix,ind.p[j].enc,encap_infix);
+						snprintf(TAIL_LEN(tmpbuff),"%s%s%s",ind.p[j].page,encap_suffix,delim_n);
 						linecheck(lbuff,tmpbuff);
 					}
 				}
 			}
 			if (j==ind.num+1) {
 					sprintf(errbuff,"Warning: Unmatched range opening operator \'%c\',",range_open);
-					for (k=0;k<ind.words;k++) sprintf(TAIL(errbuff),"%s.",ind.idx[k]);
+					for (k=0;k<ind.words;k++) snprintf(TAIL_LEN(errbuff),"%s.",ind.idx[k]);
 					warn_printf(efp, "%s\n", errbuff);
 			}
 			i=j-1;
@@ -424,12 +427,12 @@
 static void linecheck(char *lbuff, char *tmpbuff)
 {
 	if (line_length+strlen(tmpbuff)>line_max) {
-		sprintf(TAIL(lbuff),"\n%s%s",indent_space,tmpbuff);
+		snprintf(TAIL_LEN(lbuff),"\n%s%s",indent_space,tmpbuff);
 		line_length=indent_length+strlen(tmpbuff);
 		tmpbuff[0]='\0';
 	}
 	else {
-		sprintf(TAIL(lbuff),"%s",tmpbuff);
+		snprintf(TAIL_LEN(lbuff),"%s",tmpbuff);
 		line_length+=strlen(tmpbuff);
 		tmpbuff[0]='\0';
 	}
-------------- next part --------------
>From email of Hilmar to luazlib author:
The version check is very strict, it checks even the minor version of
the zlib. This causes a disfunction in luatex in case people upgrade
their zlib version (see http://bugs.debian.org/581818 and friends).

Is there a specific reason why the check is that strict? Do you
think it is possible to untighten it and check only the major version
of the zlib (i.e. turn the 5 above into a 3)?
---
 texk/web2c/luatexdir/luazlib/lzlib.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- texlive-bin.orig/texk/web2c/luatexdir/luazlib/lzlib.c
+++ texlive-bin/texk/web2c/luatexdir/luazlib/lzlib.c
@@ -551,7 +551,7 @@
 
     /* make sure header and library version are consistent */
     const char* version = zlibVersion();
-    if (strncmp(version, ZLIB_VERSION, 5))
+    if (strncmp(version, ZLIB_VERSION, 3))
     {
         lua_pushfstring(L, "zlib library version does not match - header: %s, library: %s", ZLIB_VERSION, version);
         lua_error(L);
-------------- next part --------------
---
 texmf-dist/dvipdfmx/dvipdfmx-paper.cfg |   11 +++++++++++
 texmf-dist/dvipdfmx/dvipdfmx.cfg       |   10 ++--------
 tlpkg/texlive.tlpdb                    |    1 +
 3 files changed, 14 insertions(+), 8 deletions(-)

--- /dev/null
+++ texlive-base-2014.20140418/texmf-dist/dvipdfmx/dvipdfmx-paper.cfg
@@ -0,0 +1,11 @@
+%% PDF Document Settings
+%%
+%% Papersize Option:
+%%
+%%   p papersize-spec
+%%
+%% papersize-spec is 'paper-format' or length-pair, e.g., 'a4', 'letter',
+%% '20cm,30cm'. Recognized unit is 'cm', 'mm', 'bp', 'pt', 'in'.
+
+p a4
+
--- texlive-base-2014.20140418.orig/texmf-dist/dvipdfmx/dvipdfmx.cfg
+++ texlive-base-2014.20140418/texmf-dist/dvipdfmx/dvipdfmx.cfg
@@ -27,14 +27,8 @@
 
 %% PDF Document Settings
 %%
-%% Papersize Option:
-%%
-%%   p papersize-spec
-%%
-%% papersize-spec is 'paper-format' or length-pair, e.g., 'a4', 'letter',
-%% '20cm,30cm'. Recognized unit is 'cm', 'mm', 'bp', 'pt', 'in'.
-
-p  a4
+%% Paper configurations can be found in dvipdfmx-paper.cfg
+i dvipdfmx-paper.cfg
 
 %% Annotation Box Margin:
 %%
--- texlive-base-2014.20140418.orig/tlpkg/texlive.tlpdb
+++ texlive-base-2014.20140418/tlpkg/texlive.tlpdb
@@ -63344,6 +63344,7 @@
  texmf-dist/doc/man/man1/extractbb.man1.pdf
 runfiles size=42
  texmf-dist/dvipdfmx/dvipdfmx.cfg
+ texmf-dist/dvipdfmx/dvipdfmx-paper.cfg
  texmf-dist/fonts/cmap/dvipdfmx/EUC-UCS2
  texmf-dist/fonts/cmap/dvipdfmx/README
  texmf-dist/fonts/cmap/dvipdfmx/UTF8-UCS2
-------------- next part --------------
---
 texmf-dist/dvips/config/config-paper.ps |  524 +++++++++++++++++++++++++++++++
 texmf-dist/dvips/config/config.ps       |  525 --------------------------------
 tlpkg/texlive.tlpdb                     |    1 
 3 files changed, 532 insertions(+), 518 deletions(-)

--- /dev/null
+++ texlive-base-2014.20140418/texmf-dist/dvips/config/config-paper.ps
@@ -0,0 +1,524 @@
+%
+% config-paper.ps
+%
+% This part is only used for the paper configuration of dvips
+
+@ a4 210mm 297mm
+ at + ! %%DocumentPaperSizes: a4
+ at + %%BeginPaperSize: a4
+ at + /setpagedevice where
+ at +  { pop << /PageSize [595 842] >> setpagedevice }
+ at +  { /a4 where { pop a4 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ letter 8.5in 11in
+ at + ! %%DocumentPaperSizes: Letter
+ at + %%BeginPaperSize: Letter
+ at + /setpagedevice where
+ at +  { pop << /PageSize [612 792] >> setpagedevice }
+ at +  { /letter where { pop letter } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ a4size 210mm 297mm
+ at + ! %%DocumentPaperSizes: a4
+ at + %%BeginPaperSize: a4
+ at + /setpagedevice where
+ at +  { pop << /PageSize [595 842] >> setpagedevice }
+ at +  { /a4 where { pop a4 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ letterSize 8.5in 11in
+ at + ! %%DocumentPaperSizes: Letter
+ at + %%BeginPaperSize: Letter
+ at + /setpagedevice where
+ at +  { pop << /PageSize [612 792] >> setpagedevice }
+ at +  { /letter where { pop letter } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+% The jacow paper size is the smaller of letter and a4 in both
+% dimensions, and can therefore hopefully be printed on either paper
+% size.  As far as we know, Volker Schaa first used it for the JACOW
+% conference proceedings that he produced.
+@ jacow 210mm 11in
+ at + ! %%DocumentPaperSizes: jacow
+ at + %%BeginPaperSize: jacow
+ at + /setpagedevice where
+ at +  { pop << /PageSize [595 792] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+% The smallbook paper size has been used by the Free Software Foundation
+% to print manuals for many years, and is part of Texinfo.
+@ smallbook 7in 9.25in
+ at + ! %%DocumentPaperSizes: smallbook
+ at + %%BeginPaperSize: smallbook
+ at + /setpagedevice where
+ at +  { pop << /PageSize [504 666] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ halfexecutive 133mm 184mm
+ at + ! %%DocumentPaperSizes: halfexecutive
+ at + %%BeginPaperSize: halfexecutive
+ at + /setpagedevice where
+ at +  { pop << /PageSize [378 522] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ halfletter 140mm 216mm
+ at + ! %%DocumentPaperSizes: halfletter
+ at + %%BeginPaperSize: halfletter
+ at + /setpagedevice where
+ at +  { pop << /PageSize [396 612] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ statement 140mm 216mm
+ at + ! %%DocumentPaperSizes: statement
+ at + %%BeginPaperSize: statement
+ at + /setpagedevice where
+ at +  { pop << /PageSize [396 612] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ executive 184mm 267mm
+ at + ! %%DocumentPaperSizes: executive
+ at + %%BeginPaperSize: executive
+ at + /setpagedevice where
+ at +  { pop << /PageSize [522 756] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+% for powerdot
+@ screen 8.25in 11in
+ at + ! %%DocumentPaperSizes: Screen
+ at + %%BeginPaperSize: Screen
+ at + /setpagedevice where
+ at +  { pop << /PageSize [594 792] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+% a common size for printers (in north america).
+@ sixbynine 6in 9in
+ at + ! %%DocumentPaperSizes: SixByNine
+ at + %%BeginPaperSize: SixByNine
+ at + /setpagedevice where
+ at +  { pop << /PageSize [432 648] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ quarto 215mm 275mm
+ at + ! %%DocumentPaperSizes: quarto
+ at + %%BeginPaperSize: quarto
+ at + /setpagedevice where
+ at +  { pop << /PageSize [610 780] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ note 216mm 279mm
+ at + ! %%DocumentPaperSizes: note
+ at + %%BeginPaperSize: note
+ at + /setpagedevice where
+ at +  { pop << /PageSize [612 792] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ folio 216mm 330mm
+ at + ! %%DocumentPaperSizes: folio
+ at + %%BeginPaperSize: folio
+ at + /setpagedevice where
+ at +  { pop << /PageSize [612 936] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ legal 8.5in 14in
+ at + ! %%DocumentPaperSizes: Legal
+ at + %%BeginPaperSize: Legal
+ at + /setpagedevice where
+ at +  { pop << /PageSize [612 1008] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ 10x14 10in 14in
+ at + ! %%DocumentPaperSizes: 10x14
+ at + %%BeginPaperSize: 10x14
+ at + /setpagedevice where
+ at +  { pop << /PageSize [720 1008] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ ledger 17in 11in
+ at + ! %%DocumentPaperSizes: Ledger
+ at + %%BeginPaperSize: Ledger
+ at + /setpagedevice where
+ at +  { pop << /PageSize [1224 792] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ tabloid 11in 17in
+ at + ! %%DocumentPaperSizes: Tabloid
+ at + %%BeginPaperSize: Tabloid
+ at + /setpagedevice where
+ at +  { pop << /PageSize [792 1224] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ 11x17 11in 17in
+ at + ! %%DocumentPaperSizes: 11x17
+ at + %%BeginPaperSize: 11x17
+ at + /setpagedevice where
+ at +  { pop << /PageSize [792 1224] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ a0 841mm 1189mm
+ at + ! %%DocumentPaperSizes: a0
+ at + %%BeginPaperSize: a0
+ at + /setpagedevice where
+ at +  { pop << /PageSize [2384 3370] >> setpagedevice }
+ at +  { /a0 where { pop a0 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ a1 594mm 841mm
+ at + ! %%DocumentPaperSizes: a1
+ at + %%BeginPaperSize: a1
+ at + /setpagedevice where
+ at +  { pop << /PageSize [1684 2384] >> setpagedevice }
+ at +  { /a1 where { pop a1 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ a2 420mm 594mm
+ at + ! %%DocumentPaperSizes: a2
+ at + %%BeginPaperSize: a2
+ at + /setpagedevice where
+ at +  { pop << /PageSize [1191 1684] >> setpagedevice }
+ at +  { /a2 where { pop a2 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ a3 297mm 420mm
+ at + ! %%DocumentPaperSizes: a3
+ at + %%BeginPaperSize: a3
+ at + /setpagedevice where
+ at +  { pop << /PageSize [842 1191] >> setpagedevice }
+ at +  { /a3 where { pop a3 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ a5 148mm 210mm
+ at + ! %%DocumentPaperSizes: a5
+ at + %%BeginPaperSize: a5
+ at + /setpagedevice where
+ at +  { pop << /PageSize [420 595] >> setpagedevice }
+ at +  { /a5 where { pop a5 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ a6 105mm 148mm
+ at + ! %%DocumentPaperSizes: a6
+ at + %%BeginPaperSize: a6
+ at + /setpagedevice where
+ at +  { pop << /PageSize [298 420] >> setpagedevice }
+ at +  { /a6 where { pop a6 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ a7 74mm 105mm
+ at + ! %%DocumentPaperSizes: a7
+ at + %%BeginPaperSize: a7
+ at + /setpagedevice where
+ at +  { pop << /PageSize [210 298] >> setpagedevice }
+ at +  { /a7 where { pop a7 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ a8 52mm 74mm
+ at + ! %%DocumentPaperSizes: a8
+ at + %%BeginPaperSize: a8
+ at + /setpagedevice where
+ at +  { pop << /PageSize [147 210] >> setpagedevice }
+ at +  { /a8 where { pop a8 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ a9 37mm 52mm
+ at + ! %%DocumentPaperSizes: a9
+ at + %%BeginPaperSize: a9
+ at + /setpagedevice where
+ at +  { pop << /PageSize [105 147] >> setpagedevice }
+ at +  { /a9 where { pop a9 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ a10 26mm 37mm
+ at + ! %%DocumentPaperSizes: a10
+ at + %%BeginPaperSize: a10
+ at + /setpagedevice where
+ at +  { pop << /PageSize [74 105] >> setpagedevice }
+ at +  { /a10 where { pop a10 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ jisb0 1030mm 1456mm
+ at + ! %%DocumentPaperSizes: jisb0
+ at + %%BeginPaperSize: jisb0
+ at + /setpagedevice where
+ at +  { pop << /PageSize [2920 4127] >> setpagedevice }
+ at +  { /jisb0 where { pop jisb0 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ jisb1 728mm 1030mm
+ at + ! %%DocumentPaperSizes: jisb1
+ at + %%BeginPaperSize: jisb1
+ at + /setpagedevice where
+ at +  { pop << /PageSize [2064 2920] >> setpagedevice }
+ at +  { /jisb1 where { pop jisb1 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ jisb2 515mm 728mm
+ at + ! %%DocumentPaperSizes: jisb2
+ at + %%BeginPaperSize: jisb2
+ at + /setpagedevice where
+ at +  { pop << /PageSize [1460 2064] >> setpagedevice }
+ at +  { /jisb2 where { pop jisb2 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ jisb3 364mm 515mm
+ at + ! %%DocumentPaperSizes: jisb3
+ at + %%BeginPaperSize: jisb3
+ at + /setpagedevice where
+ at +  { pop << /PageSize [1032 1460] >> setpagedevice }
+ at +  { /jisb3 where { pop jisb3 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ jisb4 257mm 364mm
+ at + ! %%DocumentPaperSizes: jisb4
+ at + %%BeginPaperSize: jisb4
+ at + /setpagedevice where
+ at +  { pop << /PageSize [729 1032] >> setpagedevice }
+ at +  { /jisb4 where { pop jisb4 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ jisb5 182mm 257mm
+ at + ! %%DocumentPaperSizes: jisb5
+ at + %%BeginPaperSize: jisb5
+ at + /setpagedevice where
+ at +  { pop << /PageSize [516 729] >> setpagedevice }
+ at +  { /jisb5 where { pop jisb5 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ jisb6 128mm 182mm
+ at + ! %%DocumentPaperSizes: jisb6
+ at + %%BeginPaperSize: jisb6
+ at + /setpagedevice where
+ at +  { pop << /PageSize [363 516] >> setpagedevice }
+ at +  { /jisb6 where { pop jisb6 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ jisb7 91mm 128mm
+ at + ! %%DocumentPaperSizes: jisb7
+ at + %%BeginPaperSize: jisb7
+ at + /setpagedevice where
+ at +  { pop << /PageSize [258 363] >> setpagedevice }
+ at +  { /jisb7 where { pop jisb7 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ jisb8 64mm 91mm
+ at + ! %%DocumentPaperSizes: jisb8
+ at + %%BeginPaperSize: jisb8
+ at + /setpagedevice where
+ at +  { pop << /PageSize [181 258] >> setpagedevice }
+ at +  { /jisb8 where { pop jisb8 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ b0 1000mm 1414mm
+ at + ! %%DocumentPaperSizes: b0
+ at + %%BeginPaperSize: b0
+ at + /setpagedevice where
+ at +  { pop << /PageSize [2835 4008] >> setpagedevice }
+ at +  { /b0 where { pop b0 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ b1 707mm 1000mm
+ at + ! %%DocumentPaperSizes: b1
+ at + %%BeginPaperSize: b1
+ at + /setpagedevice where
+ at +  { pop << /PageSize [2004 2835] >> setpagedevice }
+ at +  { /b1 where { pop b1 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ b2 500mm 707mm
+ at + ! %%DocumentPaperSizes: b2
+ at + %%BeginPaperSize: b2
+ at + /setpagedevice where
+ at +  { pop << /PageSize [1417 2004] >> setpagedevice }
+ at +  { /b2 where { pop b2 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ b3 353mm 500mm
+ at + ! %%DocumentPaperSizes: b3
+ at + %%BeginPaperSize: b3
+ at + /setpagedevice where
+ at +  { pop << /PageSize [1001 1417] >> setpagedevice }
+ at +  { /b3 where { pop b3 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ b4 250mm 353mm
+ at + ! %%DocumentPaperSizes: b4
+ at + %%BeginPaperSize: b4
+ at + /setpagedevice where
+ at +  { pop << /PageSize [709 1001] >> setpagedevice }
+ at +  { /b4 where { pop b4 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ b5 176mm 250mm
+ at + ! %%DocumentPaperSizes: b5
+ at + %%BeginPaperSize: b5
+ at + /setpagedevice where
+ at +  { pop << /PageSize [499 709] >> setpagedevice }
+ at +  { /b5 where { pop b5 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ b6 125mm 176mm
+ at + ! %%DocumentPaperSizes: b6
+ at + %%BeginPaperSize: b6
+ at + /setpagedevice where
+ at +  { pop << /PageSize [354 499] >> setpagedevice }
+ at +  { /b6 where { pop b6 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ c5 162mm 229mm
+ at + ! %%DocumentPaperSizes: c5
+ at + %%BeginPaperSize: c5
+ at + /setpagedevice where
+ at +  { pop << /PageSize [459 649] >> setpagedevice }
+ at +  { /c5 where { pop c5 } if }
+ at + ifelse
+ at + %%EndPaperSize
+
+@ DL 110mm 220mm
+ at + ! %%DocumentPaperSizes: DL
+ at + %%BeginPaperSize: DL
+ at + /setpagedevice where
+ at +  { pop << /PageSize [312 624] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ Comm10 105mm 241mm
+ at + ! %%DocumentPaperSizes: Comm10
+ at + %%BeginPaperSize: Comm10
+ at + /setpagedevice where
+ at +  { pop << /PageSize [297 684] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ Monarch 98.4mm 190.5mm
+ at + ! %%DocumentPaperSizes: Monarch
+ at + %%BeginPaperSize: Monarch
+ at + /setpagedevice where
+ at +  { pop << /PageSize [279 540] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ archE 36in 48in
+ at + ! %%DocumentPaperSizes: archE
+ at + %%BeginPaperSize: archE
+ at + /setpagedevice where
+ at +  { pop << /PageSize [2592 3456] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ archD 24in 36in
+ at + ! %%DocumentPaperSizes: archD
+ at + %%BeginPaperSize: archD
+ at + /setpagedevice where
+ at +  { pop << /PageSize [1728 2592] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ archC 18in 24in
+ at + ! %%DocumentPaperSizes: archC
+ at + %%BeginPaperSize: archC
+ at + /setpagedevice where
+ at +  { pop << /PageSize [1296 1728] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ archB 12in 18in
+ at + ! %%DocumentPaperSizes: archB
+ at + %%BeginPaperSize: archB
+ at + /setpagedevice where
+ at +  { pop << /PageSize [864 1296] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ archA 9in 12in
+ at + ! %%DocumentPaperSizes: archA
+ at + %%BeginPaperSize: archA
+ at + /setpagedevice where
+ at +  { pop << /PageSize [648 864] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ flsa 216mm 330.2mm
+ at + ! %%DocumentPaperSizes: flsa
+ at + %%BeginPaperSize: flsa
+ at + /setpagedevice where
+ at +  { pop << /PageSize [612 936] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ flse 216mm 330.2mm
+ at + ! %%DocumentPaperSizes: flse
+ at + %%BeginPaperSize: flse
+ at + /setpagedevice where
+ at +  { pop << /PageSize [612 936] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ csheet 431.8mm 558.8mm
+ at + ! %%DocumentPaperSizes: csheet
+ at + %%BeginPaperSize: csheet
+ at + /setpagedevice where
+ at +  { pop << /PageSize [1224 1584] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ dsheet 558.8mm 863.6mm
+ at + ! %%DocumentPaperSizes: dsheet
+ at + %%BeginPaperSize: dsheet
+ at + /setpagedevice where
+ at +  { pop << /PageSize [1584 2448] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
+@ esheet 863.6mm 1117.6mm
+ at + ! %%DocumentPaperSizes: esheet
+ at + %%BeginPaperSize: esheet
+ at + /setpagedevice where
+ at +  { pop << /PageSize [2448 3168] >> setpagedevice }
+ at + if
+ at + %%EndPaperSize
+
--- texlive-base-2014.20140418.orig/texmf-dist/dvips/config/config.ps
+++ texlive-base-2014.20140418/texmf-dist/dvips/config/config.ps
@@ -67,524 +67,13 @@
 %
 % emacs-page
 
-@ a4 210mm 297mm
- at + ! %%DocumentPaperSizes: a4
- at + %%BeginPaperSize: a4
- at + /setpagedevice where
- at +  { pop << /PageSize [595 842] >> setpagedevice }
- at +  { /a4 where { pop a4 } if }
- at + ifelse
- at + %%EndPaperSize
-
-@ letter 8.5in 11in
- at + ! %%DocumentPaperSizes: Letter
- at + %%BeginPaperSize: Letter
- at + /setpagedevice where
- at +  { pop << /PageSize [612 792] >> setpagedevice }
- at +  { /letter where { pop letter } if }
- at + ifelse
- at + %%EndPaperSize
-
-@ a4size 210mm 297mm
- at + ! %%DocumentPaperSizes: a4
- at + %%BeginPaperSize: a4
- at + /setpagedevice where
- at +  { pop << /PageSize [595 842] >> setpagedevice }
- at +  { /a4 where { pop a4 } if }
- at + ifelse
- at + %%EndPaperSize
-
-@ letterSize 8.5in 11in
- at + ! %%DocumentPaperSizes: Letter
- at + %%BeginPaperSize: Letter
- at + /setpagedevice where
- at +  { pop << /PageSize [612 792] >> setpagedevice }
- at +  { /letter where { pop letter } if }
- at + ifelse
- at + %%EndPaperSize
-
-% The jacow paper size is the smaller of letter and a4 in both
-% dimensions, and can therefore hopefully be printed on either paper
-% size.  As far as we know, Volker Schaa first used it for the JACOW
-% conference proceedings that he produced.
-@ jacow 210mm 11in
- at + ! %%DocumentPaperSizes: jacow
- at + %%BeginPaperSize: jacow
- at + /setpagedevice where
- at +  { pop << /PageSize [595 792] >> setpagedevice }
- at + if
- at + %%EndPaperSize
-
-% The smallbook paper size has been used by the Free Software Foundation
-% to print manuals for many years, and is part of Texinfo.
-@ smallbook 7in 9.25in
- at + ! %%DocumentPaperSizes: smallbook
- at + %%BeginPaperSize: smallbook
- at + /setpagedevice where
- at +  { pop << /PageSize [504 666] >> setpagedevice }
- at + if
- at + %%EndPaperSize
-
-@ halfexecutive 133mm 184mm
- at + ! %%DocumentPaperSizes: halfexecutive
- at + %%BeginPaperSize: halfexecutive
- at + /setpagedevice where
- at +  { pop << /PageSize [378 522] >> setpagedevice }
- at + if
- at + %%EndPaperSize
-
-@ halfletter 140mm 216mm
- at + ! %%DocumentPaperSizes: halfletter
- at + %%BeginPaperSize: halfletter
- at + /setpagedevice where
- at +  { pop << /PageSize [396 612] >> setpagedevice }
- at + if
- at + %%EndPaperSize
-
-@ statement 140mm 216mm
- at + ! %%DocumentPaperSizes: statement
- at + %%BeginPaperSize: statement
- at + /setpagedevice where
- at +  { pop << /PageSize [396 612] >> setpagedevice }
- at + if
- at + %%EndPaperSize
-
-@ executive 184mm 267mm
- at + ! %%DocumentPaperSizes: executive
- at + %%BeginPaperSize: executive
- at + /setpagedevice where
- at +  { pop << /PageSize [522 756] >> setpagedevice }
- at + if
- at + %%EndPaperSize
-
-% for powerdot
-@ screen 8.25in 11in
- at + ! %%DocumentPaperSizes: Screen
- at + %%BeginPaperSize: Screen
- at + /setpagedevice where
- at +  { pop << /PageSize [594 792] >> setpagedevice }
- at + if
- at + %%EndPaperSize
-
-% a common size for printers (in north america).
-@ sixbynine 6in 9in
- at + ! %%DocumentPaperSizes: SixByNine
- at + %%BeginPaperSize: SixByNine
- at + /setpagedevice where
- at +  { pop << /PageSize [432 648] >> setpagedevice }
- at + if
- at + %%EndPaperSize
-
-@ quarto 215mm 275mm
- at + ! %%DocumentPaperSizes: quarto
- at + %%BeginPaperSize: quarto
- at + /setpagedevice where
- at +  { pop << /PageSize [610 780] >> setpagedevice }
- at + if
- at + %%EndPaperSize
-
-@ note 216mm 279mm
- at + ! %%DocumentPaperSizes: note
- at + %%BeginPaperSize: note
- at + /setpagedevice where
- at +  { pop << /PageSize [612 792] >> setpagedevice }
- at + if
- at + %%EndPaperSize
-
-@ folio 216mm 330mm
- at + ! %%DocumentPaperSizes: folio
- at + %%BeginPaperSize: folio
- at + /setpagedevice where
- at +  { pop << /PageSize [612 936] >> setpagedevice }
- at + if
- at + %%EndPaperSize
-
-@ legal 8.5in 14in
- at + ! %%DocumentPaperSizes: Legal
- at + %%BeginPaperSize: Legal
- at + /setpagedevice where
- at +  { pop << /PageSize [612 1008] >> setpagedevice }
- at + if
- at + %%EndPaperSize
-
-@ 10x14 10in 14in
- at + ! %%DocumentPaperSizes: 10x14
- at + %%BeginPaperSize: 10x14
- at + /setpagedevice where
- at +  { pop << /PageSize [720 1008] >> setpagedevice }
- at + if
- at + %%EndPaperSize
-
-@ ledger 17in 11in
- at + ! %%DocumentPaperSizes: Ledger
- at + %%BeginPaperSize: Ledger
- at + /setpagedevice where
- at +  { pop << /PageSize [1224 792] >> setpagedevice }
- at + if
- at + %%EndPaperSize
-
-@ tabloid 11in 17in
- at + ! %%DocumentPaperSizes: Tabloid
- at + %%BeginPaperSize: Tabloid
- at + /setpagedevice where
- at +  { pop << /PageSize [792 1224] >> setpagedevice }
- at + if
- at + %%EndPaperSize
-
-@ 11x17 11in 17in
- at + ! %%DocumentPaperSizes: 11x17
- at + %%BeginPaperSize: 11x17
- at + /setpagedevice where
- at +  { pop << /PageSize [792 1224] >> setpagedevice }
- at + if
- at + %%EndPaperSize
-
-@ a0 841mm 1189mm
- at + ! %%DocumentPaperSizes: a0
- at + %%BeginPaperSize: a0
- at + /setpagedevice where
- at +  { pop << /PageSize [2384 3370] >> setpagedevice }
- at +  { /a0 where { pop a0 } if }
- at + ifelse
- at + %%EndPaperSize
-
-@ a1 594mm 841mm
- at + ! %%DocumentPaperSizes: a1
- at + %%BeginPaperSize: a1
- at + /setpagedevice where
- at +  { pop << /PageSize [1684 2384] >> setpagedevice }
- at +  { /a1 where { pop a1 } if }
- at + ifelse
- at + %%EndPaperSize
-
-@ a2 420mm 594mm
- at + ! %%DocumentPaperSizes: a2
- at + %%BeginPaperSize: a2
- at + /setpagedevice where
- at +  { pop << /PageSize [1191 1684] >> setpagedevice }
- at +  { /a2 where { pop a2 } if }
- at + ifelse
- at + %%EndPaperSize
-
-@ a3 297mm 420mm
- at + ! %%DocumentPaperSizes: a3
- at + %%BeginPaperSize: a3
- at + /setpagedevice where
- at +  { pop << /PageSize [842 1191] >> setpagedevice }
- at +  { /a3 where { pop a3 } if }
- at + ifelse
- at + %%EndPaperSize
-
-@ a5 148mm 210mm
- at + ! %%DocumentPaperSizes: a5
- at + %%BeginPaperSize: a5
- at + /setpagedevice where
- at +  { pop << /PageSize [420 595] >> setpagedevice }
- at +  { /a5 where { pop a5 } if }
- at + ifelse
- at + %%EndPaperSize
-
-@ a6 105mm 148mm
- at + ! %%DocumentPaperSizes: a6
- at + %%BeginPaperSize: a6
- at + /setpagedevice where
- at +  { pop << /PageSize [298 420] >> setpagedevice }
- at +  { /a6 where { pop a6 } if }
- at + ifelse
- at + %%EndPaperSize
-
-@ a7 74mm 105mm
- at + ! %%DocumentPaperSizes: a7
- at + %%BeginPaperSize: a7
- at + /setpagedevice where
- at +  { pop << /PageSize [210 298] >> setpagedevice }
- at +  { /a7 where { pop a7 } if }
- at + ifelse
- at + %%EndPaperSize
-
-@ a8 52mm 74mm
- at + ! %%DocumentPaperSizes: a8
- at + %%BeginPaperSize: a8
- at + /setpagedevice where
- at +  { pop << /PageSize [147 210] >> setpagedevice }
- at +  { /a8 where { pop a8 } if }
- at + ifelse
- at + %%EndPaperSize
-
-@ a9 37mm 52mm
- at + ! %%DocumentPaperSizes: a9
- at + %%BeginPaperSize: a9
- at + /setpagedevice where
- at +  { pop << /PageSize [105 147] >> setpagedevice }
- at +  { /a9 where { pop a9 } if }
- at + ifelse
- at + %%EndPaperSize
-
-@ a10 26mm 37mm
- at + ! %%DocumentPaperSizes: a10
- at + %%BeginPaperSize: a10
- at + /setpagedevice where
- at +  { pop << /PageSize [74 105] >> setpagedevice }
- at +  { /a10 where { pop a10 } if }
- at + ifelse
- at + %%EndPaperSize
-
-@ jisb0 1030mm 1456mm
- at + ! %%DocumentPaperSizes: jisb0
- at + %%BeginPaperSize: jisb0
- at + /setpagedevice where
- at +  { pop << /PageSize [2920 4127] >> setpagedevice }
- at +  { /jisb0 where { pop jisb0 } if }
- at + ifelse
- at + %%EndPaperSize
-
-@ jisb1 728mm 1030mm
- at + ! %%DocumentPaperSizes: jisb1
- at + %%BeginPaperSize: jisb1
- at + /setpagedevice where
- at +  { pop << /PageSize [2064 2920] >> setpagedevice }
- at +  { /jisb1 where { pop jisb1 } if }
- at + ifelse
- at + %%EndPaperSize
-
-@ jisb2 515mm 728mm
- at + ! %%DocumentPaperSizes: jisb2
- at + %%BeginPaperSize: jisb2
- at + /setpagedevice where
- at +  { pop << /PageSize [1460 2064] >> setpagedevice }
- at +  { /jisb2 where { pop jisb2 } if }
- at + ifelse
- at + %%EndPaperSize
-
-@ jisb3 364mm 515mm
- at + ! %%DocumentPaperSizes: jisb3
- at + %%BeginPaperSize: jisb3
- at + /setpagedevice where
- at +  { pop << /PageSize [1032 1460] >> setpagedevice }
- at +  { /jisb3 where { pop jisb3 } if }
- at + ifelse
- at + %%EndPaperSize
-
-@ jisb4 257mm 364mm
- at + ! %%DocumentPaperSizes: jisb4
- at + %%BeginPaperSize: jisb4
- at + /setpagedevice where
- at +  { pop << /PageSize [729 1032] >> setpagedevice }
- at +  { /jisb4 where { pop jisb4 } if }
- at + ifelse
- at + %%EndPaperSize
-
-@ jisb5 182mm 257mm
- at + ! %%DocumentPaperSizes: jisb5
- at + %%BeginPaperSize: jisb5
- at + /setpagedevice where
- at +  { pop << /PageSize [516 729] >> setpagedevice }
- at +  { /jisb5 where { pop jisb5 } if }
- at + ifelse
- at + %%EndPaperSize
-
-@ jisb6 128mm 182mm
- at + ! %%DocumentPaperSizes: jisb6
- at + %%BeginPaperSize: jisb6
- at + /setpagedevice where
- at +  { pop << /PageSize [363 516] >> setpagedevice }
- at +  { /jisb6 where { pop jisb6 } if }
- at + ifelse
- at + %%EndPaperSize
-
-@ jisb7 91mm 128mm
- at + ! %%DocumentPaperSizes: jisb7
- at + %%BeginPaperSize: jisb7
- at + /setpagedevice where
- at +  { pop << /PageSize [258 363] >> setpagedevice }
- at +  { /jisb7 where { pop jisb7 } if }
- at + ifelse
- at + %%EndPaperSize
-
-@ jisb8 64mm 91mm
- at + ! %%DocumentPaperSizes: jisb8
- at + %%BeginPaperSize: jisb8
- at + /setpagedevice where
- at +  { pop << /PageSize [181 258] >> setpagedevice }
- at +  { /jisb8 where { pop jisb8 } if }
- at + ifelse
- at + %%EndPaperSize
-
-@ b0 1000mm 1414mm
- at + ! %%DocumentPaperSizes: b0
- at + %%BeginPaperSize: b0
- at + /setpagedevice where
- at +  { pop << /PageSize [2835 4008] >> setpagedevice }
- at +  { /b0 where { pop b0 } if }
- at + ifelse
- at + %%EndPaperSize
-
-@ b1 707mm 1000mm
- at + ! %%DocumentPaperSizes: b1
- at + %%BeginPaperSize: b1
- at + /setpagedevice where
- at +  { pop << /PageSize [2004 2835] >> setpagedevice }
- at +  { /b1 where { pop b1 } if }
- at + ifelse
- at + %%EndPaperSize
-
-@ b2 500mm 707mm
- at + ! %%DocumentPaperSizes: b2
- at + %%BeginPaperSize: b2
- at + /setpagedevice where
- at +  { pop << /PageSize [1417 2004] >> setpagedevice }
- at +  { /b2 where { pop b2 } if }
- at + ifelse
- at + %%EndPaperSize
-
-@ b3 353mm 500mm
- at + ! %%DocumentPaperSizes: b3
- at + %%BeginPaperSize: b3
- at + /setpagedevice where
- at +  { pop << /PageSize [1001 1417] >> setpagedevice }
- at +  { /b3 where { pop b3 } if }
- at + ifelse
- at + %%EndPaperSize
-
-@ b4 250mm 353mm
- at + ! %%DocumentPaperSizes: b4
- at + %%BeginPaperSize: b4
- at + /setpagedevice where
- at +  { pop << /PageSize [709 1001] >> setpagedevice }
- at +  { /b4 where { pop b4 } if }
- at + ifelse
- at + %%EndPaperSize
-
-@ b5 176mm 250mm
- at + ! %%DocumentPaperSizes: b5
- at + %%BeginPaperSize: b5
- at + /setpagedevice where
- at +  { pop << /PageSize [499 709] >> setpagedevice }
- at +  { /b5 where { pop b5 } if }
- at + ifelse
- at + %%EndPaperSize
-
-@ b6 125mm 176mm
- at + ! %%DocumentPaperSizes: b6
- at + %%BeginPaperSize: b6
- at + /setpagedevice where
- at +  { pop << /PageSize [354 499] >> setpagedevice }
- at +  { /b6 where { pop b6 } if }
- at + ifelse
- at + %%EndPaperSize
-
-@ c5 162mm 229mm
- at + ! %%DocumentPaperSizes: c5
- at + %%BeginPaperSize: c5
- at + /setpagedevice where
- at +  { pop << /PageSize [459 649] >> setpagedevice }
- at +  { /c5 where { pop c5 } if }
- at + ifelse
- at + %%EndPaperSize
-
-@ DL 110mm 220mm
- at + ! %%DocumentPaperSizes: DL
- at + %%BeginPaperSize: DL
- at + /setpagedevice where
- at +  { pop << /PageSize [312 624] >> setpagedevice }
- at + if
- at + %%EndPaperSize
-
-@ Comm10 105mm 241mm
- at + ! %%DocumentPaperSizes: Comm10
- at + %%BeginPaperSize: Comm10
- at + /setpagedevice where
- at +  { pop << /PageSize [297 684] >> setpagedevice }
- at + if
- at + %%EndPaperSize
-
-@ Monarch 98.4mm 190.5mm
- at + ! %%DocumentPaperSizes: Monarch
- at + %%BeginPaperSize: Monarch
- at + /setpagedevice where
- at +  { pop << /PageSize [279 540] >> setpagedevice }
- at + if
- at + %%EndPaperSize
-
-@ archE 36in 48in
- at + ! %%DocumentPaperSizes: archE
- at + %%BeginPaperSize: archE
- at + /setpagedevice where
- at +  { pop << /PageSize [2592 3456] >> setpagedevice }
- at + if
- at + %%EndPaperSize
-
-@ archD 24in 36in
- at + ! %%DocumentPaperSizes: archD
- at + %%BeginPaperSize: archD
- at + /setpagedevice where
- at +  { pop << /PageSize [1728 2592] >> setpagedevice }
- at + if
- at + %%EndPaperSize
-
-@ archC 18in 24in
- at + ! %%DocumentPaperSizes: archC
- at + %%BeginPaperSize: archC
- at + /setpagedevice where
- at +  { pop << /PageSize [1296 1728] >> setpagedevice }
- at + if
- at + %%EndPaperSize
-
-@ archB 12in 18in
- at + ! %%DocumentPaperSizes: archB
- at + %%BeginPaperSize: archB
- at + /setpagedevice where
- at +  { pop << /PageSize [864 1296] >> setpagedevice }
- at + if
- at + %%EndPaperSize
-
-@ archA 9in 12in
- at + ! %%DocumentPaperSizes: archA
- at + %%BeginPaperSize: archA
- at + /setpagedevice where
- at +  { pop << /PageSize [648 864] >> setpagedevice }
- at + if
- at + %%EndPaperSize
-
-@ flsa 216mm 330.2mm
- at + ! %%DocumentPaperSizes: flsa
- at + %%BeginPaperSize: flsa
- at + /setpagedevice where
- at +  { pop << /PageSize [612 936] >> setpagedevice }
- at + if
- at + %%EndPaperSize
-
-@ flse 216mm 330.2mm
- at + ! %%DocumentPaperSizes: flse
- at + %%BeginPaperSize: flse
- at + /setpagedevice where
- at +  { pop << /PageSize [612 936] >> setpagedevice }
- at + if
- at + %%EndPaperSize
-
-@ csheet 431.8mm 558.8mm
- at + ! %%DocumentPaperSizes: csheet
- at + %%BeginPaperSize: csheet
- at + /setpagedevice where
- at +  { pop << /PageSize [1224 1584] >> setpagedevice }
- at + if
- at + %%EndPaperSize
-
-@ dsheet 558.8mm 863.6mm
- at + ! %%DocumentPaperSizes: dsheet
- at + %%BeginPaperSize: dsheet
- at + /setpagedevice where
- at +  { pop << /PageSize [1584 2448] >> setpagedevice }
- at + if
- at + %%EndPaperSize
-
-@ esheet 863.6mm 1117.6mm
- at + ! %%DocumentPaperSizes: esheet
- at + %%BeginPaperSize: esheet
- at + /setpagedevice where
- at +  { pop << /PageSize [2448 3168] >> setpagedevice }
- at + if
- at + %%EndPaperSize
+%
+% include the configuration for paper sizes
+%
+% WARNING FOR SYSTEM ADMINISTRATORS
+% If you make a copy and drop this line, you have to include 
+% paper sizes manually!
+cconfig-paper.ps
 
 % use -t unknown with a \special{papersize=...} for a nonstandard page size.
 @ unknown 0in 0in
--- texlive-base-2014.20140418.orig/tlpkg/texlive.tlpdb
+++ texlive-base-2014.20140418/tlpkg/texlive.tlpdb
@@ -64139,6 +64139,7 @@
  texmf-dist/dvips/config/config.mirrorprint
  texmf-dist/dvips/config/config.ot2
  texmf-dist/dvips/config/config.ps
+ texmf-dist/dvips/config/config-paper.ps
  texmf-dist/dvips/config/config.qms
  texmf-dist/dvips/config/config.toshiba
  texmf-dist/dvips/config/config.unms
-------------- next part --------------
---
 texmf-dist/tex/generic/config/pdftexconfig-paper.tex |    4 ++++
 texmf-dist/tex/generic/config/pdftexconfig.tex       |    4 ++--
 tlpkg/texlive.tlpdb                                  |    1 +
 3 files changed, 7 insertions(+), 2 deletions(-)

--- /dev/null
+++ texlive-base-2014.20140418/texmf-dist/tex/generic/config/pdftexconfig-paper.tex
@@ -0,0 +1,4 @@
+% paper size settings, included from pdftexconfig.tex for pdftex
+\pdfpagewidth=210 true mm
+\pdfpageheight=297 true mm
+\endinput
--- texlive-base-2014.20140418.orig/texmf-dist/tex/generic/config/pdftexconfig.tex
+++ texlive-base-2014.20140418/texmf-dist/tex/generic/config/pdftexconfig.tex
@@ -3,8 +3,8 @@
 \pdfoutput=1
 \pdfcompresslevel=9
 \pdfdecimaldigits=3
-\pdfpagewidth=210 true mm
-\pdfpageheight=297 true mm
+% pdftex paper settings are in pdftexconfig-paper.tex
+\input pdftexconfig-paper.tex
 \pdfhorigin=1 true in
 \pdfvorigin=1 true in
 \pdfpkresolution=600
--- texlive-base-2014.20140418.orig/tlpkg/texlive.tlpdb
+++ texlive-base-2014.20140418/tlpkg/texlive.tlpdb
@@ -148179,6 +148179,7 @@
  texmf-dist/scripts/simpdftex/simpdftex
  texmf-dist/tex/generic/config/pdftex-dvi.tex
  texmf-dist/tex/generic/config/pdftexconfig.tex
+ texmf-dist/tex/generic/config/pdftexconfig-paper.tex
  texmf-dist/tex/generic/pdftex/glyphtounicode.tex
  texmf-dist/tex/generic/pdftex/pdfcolor.tex
 catalogue-ctan /systems/pdftex
-------------- next part --------------
---
 texmf-dist/xdvi/XDvi       |    2 +-
 texmf-dist/xdvi/XDvi-paper |    1 +
 tlpkg/texlive.tlpdb        |    1 +
 3 files changed, 3 insertions(+), 1 deletion(-)

--- texlive-base-2014.20140418.orig/texmf-dist/xdvi/XDvi
+++ texlive-base-2014.20140418/texmf-dist/xdvi/XDvi
@@ -21,7 +21,7 @@
 !!! and greater flexibility for shrink values. Generating MF fonts shouldn't be an
 !!! issue when using T1lib.
 !*mfMode: ljfour
-*paper: a4
+#include XDvi-paper
 
 !!! This should be the best choice for modern displays with large color depth.
 *thorough: true
--- /dev/null
+++ texlive-base-2014.20140418/texmf-dist/xdvi/XDvi-paper
@@ -0,0 +1 @@
+*paper: a4
--- texlive-base-2014.20140418.orig/tlpkg/texlive.tlpdb
+++ texlive-base-2014.20140418/tlpkg/texlive.tlpdb
@@ -217565,6 +217565,7 @@
 runfiles size=9
  texmf-dist/dvips/xdvi/config.xdvi
  texmf-dist/xdvi/XDvi
+ texmf-dist/xdvi/XDvi-paper
  texmf-dist/xdvi/pixmap/toolbar.xpm
  texmf-dist/xdvi/pixmap/toolbar2.xpm
 catalogue-ctan /dviware/xdvi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-invoice.sty
Type: text/x-tex
Size: 769 bytes
Desc: not available
URL: <http://tug.org/pipermail/tldistro/attachments/20140429/f474e61d/attachment-0001.bin>
-------------- next part --------------
---
 texmf-dist/doc/info/mf2pt1.info |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- texlive-extra-2013.20130509.orig/texmf-dist/doc/info/mf2pt1.info
+++ texlive-extra-2013.20130509/texmf-dist/doc/info/mf2pt1.info
@@ -2,7 +2,7 @@
 
 INFO-DIR-SECTION TeX
 START-INFO-DIR-ENTRY
-* mf2pt1::   Produce PostScript Type 1 fonts from Metafont source
+* mf2pt1: (mf2pt1).   Produce PostScript Type 1 fonts from Metafont source
 END-INFO-DIR-ENTRY
 
    *mf2pt1*: Produce PostScript Type 1 fonts from Metafont source
-------------- next part --------------
natbib \defcitealias adds spurious spaces, see bug #628044
fix this by adding some %
---
 texmf-dist/source/latex/natbib/natbib.dtx |    4 ++--
 texmf-dist/tex/latex/natbib/natbib.sty    |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

--- texlive-base-2013.20130509.orig/texmf-dist/source/latex/natbib/natbib.dtx
+++ texlive-base-2013.20130509/texmf-dist/source/latex/natbib/natbib.dtx
@@ -3992,8 +3992,8 @@
 % indexing can be achieved.
 %    \begin{macrocode}
 \newcommand\defcitealias[2]{%
-   \@ifundefined{al@#1\@extra at b@citeb}{}
-   {\PackageWarning{natbib}{Overwriting existing alias for citation #1}}
+   \@ifundefined{al@#1\@extra at b@citeb}{}%
+   {\PackageWarning{natbib}{Overwriting existing alias for citation #1}}%
    \@namedef{al@#1\@extra at b@citeb}{#2}}
 \DeclareRobustCommand\citetalias{\begingroup
    \NAT at swafalse\let\NAT at ctype\thr@@\NAT at parfalse\NAT at citetp}
--- texlive-base-2013.20130509.orig/texmf-dist/tex/latex/natbib/natbib.sty
+++ texlive-base-2013.20130509/texmf-dist/tex/latex/natbib/natbib.sty
@@ -740,8 +740,8 @@
 \DeclareRobustCommand\citefullauthor
    {\citeauthor*}
 \newcommand\defcitealias[2]{%
-   \@ifundefined{al@#1\@extra at b@citeb}{}
-   {\PackageWarning{natbib}{Overwriting existing alias for citation #1}}
+   \@ifundefined{al@#1\@extra at b@citeb}{}%
+   {\PackageWarning{natbib}{Overwriting existing alias for citation #1}}%
    \@namedef{al@#1\@extra at b@citeb}{#2}}
 \DeclareRobustCommand\citetalias{\begingroup
    \NAT at swafalse\let\NAT at ctype\thr@@\NAT at parfalse\NAT at citetp}
-------------- next part --------------
---
 texmf-dist/scripts/pgfplots/pgf2pdf.sh |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- texlive-base-2013.20130509.orig/texmf-dist/scripts/pgfplots/pgf2pdf.sh
+++ texlive-base-2013.20130509/texmf-dist/scripts/pgfplots/pgf2pdf.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 # ATTENTION: this file is more or less deprecated.
 # Please take a look at the 'external' library which has been added to pgf.
@@ -82,7 +82,7 @@
 		--warnonly)		shift; WARN_ONLY_IF_TEXFILE_DOESNOT_INCLUDE_TARGET=1;;
 		-v)				shift; VERBOSE_LEVEL=$((VERBOSE_LEVEL+1));;
 		--)				shift; break;;
-		--help)			dumpHelp();;
+		--help)			dumpHelp;;
 		*)				break;
 	esac
 done
-------------- next part --------------
Do no use predictable temp file names, but mktemp
patch by Tatsuya Kinoshita
Debian bug #668779
---
 texmf-dist/scripts/latex2man/latex2man |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- texlive-extra-2013.20130509.orig/texmf-dist/scripts/latex2man/latex2man
+++ texlive-extra-2013.20130509/texmf-dist/scripts/latex2man/latex2man
@@ -29,8 +29,6 @@
 $VERSION = "1.24";
 $DATE    = date2str ('$Date: 2010/12/22 12:44:30 $' =~ m|(\d+/\d+/\d+)|);
 
-$tmp = "/tmp/$CMD.$$";
-
 ##################################################################
 # check option and arguments
 ##################################################################
@@ -124,6 +122,8 @@
 $DestFile = $ARGV[1];
 open (SRC,  "<$SrcFile")  || die "$CMD: Can't open file \`$SrcFile' for reading.\n";
 if ($opt_H || $opt_T) {
+    $tmp = `mktemp` || die;
+    chomp $tmp;
     # DestFile will be written in the postprocess
     open (DEST, ">$tmp")      || die "$CMD: Can't open file \`$tmp' for writing.\n";
 } else {
-------------- next part --------------
---
 texmf-dist/doc/man/man1/mptopdf.1 |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- texlive-base-2013.20140116.orig/texmf-dist/doc/man/man1/mptopdf.1
+++ texlive-base-2013.20140116/texmf-dist/doc/man/man1/mptopdf.1
@@ -1,6 +1,6 @@
 .TH "mptopdf" "1" "01-01-2014" "version 1.4.1" "convert MetaPost to PDF"
 .SH NAME
-.B mptopdf
+mptopdf - convert MetaPost to PDF
 .SH SYNOPSIS
 .B mptopdf [
 .I OPTIONS ...
@@ -8,7 +8,7 @@
 .I FILENAMES
 .B ]
 .SH DESCRIPTION
-.B convert MetaPost to PDF
+Converts figures in MetaPost to PDF
 .SH OPTIONS
 .TP
 .B --metafun
-------------- next part --------------
Respect TMPDIR env var in pdfjam (Closes: #714188) (thanks Ivan Shmakov)
--- texlive-extra-2013.20130509.orig/texmf-dist/scripts/pdfjam/pdfjam	2013-07-01 20:49:40.000000000 +0900
+++ texlive-extra-2013.20130509/texmf-dist/scripts/pdfjam/pdfjam	2013-07-01 20:50:18.000000000 +0900
@@ -169,7 +169,8 @@
 ##
 ##  Next a permitted location for temporary files on your system:
 ##
-tempfileDir='/var/tmp'   ##  /var/tmp is standard on most unix systems
+#tempfileDir='/var/tmp'   ##  /var/tmp is standard on most unix systems
+tempfileDir=${TMPDIR:-'/tmp'}  ##  /tmp is the default on Debian
 ##
 ##
 ##  Default for the output file location:
-------------- next part --------------
---
 texmf-dist/scripts/ulqda/ulqda.pl |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- texlive-extra-2013.20130509.orig/texmf-dist/scripts/ulqda/ulqda.pl
+++ texlive-extra-2013.20130509/texmf-dist/scripts/ulqda/ulqda.pl
@@ -17,7 +17,7 @@
 #
 
 use Getopt::Long;
-use Digest::SHA1 qw(sha1 sha1_hex sha1_base64);
+use Digest::SHA qw(sha1 sha1_hex sha1_base64);
 
 sub Display_Version()
 {
-------------- next part --------------
---
 texmf-dist/tex/latex/babelbib/spanish.bdf |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- texlive-base-2013.20130509.orig/texmf-dist/tex/latex/babelbib/spanish.bdf
+++ texlive-base-2013.20130509/texmf-dist/tex/latex/babelbib/spanish.bdf
@@ -73,9 +73,9 @@
   \def\btxmonfebshort##1{\protect\foreignlanguage{#1}{Feb##1{}}}%
   \def\btxmonmarshort##1{\protect\foreignlanguage{#1}{Mar##1{}}}%
   \def\btxmonaprshort##1{\protect\foreignlanguage{#1}{Abr##1{}}}%
-  \def\btxmonmayshort##1{\protect\foreignlanguage{#1}{May}}%
-  \def\btxmonjunshort##1{\protect\foreignlanguage{#1}{Jun}}%
-  \def\btxmonjulshort##1{\protect\foreignlanguage{#1}{Jul}}%
+  \def\btxmonmayshort##1{\protect\foreignlanguage{#1}{May##1{}}}%
+  \def\btxmonjunshort##1{\protect\foreignlanguage{#1}{Jun##1{}}}%
+  \def\btxmonjulshort##1{\protect\foreignlanguage{#1}{Jul##1{}}}%
   \def\btxmonaugshort##1{\protect\foreignlanguage{#1}{Ago##1{}}}%
   \def\btxmonsepshort##1{\protect\foreignlanguage{#1}{Sep##1{}}}%
   \def\btxmonoctshort##1{\protect\foreignlanguage{#1}{Oct##1{}}}%


More information about the tldistro mailing list