texlive[63253] Master/texmf-dist: swfigure (7may22)

commits+karl at tug.org commits+karl at tug.org
Sat May 7 22:40:07 CEST 2022


Revision: 63253
          http://tug.org/svn/texlive?view=revision&revision=63253
Author:   karl
Date:     2022-05-07 22:40:07 +0200 (Sat, 07 May 2022)
Log Message:
-----------
swfigure (7may22)

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

Modified: trunk/Master/texmf-dist/doc/latex/swfigure/README.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/swfigure/README.txt	2022-05-07 20:39:53 UTC (rev 63252)
+++ trunk/Master/texmf-dist/doc/latex/swfigure/README.txt	2022-05-07 20:40:07 UTC (rev 63253)
@@ -6,7 +6,7 @@
 %% 
 
 File README.txt for package swfigure
-        [2022-01-04 v.0.9.19 Managing large and spread wide figures]
+        [2022-04-24 v.0.9.20 Managing large and spread wide figures]
 This bundle contains  the swfigure.dtx, swfigure-examples.tex, 
 and README.txt files plus eight fake figures with extension .jpg
 or .pdf and a screenshot with extension .pdf.

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

Modified: trunk/Master/texmf-dist/doc/latex/swfigure/swfigure-examples.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/swfigure/swfigure-examples.tex	2022-05-07 20:39:53 UTC (rev 63252)
+++ trunk/Master/texmf-dist/doc/latex/swfigure/swfigure-examples.tex	2022-05-07 20:40:07 UTC (rev 63253)
@@ -1,9 +1,10 @@
 % !TEX encoding = UTF-8 Unicode
 % !TEX TS-program = pdflatex
 \documentclass[a4paper]{book}\errorcontextlines=100
-\usepackage[utf8]{inputenc}\usepackage[T1]{fontenc}
-\usepackage{lmodern,textcomp,multicol,enumitem,mflogo,xcolor,fancyvrb}
+\usepackage[T1]{fontenc}
+\usepackage{lmodern,multicol,enumitem,mflogo,xcolor,fancyvrb}
 \usepackage{swfigure}
+\usepackage[german,italian,english]{babel}
 \usepackage{hyperref}\hypersetup{pdfpagelayout=TwoColumnRight}
 
 \providecommand*\diff{\mathop{}\!\mathrm{d}}
@@ -82,6 +83,11 @@
 \date{Version \fileversion~---~ Last revised \filedate}
 \maketitle
 
+% Uncomment one of these lines just to test the correct prefix to the
+% figure number
+%\selectlanguage{italian}
+%\selectlanguage{german}
+
 \begin{abstract}
 Managing large images is not that straightforward to do. Package \pack{swfigure} was initially created to handle such large figures that required a whole spread to display them; the package initial letters SW are the acronym of Spread Wide. While developing this package, other display modes were introduced, so that with a single user command it is possible to display a large image in five different modes, that are to be chosen according to the figure aspect ratio, and the page design of the document.
 This package works pretty well with two side printed documents with a symmetrical page design, i.e. with the same dimension for the inner margins and, respectively, the outer margins. The documented \TeX\ file that describes the software does not have a symmetrical design, therefore this second file is necessary in order to show some examples.
@@ -330,7 +336,8 @@
 of the conditions, it must not be supposed that, then, formal logic
 (and what we have alone been able to show is that this is true) is a
 representation of the never-ending regress in the
-\begin{DFimage}[HS]{HSfakeimage}{A Horizontal Slim fake image}[fig:HSfake]
+%\begin{DFimage}[HS]{HSfakeimage}{A Horizontal Slim fake image}[fig:HSfake]
+\begin{DFimage}[HS]{felsen-wasser-small}{A Horizontal Slim fake image}[fig:HSfake]
  series of empirical
 conditions, but the discipline of pure reason, in so far as this
 expounds the contradictory rules of metaphysics, depends on the

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

Modified: trunk/Master/texmf-dist/source/latex/swfigure/swfigure.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/swfigure/swfigure.dtx	2022-05-07 20:39:53 UTC (rev 63252)
+++ trunk/Master/texmf-dist/source/latex/swfigure/swfigure.dtx	2022-05-07 20:40:07 UTC (rev 63253)
@@ -43,7 +43,7 @@
 %</driver>
 %<+package>\ProvidesPackage{swfigure}%
 %<*package>
-        [2022-01-04 v.0.9.19 Managing large and spread wide figures]
+        [2022-04-24 v.0.9.20 Managing large and spread wide figures]
 %</package>
 %<*driver>
 \documentclass[a4paper]{ltxdoc}\errorcontextlines=9
@@ -107,7 +107,7 @@
 %</driver>
 % \fi
 %
