Comments (1)
After a few conversations in ascidoctor-mathematical repo I've realised \[\]
and \(\)
are not part of asciidoc
syntax. That's because I've modified and extended my MWE a little bit.
:stem: latexmath
:icons: font
= 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,>.^a"]
|===
| (Testing text)
[stem]
++++
X_nY_m
++++
| * stem:[X] with stem:[n=i]
* stem:[Y] with stem:[m=j]
| [cols=">.^"]
!===
! Nested ! Table ! Inside
!===
|===
====
IMPORTANT: Here a second admonition with no title.
.Now a ordered list
. First item with a `stem` macro: stem:[\quad \rightarrow \quad a^2 - y_0]
. Second item with a `[stem]` block
.. For the first subitem
+
[stem]
++++
y = Ln\left(\frac{a}{a_0}\right)
++++
.Picture of a strange plane.
image::./picture.jpg[Picture!]
I'm trying to test stem
macros and blocks in different situations. Particularly I'm getting this document body for the .tex
file after give the .adoc
file to asciidoctor-latex
.
%% Begin Document %%
\begin{document}
\maketitle
\hypertarget{x-testing}{\section*{Testing}}
Iām also testing a few admonitions
\admonition{NOTE}{Here you have a note.}
\begin{example}
\begin{center}
\begin{tabular}{|c|c|c|}
\hline
( & \ & \ \\
\hline
\end{tabular}
\end{center}
\end{example}
\admonition{IMPORTANT}{Here a second admonition with no title.}
\begin{enumerate}
\item{First item with a \textttlatexmath macro: \quad \rightarrow \quad a^2 - y_0}
\item{Second item with a \texttt{[stem]} block}
\begin{enumerate}
\item{For the first subitem}
\[
y = Ln\left(\frac{a}{a_0}\right)
\]
\end{enumerate}
\end{enumerate}
\begin{figure}[h]{}
\centering\includegraphics[width=2.5truein]{./picture.jpg}
\caption{}
\end{figure}
\end{document}
Obviously there a malformed body as you can see, there lack a lot of math expressions originally included in the .adoc
file, mainly those inside table; but also the in-line math in the first item in the ordered list.
from asciidoctor-latex.
Related Issues (20)
- Proposal to promote project to asciidoctor-latex-plus HOT 9
- dollar signs in source blocks HOT 2
- Equation number in LaTeX example does not produce expected result HOT 1
- Enhancement: Support for LaTeX tables
- Multiple math mode glitches HOT 3
- Negative line number reported in output messages
- Inline stem not quoted in the latex backend HOT 1
- Missing backslash escapes in generated .tex source HOT 1
- Latex conversion of tables with "asciidoctor" style columns fails. Table captions missing too.
- Experimental macros left out HOT 1
- Fix, potentially, for fontspec/pdflatex problem
- asterisk lists aren't converted to lists
- `method_missing': undefined method `convert_environment' HOT 3
- Image captions are not getting generated with `asciidoctor-latex` HOT 4
- asciidoctor-bibtex not working with current version HOT 1
- Non escaped underscore in constrained quotes
- Does Not Handle @ In Emails Correctly HOT 1
- % sign is transcribed as is, causing it to comment rest of line
- Issue with labels in Asciidioc to LaTeX HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asciidoctor-latex.