texlive[51475] Master: checkend (26jun19)

commits+karl at tug.org commits+karl at tug.org
Wed Jun 26 22:47:42 CEST 2019


Revision: 51475
          http://tug.org/svn/texlive?view=revision&revision=51475
Author:   karl
Date:     2019-06-26 22:47:41 +0200 (Wed, 26 Jun 2019)
Log Message:
-----------
checkend (26jun19)

Modified Paths:
--------------
    trunk/Master/tlpkg/bin/tlpkg-ctan-check
    trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/checkend/
    trunk/Master/texmf-dist/doc/latex/checkend/README.md
    trunk/Master/texmf-dist/tex/latex/checkend/
    trunk/Master/texmf-dist/tex/latex/checkend/checkend.sty
    trunk/Master/tlpkg/tlpsrc/checkend.tlpsrc

Added: trunk/Master/texmf-dist/doc/latex/checkend/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/checkend/README.md	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/checkend/README.md	2019-06-26 20:47:41 UTC (rev 51475)
@@ -0,0 +1,24 @@
+
+More useful error messages when there are open environments
+at \end{document}.
+
+When an environment is left open, LaTeX gives an error at the
+end of the document. However it only informs about the first
+of them, while the rest are shown with meaningless errors:
+
+(\end occurred inside a group at level N)
+
+This package replaces them with more useful messages
+which show which environments (in reverse order) were
+not closed.
+
+That's all. There are no user macros. Just use the package.
+
+License:     MIT
+________
+Javier Bezos --- http://www.texnia.com
+
+
+
+
+


Property changes on: trunk/Master/texmf-dist/doc/latex/checkend/README.md
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/checkend/checkend.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/checkend/checkend.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/checkend/checkend.sty	2019-06-26 20:47:41 UTC (rev 51475)
@@ -0,0 +1,71 @@
+%
+% Copyright (C) 2002-2019 Javier Bezos http://www.texnia.com
+%
+% This file may be distributed and/or modified under the conditions of
+% the MIT License. A version can be found at the end of this file.
+% 
+% Usage
+% ~~~~~
+% When an environment is left open, LaTeX gives an error at the
+% end of the document. However it only informs about the first
+% of them, while the rest are shown with meaningless errors:
+% 
+% (\end occurred inside a group at level N)
+% 
+% This package replaces them with more useful messages
+% which show which environments (in reverse order) were
+% not closed.
+% 
+% That's all. There are no user macros. Just use the package.
+%
+% Code
+% ~~~~
+
+\def\fileversion{1.1}
+\def\filedate{2002/04/20}
+
+\ProvidesPackage{checkend}[2002/04/20 v1.0 Environment checking]
+
+\def\chkend at checkend{%
+  \def\@tempa{document}%
+  \ifx\@currenvir\@tempa
+  \else
+    \count@\errorcontextlines
+    \errorcontextlines\z@
+    \PackageError{checkend}{%
+      \@currenvir \@currenvline \space open at 
+         \string\end{document}}%
+      {The package has detected an open environment at the 
+         end\MessageBreak
+       of the document}%
+    \errorcontextlines\count@
+    \csname end\@currenvir\endcsname
+    \endgroup
+    \chkend at checkend
+  \fi}
+
+\AtEndDocument{\chkend at checkend}
+
+\endinput
+
+MIT License
+-----------
+
+Permission is hereby granted, free of charge, to any person obtaining a
+copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be included
+in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
\ No newline at end of file


Property changes on: trunk/Master/texmf-dist/tex/latex/checkend/checkend.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/tlpkg/bin/tlpkg-ctan-check
===================================================================
--- trunk/Master/tlpkg/bin/tlpkg-ctan-check	2019-06-26 20:47:03 UTC (rev 51474)
+++ trunk/Master/tlpkg/bin/tlpkg-ctan-check	2019-06-26 20:47:41 UTC (rev 51475)
@@ -149,7 +149,7 @@
     cfr-initials cfr-lm
     changebar changelayout changelog changepage changes
     chappg chapterfolder charter
-    chbibref cheatsheet checkcites checklistings chem-journal
+    chbibref cheatsheet checkcites checkend checklistings chem-journal
     chemarrow chembst chemcompounds chemcono chemexec
     chemfig chemformula chemgreek chemmacros
     chemnum chemschemex chemsec chemstyle cherokee

Added: trunk/Master/tlpkg/tlpsrc/checkend.tlpsrc
===================================================================
Modified: trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc	2019-06-26 20:47:03 UTC (rev 51474)
+++ trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc	2019-06-26 20:47:41 UTC (rev 51475)
@@ -154,6 +154,7 @@
 depend chappg
 depend chapterfolder
 depend cheatsheet
+depend checkend
 depend chet
 depend chextras
 depend childdoc



More information about the tex-live-commits mailing list