Org-mode 是否支持像阿拉伯语这样的 RTL 语言

Does Org-mode support RTL Languages like arabic

Org-mode 是否支持阿拉伯语等 RTL 语言?

objective是准备和排版一本阿拉伯文字的书,然后导出为 PDF 打印。

要获得正确的 RTL 显示,您可以将以下代码片段添加到您的初始文件中:

(defun set-bidi-env ()
  "interactive"
  (setq bidi-paragraph-direction 'nil))
(add-hook 'org-mode-hook 'set-bidi-env)

来自 Emacs Manual:

The variable bidi-paragraph-direction, if non-nil, disables the dynamic determination of the base direction, and instead forces all paragraphs in the buffer to have the direction specified by its buffer-local value. The value can be either right-to-left or left-to-right. Any other value is interpreted as nil.

至于 pdf 导出,orgmode 使用 latex 处理。 Latex 有丰富的语言支持,你可以很容易地完成这项工作。您可以阅读更多相关信息 here