CTAN update: luamplib
Date: April 13, 2024 6:03:47 PM CEST
Dohyun Kim submitted an update to the
luamplib
package.
Version: 2.28.0 2024-04-12
License: gpl2
Summary description: Use LuaTeX’s built-in MetaPost interpreter
Announcement text:
* provide a new metapost operator 'mplibgraphictext', which is similar to ConTeXt's 'graphictext'. But the syntax is not the same: mplibgraphictext "Text" fakebold 2 scale 3 fillcolor red drawcolor blue where 'fakebold' and 'scale' are fontspec's font options. 'fakebold', 'scale', 'drawcolor' and 'fillcolor' are optional and default values are '2', '1', "black" and "white" respectively. When color expressions are given as string, they are regarded as xcolor's or l3color's expressions. The operator generates a metapost picture, which can be drawn or assigned to a variable. For compatibilty with 'graphictext', 'withdrawcolor' and 'withfillcolor' are synonyms of 'drawcolor' and 'fillcolor'. Because the implementation is quite different from the \ConTeXt's, there are some limitations such that we can't apply shading (gradient colors) to the text. * support metafun's new shading method. Color expressions given as string are regarded as xcolor's or l3color's expressions. Spot colors defined by the color commands of l3color package are also acceptable (currently '\DocumentMetadata{ }' is needed for spot colors). * fix the y-position of text figures, which means the result of 'infont' operator, not of the 'textext' operator.
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 a new metapost operator 'mplibgraphictext', which is similar to ConTeXt's 'graphictext'. But the syntax is not the same: mplibgraphictext "Text" fakebold 2 scale 3 fillcolor red drawcolor blue where 'fakebold' and 'scale' are fontspec's font options. 'fakebold', 'scale', 'drawcolor' and 'fillcolor' are optional and default values are '2', '1', "black" and "white" respectively. When color expressions are given as string, they are regarded as xcolor's or l3color's expressions. The operator generates a metapost picture, which can be drawn or assigned to a variable. For compatibilty with 'graphictext', 'withdrawcolor' and 'withfillcolor' are synonyms of 'drawcolor' and 'fillcolor'. Because the implementation is quite different from the \ConTeXt's, there are some limitations such that we can't apply shading (gradient colors) to the text. * support metafun's new shading method. Color expressions given as string are regarded as xcolor's or l3color's expressions. Spot colors defined by the color commands of l3color package are also acceptable (currently '\DocumentMetadata{ }' is needed for spot colors). * fix the y-position of text figures, which means the result of 'infont' operator, not of the 'textext' operator.
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.34.5 2024-08-03 |
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) |