summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/standalone
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-10-11 03:01:16 +0000
committerNorbert Preining <norbert@preining.info>2022-10-11 03:01:16 +0000
commit2713ec666b0e53418a839b97c48e0a9234fe5c98 (patch)
tree44f44c40d7cf3d6c2c0be9da7bfcf4dad97eb483 /macros/latex/contrib/standalone
parent9c7942efff8183c8695ec824008847dd068dbfe7 (diff)
CTAN sync 202210110301
Diffstat (limited to 'macros/latex/contrib/standalone')
-rw-r--r--macros/latex/contrib/standalone/DEPENDS.txt10
-rw-r--r--macros/latex/contrib/standalone/README9
-rw-r--r--macros/latex/contrib/standalone/standalone.dtx43
-rw-r--r--macros/latex/contrib/standalone/standalone.pdfbin270986 -> 280807 bytes
4 files changed, 38 insertions, 24 deletions
diff --git a/macros/latex/contrib/standalone/DEPENDS.txt b/macros/latex/contrib/standalone/DEPENDS.txt
new file mode 100644
index 0000000000..6f17f86d9b
--- /dev/null
+++ b/macros/latex/contrib/standalone/DEPENDS.txt
@@ -0,0 +1,10 @@
+hard xkeyval
+hard currfile
+hard adjustbox
+hard gincltex
+hard filemod
+soft varwidth
+soft shellesc
+soft ifluatex
+soft ifpdf
+soft ifxetex \ No newline at end of file
diff --git a/macros/latex/contrib/standalone/README b/macros/latex/contrib/standalone/README
index 577a44994c..04e021db29 100644
--- a/macros/latex/contrib/standalone/README
+++ b/macros/latex/contrib/standalone/README
@@ -1,11 +1,12 @@
LaTeX class and package 'standalone'
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-Copyright (c) 2010-2018 by Martin Scharrer <martin@scharrer-online.de>
-Repository: http://bitbucket.org/martin_scharrer/standalone
+Copyright (c) 2010-2022 by Martin Scharrer <martin.scharrer@web.de>
+Repository: https://github.com/MartinScharrer/standalone
+Issues: https://github.com/MartinScharrer/standalone/issues
-Allows TeX pictures or other TeX code in sub-files to be compiled standalone
+Allows TeX diagrams or other TeX code in sub-files to be compiled standalone
or as part of a main document.
-Provides support for pictures with beamer overlays.
+Provides support for diagrams with beamer overlays.
Since v0.3 the package provides options to automatically or manually include
all sub-files preambles in the main document preamble.
diff --git a/macros/latex/contrib/standalone/standalone.dtx b/macros/latex/contrib/standalone/standalone.dtx
index e2b20a99e8..322797c310 100644
--- a/macros/latex/contrib/standalone/standalone.dtx
+++ b/macros/latex/contrib/standalone/standalone.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%<=*COPYRIGHT>
-%% Copyright (C) 2011-2017 by Martin Scharrer <martin@scharrer-online.de>
+%% Copyright (C) 2010-2022 by Martin Scharrer <martin.scharrer@web.de>
%% ---------------------------------------------------------------------------
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -26,10 +26,10 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{standalone.dtx}[%
%<=*DATE>
- 2018/03/26
+ 2022/10/10
%<=/DATE>
%<=*VERSION>
- v1.3a
+ v1.3b
%<=/VERSION>
DTX file of the standalone bundle]
\documentclass[a4paper,11pt]{ydoc}
@@ -61,7 +61,7 @@
%</driver>
% \fi
%
-% \CheckSum{3781}
+% \CheckSum{3934}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -94,6 +94,7 @@
% Added loading of LuaTeX compatibility packages.
% Changed filemodedate code to support LuaTeX.
% Fixes for option combination multi,convert.}
+% \changes{v1.3b}{2022/10/10}{Fixed incorrect/unwanted messages for conversion feature. Updated project URLs in documentation. Added dependency list file.}
%
% \GetFileInfo{\jobname.dtx}
%
@@ -113,15 +114,15 @@
%
% \ifpdf
% \hypersetup{%
-% pdfauthor = {Martin Scharrer <martin@scharrer-online.de>},
+% pdfauthor = {Martin Scharrer <martin.scharrer@web.de>},
% pdftitle = {The standalone class and package},
% pdfsubject = {Documentation of LaTeX class and package 'standalone'},
% pdfkeywords = {standalone, LaTeX, TeX}
% }%
% \fi
% \author{Martin Scharrer}
-% \email{martin@scharrer-online.de}
-% \repository{https://bitbucket.org/martin_scharrer/standalone}
+% \email{martin.scharrer@web.de}
+% \repository{https://github.com/MartinScharrer/standalone}
% \maketitle
%
%
@@ -142,8 +143,8 @@
% This bundle is released on the comprehensive \TeX\ archive network (CTAN) under \url{https://ctan.org/pkg/standalone}.
% Any modern \LaTeX\ distribution should pick it from there automatically, though. CTAN now allows votes and comments on packages and such feedback is very welcome.
%
-% The source code of this bundle is hosted on Bitbucket as Mercurial repository under \url{https://bitbucket.org/martin_scharrer/standalone/}.
-% The ticket system there should be used to report bugs or request new features: \url{https://bitbucket.org/martin_scharrer/standalone/issues/new}.
+% The source code of this bundle is hosted on Github under \url{https://github.com/MartinScharrer/standalone}.
+% The ticket system there should be used to report bugs or request new features: \url{https://github.com/MartinScharrer/standalone/issues}.
%
% User which need help with should search for an existing solution on the site TeX.Stackexchange.com: \url{https://tex.stackexchange.com/questions/tagged/standalone}
% or post a new question: \url{https://tex.stackexchange.com/questions/ask?tags=standalone}.
@@ -156,8 +157,7 @@
%
% \subsection{Installation with TeX Live}
% Using a normal TeX Live the bundle is easily installed using the package manager \texttt{tlmgr}.
-% The command \texttt{tlmgr install \csname @package\endcsname} will install it and \texttt{tlmgr update \csname
-% @package\endcsname} can be used to update it.
+% The command \texttt{tlmgr install standalone} will install it and \texttt{tlmgr update standalone} can be used to update it.
%
% Because the Ubuntu/Debian version of TeX Live may not include \texttt{tlmgr} a manual install of the package is
% required. The author recommends to manually install the vanilla version of TeX Live instead which will include
@@ -175,7 +175,8 @@
%
% \subsubsection{Installation from TDS ZIP file}
% The TDS (\TeX\ Directory Structur) ZIP file includes all package files in the final form and relative location.
-% It can be downloaded from CTAN: \Eurl{http://mirrors.ctan.org/install/macros/latex/contrib/\csname @package\endcsname.tds.zip} and from the Bitbucket project site \Eurl{https://bitbucket.org/martin_scharrer/standalone/downloads/\csname @package\endcsname.tds.zip}.
+% It can be downloaded from CTAN: \url{http://mirrors.ctan.org/install/macros/latex/contrib/standalone.tds.zip} and
+% from the Github project site \url{https://github.com/MartinScharrer/standalone/releases/}.
% It needs only to be unzipped in a TEXMF directory. Under Linux/Unix this is usually the user TEXMF directory
% \path{~/texmf}.
% Under Windows it is usually \path{C:\Users\<user name>\texmf} (Windows Vista/7) or \path{C:\Documents and
@@ -191,7 +192,7 @@
%
% \subsubsection{Installation from DTX File}
% The package is also provided as DTX (Documented TeX file) which is accompanied by an INS (Install) file
-% under \Eurl{http://www.ctan.org/tex-archive/macros/latex/contrib/\csname @package\endcsname}.
+% under \url{http://www.ctan.org/tex-archive/macros/latex/contrib/standalone}.
% To unpack all package files from the DTX file compile the INS file with |tex| once.
% The manual can be compiled from the DTX file with |pdflatex|. This requires the \pkg{ydoc} bundle to be installed.
%
@@ -211,8 +212,8 @@
%
% \section{Bug reports, feature requests and other feedback}
% Bug reports, feature requests and other feedback about the \cls{standalone} bundle can be sent to the author
-% either by email to \href{mailto:martin@scharrer-online.de?subject=standalone:%20}{martin@scharrer-online.de}
-% or using the issue tracker for the bundle under \url{https://bitbucket.org/martin_scharrer/standalone/issues}.
+% either by email to \href{mailto:martin.scharrer@web.de?subject=standalone:%20}{martin.scharrer@web.de}
+% or using the issue tracker for the bundle under \url{https://github.com/MartinScharrer/standalone/issues}.
% Bug reports should include the used version of \cls{standalone} as well as the used \LaTeX\ format (|pdflatex|, |latex|, |xelatex|, etc.) and distribution including its version.
% Usually a minimal example which recreate the issue is immensely helpful in analysing and solving any bug.
% Please look for existing related issue tickets first and check the FAQ/troubleshooting in \autoref{sec:classfaq} first.
@@ -2598,7 +2599,7 @@
% \end{macrocode}
%
% \begin{macrocode}
-\let\sa@convert@stop\stop
+\def\sa@convert@stop{\csname fi\endcsname\stop}%
\begingroup
\let\on@line\@gobble
% \end{macrocode}
@@ -2664,16 +2665,16 @@
\def\sa@multi@pagemark{}%
\edef\sa@lastoutfile{\outfile}%
\else
+ \begingroup
+ \def\sa@multi@pagemark{-\the\@tempcnta}%
+ \xdef\sa@lastoutfile{\outfile}%
+ \endgroup
\@tempcntb\z@
\loop\ifnum\@tempcnta>0
\advance\@tempcntb\@ne
\divide\@tempcnta by 10\relax
\repeat
\edef\sa@multi@pagemark{-\percent0\the\@tempcntb d}%
- \begingroup
- \def\sa@multi@pagemark{-\the\@tempcnta}%
- \xdef\sa@lastoutfile{\outfile}%
- \endgroup
\fi
%
\if@tempswa
@@ -2686,8 +2687,10 @@
% \begin{macrocode}
\edef\sa@convert@precommand{\sa@convert@precommand}%
\ifx\sa@convert@precommand\@empty\else
+\message{Executing precommand:^^J\sa@convert@precommand^^J^^J}%
\ShellEscape{\sa@convert@precommand}%
\fi
+\message{Executing command:^^J\sa@convert@command^^J^^J}%
\ShellEscape{\sa@convert@command}%
\@tempswafalse
\IfFileExists{\sa@lastoutfile}{%
diff --git a/macros/latex/contrib/standalone/standalone.pdf b/macros/latex/contrib/standalone/standalone.pdf
index e0c4f081a1..3c494438ff 100644
--- a/macros/latex/contrib/standalone/standalone.pdf
+++ b/macros/latex/contrib/standalone/standalone.pdf
Binary files differ