diff options
author | Karl Berry <karl@freefriends.org> | 2018-01-17 23:46:06 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-01-17 23:46:06 +0000 |
commit | 1e849611504af9b2921ef39cb7e591af882c7310 (patch) | |
tree | e962e10de08363a6d826390e4a329f6302a44c5f /Master | |
parent | 24b2cd0a33d04da7bfe49b41d5a597a5711f2cff (diff) |
graphbox (17jan18)
git-svn-id: svn://tug.org/texlive/trunk@46360 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/graphbox/README.txt (renamed from Master/texmf-dist/doc/latex/graphbox/README) | 23 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/graphbox/gboxsamp.tex | 5 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/graphbox/graphbox.pdf | bin | 298293 -> 283228 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/graphbox/graphbox.dtx | 215 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/graphbox/graphbox.ins | 4 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/graphbox/graphbox.sty | 12 |
6 files changed, 158 insertions, 101 deletions
diff --git a/Master/texmf-dist/doc/latex/graphbox/README b/Master/texmf-dist/doc/latex/graphbox/README.txt index 71da8e90619..777a6974d58 100644 --- a/Master/texmf-dist/doc/latex/graphbox/README +++ b/Master/texmf-dist/doc/latex/graphbox/README.txt @@ -1,20 +1,20 @@ -graphbox v1.0 -Copyright 2013-2014 Niklas Beisert +graphbox v1.1 +Copyright 2013-2018 Niklas Beisert -graphbox is an extension for the LaTeX2e package +graphbox is an extension for the LaTeX2e package graphicx to facilitate the placement of graphics relative to the current position using additional optional arguments [...] -of \includegraphics. -For example, changing the vertical alignment is convenient -for using graphics as elements of (mathematical) formulae. -Options for shifting, smashing and hiding the graphics -are mainly intended for designing presentations using, +of \includegraphics. +For example, changing the vertical alignment is convenient +for using graphics as elements of (mathematical) formulae. +Options for shifting, smashing and hiding the graphics +are mainly intended for designing presentations using, e.g., the beamer framework. -The package consists of the files +The package consists of the files - README readme file + README.txt readme file graphbox.ins installation file graphbox.dtx source file graphbox.sty package file @@ -22,7 +22,8 @@ The package consists of the files gboxsamp.mps sample graphics file graphbox.pdf manual -The distribution consists of the files README, graphbox.ins and graphbox.dtx. +The distribution consists of the files +README.txt, graphbox.ins and graphbox.dtx. Run "(pdf)latex graphbox.dtx" to compile the manual graphbox.pdf. diff --git a/Master/texmf-dist/doc/latex/graphbox/gboxsamp.tex b/Master/texmf-dist/doc/latex/graphbox/gboxsamp.tex index 4149e408982..2d33d286512 100644 --- a/Master/texmf-dist/doc/latex/graphbox/gboxsamp.tex +++ b/Master/texmf-dist/doc/latex/graphbox/gboxsamp.tex @@ -6,7 +6,7 @@ %% %% graphbox.dtx (with options: `sample') %% -%% Copyright (C) 2013-2014 Niklas Beisert +%% Copyright (C) 2013-2018 Niklas Beisert %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -17,8 +17,9 @@ %% version 2005/12/01 or later. %% \NeedsTeXFormat{LaTeX2e}[1996/12/01] -\ProvidesFile{gboxsamp.tex}[2014/08/31 v1.0 sample for graphbox] +\ProvidesFile{gboxsamp.tex}[2018/01/17 v1.1 sample for graphbox] \documentclass[12pt]{article} + \usepackage[margin=2cm]{geometry} \usepackage{graphicx} \usepackage{graphbox} diff --git a/Master/texmf-dist/doc/latex/graphbox/graphbox.pdf b/Master/texmf-dist/doc/latex/graphbox/graphbox.pdf Binary files differindex 2b4b2c8728a..53c8be5e941 100644 --- a/Master/texmf-dist/doc/latex/graphbox/graphbox.pdf +++ b/Master/texmf-dist/doc/latex/graphbox/graphbox.pdf diff --git a/Master/texmf-dist/source/latex/graphbox/graphbox.dtx b/Master/texmf-dist/source/latex/graphbox/graphbox.dtx index 9411a852d19..bff7c339560 100644 --- a/Master/texmf-dist/source/latex/graphbox/graphbox.dtx +++ b/Master/texmf-dist/source/latex/graphbox/graphbox.dtx @@ -1,6 +1,6 @@ % \iffalse % -% graphbox.dtx Copyright (C) 2013-2014 Niklas Beisert +% graphbox.dtx Copyright (C) 2013-2018 Niklas Beisert % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -18,21 +18,35 @@ % and the derived files graphbox.sty, gboxsamp.tex and gboxsamp.mps % %<package|sample>\NeedsTeXFormat{LaTeX2e}[1996/12/01] -%<package>\ProvidesPackage{graphbox}[2014/08/31 v1.0 extension for graphicx to adjust containing box] -%<sample>\ProvidesFile{gboxsamp.tex}[2014/08/31 v1.0 sample for graphbox] +%<package>\ProvidesPackage{graphbox}[2018/01/17 v1.1 extension for graphicx to adjust containing box] +%<sample>\ProvidesFile{gboxsamp.tex}[2018/01/17 v1.1 sample for graphbox] %<figure>%!PS-Adobe-3.0 EPSF-3.0 %<*driver> -%\ProvidesFile{graphbox.drv}[2014/08/31 v1.0 graphbox Reference Manual file] +%\ProvidesFile{graphbox.drv}[2018/01/17 v1.1 graphbox Reference Manual file] \PassOptionsToClass{10pt,a4paper}{article} \documentclass{ltxdoc} \usepackage[margin=35mm]{geometry} \usepackage{hyperref} +\usepackage{hyperxmp} \usepackage[usenames]{color} \hypersetup{colorlinks=true} \hypersetup{pdfstartview=FitH} \hypersetup{pdfpagemode=UseNone} +\hypersetup{pdfsource={}} +\hypersetup{pdflang={en-UK}} +\hypersetup{pdfcopyright={Copyright 2013-2018 Niklas Beisert. + This work may be distributed and/or modified under the + conditions of the LaTeX Project Public License, either version 1.3 + of this license or (at your option) any later version.}} +\hypersetup{pdflicenseurl={http://www.latex-project.org/lppl.txt}} +\hypersetup{pdfcontactaddress={ETH Zurich, ITP, HIT K, Wolfgang-Pauli-Strasse 27}} +\hypersetup{pdfcontactpostcode={8093}} +\hypersetup{pdfcontactcity={Zurich}} +\hypersetup{pdfcontactcountry={Switzerland}} +\hypersetup{pdfcontactemail={nbeisert@itp.phys.ethz.ch}} +\hypersetup{pdfcontacturl={http://people.phys.ethz.ch/\xmptilde nbeisert/}} \begin{document} @@ -45,7 +59,7 @@ \href{mailto:nbeisert@itp.phys.ethz.ch}{\texttt{nbeisert@itp.phys.ethz.ch}}} \hypersetup{pdfauthor={Niklas Beisert}} \hypersetup{pdfsubject={Manual for the LaTeX2e Package graphbox}} -\date{31 August 2014, \textsf{v1.0}} +\date{17 January 2018, \textsf{v1.1}} \maketitle \begin{abstract}\noindent @@ -292,7 +306,7 @@ graphics while reserving the space it would otherwise occupy: \] % Moreover, in conjunction with the \textsf{beamer} class, -the definition of the |\includegraphics| command +the definition of the |\includegraphics| command is altered such that it uses the same amount of space in all visibility modes (specified through the |\pause| mechanism and the |<...>| extension). @@ -311,38 +325,6 @@ Visibility is handled by automatically setting the |hide| option: \mbox{after} } \] -% - - - - - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\subsection{Related CTAN Packages} - -The \textsf{graphbox} package extends the -package \href{http://ctan.org/pkg/graphicx}{\textsf{graphicx}}. -It also changes some functionality of the class -\href{http://ctan.org/pkg/beamer}{\textsf{beamer}} -if present: -% -\begin{itemize} -\item -Compatibility with the \textsf{graphicx} package -has been tested with -v1.0f (1999/02/16) and -v1.0g (2014/04/25). - -\item -The changes of functionality are described -in section~\ref{sec:hide}. -Compatibility with the -\textsf{beamer} class -has been tested with v3.33 (2013/12/25). - -\end{itemize} -% - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -541,36 +523,47 @@ of the \textsf{beamer} class for |\includegraphics|; as usual, graphics will occupy no space when covered. \end{itemize} -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%\subsection{Feature Suggestions} -% -%\begin{itemize} -%\item -%Combine hshift and vshift into one definition. how? which order? -%\item -%negative bmargin -%\end{itemize} - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\section{Information} + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\appendix +\subsection{Copyright} -\settowidth\MacroIndent{\rmfamily\scriptsize 000\ } +\begingroup \parskip1ex \parindent0pt +Copyright \copyright{} 2013--2018 Niklas Beisert + +This work may be distributed and/or modified under the +conditions of the \LaTeX{} Project Public License, either version 1.3 +of this license or (at your option) any later version. +The latest version of this license is in + \url{http://www.latex-project.org/lppl.txt} +and version 1.3 or later is part of all distributions of \LaTeX{} +version 2005/12/01 or later. + +This work has the LPPL maintenance status `maintained'. + +The Current Maintainer of this work is Niklas Beisert. + +This work consists of the files |README.txt|, |graphbox.ins| and |graphbox.dtx| +as well as the derived files |graphbox.sty|, |gboxsamp.tex| with |gboxsamp.mps| +and |graphbox.pdf|. + +\endgroup + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\section{Files and Installation} +\subsection{Files and Installation} The package consists of the files % \begin{center} \begin{tabular}{ll} - |README| & readme file \\ + |README.txt| & readme file \\ |graphbox.ins| & installation file \\ |graphbox.dtx| & source file \\ |graphbox.sty| & package file \\ @@ -581,11 +574,12 @@ The package consists of the files \end{center} % The distribution consists of the files -|README|, |graphbox.ins| and |graphbox.dtx|. +|README.txt|, |graphbox.ins| and |graphbox.dtx|. % \begin{itemize} \item -Run (pdf)\LaTeX{} on |graphbox.dtx| to compile the manual |graphbox.pdf| (this file). +Run (pdf)\LaTeX{} on |graphbox.dtx| +to compile the manual |graphbox.pdf| (this file). \item Run \LaTeX{} on |graphbox.ins| to create the package |graphbox.sty| and the sample consisting of |gboxsamp.tex| and |gboxsamp.mps|. @@ -593,28 +587,89 @@ Copy the file |graphbox.sty| to an appropriate directory of your \LaTeX{} distribution, e.g.\ \textit{texmf-root}|/tex/latex/graphbox|. \end{itemize} - \DocInput{graphbox.dtx} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\subsection{Interaction with CTAN Packages} -% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\section{Copyright} +The \textsf{graphbox} package extends the +package \href{http://ctan.org/pkg/graphicx}{\textsf{graphicx}}. +It also changes some functionality of the class +\href{http://ctan.org/pkg/beamer}{\textsf{beamer}} +if present: +% +\begin{itemize} +\item +Compatibility with the \textsf{graphicx} package +has been tested with +v1.0f (1999/02/16) and +v1.0g (2014/04/25). -Copyright \copyright{} 2013--2014 Niklas Beisert +\item +The changes of functionality are described +in section~\ref{sec:hide}. +Compatibility with the +\textsf{beamer} class +has been tested with v3.33 (2013/12/25). -This work may be distributed and/or modified under the -conditions of the \LaTeX{} Project Public License, either version 1.3 -of this license or (at your option) any later version. -The latest version of this license is in - \url{http://www.latex-project.org/lppl.txt} -and version 1.3 or later is part of all distributions of \LaTeX{} -version 2005/12/01 or later. +\end{itemize} -This work has the LPPL maintenance status `maintained'. +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%\subsection{Feature Suggestions} +% +%\begin{itemize} +%\item +%Combine hshift and vshift into one definition. how? which order? +%\item +%negative bmargin +%\item +%change \includegraphics missing file error into a warning? +%\end{itemize} -The Current Maintainer of this work is Niklas Beisert. +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\subsection{Revision History} -This work consists of the files |graphbox.dtx| and |graphbox.ins| -and the derived files |graphbox.sty|, |gboxsamp.tex| and |gboxsamp.mps| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\paragraph{v1.1:} 2018/01/17 + +\begin{itemize} +\item +hooked deeper into |\includegraphics| chain +\item +manual rearranged +\item +minor internal changes +\end{itemize} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\paragraph{v1.0:} 2014/08/31 + +\begin{itemize} +\item +added further placement options +\item +manual and installation package added +\item +first version published on CTAN +\end{itemize} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\paragraph{v0.8:} 2014/08/25 + +\begin{itemize} +\item +basic functionality +\end{itemize} + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\appendix + +\settowidth\MacroIndent{\rmfamily\scriptsize 000\ } +\parskip1ex +\parindent0pt + + \DocInput{graphbox.dtx} \end{document} %</driver> @@ -633,6 +688,7 @@ and the derived files |graphbox.sty|, |gboxsamp.tex| and |gboxsamp.mps| % % \begin{macrocode} \documentclass[12pt]{article} + \usepackage[margin=2cm]{geometry} \usepackage{graphicx} \usepackage{graphbox} @@ -757,7 +813,7 @@ newpath -20 -20 moveto 20 20 lineto stroke %\fi % % In this section we describe the package |graphbox.sty|. -% + % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \paragraph{Package Options.} % @@ -845,18 +901,17 @@ newpath -20 -20 moveto 20 20 lineto stroke % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \paragraph{Argument Processing.} % -% Next, we overwrite the function |\Ginclude@graphics| -% called by |\Gin@ii| within |\includegraphics| +% Next, we overwrite the function |\Gin@setfile| called by |\includegraphics| % after the optional parameters have been processed % by |\setkeys{Gin}{...}|: % \begin{macrocode} -\let\old@box@Ginclude@graphics\Ginclude@graphics -\def\Ginclude@graphics#1{% +\let\old@box@Gin@setfile\Gin@setfile +\def\Gin@setfile#1#2#3{% % \end{macrocode} % We first save the graphics into the box |\Gin@box@box| % and compute its width and height: % \begin{macrocode} - \sbox{\Gin@box@box}{\old@box@Ginclude@graphics{#1}}% + \sbox{\Gin@box@box}{\old@box@Gin@setfile{#1}{#2}{#3}}% \settowidth{\Gin@box@width}{\usebox{\Gin@box@box}}% \settoheight{\Gin@box@height}{\usebox{\Gin@box@box}}% % \end{macrocode} @@ -958,16 +1013,14 @@ newpath -20 -20 moveto 20 20 lineto stroke % \textsf{beamer} overwrites |\includegraphics| % at the beginning of the document body. % We have to overwrite it again discarding -% the changes introduces by \textsf{beamer}: +% the changes introduced by \textsf{beamer}: % \begin{macrocode} \AtBeginDocument{\let\includegraphics=\fibox@includegraphics} \fi}{} % \end{macrocode} -% + %\iffalse %</package> %\fi % \endinput -% -%% \CheckSum{3381} diff --git a/Master/texmf-dist/source/latex/graphbox/graphbox.ins b/Master/texmf-dist/source/latex/graphbox/graphbox.ins index c477e1c173c..e2ef935b914 100644 --- a/Master/texmf-dist/source/latex/graphbox/graphbox.ins +++ b/Master/texmf-dist/source/latex/graphbox/graphbox.ins @@ -2,7 +2,7 @@ \input docstrip.tex \keepsilent -% collref.ins Copyright (C) 2013-2014 Niklas Beisert +% graphbox.ins Copyright (C) 2013-2018 Niklas Beisert % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -14,7 +14,7 @@ \preamble -Copyright (C) 2013-2014 Niklas Beisert +Copyright (C) 2013-2018 Niklas Beisert This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/graphbox/graphbox.sty b/Master/texmf-dist/tex/latex/graphbox/graphbox.sty index 2b5d25a577f..3c37efac602 100644 --- a/Master/texmf-dist/tex/latex/graphbox/graphbox.sty +++ b/Master/texmf-dist/tex/latex/graphbox/graphbox.sty @@ -6,7 +6,7 @@ %% %% graphbox.dtx (with options: `package') %% -%% Copyright (C) 2013-2014 Niklas Beisert +%% Copyright (C) 2013-2018 Niklas Beisert %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -17,7 +17,8 @@ %% version 2005/12/01 or later. %% \NeedsTeXFormat{LaTeX2e}[1996/12/01] -\ProvidesPackage{graphbox}[2014/08/31 v1.0 extension for graphicx to adjust containing box] +\ProvidesPackage{graphbox}[2018/01/17 v1.1 extension for graphicx to adjust containing box] + \newif\ifGin@box@beamer\Gin@box@beamertrue \DeclareOption{nobeamer}{\Gin@box@beamerfalse} \ProcessOptions @@ -63,9 +64,9 @@ \define@key{Gin}{margin}{\def\Gin@box@lmargin{#1}\def\Gin@box@rmargin{#1}% \def\Gin@box@tmargin{#1}\def\Gin@box@bmargin{#1}} -\let\old@box@Ginclude@graphics\Ginclude@graphics -\def\Ginclude@graphics#1{% - \sbox{\Gin@box@box}{\old@box@Ginclude@graphics{#1}}% +\let\old@box@Gin@setfile\Gin@setfile +\def\Gin@setfile#1#2#3{% + \sbox{\Gin@box@box}{\old@box@Gin@setfile{#1}{#2}{#3}}% \settowidth{\Gin@box@width}{\usebox{\Gin@box@box}}% \settoheight{\Gin@box@height}{\usebox{\Gin@box@box}}% \def\gwidth{\Gin@box@width}% @@ -124,6 +125,7 @@ \old@box@includegraphics[#1]{#2}} \AtBeginDocument{\let\includegraphics=\fibox@includegraphics} \fi}{} + \endinput %% %% End of file `graphbox.sty'. |