Hot answers tagged

2

During export, include keywords are parsed before babel evaluation of source blocks. By the time the block is evaluated and the include line is produced, it's too late to process it. You might do an export to org instead with C-c O o, producing a test.org.org file that contains the include. Then export that file to ODT.


2

The org-export-backends variable contains the backends that should always be available. In Emacs 24/Orgmode 8, it will be (ascii html icalendar latex), which is why the ODT options aren't shown. You have to customize the variable, e.g. M-x customize-option RET org-export-backends RET: Org Export Backends: [X] ascii Export buffer to ASCII format [ ]...


1

Add dotted line in org-mode for export to latex and ODT Author of the ODT backend here. Let me address the ODT part of the question. The answer assumes that you are using the enhanced ODT exporter (and not the old exporter available with stock Emacs or Orgmode). For the impatient, the enhanced ODT backend can be installed by adding https://...


1

You could use macro replacement: #+MACRO: dotfill (eval (if (org-export-derived-backend-p org-export-current-backend 'odt) (make-string 40 ?.) "\\dotfill")) consumable1 {{{dotfill}}} month/year If you need alignment you may have to embed raw OpenDocument XML: #+begin_export odt <text:p text:style-name="Contents_20_1"> apple <text:tab/> month/...


1

How to export babel source blocks with syntax highlighting to ODT in org-mode in Emacs 27? Author of the ODT backend here. Source syntax highlighting works with the enhanced ODT backend. For the impatient, the enhanced ODT backend can be installed by adding https://kjambunathan.github.io/elpa/ to package-archives. You can learn more about the enhanced ...


1

How to export org-mode to ODT with endnotes? Author of the ODT exporter here. Just change your stylesheet as outlined in https://github.com/kjambunathan/org-mode-ox-odt/issues/19?_pjax=%23js-repo-pjax-container#issuecomment-323742879 When you need help with the ODT exporter, talk to me directly via https://github.com/kjambunathan/org-mode-ox-odt/issues.


1

The the curly bracket syntax has effect only on display. If you have complex sub/superscripts or have filenames with underscore (_), set org-use-sub-superscript to {}. As pointed out in the other answer, the variable that affects export is org-export-with-sub-superscripts. Put this into your emacs config file and evaluate it for immediate effect: (setq org-...


1

According to the documentation in org-mode 8.2.10 the option that controls the export is org-export-with-sub-superscripts and not org-use-sub-superscript.


1

Might be a little late for an answer but here it goes anyway. If you search ox-odt.el you can see that the error message you're getting comes from org-odt--export-wrap which is the macro called by org-odt-export-to-odf and org-odt-export-to-odt to create the actual ODT file. Inside ox-odt--export-wrap there is this little piece of code: (unless (executable-...


1

After you have associated 7zip with files that have a give extension (e.g. .zip), in the usual way for MS Windows (I don't think that's your question), you can have Emacs open such files using that associated program. To do that, start with the Emacs Wiki Category W32. There you will find, among other things: MS Shell Execute - tell Emacs to use Windows ...


1

Here is how I would do that. Create through libreoffice (or whatever you want, I tried with abiword) a table.odt file containing the table. Then copy the xml table code (the <table:table> element) from the content.xml file inside table.odt (which actually is a zip file) into file table.org, inside #+BEGIN/END_ODT. I tried this and created the ...


Only top voted, non community-wiki answers of a minimum length are eligible