GNUEmacs24.3.1 (x86_64-pc-linux- GNU,GTK+版本3.10.7) org模式版本8.3.2 (org-20151005)
org-odt相关的配置在我的.emacs中:
;;ox-odt(require 'ox-odt) ;;/usr/share/emacs/site-list/org-mode/etc (setq org-odt-data-dir "/usr/share/emacs/24.3/etc/org/styles")
样式文件夹包含:1.od-清单-schema-v1.2-os.rnc 2. d-schema-v1.2-os.rnc 3. OrgOdtContentTemplate.xml 4. OrgOdtStyles.xml 5. schemas.xml
其他.emacs配置的设置是通过M自定义变量RET (custom-set-variables '(org-export-backends (quote (ascii html icalendar latex odt taskjuggler))) '(org-odt-convert-process "LibreOffice") '(org-odt-preferred-output-format "odt"))设置的,但是当试图通过enabled将cvArun.org文件转换为odt时,mini buffer说- No such file: /home/deadlytackler/Documents/AKK/cvArun.odt错误调试是全局启用的,但是它没有提供任何“回溯”。消息有以下消息-`
LaTeX to MathML converter not available.
Formatting LaTeX using verbatim
Wrote /tmp/odt-2666UgV/meta.xml
Using vacuous schema [2 times]
Saving file /tmp/odt-2666UgV/styles.xml...
Wrote /tmp/odt-2666UgV/styles.xml
Using vacuous schema
Wrote /tmp/odt-2666UgV/mimetype
Using vacuous schema
Saving file /tmp/odt-2666UgV/META-INF/manifest.xml...
Wrote /tmp/odt-2666UgV/META-INF/manifest.xml
Saving file /tmp/odt-2666UgV/content.xml...
Wrote /tmp/odt-2666UgV/content.xml
(No changes need to be saved)
Creating ODT file...
Running zip -mX0 cvArun.odt mimetype
Running zip -rmTq cvArun.odt .
Created /home/deadlytackler/Documents/AKK/cvArun.odt
Executing soffice --headless --convert-to odt --outdir /home/deadlytackler/Documents/AKK/ /home/deadlytackler/Documents/AKK/cvArun.odt
Error: source file could not be loaded
Export to /home/deadlytackler/Documents/AKK/cvArun.odt failed
user-error: No such file: /home/deadlytackler/Documents/AKK/cvArun.odt在正确配置odt方面的任何帮助都将是非常感谢的,因为无法找到阻止它加载源文件的方法(错误)。
发布于 2016-05-09 21:34:14
最近,我被同样的错误困扰,设置
org-odt-首选-输出-格式
对于odt或doc,都会导致相同的错误。不过,docx看上去还不错。通过使用-Q运行emacs并加载
(require 'ox-odt)将我的配置从等式中移除。
https://stackoverflow.com/questions/33716451
复制相似问题