Directory macros/luatex/generic/lparse
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 LaTeX 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 LaTeX version 2008/05/04 or later.
Maintainer
Josef Friedrich <josef@friedrich.rocks>
Packaging
CTAN
The lparse
package has been included in the Comprehensive TeX Archive Network (CTAN) since January 2023.
Distributions
- TeX Live:
- run files:
- lparse.lua texmf-dist/tex/luatex/lparse/lparse.tex
- lparse.tex texmf-dist/tex/luatex/lparse/lparse.tex
- lparse.sty texmf-dist/tex/luatex/lparse/lparse.sty
- doc files:
- lparse-doc.tex texmf-dist/doc/luatex/lparse/lparse-doc.tex
- lparse-doc.pdf texmf-dist/doc/luatex/lparse/lparse-doc.pdf
- README.md texmf-dist/doc/luatex/lparse/README.md
- run files:
- MiKTeX
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 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.
Package | lparse |
Bug tracker | https://github.com/Josef-Friedrich/lparse/issues |
Announcements | https://github.com/Josef-Friedrich/lparse/blob/main/CHANGELOG.md |
Repository | https://github.com/Josef-Friedrich/lparse |
Version | 0.2.0 2025-06-19 |
Licenses | The LaTeX Project Public License 1.3c |
Copyright | 2023–2025 Josef Friedrich |
Maintainer | Josef Friedrich |
Contained in | TeX Live as lparse MiKTeX as lparse |
Topics | Generic Macros LuaTeX Key-Val Defining Macro Parser |