-% \CheckSum{1042}
+% \CheckSum{1046}
 %
 % \begin{abstract}
 % This package defines a single command that with different options can
@@ -295,7 +295,9 @@
 % better to enter a shorter text in that list.
 %
 %\item[\meta{caption}]
-% is the caption text.
+% is the caption text. Its number prefix is adapted to the main or the
+% current language setting as it happens with any figure in standard
+% \LaTeX.
 %
 %\item[\meta{label}]
 % this optional argument is the string that forms the \cs{label} command
@@ -437,9 +439,9 @@
 % image, besides occupying an A3 page, should have a minimum white
 % margin around, so that a caption can be superimposed to the image white
 % part if its original bottom margin that, upon rotation, becomes the
-% right one, is large nough. If the original image has no margins, the
-% caption is typeset ove the image, but it may be colored with contrasting
-% color compared to the average background one.
+% right one, is large enough. If the original image has no margins, the
+% caption is typeset ove the image, but it may be coloured with
+% contrasting color compared to the average background one.
 %
 % \item[\texttt{TH}]
 % This mode is suited for tall figures that do not show well when their
@@ -462,7 +464,7 @@
 % and examines the \texttt{.log} file where he finds the explanation
 % of the possibly too bad result.
 % \item[\texttt{TW}]
-% A another Total Width mode is is defined such that the scaled
+% A another Total Width mode is defined such that the scaled
 % image and its (side) caption occupy the upper part of the page/paper.
 % The given image is scaled to occupy the internal margin plus 80\%
 % of the text block width; the remaining horizontal space is provided
@@ -477,7 +479,7 @@
 % aspect ratio images, from a not so slim tall portrait image to
 % a landscape image. A square image, scaled as described above, 
 % may occupy approximately the upper half of the page.
-% The caption is always well typedset in the adjacent free space,
+% The caption is always well typeset in the adjacent free space,
 % and it is possible to slightly modify its measure by using  an
 % optional argument.
 %\end{description}
@@ -680,7 +682,7 @@
 %    \begin{macrocode}
 \NewDocumentCommand\DFcaption{O{#2} m o}{\refstepcounter{figure}%
   \vtop to 0pt{\hsize=\textheight\parindent=0pt\leavevmode
-  Figure \thefigure\quad #2\vss}%
+  \figurename\ \thefigure\quad #2\vss}%
   \addcontentsline{lof}{figure}{\protect\numberline{\thefigure}#1}
   \IfValueT{#3}{\label{#3}}\relax%
 }
@@ -687,7 +689,7 @@
 \NewDocumentCommand\DFcaptionP{O{#2} m o D!!{\color{black}}}%
   {\refstepcounter{figure}%
   \vbox to 0pt{\vss\hsize=\textheight\parindent=0pt\leavevmode
-  #4\relax Figure \thefigure\quad #2}%
+  #4\relax \figurename\ \thefigure\quad #2}%
   \addcontentsline{lof}{figure}{\protect\numberline{\thefigure}#1}
   \IfValueT{#3}{\label{#3}}\relax%
 }

Modified: trunk/Master/texmf-dist/tex/latex/swfigure/swfigure.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/swfigure/swfigure.sty	2022-05-07 20:39:53 UTC (rev 63252)
+++ trunk/Master/texmf-dist/tex/latex/swfigure/swfigure.sty	2022-05-07 20:40:07 UTC (rev 63253)
@@ -11,7 +11,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[2020/01/01]
 \ProvidesPackage{swfigure}%
-        [2022-01-04 v.0.9.19 Managing large and spread wide figures]
+        [2022-04-24 v.0.9.20 Managing large and spread wide figures]
 \RequirePackage{etoolbox}
 \RequirePackage{xfp}
 
@@ -61,7 +61,7 @@
 
 \NewDocumentCommand\DFcaption{O{#2} m o}{\refstepcounter{figure}%
   \vtop to 0pt{\hsize=\textheight\parindent=0pt\leavevmode
-  Figure \thefigure\quad #2\vss}%
+  \figurename\ \thefigure\quad #2\vss}%
   \addcontentsline{lof}{figure}{\protect\numberline{\thefigure}#1}
   \IfValueT{#3}{\label{#3}}\relax%
 }
@@ -68,7 +68,7 @@
 \NewDocumentCommand\DFcaptionP{O{#2} m o D!!{\color{black}}}%
   {\refstepcounter{figure}%
   \vbox to 0pt{\vss\hsize=\textheight\parindent=0pt\leavevmode
-  #4\relax Figure \thefigure\quad #2}%
+  #4\relax \figurename\ \thefigure\quad #2}%
   \addcontentsline{lof}{figure}{\protect\numberline{\thefigure}#1}
   \IfValueT{#3}{\label{#3}}\relax%
 }



More information about the tex-live-commits mailing list.