Stack Exchange Network

Stack Exchange network consists of 174 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.

1
vote
0answers
19 views

Random href ids in Org 9 exported HTML?

Something seems to have changed in the way HTML is exported from org mode between the 8 and 9 versions.One example, in the Table of Contents, I get entries with anchors like this: a href="#orgfaf035e"...
1
vote
0answers
213 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 ...
0
votes
1answer
50 views

Run command on remote host after org-publish

I try to setup a basic, easy website workflow. Right now I can simply press C-e P x project-name, export and upload my Org, image, and whatnot files as HTML. As I don't want to upload that directly ...
1
vote
1answer
81 views

Code formatting in org-mode headlines on export to PDF

You can use formatting in headlines in org-mode. For example: * Behavior of the _insert_ operation This exports to PDF just fine. If, however, your formatting is code formatting * Behavior of the ~...
1
vote
0answers
329 views

Org export: Specifying common image properties for html and latex

Suppose I want to have the same image attributes for HTML and LATEX export I have to specify them twice as in the following example: #+CAPTION: Example image #+ATTR_HTML: :align center :width 100px #...
0
votes
0answers
48 views

Override language-specific strings when exporting from org-mode to HTML

I'm using org-mode to generate an HTML website and I know there's a language setting to export some strings to various languages (#+LANGUAGE:), but it seems that it doesn't work for Romanian. I want ...
0
votes
1answer
147 views

How to export org-mode to ODT with endnotes?

If an org-mode document includes footnotes, and you export to ODT, you get footnotes at the bottom of every page. For a journal submission, I need these to be endnotes. This is fairly easy in LaTeX ...
3
votes
2answers
463 views

ORGMODE Exporting to text without wrapping

As simple as that. Everytime I export from orgmode to text the lines are wrapped. How to disable this? Thank you, E.
2
votes
2answers
316 views

Org-mode latex environment in drawer

I use a custom LaTeX environment that creates a quotation box on export. A sample code looks like this: * Org-mode heading Here is a witty quote from a witty chap: \begin{fancyquote} Witty quote! ...
3
votes
1answer
121 views

How to export readable HTML links in Org mode?

When exporting an Org file to HTML all internal links of the form [[link]] are given section indicators of the form X.Y.Z. This makes sentences in which words have been linked unreadable. Input * ...
0
votes
0answers
31 views

Is it possible to evaluate src blocks after export in org mode?

I have an org-mode file foo.org: #+TITLE: My Title Hello world! #+BEGIN_SRC python :exports none with open('foo.txt', 'a') as f: f.write('text appended!') #+END_SRC Issuing C-c C-e t a ...
6
votes
0answers
153 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 ...
3
votes
2answers
117 views

External links to figures in org-mode

I would like to be able to link specific figures from other documents. Basically the function of the xr package in LaTeX where it doesn't necessarily give you an actual link that will take you outside ...
1
vote
0answers
25 views

Is it possible to prepend and append content to the body of html exports in org mode?

I have an org document foo.org: #+TITLE: Page Title #+AUTHOR: Me Hello world! When foo.org is exported to foo.html, the body is: <body> <div id="content"> <h1 class="title">Page ...
4
votes
1answer
69 views

Content of a table cell showing hexadecimal number wrongly interpreted

I have this table in org-mode that I wish to export to pdf: #+ATTR_LATEX: :align |r|r|r| :font \ttfamily \tiny |service | port | hex | |--------|------|--------| |mdns | 5353 | 14e9 | after ...
1
vote
1answer
232 views

How to get TODO sequence without exporting as a section?

I maintain an org file to organize my literature survey. The headline structure reflects the hierarchy of topics in my research area. Within each topic, there is a list of research articles. A TODO ...
3
votes
0answers
96 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 ...
1
vote
1answer
164 views

Can timestamps exported to html be customized?

I want the timestamp <2017-07-26 Wed> in my org document to be exported to html as Wed 26-July '17. Is this customization possible? More generally, is it possible to customize how timestamps ...
1
vote
2answers
51 views

Partial export: expanding #+INCLUDE keywords

I wrote a code that clones the current org buffer, performs a transformation of the links (which are org-ref citations) and then exports that temporary buffer. The problem is that the links in the #...
0
votes
1answer
407 views

BEAMER commands don't work when exporting org-mode to beamer

I'm trying to produce a minimalistic presentation using org-mode and beamer latex. But I keep getting a pdf file with only one frame, and "I think" commands starting with BEAMER_ is not working. ...
1
vote
2answers
143 views

Disable MathJax in Org Mode html export

How do I prevent Org Mode from including MathJax when exporting as html?
1
vote
0answers
72 views

Question on ox-odt : How to export special block as a two column section?

What I want to do is implement a special block, say, "Sect2", in an org file #+attr_odt: :style Sect_2 #+begin_sect2 * heading 1 ** subheading 1 * heading 2 #+end_sect2 "Sect_2" is a style defined ...
0
votes
1answer
53 views

Using `with-silent-modifications` when modifying the buffer and undoing those modifications without using `undo`

I wrote a wrapper for the existing export function. My wrapper adds an appropriate bibliography: link, calls the original export function and then removes the bibliography: link. In summary, the ...
0
votes
0answers
57 views

Automated conversion to real accented characters

I use org-mode to maintain a to-read list of articles. An entry in the list is produced by a function that I wrote in ELisp. The function uses bibtex-completion-get-value for the title and bibtex-...
0
votes
1answer
230 views

Exporting to odt suddenly fails

Exporting to odt used to work fine in the past, until today, where I suddenly experienced the following error: OpenDocument export failed: You’re not in a project What could the source be? What ...
4
votes
2answers
237 views

Is it possible to define source block switches globally in org mode?

I'd like to get line numbers displayed for all the source blocks in Exported file ( html/pdf) For a particular souce block, I got to add the switch -n to the source block e.g.: #+BEGIN_SRC C++ -...
1
vote
1answer
172 views

Selective Export from org mode

I am using org mode with code blocks to produce my slides via beamer. What I'd like to do is make this into a blog post. This needs more explanatory text. What I'd like to be able to do is export some ...
1
vote
0answers
88 views

Export HTML inline image results for Jekyll

I'm trying to follow the recipe for exporting Org-mode documents for processing by Jekyll. My publishing org-publish-project-alist is configured to place exported html in my _posts directory and take ...
0
votes
1answer
123 views

How to (correctly) hex encode a URL so that it becomes a valid address I can paste into my web browser?

Here is a valid URL which loads the intended page when I paste it into my browser: https://en.wikipedia.org/wiki/Blue_(disambiguation) For reasons I will explain later, I want to hex encode the last ...
4
votes
1answer
261 views

How can I escape single quotes inside a code format block in org mode?

I have an org-mode document with inline code formatting (text wrapped in ~). If the code starts with ', when I export to HTML the formatting doesn't get applied, and the ~s are printed literally. The ...
1
vote
2answers
368 views

Org-mode logtable Latex export: How to change the “Continued on next page” text (to German)?

I am writing a German document in Org-mode and exporting to Latex. To use the longtable environment, I use: #+ATTR_LATEX: :environment longtable |-|-|-| In this way, a long table is exported as ...
3
votes
3answers
1k views

How do I insert multiple line breaks in org-mode when exporting to html?

I want to emphasize a particular bit of text that contains a poem. The way I'm trying to do that is by inserting multiple line breaks something \\ \\ \\ poem However in html it renders the same way ...
6
votes
0answers
455 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 ...
2
votes
2answers
304 views

Org export via org-ref-->pandoc, bibliography using relative path

Can org-ref export through ox-pandoc using a relative path to the bibliography file? Export via org --> pandoc --> HTML succeeds when the org document contains an absolute path to the bib file. ...
1
vote
1answer
571 views

Export org-mode subtrees at chapter level for LaTeX

I have a DATE_TREE logbook within an org-file that I would like to export to Latex, keeping the years at a level of a chapter: * Logbook :PROPERTIES: :DATE_TREE: :END: ** 2016 *** 2016-10 October ...
2
votes
0answers
275 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 ...
1
vote
1answer
106 views

org-babel captions on results don't export to LaTeX?

I hope the following complete minimal example is self-explanatory. It contains my question. It should run without error messages in org-babel. I looked at the six related suggested questions on the ...
1
vote
0answers
172 views

org babel exports code blocks even if I tell it to export results instead

How can I make org-babel only export results, not code? The only way I've found to suppress code from appearing in the output is to comment out all the code blocks manually. I tried adding :exports ...
0
votes
1answer
228 views

Org-ref: citation link cannot be completed when default org-ref bibliography

I use org-mode to write journal papers, cite with org-ref, and export to latex. I used to specify individual bibliography in every org document in the bibliography: section, then use C-c C-e l o to ...
5
votes
1answer
1k views

How to word wrap within code blocks

I'm trying to get the formatting right for an org-mode file being exported to pdf. I set 'org-startup-truncated' to nil and that has resolved my word wrapping issues for non code blocks. But I ...
0
votes
1answer
761 views

Orgmode 2017 “binding depth exceeds max-specpdl-size”?

I've just installed the latest version of Orgmode (20170515) from the package list of elpa (M-x package-list-packages, marked I then x). Now, when I try to export an *.org file to a *.pdf by either ...
2
votes
1answer
470 views

Unnumbered section among numbered ones in Org-mode

It is known that the option num:nil drops the numeration of sections (when exporting from org-mode), but How could I include a unnumbered section among numbered ones in Org-mode?
2
votes
1answer
356 views

Can the format of a timestamp in an org-mode document be locally adjusted for export?

I have an org document: #+Title: Birthdays of The Beatles John Lennon was born on <1940-10-09 Mon>. Each member of the Beatles had a birthday. | Beatle | Birthday | |--------...
1
vote
1answer
101 views

How to set rel=nofollow as default for links in Org export to html?

I need to add rel=nofollow for every link in my document but be able to change it using something like: #+ATTR_HTML: :rel index,follow. Any ideas?
3
votes
0answers
328 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 ...
5
votes
2answers
142 views

Fix org-publish links when using org-wiki & ox-pandoc

I'd like to use org-wiki to keep a personal wiki. Org-wiki will also publish to html. In doing so it converts all org links of the form wiki:foo to foo.html. It does this using the function org-wiki--...
1
vote
1answer
381 views

Is it possible for org-publish to ignore certain sub-directories?

I am working on managing my website with ox-twbs. The directory tree of my site looks like this: mysite/ ├── bar │   └── private ├── foo │   ├── eggs │   │   └── private │   └── spam └── img I want ...
1
vote
1answer
167 views

Export from Org Mode to LaTeX doesn't accept the option #+title:

When I try an export from Org Mode to LaTeX I get the following error message: apply: Wrong type argument: listp, #("Aufgabe 3" 0 9 (:parent (#0))) The problem comes from the option #+title: ...
0
votes
0answers
42 views

Is it possible to outsource export settings?

I'm building a website using org-mode (specifically a project exported with ox-twbs). I want a navagation bar at the top of each page in my website. For example, one of my pages looks like this: #+...
2
votes
1answer
699 views

Styling source code blocks with pygments.css in Org mode -> HTML export (Pelican)

I'm using the org-mode reader for Pelican to generate articles for my blog (Export to HTML). Code blocks in Markdown version of the article look perfect but I cannot enable Pygments for org-mode. Is ...