New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pandoc Does Not Parse Tabular With Itemize #3709
Comments
Yes, so far we only have |
Did you try compiling that snippet with pdflatex? If this is invalid LaTeX, then it's not a problem with pandoc. |
Closing this, but feel free to comment if you think there's a mistake. |
Sorry, I made a mistake in the example. When you specifc \documentclass[a4paper,11pt]{article}
\usepackage[utf8]{inputenc}
\begin{document}
\begin{tabular}{|c|p{0.9\linewidth}|}
\hline
A & B \\
\hline
C & D \begin{itemize}
\item 1
\item 2
\item 3
\item 4
\item 5
\end{itemize} \\
\hline
\end{tabular}
\end{document} The PDF looks like this: |
I also tested your solution with \documentclass[a4paper,11pt]{article}
\usepackage[utf8]{inputenc}
\begin{document}
\begin{tabular}{|c|c|}
\hline
A & B \\
\hline
C & \begin{minipage}{0.9\linewidth}
D \begin{itemize}
\item 1
\item 2
\item 3
\item 4
\item 5
\end{itemize}
\end{minipage} \\
\hline
\end{tabular}
\end{document} However, pandoc produces:
|
pandoc 1.19.2.1 is able to parse the
|
Currently we only handle the form `0.9\linewidth`. Anything else would have to be converted to a percentage, using some kind arbitrary assumptions about line widths. See #3709.
The current pandoc dev version does not parse
tabular
environments if they contains anitemize
environment. For example:Pandoc produces following output:
However, pandoc should produce following output:
The text was updated successfully, but these errors were encountered: