texlive[44686] Master/texmf-dist: mpostinl (24jun17)

commits+karl at tug.org commits+karl at tug.org
Sun Jun 25 00:08:09 CEST 2017


Revision: 44686
          http://tug.org/svn/texlive?view=revision&revision=44686
Author:   karl
Date:     2017-06-25 00:08:09 +0200 (Sun, 25 Jun 2017)
Log Message:
-----------
mpostinl (24jun17)

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

Modified: trunk/Master/texmf-dist/doc/latex/mpostinl/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mpostinl/README	2017-06-24 22:07:57 UTC (rev 44685)
+++ trunk/Master/texmf-dist/doc/latex/mpostinl/README	2017-06-24 22:08:09 UTC (rev 44686)
@@ -1,17 +1,17 @@
-mpostinl v1.11
+mpostinl v1.12
 Copyright 2010-2017 Niklas Beisert
 
-mpostinl is a LaTeX2e package  
-which enables the embedding of metapost figures 
+mpostinl is a LaTeX2e package
+which enables the embedding of metapost figures
 within a LaTeX document.
-The package automatically collects the embedded 
-definitions and figures in a .mp file, 
+The package automatically collects the embedded
+definitions and figures in a .mp file,
 adds an appropriate LaTeX document structure,
 and compiles it to .mps files.
 It also allows for various configuration options
 to manage the generation of files and compilation.
 
-The package consists of the files 
+The package consists of the files
 
     README        readme file
     mpostinl.ins  installation file
@@ -20,12 +20,12 @@
     mpinlsmp.tex  sample latex file
     mpostinl.pdf  manual
 
-The distribution consists of the files 
+The distribution consists of the files
 README, mpostinl.ins and mpostinl.dtx.
 
 Run "(pdf)latex mpostinl.dtx" to compile the manual mpostinl.pdf.
 
-Run "latex mpostinl.ins" to create the package mpostinl.sty 
+Run "latex mpostinl.ins" to create the package mpostinl.sty
 and the sample mpinlsamp.tex.
 Copy the file mpostinl.sty to an appropriate directory of your LaTeX
 distribution, e.g. texmf-root/tex/latex/mpostinl.

Modified: trunk/Master/texmf-dist/doc/latex/mpostinl/mpinlsmp.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mpostinl/mpinlsmp.tex	2017-06-24 22:07:57 UTC (rev 44685)
+++ trunk/Master/texmf-dist/doc/latex/mpostinl/mpinlsmp.tex	2017-06-24 22:08:09 UTC (rev 44686)
@@ -17,7 +17,7 @@
 %% version 2005/12/01 or later.
 %% 
 \NeedsTeXFormat{LaTeX2e}[1996/12/01]
-\ProvidesFile{mpinlsmp.tex}[2017/04/01 v1.11 sample for mpostinl]
+\ProvidesFile{mpinlsmp.tex}[2017/06/24 v1.12 sample for mpostinl]
 \documentclass[12pt,a4paper]{article}
 
 \parindent0pt

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

Modified: trunk/Master/texmf-dist/source/latex/mpostinl/mpostinl.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/mpostinl/mpostinl.dtx	2017-06-24 22:07:57 UTC (rev 44685)
+++ trunk/Master/texmf-dist/source/latex/mpostinl/mpostinl.dtx	2017-06-24 22:08:09 UTC (rev 44686)
@@ -18,10 +18,10 @@
 % and the derived files mpostinl.sty and mpinlsmp.tex
 %
 %<package|sample>\NeedsTeXFormat{LaTeX2e}[1996/12/01]
-%<package>\ProvidesPackage{mpostinl}[2017/04/01 v1.11 metapost inline figures]
-%<sample>\ProvidesFile{mpinlsmp.tex}[2017/04/01 v1.11 sample for mpostinl]
+%<package>\ProvidesPackage{mpostinl}[2017/06/24 v1.12 metapost inline figures]
+%<sample>\ProvidesFile{mpinlsmp.tex}[2017/06/24 v1.12 sample for mpostinl]
 %<*driver>
-%\ProvidesFile{mpostinl.drv}[2017/04/01 v1.11 mpostinl reference manual file]
+%\ProvidesFile{mpostinl.drv}[2017/06/24 v1.12 mpostinl reference manual file]
 \PassOptionsToClass{10pt,a4paper}{article}
 \documentclass{ltxdoc}
 
@@ -48,7 +48,7 @@
   {\texttt{nbeisert at itp.phys.ethz.ch}}}
 \hypersetup{pdfauthor={Niklas Beisert}}
 \hypersetup{pdfsubject={Manual for the LaTeX2e Package mpostinl}}
-\date{1 April 2017, \textsf{v1.11}}
+\date{24 June 2017, \textsf{v1.12}}
 \maketitle
 
 \begin{abstract}\noindent
@@ -1023,7 +1023,7 @@
 \end{center}
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\paragraph{Script \text{mplatex}.}
+\paragraph{Script \textsf{mplatex}.}
 
 The \MP{} processing script \textsf{mplatex} expects the default metapost
 file naming convention (\textit{filename}|.|\textit{nn})
