Questions tagged [org-export]

exporting, converting, printing, and publishing Org documents to a variety of other formats using Org mode's export facilities. PDF, HTML, ASCII, etc., are some of the common export formats.

186 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
8
votes
0answers
271 views

How to expand external files inline on orgmode?

I know I can use something like #+INCLUDE: "./filepath" but this has effect only when I export the file. I can also use link like [[./filepath]] but I have to type C-c C-o to go to the content. How ...
7
votes
0answers
330 views

org-mode ODT export template

I would like to export org file to ODT. Is there any nice ready to use ODT template that can be used for exported documents? Default template is not good looking. I had the same problem with html ...
7
votes
1answer
443 views

How to get org-mode fully support Arabic language for export?

My intention is to write Arabic document using org-mode. Please consider the following MWE, given that my configuration in init.el has below code to enable writing of Arabic script from right to left (...
7
votes
0answers
786 views

“Creating pipe: too many open files” error when running org-publish on large project

I have an org project that has many .org files (more than 300). When I invoke org-publish in Emacs, after a while it aborts and shows: ... ... Publishing file e:/git/blog.site.src/src/org/life/day-...
5
votes
0answers
230 views

Can body-only exports be performed by default?

I have an org file: #+TITLE: Hello! Hello world! I can perform a "body-only" export of this file to html by issuing C-c C-e C-b h h. Here, the C-b keystroke toggles the "body-only" variable from ...
5
votes
0answers
136 views

How to link from parent source block to child block (included via <<noweb>>)?

When exporting the documentation (HTML or PDF) for a literate program that uses noweb references in blocks, how can I get the output to actually hyperlink the <<noweb_snippet_name>> line (...
4
votes
0answers
197 views

new lines in org mode export to LaTeX

This is similar to (this question). I would like to export the following org-mode document to LaTeX: * Test text 1 text 2 text 3 - list 1 - list 2 - list 3 #+BEGIN_definition ...
4
votes
0answers
307 views

latex inside table using table.el in org mode

I am trying to achieve multicolumn cells in org-mode tables like in Multicolumn cells in org-mode tables, but with Latex inside the cells. * Minimal Example +------------+-----------+-------------...
4
votes
0answers
577 views

orgmode image export side by side to both latex and html

In org export, I want to place two images side by side. I want them to be side by side in both LaTeX export and HTML export. In the example below, the first pair works for LaTeX and the second pair ...
4
votes
0answers
471 views

Export to multiple files according to tags

I am using org mode to build teaching presentations (through beamer export) and I have a global document containing all the slides I use. Each slide has a tag to indicate the corresponding teaching ...
4
votes
0answers
103 views

how to include remote images in org-mode export to LaTeX?

When I paste the URL of an image into an org-mode file and then export it to HTML, the remote image URL gets turned into an img tag and displayed in my HTML file without the need for me to save the ...
4
votes
0answers
839 views

How to embed external file contents in org file?

I'm creating a simple bash tool that uses various flags/arguments from the user, and I'm using an org file for the documentation. I have several examples and I'd like to include some explanation of ...
4
votes
1answer
309 views

Export pretty symbols in org source blocks?

I make substantial use of prettify-symbols in my programming buffers. A snippet of some of my python symbols: (add-hook 'python-mode-hook (lambda () (mapc (lambda (pair) (push pair ...
4
votes
1answer
921 views

Can I automatically export org deadlines and scheduled tasks as an iCal file and import it with another calendar app?

I would like to update Google Calendar / iCal automatically by exporting my org deadlines and scheduled tasks in .ics format, then automatically importing them into a cross-platform calendar app. I ...
4
votes
0answers
185 views

Prevent :EXPORT_LATEX_HEADER: in a subtree from overriding all buffer #+LATEX_ lines

Possibly a bug: When using :EXPORT_LATEX_HEADER: in a subtree's :PROPERTIES: it overrides all the buffer-level #+LATEX_HEADER: commands as well as everything given in an external file with #+SETUPFILE:...
3
votes
0answers
89 views

How can I use the #+OPTIONS: broken-links: option to ignore broken links, in a specific way?

I have a very large orgmode document that has internal links to many different parts of the document. If I try to export a subtree that has an internal link that points to a part of the document ...
3
votes
1answer
218 views

org-export latex pdf output does not render svg

I tried out this section of code from this repo #+LATEX_HEADER_EXTRA: \usepackage{svg} ... #+PROPERTY: header-args :eval never-export :file-ext svg ... #+NAME: sequence12422 #+BEGIN_SRC plantuml :...
3
votes
0answers
36 views

How to set a tangled parent directory for each subtree in org mode?

Base on this, one can set a global tangled file. However, I'd like to set one directory for each subtree, e.g. for a * Python subtree, in every code block I can set :tangle a.py or :tangle b.py ...
3
votes
0answers
52 views

dvisvgm baseline in org-mode HTML export

When using #+OPTIONS: tex:dvisvgm and exporting to HTML with org-mode, the baseline of the latex exported images does not match the baseline of the text (when using subscripts, for instance). Is there ...
3
votes
0answers
227 views

org-mode HTML export - difference in behavior with org-html and org-pandoc

I have an example org-mode file with the following contents: - only text\\ only text\\ only text - image... (works with org-html but not pandoc-html because of no brackets around "file:" ...
3
votes
0answers
87 views

Prevent Org mode from raising Emacs frame while exporting to PDF

Some of my org mode files take a long time to export because they include code for number crunching that is executed during export (via Org Babel) . I usually minimize the Emacs frame while the ...
3
votes
1answer
313 views

Org-mode #+include: — ignore configuration lines from included file

How can I have org #+INCLUDE: ignore configurations from the included files? I'm thinking of cases where I don't want Latex Classes to be messed up. For example, if I have two org files book.org and ...
3
votes
0answers
131 views

Is AsciiMath Possible in Org-mode?

I have been using Org-mode for largely everything including for maths text. Although I have gotten pretty good at writing LaTeX snippets, I have a lot of trouble reading it. I much prefer the syntax ...
3
votes
0answers
76 views

Is org-mode compatible with Plain TeX?

Being an old timer used to Plain TeX, I'd like to be able to add Plain TeX portions to an org-mode file and have them be nicely displayed when exported. Is it possible to configure org-mode for this ...
3
votes
0answers
498 views

Export alphabetical org lists as alphabetical html lists

This is a follow up to a previous question. When exporting an alphabetically sorted org-list to html ((setq org-list-allow-alphabetical t)), the list is converted to a numerically sorted list. Any ...
3
votes
0answers
263 views

Control vertical spacing between paragraphs in org-mode export?

I want to export org-mode to PDF or preferably ODT format. How do I set arbitrarily vertical space, e.g space before paragraph 6pt, space after 12pt. Is there any global option for me to do this?
3
votes
1answer
328 views

Export all org-mode sections as Beamer frames?

Is there a way to have all of my Org-mode sections export as Beamer frames? For instance, if I have a document like * A ** B ** C then I would like a slide for each of A, B, and C. Setting H:2 gives ...
3
votes
0answers
85 views

Exclude completed deadlines from orgmode's ical export

I have enabled the inclusion of deadlines in the ical export of orgmode by setting the preference org-icalendar-use-deadline '(todo-due event-if-todo). How can I exclude an orgmode heading from ...
3
votes
0answers
186 views

Publishing multifile org-mode projects

I would like to use org-mode to maintain a simple website that is a collection of notes organized by topic. I understasnd the basics of publishing -- i.e., using C-x C-e P p to publish all the files ...
3
votes
0answers
257 views

How to get org-mode to resume list numbering from where it left off

Related: https://stackoverflow.com/a/21475047/52310 I want to write something like: 1. foo 2. bar intervening text 3. baz 4. quux The two easy almost-solutions are: Make "intervening text" part ...
3
votes
0answers
246 views

Org-mode export open in Sumatra PDF?

I'm in Windows 7 (32 bit) and I'm using Emacs 24.4 where I have, among other things, Org 8.2. I'd like to open pdfs in Sumatra PDF after exporting *.org files to pdf via *.tex. So I read this other ...
3
votes
1answer
884 views

Org-mode export to HTML - problem with indentation

When I export an elisp source code block to html, the indentation of the code gets messed up. I've tried calling (setq org-src-preserve-indentation t), but that didn't help. I imagine there is perhaps ...
3
votes
0answers
148 views

Prevent Org from escaping latex results

During export, Org generates this: \begin{tikzpicture}[->,>=stealth',shorten >=1pt,auto,node distance=2.8cm, semithick] \node[initial,state] (A) \{\$q$_{\...
3
votes
0answers
48 views

Org-export to lisp comments

I like using org-mode in my packages' Readme files, but I also like writing instructions under the ;;; Commentary: header that goes in the source file. Whenever I change some part of the ...
3
votes
0answers
363 views

Is exporting of smart (single) quotes broken in Org 8.3?

I cannot seem to get correctly exported smart single quotes in Org 8.3. Here is a minimal test.org file: #+OPTIONS: ':t #+LANGUAGE: en This is 'within single quotes'. This is "within double quotes"...
3
votes
0answers
68 views

Search tasks by tags in Mobileorg Android

I'm trying to use Mobileorg in android. Mobileorg syncs well with my Dropbox. The org files staged are captured well by mobileorg. However I'm having trouble searching for tasks based on tags. ...
2
votes
2answers
42 views

Not scape braces in LaTeX org-mode

I am writting a LaTeX document using org-mode, and there is a section where I want to include a proof, which has the following code. #+LaTeX_HEADER: \newcommand{\dem}[1]{\textcolor{gris}{\small{...
2
votes
0answers
30 views

Is there a common way of exporting Org mode tasks to sqlite?

I would like to export tasks from Org file to a middle file in order to convert it later to other back-ends. Should I use CSV format, database format or is there a common parser for this type of tasks?...
2
votes
0answers
59 views

Use org-ref to add citations in theorem titles

I am experimenting with writing a manuscript in org-mode and wondering if this is something org-ref can do In org-mode I have #+ATTR_LATEX: :options [Homeslice's Theorem] #+BEGIN_theorem latex blah ...
2
votes
0answers
39 views

Encrypting Org export

I have a GPG encrypted Org file (title.org.gpg) that I interact with transparently using epa. I would like to export this to a GPG encrypted PDF. Currently I do this by using the usual LaTeX export (C-...
2
votes
0answers
45 views

adding options to org-export dispatcher

I'm trying to customize the workflow that goes from org-mode to latex export. When I launch the export dispatcher, I have four sub-options under [l]atex ... the standard ones. But I think it's ...
2
votes
0answers
152 views

Theme background not exported for HTML source code block

I have some code snippets within an org file: #+BEGIN_SRC python print 42 #+END_SRC When exporting to HTML (org-export-dispatch), the syntax highlighting seems to follow my current theme, but the ...
2
votes
0answers
71 views

images on github wiki and PDF export

I have a org-mode document, with some inline images: [[path/to/image.png]] These render properly on GitHub wikis, but fail when I use org-latex-export-to-pdf. However, I can get the pdf export to ...
2
votes
0answers
39 views

Re-apply table formulas on org-mode export

I'm using an org-mode file to do some filesystem monitoring. To that purpose I have a table in which I'm calling code blocks through org-sbe in the formulas. It looks like this: #+NAME: part-size #+...
2
votes
1answer
218 views

Cannot cite anything

I've seen this question: Loading bibtex file in org-mode file as well as this one: https://tex.stackexchange.com/questions/114864/how-to-get-bibtex-to-work-with-org-mode-latex-export I've tried ...
2
votes
0answers
226 views

Cleanup org-mode export intermediary directories

I am trying to delete extraneous files and directories generated during the export of a latex file from orgmode. I followed the instructions in a similarly named stackexchange post to delete extra ...
2
votes
0answers
239 views

Auto-revert for changed pdf buffers?

Specifically in the content of exporting org->latex->pdf when using pdftools to view the resulting pdf, how can I stop emacs from asking me if I want to revert the pdf buffer and instead just auto-...
2
votes
0answers
272 views

Org-mode properties to list or structured content

I love the way org-mode allows to input easily resuable data through Properties. Later on you can export it to CSV thanks to column-view, and it is very userful. But what if I would like to export it ...
2
votes
0answers
407 views

ox-pandoc table and image export formatting. ATTR_LATEX and ATTR_HTML not behaving as expected

I have been using ox-pandoc to export my org-mode files (generally to pdf using pandoc and xelatex) but I am having a lot of trouble formatting images and tables. #+ATTR_LATEX commands for images is ...
2
votes
0answers
282 views

how to expand org-mode macros in HTML blocks in export to HTML?

I'd like to use org-mode macro replacement to expand macros inside HTML blocks in org-mode export to HTML. I'd like this... #+MACRO: event-url bar #+HTML_HEAD: <meta property="og:url" content="...