在org-mode中无法将表导出到latex [英] Cannot export tables to latex in org-mode
问题描述
我正在尝试执行以下操作:
-
我有一个
.org
文件与下表:| 1 | 2 | 3 | 4 | 5 |
| --- + --- + --- + --- + --- |
| a | b | c | d | e |
-
我按下 Cc ed 时出现以下错误,键绑定导出到LaTeX并处理PDF:
符号的函数定义为void:
org-babel-exp -process-buffer
我正在使用组织在Emacs 24.3.1上的模式版本7.9.3f。
导出 .org
没有表格的文件工作顺利。 / p>
p>您正在运行 org-mode
的过期版本。您可以通过执行
Mx package-install
RET org
RET
请注意,如果您从 在没有 如解释这里。为了确保这种情况,请通过 考虑到您的当前配置,下一步是移动这个 从 当您重新启动Emacs(没有 作为最后一步,通过取消注释它们并通过 Cx Ce 对它们进行评估,从而使您的 I am trying to do the following: I have an I get the following error on pressing C-c e d, the key binding to export to LaTeX and process the PDF: Symbol's function definition is void: I am using Org-mode version 7.9.3f on Emacs 24.3.1. Exporting Here is a link to my You are running an outdated version of M-x Note that if you are upgrading from the built-in version of in a session where no as explained here. To ensure that this is the case, start Emacs via Taking into account your current configuration, the next step is to move this from the bottom to the very top of your When you restart Emacs (without the As a last step, re-enable your 这篇关于在org-mode中无法将表导出到latex的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
.org
文件访问的会话中,即没有 org
已经加载了内置函数。
emacs -Q
和启动Emacs然后安装 org
如上所述。
.emacs
文件的底部到顶部,并注释掉所有 org
相关的自定义。通过将呼叫转移到 package-initialize
到您的 .emacs
文件的顶部,您将确保通过在您的自定义配置加载之前加载包管理器。
-Q
选项),然后执行 Mx org-version
RET ,现在应该给你一些类似 8.2 .6
,导出表格应该可以正常运行。
org
相关的自定义项逐个启用。如果您收到任何错误,这意味着新的 org
版本引入了一些与您的代码尝试执行的更改不相容的更改。在这种情况下,您可能想要单独提出问题。
.org
file with the following table:| 1 | 2 | 3 | 4 | 5 |
|---+---+---+---+---|
| a | b | c | d | e |
org-babel-exp-process-buffer
.org
files without tables works smoothly..emacs
if anyone needs to have a look.org-mode
. You can upgrade to a newer version by doingpackage-install
RET org
RETorg-mode
, you need to do the installation
.org
file has been visited, i.e. where no org
built-in functions have been loaded.emacs -Q
and then install org
as described above.
(when (>= emacs-major-version 24)
(require 'package)
(package-initialize)
(add-to-list 'package-archives
'("melpa" . "http://melpa.milkbox.net/packages/") t))
.emacs
file, and comment out all org
-related customizations for now. By moving the call to package-initialize
to the top of your .emacs
file you are making sure all packages installed via the package manager are loaded before your custom configuration is loaded.-Q
option) and do M-x org-version
RET, it should now give you something like 8.2.6
, and exporting tables should work fine.
org
-related customizations one by one by uncommenting them and evaluating them via C-x C-e. If you get any errors, this means the new org
version introduced some changes that are incompatible with what your code is trying to do. In that case you might want to ask a separate question.