CTAN update: luaxml
Date: October 18, 2024 6:42:37 PM CEST
Michal Hoftich submitted an update to the
luaxml
package.
Version: 0.2a 2024-10-17
License: other-free
Summary description: Lua library for reading and serialising XML files
Announcement text:
New features: New LaTeX package: - added LaTeX package, luaxml.sty. It can process HTML and XML files using declared rules and insert the converted content into the document directly in the LuaLaTeX run. Example of conversion of incomplete HTML code to LaTeX: \LXMLRule{h1}|\section*{%s}| \LXMLRule[verbatim]{pre}|\begin{verbatim} \begin{LXMLCode*}{} <html> <h1>Something</h1> <pre> hello text multiline at the end \end{LXMLCode*} The result: \section*{Something} \begin{verbatim} hello text multiline at the end \end{verbatim} Other news: The luaxml-domobject library: - added new functions for inserting XML and HTML code into the DOM tree, inspired by JavaScript's Element:innerHTML() and Element:insertAdjacentHTML() methods. Bug fixes: The luaxml-mod-html library: - don't drop elements after incorrectly closed elements
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/luaxml The package’s files themselves can be inspected at https://mirrors.ctan.org/macros/luatex/generic/luaxml/
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
New features: New LaTeX package: - added LaTeX package, luaxml.sty. It can process HTML and XML files using declared rules and insert the converted content into the document directly in the LuaLaTeX run. Example of conversion of incomplete HTML code to LaTeX: \LXMLRule{h1}|\section*{%s}| \LXMLRule[verbatim]{pre}|\begin{verbatim} \begin{LXMLCode*}{} <html> <h1>Something</h1> <pre> hello text multiline at the end \end{LXMLCode*} The result: \section*{Something} \begin{verbatim} hello text multiline at the end \end{verbatim} Other news: The luaxml-domobject library: - added new functions for inserting XML and HTML code into the DOM tree, inspired by JavaScript's Element:innerHTML() and Element:insertAdjacentHTML() methods. Bug fixes: The luaxml-mod-html library: - don't drop elements after incorrectly closed elements
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/luaxml The package’s files themselves can be inspected at https://mirrors.ctan.org/macros/luatex/generic/luaxml/
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
luaxml – Lua library for reading and serialising XML files
LuaXML is a pure Lua library for reading and serializing XML files. The current release is aimed mainly at support for the odsfile package. The documentation was created by automatic conversion of original documentation in the source code.
Package | luaxml |
Version | 0.2b 2024-11-14 |
Maintainer | Michal Hoftich |