texlive[47193] Master/texmf-dist: easyfig (30mar18)

commits+karl at tug.org commits+karl at tug.org
Fri Mar 30 23:16:39 CEST 2018


Revision: 47193
          http://tug.org/svn/texlive?view=revision&revision=47193
Author:   karl
Date:     2018-03-30 23:16:39 +0200 (Fri, 30 Mar 2018)
Log Message:
-----------
easyfig (30mar18)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/easyfig/README
    trunk/Master/texmf-dist/doc/latex/easyfig/easyfig.pdf
    trunk/Master/texmf-dist/source/latex/easyfig/easyfig.dtx
    trunk/Master/texmf-dist/tex/latex/easyfig/easyfig.sty

Modified: trunk/Master/texmf-dist/doc/latex/easyfig/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/easyfig/README	2018-03-30 21:16:21 UTC (rev 47192)
+++ trunk/Master/texmf-dist/doc/latex/easyfig/README	2018-03-30 21:16:39 UTC (rev 47193)
@@ -1,6 +1,6 @@
 LaTeX package 'easyfig'
 ~~~~~~~~~~~~~~~~~~~~~~~
-Copyright (c) 2011-2012 by Martin Scharrer <martin at scharrer-online.de>
+Copyright (c) 2011-2018 by Martin Scharrer <martin at scharrer-online.de>
 CTAN: http://www.ctan.org/pkg/easyfig
 Code repository: https://bitbucket.org/martin_scharrer/easyfig
 
@@ -12,3 +12,6 @@
 The package uses the authors other package 'adjustbox' to center and image and to
 allow for easy further modifications.
 
+As 'adjustbox' now provides keys to turn images or other material into floats or 
+non-floats including captions this package has become quite redundant.
+

Modified: trunk/Master/texmf-dist/doc/latex/easyfig/easyfig.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/easyfig/easyfig.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/easyfig/easyfig.dtx	2018-03-30 21:16:21 UTC (rev 47192)
+++ trunk/Master/texmf-dist/source/latex/easyfig/easyfig.dtx	2018-03-30 21:16:39 UTC (rev 47193)
@@ -1,6 +1,6 @@
 % \iffalse meta-comment
 %<=*COPYRIGHT>
-%% Copyright (C) 2011-2012 by Martin Scharrer <martin at scharrer-online.de>
+%% Copyright (C) 2011-2018 by Martin Scharrer <martin at scharrer-online.de>
 %% ----------------------------------------------------------------------
 %% This work may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License, either version 1.3
@@ -24,10 +24,10 @@
 %<*driver>
 \ProvidesFile{easyfig.dtx}[%
 %<=*DATE>
-    2012/05/15
+    2018/03/30
 %<=/DATE>
 %<=*VERSION>
-    v1.2
+    v1.2a
 %<=/VERSION>
     Easily include images as figures]
 \documentclass{ydoc}
@@ -41,6 +41,8 @@
 \RecordChanges
 \OnlyDescription
 \optionaloff
+\def\textfraction{0.2}
+\def\bottomfraction{0.8}
 \begin{document}
   \DocInput{\jobname.dtx}
   \PrintChanges
@@ -70,12 +72,14 @@
 %
 % \changes{v1.0}{2011/10/31}{Initial release.}
 % \changes{v1.1}{2012/05/06}{Fix of "placement" key and non-e-TeX fallback code.}
+% \changes{v1.2}{2012/05/15}{Added "here" key.}
+% \changes{v1.2a}{2018/03/30}{Updated manual to mentioned \pkg{adjustbox} as alternative.}
 %
 % \DoNotIndex{\newcommand,\newenvironment}
 %
 % \GetFileInfo{easyfig.dtx}
 % \author{Martin Scharrer}
-% \email{martin at scharrer.me}
+% \email{martin at scharrer-online.de}
 % \ifdefined\repository
 %   \repository{https://bitbucket.org/martin_scharrer/easyfig}
 % \fi
@@ -85,12 +89,15 @@
 % \begin{abstract}\noindent
 % This package aims to simplify the most common usage of \env{figure} environments
 % to include a single image with a caption and label.
+%
+% Current versions of the \pkg{adjustbox} package now provide keys for turning an image or other content into a
+% float or non-float inclusive a caption. This makes this package quite redundant.
 % \end{abstract}
 %
 % \section{Introduction}
 % A very high percentage of all \LaTeX\ figures aim to simply display a simple image with a caption and label.
 % A common way to code this is:
-% \begin{lstlisting}[gobble=4,numbers=none]
+% \begin{lstlisting}[gobble=4,numbers=none,language={[latex]tex}]
 %   \begin{figure}
 %      \centering
 %      \includegraphics[<options>]{<filename>}
@@ -205,26 +212,29 @@
 % This key can be used to add a margin (white space) around the image.
 %
 %
+% \clearpage
 % \section{Examples}
 %
 % \subsection{Simple figure with an image and caption, automated label}
 % A default label `|fig:image|' is used here.
 % \par\smallskip\noindent
-% \Macro\Figure['width=5cm,caption={An image}']{image}
-% \Figure[width=5cm,caption={An image}]{image}
+% \Macro\Figure['width=10cm,caption={An image}']{image}
+% \Figure[width=10cm,caption={An image}]{image}
 %
+% \clearpage
 % \subsection{Simple figure with an image and caption, manual label}
 % Normal usage with a manual label.
 % \par\smallskip\noindent
-% \Macro\Figure['width=5cm,caption={Second image},label=fig:myimage']{image}
-% \Figure[width=5cm,caption={Second image},label=fig:myimage]{image}
+% \Macro\Figure['width=10cm,caption={Second image},label=fig:myimage']{image}
+% \Figure[width=10cm,caption={Second image},label=fig:myimage]{image}
 %
+% \clearpage
 % \subsection{Usage of other keys}
 % Adds a frame around the image which is rotated a little.
 % The placement is fixed to top or bottom.
 % \par\smallskip\noindent
-% \Macro\Figure['width=5cm,angle=10,position=tb,caption={Another image},frame']{image}
-% \Figure[width=5cm,angle=10,placement=tb,caption={Another image},frame]{image}
+% \Macro\Figure['width=10cm,angle=10,position=tb,caption={Another image},frame']{image}
+% \Figure[width=10cm,angle=10,placement=tb,caption={Another image},frame]{image}
 %
 % \StopEventually{}
 % \clearpage

Modified: trunk/Master/texmf-dist/tex/latex/easyfig/easyfig.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/easyfig/easyfig.sty	2018-03-30 21:16:21 UTC (rev 47192)
+++ trunk/Master/texmf-dist/tex/latex/easyfig/easyfig.sty	2018-03-30 21:16:39 UTC (rev 47193)
@@ -1,4 +1,4 @@
-%% Copyright (C) 2011-2012 by Martin Scharrer <martin at scharrer-online.de>
+%% Copyright (C) 2011-2018 by Martin Scharrer <martin at scharrer-online.de>
 %% ----------------------------------------------------------------------
 %% This work may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License, either version 1.3
@@ -16,8 +16,8 @@
 %% and the derived filebase easyfig.sty.
 %%
 \ProvidesPackage{easyfig}[%
-    2012/05/15
-    v1.2
+    2018/03/30
+    v1.2a
     Easy way to include figures]
 \RequirePackage{adjustbox}
 \RequirePackage{xkeyval}



More information about the tex-live-commits mailing list