Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

Tuesday is the Wednesday of the rest of your life.


comp / comp.text.tex / CTAN update: luamplib

SubjectAuthor
o CTAN update: luamplibCTAN Announcements

1
Subject: CTAN update: luamplib
From: CTAN Announcements
Newsgroups: comp.text.tex
Date: Thu, 2 May 2024 12:35 UTC
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: ctan-ann@ctan.org (CTAN Announcements)
Newsgroups: comp.text.tex
Subject: CTAN update: luamplib
Date: Thu, 2 May 2024 14:35:18 +0200
Lines: 74
Message-ID: <mailman.8465.1714653331.3764.ctan-ann@ctan.org>
Reply-To: ctan-ann@ctan.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: solani.org;
logging-data="338423"; mail-complaints-to="abuse@news.solani.org"
To: ctan-ann@ctan.org
Cancel-Lock: sha1:i4E6yl9LRx12dObrRCZKXw0g7Aw=
List-Id: CTAN Announcements <ctan-ann.ctan.org>
Content-Disposition: inline
List-Help: <mailto:ctan-ann-request@ctan.org?subject=help>
List-Subscribe: <https://lists.dante.de/mailman/listinfo/ctan-ann>,
<mailto:ctan-ann-request@ctan.org?subject=subscribe>
Precedence: list
X-BeenThere: ctan-ann@ctan.org
X-Mailman-Version: 2.1.23
X-User-ID: eJwFwYEBwCAIA7CXxmwrnIN2/H/CEi6F7oYocDhYDLg9h18g9JSp9t3H3QXobSGtypyKqh8eOxDn
List-Archive: <https://lists.dante.de/pipermail/ctan-ann/>
List-Unsubscribe: <https://lists.dante.de/mailman/options/ctan-ann>,
<mailto:ctan-ann-request@ctan.org?subject=unsubscribe>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ctan.org; s=201703;
t=1714653330; bh=qrHPzqDbWXNShzN3yPPm47vlgKRs8UnazTC/e9uH8pA=;
h=Date:From:To:Subject:From;
b=SI3lDgxdbts1twgkJ0zjsJLnWnjCmA4aPawPpa4fmjRsxp1WgimdyoWGfqcIzhy/U
6Vk3X0zGBTGZg0W3KH3B4yiMIZnI9d9YkMYXm/QsWR3gAIfnAlpSRQvvhDc/kWrWTL
wLFZCq3sYq7jGOKZw+Oqj9cZaVeiL300npWuLsDw=
View all headers

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

1

rocksolid light 0.9.8
clearnet tor