Ms word 使用pandoc将LaTeX文档转换为word--多列表的问题

Ms word 使用pandoc将LaTeX文档转换为word--多列表的问题,ms-word,latex,pandoc,Ms Word,Latex,Pandoc,我使用pandoc将latex文档转换为word文档 我的大多数桌子都有多列。在我的最终word文档中没有出现跨多列的单元格行,我真的不明白为什么 下面是一些示例代码: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{enu

我使用pandoc将latex文档转换为word文档

我的大多数桌子都有多列。在我的最终word文档中没有出现跨多列的单元格行,我真的不明白为什么

下面是一些示例代码:

\documentclass{article} 


                                
\usepackage[utf8]{inputenc} 
\usepackage[T1]{fontenc}                                    
\usepackage{enumerate}  
\usepackage[ngerman,british]{babel}                             
\usepackage{amsfonts,amssymb, mathtools}
\usepackage{bm}                     
\usepackage{graphicx}           

\usepackage{tabularx}
\usepackage{longtable}
\usepackage{booktabs}




\begin{document}
Here the table: 

\begin{table}[tbp] \centering
    \caption{Test table} 
    \begin{tabularx}{\textwidth}{XXXXX}
        \toprule
        & \multicolumn{2}{l}{\emph{Cat 1}} & \multicolumn{2}{l}{\emph{Cat 2}} \\
        \addlinespace
        Data & Estimate & Standard error & Estimate & Standard error\\
        \cmidrule(){1-1} \cmidrule(l){2-3} \cmidrule(l){4-5}
        Group all & -0.009 & 0.008 & -0.008 & 0.008\\
        \addlinespace
        Group A & -0.009 & 0.011 & -0.001 & 0.009\\
        Group B & -0.010 & 0.011 & -0.016 & 0.013\\
        \bottomrule
        \multicolumn{5}{l}{${*}$ \emph{p} < 0.1, ${*}{*}$ \emph{p} < 0.05, ${*}{*}{*}$ \emph{p} < 0.01}
    \end{tabularx}
    
    \vspace{0.5em}
    \parbox{.9\textwidth}{\raggedright \emph{%
    Notes: 
    Some notes.
    } }
\end{table} 

\end{document}

截至2020年6月,Pandoc不支持LaTeX中的多列表格。有关详细信息,请参阅

pandoc -o foo.docx foo.tex