Description
When I convert my MWE to a .tex
file and then I try to produce a .pdf
output with xelatex
I'm getting a lot of errors which apparently point to a malformed .tex
file. I don't know if this is related with my xetex
install or the asciidoctor-latex
itself. This is my MWE
:stem: latexmath
= Table example with latex syntax
== Testing
I'm also testing a few admonitions
[NOTE]
.First admonition
Here you have a note.
====
.Table inside a block
[cols=".^,<.^a,>.^a"]
|===
| (Test) \[X_nY_m\]
| * \(X\) with \(i\)
* \(Y\) with \(j\)
| [cols=">.^"]
!===
! FOO ! BAR
!===
|===
====
IMPORTANT: Here a second admonition with no title.
.Image
image::./picture.jpg[Picture!]
I've already seen several issues mentioning lack of support for asterisk lists or tables and fontspec/pdflatex problems. I would say there is also bad support for \[\]
enclosures and nested tables. Anyway ... this is the xelatex
output when I try to produce the .pdf
file (basically the log):
It seems to have a few syntax errors. When I try to use pdflatex
instead I cannot use fontspec
as #79 suggests. And also I need to switch the \[\]
enclosure for a $$
one. In fact, the tabular equivalent environment produced in .tex
file is this one
\admonition{NOTE}{Here you have a note.}
\begin{example}
\begin{center}
\begin{tabular}{|c|c|c|}
\hline
(Test) \[X_nY_m\] & \ & \ \\
\hline
\end{tabular}
\end{center}
\end{example}
Which I think is far to be what it should be (actually the \(\)
are not being recognised either). The nested table and asterisk list is not rendered at all.
I would like a full support for all those features, otherwise I'm not sure if this asciidoctor-latex
could be considered as fully functional.