CTAN Comprehensive TeX Archive Network

Directory macros/luatex/generic/lparse

README.md

lparse

Parse and scan macro arguments in Lua with LuaTeX using a xparse like argument specification.

The name lparse is derived from xparse. The x has been replaced by l because this package only works with LuaTeX. l stands for Lua. Just as with xparse, it is possible to use a special syntax consisting of single letters to express the arguments of a macro. However, lparse is able to read arguments regardless of the macro systemd used - whether LaTeX or ConTeXt or even plain TeX. Of course, LuaTeX must always be used as the engine.

Current version

2025/06/19 v0.2.0

License

Copyright (C) 2023-2025 by Josef Friedrich <josef@friedrich.rocks>

This work may be distributed and/or modified under the conditions of the Project Public License, either version 1.3c of this license or (at your option) any later version. The latest version of this license is in:

http://www.latex-project.org/lppl.txt

and version 1.3c or later is part of all distributions of version 2008/05/04 or later.

Maintainer

Josef Friedrich <josef@friedrich.rocks>

Packaging

CTAN

The lparse package has been included in the Comprehensive Archive Network (CTAN) since January 2023.

Distributions

Repository

The Git repository in which the development takes place is hosted on GitHub.

Download the contents of this package in one zip archive (132.0k).

lparse – A Lua module for parsing key-value options

The name lparse is derived from xparse. The ‘x’ has been replaced by an ‘l’ because this package only works with Lua. ‘l’ stands for “Lua”.

Just as with xparse, it is possible to use a special syntax consisting of single letters to express the arguments of a macro. However, lparse is able to read arguments regardless of the macro systemd used — whether , or Cont, or even plain . Of course, Lua must always be used as the engine.

Packagelparse
Bug trackerhttps://github.com/Josef-Friedrich/lparse/issues
Announcementshttps://github.com/Josef-Friedrich/lparse/blob/main/CHANGELOG.md
Repositoryhttps://github.com/Josef-Friedrich/lparse
Version0.2.0 2025-06-19
LicensesThe Project Public License 1.3c
Copyright2023–2025 Josef Friedrich
MaintainerJosef Friedrich
Contained inTeX Live as lparse
MiKTeX as lparse
TopicsGeneric Macros
Lua
Key-Val
Defining Macro
Parser
...
Guest Book Sitemap Contact Contact Author