CTAN update: luamplib
Date: May 2, 2024 2:35:18 PM CEST
Dohyun Kim submitted an update to the
luamplib
package.
Version: 2.29.0 2024-05-01
License: gpl2
Summary description: Use LuaTeX’s built-in MetaPost interpreter
Announcement text:
* provide new TeX macros to reduce typing toil. \mpfig ... \endmpfig is roughly the abbreviation of \begin{mplibcode}[@mpfig] beginfig(0) token list declared by \everymplib[@mpfig] ... token list declared by \everyendmplib[@mpfig] endfig; \end{mplibcode} \mpfig* ... \endmpfig is roughly the abbreviation of \begin{mplibcode}[@mpfig] ... \end{mplibcode} These macros are protected and unexpandable. In these macros \mpliblegacybehavior{false} is forcibly declared. As both share the same instance name, MetaPost codes are inherited among them. The instance name (default: @mpfig) can be changed by redefining `\mpfiginstancename'. * instance names are allowed in plain TeX as well. The syntax is: \mplibcode[name] ... \endmplibcode \everymplib[name]{ ... } \everyendmplib[name]{ ... } These macros are now protected and unexpandable. * provide new MetaPost operators `mplibtexcolor' and `mplibrgbtexcolor' which convert TeX color expressions to MetaPost color expressions. The latter one forces rgb model results (#112). For instance, mplibtexcolor "olive" % => (0, 0, 1, 0.5) mplibrgbtexcolor "olive" % => (0.5, 0.5, 0) As spot colors are always forced to cmyk or rgb model, it is not recommended to use these operators for them. * write down MetaPost messages into the log file
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/luamplib The package’s files themselves can be inspected at https://mirrors.ctan.org/macros/luatex/generic/luamplib/
Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese
CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs
* provide new TeX macros to reduce typing toil. \mpfig ... \endmpfig is roughly the abbreviation of \begin{mplibcode}[@mpfig] beginfig(0) token list declared by \everymplib[@mpfig] ... token list declared by \everyendmplib[@mpfig] endfig; \end{mplibcode} \mpfig* ... \endmpfig is roughly the abbreviation of \begin{mplibcode}[@mpfig] ... \end{mplibcode} These macros are protected and unexpandable. In these macros \mpliblegacybehavior{false} is forcibly declared. As both share the same instance name, MetaPost codes are inherited among them. The instance name (default: @mpfig) can be changed by redefining `\mpfiginstancename'. * instance names are allowed in plain TeX as well. The syntax is: \mplibcode[name] ... \endmplibcode \everymplib[name]{ ... } \everyendmplib[name]{ ... } These macros are now protected and unexpandable. * provide new MetaPost operators `mplibtexcolor' and `mplibrgbtexcolor' which convert TeX color expressions to MetaPost color expressions. The latter one forces rgb model results (#112). For instance, mplibtexcolor "olive" % => (0, 0, 1, 0.5) mplibrgbtexcolor "olive" % => (0.5, 0.5, 0) As spot colors are always forced to cmyk or rgb model, it is not recommended to use these operators for them. * write down MetaPost messages into the log file
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/luamplib The package’s files themselves can be inspected at https://mirrors.ctan.org/macros/luatex/generic/luamplib/
Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese
CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs
luamplib – Use LuaTeX’s built-in METAPOST interpreter
The package enables the user to specify METAPOST diagrams (which may include colour specifications from the color or xcolor packages) into a document, using LuaTeX’s built-in METAPOST library.
The facility is only available in PDF mode.
Package | luamplib |
Version | 2.35.0 2024-11-12 |
Copyright | 2008–2024 Hans Hagen, Taco Hoekwater, Elie Roux, Manuel Pégourié-Gonnard, Philipp Gesang and Kim Dohyun |
Maintainer | Philipp Gesang Manuel Pégourié-Gonnard Dohyun Kim Hans Hagen (inactive) Taco Hoekwater (inactive) Élie Roux (inactive) |