diff options
author | Karl Berry <karl@freefriends.org> | 2020-07-20 21:20:09 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-07-20 21:20:09 +0000 |
commit | b8018c0ac15e4ff48acef03c88dd51ba052d2123 (patch) | |
tree | 6e1914dd2306529b25bf3de3138ca2b20b81a0f1 /Master/texmf-dist/doc/luatex/luaxml | |
parent | 768f46b59939981d4528d9b176e19010e32d7b70 (diff) |
luaxml (20jul20)
git-svn-id: svn://tug.org/texlive/trunk@55891 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/luatex/luaxml')
-rw-r--r-- | Master/texmf-dist/doc/luatex/luaxml/README | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/luatex/luaxml/luaxml.pdf | bin | 98710 -> 99665 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/luatex/luaxml/luaxml.tex | 18 |
3 files changed, 18 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/luatex/luaxml/README b/Master/texmf-dist/doc/luatex/luaxml/README index 897968a391a..ab8a407dd00 100644 --- a/Master/texmf-dist/doc/luatex/luaxml/README +++ b/Master/texmf-dist/doc/luatex/luaxml/README @@ -28,7 +28,7 @@ Author ------ Michal Hoftich Email: michal.h21@gmail.com -Version: 0.1l, 2019-09-16 +Version: v0.1m, 2020-07-19 Original authors: Paul Chakravarti and Manoel Campos (http://manoelcampos.com) diff --git a/Master/texmf-dist/doc/luatex/luaxml/luaxml.pdf b/Master/texmf-dist/doc/luatex/luaxml/luaxml.pdf Binary files differindex 6b53c44891c..86aa928593d 100644 --- a/Master/texmf-dist/doc/luatex/luaxml/luaxml.pdf +++ b/Master/texmf-dist/doc/luatex/luaxml/luaxml.pdf diff --git a/Master/texmf-dist/doc/luatex/luaxml/luaxml.tex b/Master/texmf-dist/doc/luatex/luaxml/luaxml.tex index 3b451fdb630..d641b91aad9 100644 --- a/Master/texmf-dist/doc/luatex/luaxml/luaxml.tex +++ b/Master/texmf-dist/doc/luatex/luaxml/luaxml.tex @@ -7,7 +7,7 @@ \usepackage{framed} % Version is defined in the makefile, use default values when compiled directly \ifdefined\version\else -\def\version{0.1l} +\def\version{v0.1m} \let\gitdate\date \fi \newcommand\modulename[1]{\subsection{#1}\label{sec:#1}} @@ -99,6 +99,22 @@ end \end{luacode*} \end{framed} +\subsection{Void elements} + +The \verb|DOM_Object.parse| function tries to support the HTML void elements, +such as \verb|<img>| or \verb|<hr>|. They cannot have closing tags, a parse +error occurs when the closing tags are used. + +It is possible to define a different set of void elements using the second parameter +for \verb|DOM_Object.parse|: + +\begin{verbatim} +obj = dom.parse(document, {custom_void = true}) +\end{verbatim} + +An empty table will disable all void elements. This setting is recommended for common |xml| documents. + + \subsection{Node selection methods} There are some other methods for element retrieving. |