@@ -1073,7 +1073,7 @@
 The Current Maintainer of this work is Niklas Beisert.
 
 This work consists of the files |mpostinl.dtx| and |mpostinl.ins|
-and the derived files |mpostinl.sty| and |mpinlsmp.tex|
+and the derived files |mpostinl.sty| and |mpinlsmp.tex|.
 
 \endgroup
 
@@ -1144,6 +1144,11 @@
 and compile only in case of changes.
 This could be implemented by a checksum or by some external tool
 such as diff. This feature is probably too difficult to implement.
+%\item
+%an environment to pass tex commands to mpost and also compile them locally
+%probably have to write to file and subsequently input the file
+%\item
+%leading / trailing empty lines may be a problem. explain!
 \end{itemize}
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1150,6 +1155,16 @@
 \subsection{Revision History}
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\paragraph{v1.12:} 2017/06/24
+
+\begin{itemize}
+\item
+bugfix for blank |mpostfig| display
+due to changes in the basic
+\LaTeX{} or \textsf{graphicx} system
+\end{itemize}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \paragraph{v1.11:} 2017/04/01
 
 \begin{itemize}
@@ -2016,6 +2031,7 @@
 % add each line to the buffer:
 %    \begin{macrocode}
 \newcommand{\mpi at verbatim}{%
+  \begingroup%
   \@bsphack%
   \let\do\@makeother\dospecials%
   \catcode`\^^M\active%
@@ -2025,6 +2041,16 @@
 %    \end{macrocode}
 % \end{macro}
 
+% \begin{macro}{\mpi at endverbatim}
+% End reading the block from the source file:
+%    \begin{macrocode}
+\newcommand{\mpi at endverbatim}{%
+  \@esphack%
+  \endgroup%
+}
+%    \end{macrocode}
+% \end{macro}
+
 % \begin{macro}{\mpi at putlineno}
 % Write current position in source file to buffer;
 % write line number and source file name
@@ -2409,6 +2435,7 @@
 % add to appropriate buffer(s).
 %    \begin{macrocode}
 {%
+  \mpi at endverbatim%
   \ifmpi at deftex%
     \mpi at addbuf{etex}%
   \fi%
@@ -2422,7 +2449,6 @@
     \mpi at writebuf%
     \ifmpi at include\else\mpi at writenow\fi%
   \fi%
-  \@esphack%
 }
 %    \end{macrocode}
 % \end{macro}
@@ -2498,12 +2524,12 @@
 % process immediately if desired:
 %    \begin{macrocode}
 {%
+  \mpi at endverbatim%
   \mpi at endfig%
   \mpi at writebuf%
   \ifmpi at now%
     \mpi at processnow%
   \fi%
-  \@esphack%
 %    \end{macrocode}
 % Display figure:
 %    \begin{macrocode}

Modified: trunk/Master/texmf-dist/tex/latex/mpostinl/mpostinl.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/mpostinl/mpostinl.sty	2017-06-24 22:07:57 UTC (rev 44685)
+++ trunk/Master/texmf-dist/tex/latex/mpostinl/mpostinl.sty	2017-06-24 22:08:09 UTC (rev 44686)
@@ -17,7 +17,7 @@
 %% version 2005/12/01 or later.
 %% 
 \NeedsTeXFormat{LaTeX2e}[1996/12/01]
-\ProvidesPackage{mpostinl}[2017/04/01 v1.11 metapost inline figures]
+\ProvidesPackage{mpostinl}[2017/06/24 v1.12 metapost inline figures]
 
 \RequirePackage{verbatim}
 \RequirePackage{graphicx}
@@ -151,6 +151,7 @@
 }
 
 \newcommand{\mpi at verbatim}{%
+  \begingroup%
   \@bsphack%
   \let\do\@makeother\dospecials%
   \catcode`\^^M\active%
@@ -158,6 +159,11 @@
   \verbatim at start%
 }
 
+\newcommand{\mpi at endverbatim}{%
+  \@esphack%
+  \endgroup%
+}
+
 \newcommand{\mpi at putlineno}{%
   \ifmpi at lineno%
     \mpi at addbuf{\@percentchar---------------------------------------}%
@@ -373,6 +379,7 @@
   \mpi at verbatim%
 }%
 {%
+  \mpi at endverbatim%
   \ifmpi at deftex%
     \mpi at addbuf{etex}%
   \fi%
@@ -386,7 +393,6 @@
     \mpi at writebuf%
     \ifmpi at include\else\mpi at writenow\fi%
   \fi%
-  \@esphack%
 }
 
 \newif\ifmpi at figshow
@@ -428,12 +434,12 @@
   \mpi at verbatim%
 }%
 {%
+  \mpi at endverbatim%
   \mpi at endfig%
   \mpi at writebuf%
   \ifmpi at now%
     \mpi at processnow%
   \fi%
-  \@esphack%
   \ifmpi at figshow%
     \expandafter\mpi at graphics\mpi at figopt{\mpi at figfile}%
   \fi%



More information about the tex-live-commits mailing list