1

我需要将 LaTeX 文件 ( mypaper.tex) 转换为 DOCX 文件,以满足期刊的要求。

乳胶文件包含以下内容:

  1. 表格、数字和方程式
  2. 书目引文(我的书目数据库名为mycitation.bib

这些数字位于名为 的子目录中images。在乳胶文件中,我使用命令引用了这个子目录

\graphicspath{{images/}} 

我从 Zotero 数据库下载了一个 CSL 文件。假设 CSL 文件的名称是springer-science-reviews.csl

现在我运行以下命令将其转换.tex.docx

pandoc -s -S --filter pandoc-crossref --filter pandoc-citeproc --csl springer-science-reviews.csl --bibliography mycitation.bib mypaper.tex -o mypaper.docx

我看到以下问题:

  1. 交叉引用不起作用。[\ref{tab:pollution} 保留在 docx 文件中为 {tab:pollution}
  2. 具有类似命令@extracolsep或依赖于乳胶array包的命令的表无法正确呈现。

此处给出了一个不起作用的示例:

\begin{table}[htbp] 
\centering    
\caption{Pollution data}    
\label{tab:pollution}  
\begin{tabular}{@{\extracolsep{5pt}} clccccc}  
\toprule  & Name & V1 & V2 & Z1 & Z2 &Level\\  
& {} & {$\mu$g/m$^3$} &{$\mu$g/m$^3$} &{$\mu$g/m$^3$} &{} &{}\\ 
\midrule 
1 & MNEC & $77.160$ & $32.149$ & $3.793$ & $40.696$ &Good\\  
2 & BNEC & $142.643$ & $36.142$ & $8.801$ & $66.274$ &Moderate\\  
3 & TVCEN & $111.702$ & $41.657$ & $5.949$ & $57.070$ &Moderate\\ 
\bottomrule 
\end{tabular} 
\end{table}
4

0 回答 0