Pandoc 将 Org 文件转换为 RTF,无需编号标题
Org file to RTF conversion by Pandoc without numbering headings
我正在尝试使用 Pandoc 将 Org 文件转换为 RTF 格式。
但它会生成带编号的标题。
如何获取标题未编号的 RTF 文件?
例子
组织文件
* First
** Second
*** Third
**** Fourth
***** Fifth
被转换成如下RTF文件
pandoc -f org -t rtf
:
{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs36 First\par}
{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs32 Second\par}
{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs28 Third\par}
{\pard \ql \f0 \sa180 \li360 \fi-360 1.\tx360\tab Fourth\par}
{\pard \ql \f0 \sa180 \li720 \fi-360 a.\tx360\tab Fifth\sa180\sa180\par}
我想在输出中抑制 1.
和 a.
。
来自https://orgmode.org/guide/Headings-and-sections.html:
only the first three outline levels will be used as headings. Deeper levels will become itemized lists.
尝试使用以下选项更改它:
#+OPTIONS: H:5
* First
** Second
*** Third
**** Fourth
***** Fifth
我正在尝试使用 Pandoc 将 Org 文件转换为 RTF 格式。 但它会生成带编号的标题。
如何获取标题未编号的 RTF 文件?
例子
组织文件
* First
** Second
*** Third
**** Fourth
***** Fifth
被转换成如下RTF文件
pandoc -f org -t rtf
:
{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs36 First\par}
{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs32 Second\par}
{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs28 Third\par}
{\pard \ql \f0 \sa180 \li360 \fi-360 1.\tx360\tab Fourth\par}
{\pard \ql \f0 \sa180 \li720 \fi-360 a.\tx360\tab Fifth\sa180\sa180\par}
我想在输出中抑制 1.
和 a.
。
来自https://orgmode.org/guide/Headings-and-sections.html:
only the first three outline levels will be used as headings. Deeper levels will become itemized lists.
尝试使用以下选项更改它:
#+OPTIONS: H:5
* First
** Second
*** Third
**** Fourth
***** Fifth