Skip to content

Parse and scan macro arguments in Lua on LuaTeX using a xparse like argument specification and never get dirty with #1, #2, #3, \luaescapestring, \luatexluaescapestring, \unexpanded again.

License

Notifications You must be signed in to change notification settings

Josef-Friedrich/lparse

Repository files navigation

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

2023/01/29 v0.1.0

License

Copyright (C) 2023 by Josef Friedrich [email protected]

This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 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.3 or later is part of all distributions of LaTeX version 2005/12/01 or later.

Maintainer

Josef Friedrich [email protected]

About

Parse and scan macro arguments in Lua on LuaTeX using a xparse like argument specification and never get dirty with #1, #2, #3, \luaescapestring, \luatexluaescapestring, \unexpanded again.

Topics

Resources

License

Stars

Watchers

Forks