CTAN update: luaxml

Liste des GroupesRevenir à ct tex 
Sujet : CTAN update: luaxml
De : petra (at) *nospam* ctan.org (CTAN Announcements)
Groupes : comp.text.tex
Date : 18. Oct 2024, 19:42:37
Autres entêtes
Organisation : CTAN
Message-ID : <ZxKsHbIvwoiZ_TZo@prptp>
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

Date Sujet#  Auteur
18 Oct 24 o CTAN update: luaxml1CTAN Announcements

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal