Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

8
votes
0answers
270 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
0answers
519 views

org-mode captions not supported for EXAMPLE blocks?

Please consider the following, self-contained .org file MVE, which I hope is self-explanatory: #+OPTIONS: toc:nil Figure [[captions-work-for-src-blocks]] shows that captions are correctly exported ...
6
votes
0answers
156 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 ...
6
votes
0answers
177 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 ...
6
votes
0answers
708 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
689 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 ...
5
votes
0answers
128 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
127 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
449 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
108 views

Eval SQL in Org Babel using sql-connection-alist for credentials

I would like to evaluate SQL source blocks in Org Babel using the connections I have set up in sql-connection-alist from sql-mode. This way I can save database credentials in a private (Elisp) file ...
4
votes
0answers
95 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
165 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
21 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
0answers
217 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 +------------+-----------+-------------...
3
votes
0answers
179 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
84 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
0answers
62 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
409 views

Exporting Org in Landsacpe

I have an org document I'd like to export to PDF - with several wide tables columns in it - so much so that it makes sense to export the whole document in A4 landscape to keep the orientation ...
3
votes
0answers
389 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 ...
3
votes
0answers
372 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
231 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
0answers
77 views

How can we use a specific command from LaTeX package while exporting to html?

I can add LaTeX equation in my org file using for instance. \begin{equation} x^2 + y^2 = z^2 \end{equation} In this case when I export to html everything works fine. However, when I try to use a ...
3
votes
0answers
73 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
518 views
+50

How can I use ox-pandoc as a publishing backend for org files?

I would like to use org-publish to generate files for a website. I would prefer to do this using the ox-pandoc exporter rather than org-mode's own publishing exporters. But I can't quite seem to see ...
3
votes
0answers
161 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
136 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
45 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
335 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
67 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
0answers
35 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
29 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
27 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 ...
2
votes
0answers
63 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
35 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
0answers
100 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 ...
2
votes
0answers
144 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
316 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
254 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="...
2
votes
0answers
44 views

Question about emacs org mode exporting

when I export org file into HTML or LaTex, the source code in the block cannot fold, Is there any setting can fold the text inside the source code block?
2
votes
0answers
79 views

org mode: Numbered subtree whose parent has UNNUMBERED: t

As of version 8.3 of org, numbering of subtrees in export can be toggled via the :UNNUMBERED property. This applies to subheadings regardless of their own :UNNUMBERED property value. MWE: * Heading ...
2
votes
0answers
233 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 ...
2
votes
0answers
141 views

org-mode macro not evaluated inside link?

If I create a file with {{{input-file}}} as contents and export to HTML, the default macro is correctly evaluated to the filename. However, if I write [[file:{{{input-file}}}.alternative][Alternative ...
2
votes
0answers
153 views

org html exporter case sensitivity of links

if I have an org file like this: this is [[heading]] * Heading I can follow "Heading" with 'C-c C-o' so the link and the target are case insensitive. However if I try to export this org file to ...
2
votes
0answers
94 views

Export settings question from Beamer example written by org-mode

A minimal example can be found in Here Can anyone explain the following line funtion? #+COLUMNS: %45ITEM %10BEAMER_ENV(Env) %10BEAMER_ACT(Act) %4BEAMER_COL(Col) %8BEAMER_OPT(Opt) The worg says ...
2
votes
0answers
535 views

How to use custom :sitemap-function with org-publish?

I have this component in org-publish list : ("presentations" :base-directory "~/presentations/org/" :base-extension "org" :publishing-directory "~/presentations/" :publishing-function org-reveal-...
2
votes
0answers
226 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 ...
2
votes
0answers
84 views

Org LaTeX problems with themes when exporting to html

I use the two great html theme, bigblow and readtheorg, from https://github.com/fniessen/org-html-themes. They're awesome ! Looks really professionnal. The problem is that when I export some LaTeX, in ...
2
votes
0answers
90 views

How to specify number of digits to print from a table using babel?

New to org/babel, so forgive me if this doesn't make sense. I have some code (in R) that produces a table. I also specify (in R) the number of digits that I want with options(digits = 2). When I run ...
2
votes
0answers
162 views

Export italics inside verbatim or code

In an Org document I type call the /static/ method =something(/$with/, /$param/)= and (thanks to org-hide-emphasis-markers set to t) it appears as call the static method something($with, $param) ...
2
votes
0answers
375 views

org-publish-project-alist: :latex-header

Context When exporting Org-Mode documents to LaTeX it is possible to specifcy additional LaTeX header commands: #+LaTeX_HEADER: \subtitle{This is a subtitle} Using org-publish it is possible to ...