Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

BOFH excuse #439: Hot Java has gone cold


comp / comp.text.tex / CTAN update: luaxml

SubjectAuthor
o CTAN update: luaxmlCTAN Announcements

1
Subject: CTAN update: luaxml
From: CTAN Announcements
Newsgroups: comp.text.tex
Organization: CTAN
Date: Fri, 18 Oct 2024 18:42 UTC
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: petra@ctan.org (CTAN Announcements)
Newsgroups: comp.text.tex
Subject: CTAN update: luaxml
Date: Fri, 18 Oct 2024 20:42:37 +0200
Organization: CTAN
Lines: 80
Message-ID: <ZxKsHbIvwoiZ_TZo@prptp>
Reply-To: ctan@ctan.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: solani.org;
logging-data="639279"; mail-complaints-to="abuse@news.solani.org"
To: CTAN Announcements <ctan-ann@ctan.org>
Cancel-Lock: sha1:iiMI34jJtGjMFXYR9gCHhMosxsM=
X-Message-ID-Hash: ZXXBKE2FNOK7PXSJEBL2T5SXHZWIVZ6X
Content-Disposition: inline
X-Mailman-Rule-Hits: member-moderation
Precedence: list
X-Mailman-Version: 3.3.8
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ctan.org; s=dkim;
t=1729276963; h=from:from:reply-to:reply-to:subject:subject:date:date:
message-id:message-id:to:to:cc:mime-version:mime-version:
content-type:content-type: content-transfer-encoding:content-transfer-encoding;
bh=16xXhnOHmUhAFR9qWFBp6gEKrGPjaIU+uxWZ9aMtTRw=;
b=NG4d+3YXh3CxwODH0WkQlLK02jtQGyGSlvUhf9aArnqQ2MWuDGjfcW+gkzcoV2xKQtYIVJ
TIvnIPAbS1t3RNjMPnPxgVemRuN0pXNx2JkYAaTfkiwy2VLxwd/8zjk6iDW0RjYM37IsSk
mb7t093rTcyNAX4kJ4+BZCABXmRVFQw=
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address
X-User-ID: eJwVxNEVwEAEBMCWjrWOcpDov4S8zMcQLj7XnG5criVS++QVHqVM9aT+Pb0VOFKelRAw3o3ABwwiEKI=
Message-ID-Hash: ZXXBKE2FNOK7PXSJEBL2T5SXHZWIVZ6X
X-MailFrom: petra@ctan.org
View all headers

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

1

rocksolid light 0.9.8
clearnet tor