From d6727e0f48e4842c43c673f92d9859e291cec5ed Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 31 Dec 2018 22:11:07 +0000 Subject: mpostinl (31dec18) git-svn-id: svn://tug.org/texlive/trunk@49559 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/mpostinl/README.txt | 2 +- Master/texmf-dist/doc/latex/mpostinl/mpinlsmp.tex | 26 ++++++++++++++++++---- Master/texmf-dist/doc/latex/mpostinl/mpostinl.pdf | Bin 334352 -> 339538 bytes 3 files changed, 23 insertions(+), 5 deletions(-) (limited to 'Master/texmf-dist/doc/latex/mpostinl') diff --git a/Master/texmf-dist/doc/latex/mpostinl/README.txt b/Master/texmf-dist/doc/latex/mpostinl/README.txt index eb63763304f..952507a8cc2 100644 --- a/Master/texmf-dist/doc/latex/mpostinl/README.txt +++ b/Master/texmf-dist/doc/latex/mpostinl/README.txt @@ -1,4 +1,4 @@ -mpostinl v1.4 +mpostinl v1.5 Copyright 2010-2018 Niklas Beisert mpostinl is a LaTeX2e package diff --git a/Master/texmf-dist/doc/latex/mpostinl/mpinlsmp.tex b/Master/texmf-dist/doc/latex/mpostinl/mpinlsmp.tex index 7cc99ca2dcb..5c9dcfd8050 100644 --- a/Master/texmf-dist/doc/latex/mpostinl/mpinlsmp.tex +++ b/Master/texmf-dist/doc/latex/mpostinl/mpinlsmp.tex @@ -17,7 +17,7 @@ %% version 2005/12/01 or later. %% \NeedsTeXFormat{LaTeX2e}[1996/12/01] -\ProvidesFile{mpinlsmp.tex}[2018/03/01 v1.4 sample for mpostinl] +\ProvidesFile{mpinlsmp.tex}[2018/12/30 v1.5 sample for mpostinl] \documentclass[12pt,a4paper]{article} \parindent0pt @@ -44,9 +44,9 @@ %% \mpostsetup{classopt={12pt}} %% declare packages to be used for processing labels: -\begin{mpostdef}[tex,global] +\begin{mposttex}[global] \usepackage[utf8]{inputenc} -\end{mpostdef} +\end{mposttex} %% specify global definitions: \begin{mpostdef}[global] @@ -114,7 +114,7 @@ display by \verb+\includegraphics+ (if file exists):\\ \IfFileExists{\jobname-name.mps}{\includegraphics{\jobname-name.mps}}{} label does not exist:\\ -\mpostuse{notexist} +\mpostuse{not_exist} utf-8 test:\\ \begin{mpostfig} @@ -123,6 +123,24 @@ draw fullcircle scaled unit; label(btex àáâãäåæ etex, (0,0)); \end{mpostfig} +empty figure:\\ +\begin{mpostfig} +\end{mpostfig} + +empty figure:\\ +\begin{mpostfig} + +\end{mpostfig} + +\begin{mposttex}[dual] +\def\mymacro{hello!} +\end{mposttex} +dual definition `\mymacro':\\ +\begin{mpostfig} +draw unitsquare shifted (-0.5,-0.5) xscaled 3 scaled unit; +label(btex \mymacro etex, (0,0)); +\end{mpostfig} + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \section{Immediate Processing} diff --git a/Master/texmf-dist/doc/latex/mpostinl/mpostinl.pdf b/Master/texmf-dist/doc/latex/mpostinl/mpostinl.pdf index 7ef6db5a5e9..39ba6f9a303 100644 Binary files a/Master/texmf-dist/doc/latex/mpostinl/mpostinl.pdf and b/Master/texmf-dist/doc/latex/mpostinl/mpostinl.pdf differ -- cgit v1.2.3