A A via ntg-context schrieb am 26.03.2022 um 08:50:
Hi Jan,
Thanks, I was starting to think pandoc is not yet mature enough to
handle these conversions, but it looks like that might not be the case.
\mathcal works now, but I actually ran into another issue in my real
document. I have the
Hi Jan,
Thanks, I was starting to think pandoc is not yet mature enough to handle
these conversions, but it looks like that might not be the case.
\mathcal works now, but I actually ran into another issue in my real
document. I have the following defined in my LaTeX:
*$C = ``\textrm{dad}``$*
HI!
It generates no \starttext \stoptext tag
It works with this though
\starttext
$\mathcal{A}$
\stoptext
But with the -s option you get a standalone version of the document
pandoc -s -f latex -t context -o test_context.tex test.tex
/Janne
> 26 mars 2022 kl. 06:39 skrev A A via
Dear All,
I am using pandoc to covert a file called test.tex from LaTeX to ConTeXt.
Here are the contents of test.tex:
*\documentclass{article}*
*\begin{document}*
*\mathcal{A}*
*\end{document}*
The file compiles OK with the following command and I see a resulting pdf:
*latexmk -pdflatex