summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/xetex-def/README27
-rw-r--r--Master/texmf-dist/doc/latex/xetex-def/doc/Makefile23
-rw-r--r--Master/texmf-dist/doc/latex/xetex-def/doc/pagebox-pd.pdfbin0 -> 55824 bytes
-rw-r--r--Master/texmf-dist/doc/latex/xetex-def/doc/pagebox-pd.tex44
-rw-r--r--Master/texmf-dist/doc/latex/xetex-def/doc/pagebox-xe.pdfbin0 -> 56645 bytes
-rw-r--r--Master/texmf-dist/doc/latex/xetex-def/doc/pagebox-xe.tex44
-rw-r--r--Master/texmf-dist/doc/latex/xetex-def/doc/pagebox-xe.txt14
7 files changed, 152 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/xetex-def/README b/Master/texmf-dist/doc/latex/xetex-def/README
new file mode 100644
index 00000000000..d6bb6e6f028
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/xetex-def/README
@@ -0,0 +1,27 @@
+ README for xetex-def
+
+This directory contains the LaTeX graphics driver 'xetex.def'
+used with 'xelatex'
+Version: 4.06; 2015-09-11.
+
+The canonical source is the subversion repository at
+https://puszcza.gnu.org.ua/projects/latexfmxdef.
+
+Copyright (C) 2004-2007, 2009, 2013-2015
+Ross Moore <ross at maths dot mq dot edu dot au>
+modified by Jonathan Kew et al.
+
+This program can be redistributed and/or modified under the terms
+of the LaTeX Project Public License Distributed from CTAN
+archives in directory macros/latex/base/lppl.txt; either
+version 1 of the License, or any later version.
+
+To install:
+ (1) copy xetex.def to a directory
+ suitable-texmf/tex/xelatex/xetex-def
+ (2) copy all files in a subdirectory 'doc' to a directory
+ suitable-texmf/doc/xelatex/xetex-def
+ (3) update TeX's file database.
+
+-----------------------------------------------------------------
+Akira Kakuto <kakuto at fuk dot kindai dot ac dot jp>
diff --git a/Master/texmf-dist/doc/latex/xetex-def/doc/Makefile b/Master/texmf-dist/doc/latex/xetex-def/doc/Makefile
new file mode 100644
index 00000000000..82f3d033bfb
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/xetex-def/doc/Makefile
@@ -0,0 +1,23 @@
+#
+# Makefile to test pagebox=artbox etc. in xelatex
+#
+# files pagebox-pd.tex, pagebox-xe.tex, image1.tex, image2.tex are
+# written by Y. Terada.
+#
+
+all: pagebox-pd.pdf pagebox-xe.pdf
+
+pagebox-pd.pdf: pagebox-pd.tex image1.pdf image2.pdf
+ pdflatex pagebox-pd.tex
+
+pagebox-xe.pdf: pagebox-xe.tex image1.pdf image2.pdf
+ xelatex pagebox-xe.tex
+
+image1.pdf: image1.tex
+ pdflatex $<
+
+image2.pdf: image2.tex
+ pdflatex $<
+
+clean::
+ rm -f *~ *.log *.aux *.dvi pagebox-pd.pdf pagebox-xe.pdf
diff --git a/Master/texmf-dist/doc/latex/xetex-def/doc/pagebox-pd.pdf b/Master/texmf-dist/doc/latex/xetex-def/doc/pagebox-pd.pdf
new file mode 100644
index 00000000000..18d47ac9fd5
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/xetex-def/doc/pagebox-pd.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/xetex-def/doc/pagebox-pd.tex b/Master/texmf-dist/doc/latex/xetex-def/doc/pagebox-pd.tex
new file mode 100644
index 00000000000..c85d27981b9
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/xetex-def/doc/pagebox-pd.tex
@@ -0,0 +1,44 @@
+% pdflatex
+\documentclass[a4paper]{article}
+\usepackage[paperheight=60cm,margin=2cm]{geometry}
+\usepackage{graphicx}
+\setlength{\parindent}{0pt}
+\pagestyle{empty}
+
+\makeatletter
+\def\test#1#2{%
+ \def\@temp{#1}%
+ \ifx\@temp\@empty
+ \makebox[5.5cm][l]{\texttt{\LARGE pagebox is absent}}\fbox{\includegraphics{#2.pdf}}%
+ \else
+ \makebox[5.5cm][l]{\texttt{\LARGE pagebox=#1box}}\fbox{\includegraphics[pagebox=#1box]{#2.pdf}}%
+ \fi
+ \par
+}
+\makeatother
+
+\begin{document}
+\section{test: image1}
+\test{}{image1}
+\test{media}{image1}
+\test{}{image1}
+\test{art}{image1}
+\test{}{image1}
+\test{bleed}{image1}
+\test{}{image1}
+\test{trim}{image1}
+\test{}{image1}
+\newpage
+\section{test: image2}
+\test{}{image2}
+\test{media}{image2}
+\test{}{image2}
+\test{art}{image2}
+\test{}{image2}
+\test{bleed}{image2}
+\test{}{image2}
+\test{trim}{image2}
+\test{}{image2}
+\test{crop}{image2}
+\test{}{image2}
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/xetex-def/doc/pagebox-xe.pdf b/Master/texmf-dist/doc/latex/xetex-def/doc/pagebox-xe.pdf
new file mode 100644
index 00000000000..234f3ce13e6
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/xetex-def/doc/pagebox-xe.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/xetex-def/doc/pagebox-xe.tex b/Master/texmf-dist/doc/latex/xetex-def/doc/pagebox-xe.tex
new file mode 100644
index 00000000000..f2ee311821c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/xetex-def/doc/pagebox-xe.tex
@@ -0,0 +1,44 @@
+% xelatex
+\documentclass[a4paper]{article}
+\usepackage[paperheight=60cm,margin=2cm]{geometry}
+\usepackage{graphicx}
+\setlength{\parindent}{0pt}
+\pagestyle{empty}
+
+\makeatletter
+\def\test#1#2{%
+ \def\@temp{#1}%
+ \ifx\@temp\@empty
+ \makebox[5.5cm][l]{\texttt{\LARGE pagebox is absent}}\fbox{\includegraphics{#2.pdf}}%
+ \else
+ \makebox[5.5cm][l]{\texttt{\LARGE pagebox=#1box}}\fbox{\includegraphics[pagebox=#1box]{#2.pdf}}%
+ \fi
+ \par
+}
+\makeatother
+
+\begin{document}
+\section{test: image1}
+\test{}{image1}
+\test{media}{image1}
+\test{}{image1}
+\test{art}{image1}
+\test{}{image1}
+\test{bleed}{image1}
+\test{}{image1}
+\test{trim}{image1}
+\test{}{image1}
+\newpage
+\section{test: image2}
+\test{}{image2}
+\test{media}{image2}
+\test{}{image2}
+\test{art}{image2}
+\test{}{image2}
+\test{bleed}{image2}
+\test{}{image2}
+\test{trim}{image2}
+\test{}{image2}
+\test{crop}{image2}
+\test{}{image2}
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/xetex-def/doc/pagebox-xe.txt b/Master/texmf-dist/doc/latex/xetex-def/doc/pagebox-xe.txt
new file mode 100644
index 00000000000..26a816d8a77
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/xetex-def/doc/pagebox-xe.txt
@@ -0,0 +1,14 @@
+ pagebox-xe.txt
+
+This directory contains examples for a new feature of xetex.def:
+support of an option [pagebox=artbox, etc.] in pdf inclusion, like that
+in pdflatex, in the case of xelatex. The feature is supported in xetex.def
+version 4.06 or later ones. It requires a new xdvipdfmx and a new xetex
+which are not in TeX Live 2015. They will be available in TeX Live 2016.
+Interested users may build themselves new binaries by using new sources in
+the TeX Live repository.
+
+There is a Makefile for GNU Make. All test files are written by Y. Terada.
+
+--------------------------------------------------------------------
+Akira Kakuto <kakuto at fuk dot kindai dot ac dot jp>