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.

Filter by
Sorted by
Tagged with
34 votes
5 answers
15k views

org-mode: How to export underscore as underscore instead of highlight in HTML?

I am using org-mode, and the document I am writing has a table name whose name looks like this: tab_weekly_report. When I export the document to HTML, I expect the name to exported as ...
0 votes
1 answer
117 views

Emacs org export shell script from txt file

I have a .txt file which is an org file but not with the .org file extension. I want to export the file to html on the command line, but it does not work if the file extension is .txt, only if the ...
5 votes
1 answer
479 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 ...
1 vote
1 answer
447 views

Org Mode: exporting agenda with inherited tags

The manual says: C-x C-w (org-agenda-write) Write the agenda view to a file. [...] only the body of original headlines are exported, not subtrees or inherited tags. How to export inherited tags ...
0 votes
1 answer
101 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 ...
0 votes
1 answer
45 views

org export with tikz entries

I would like to use orgmode for preparing exam questions. For tex-template I am using tikz which includes some text entries e.g. for the title and subtitle. The tex part for tikz looks e.g. like: \...
1 vote
1 answer
28 views

How do I create a buffer with a list of org-id links for TODO items across all my org-agenda files?

The basic pattern I'm looking for is how to loop across org-agenda files, select headings that are both TODOs and that have an :ID: property and not a :LISTED: property, and create a buffer just ...
1 vote
1 answer
398 views

"Ignoreheading" Beamer Environment doesn't work with :BEAMER_act: Overlay

What I would like to do is the following: I have a beamer frame where I added :BEAMER_act: [<+->]. This works well with all blocks that follow, but not when I set :BEAMER_env: ignoreheading. ...
4 votes
1 answer
2k 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 ...
1 vote
1 answer
100 views

Automatically open the exported file as soon as `org-export-dispatch` succeeds

What is the simplest way to configure org-mode to automatically open the exported file as soon as org-export-dispatch succeeds?
0 votes
1 answer
23 views

Publish link to literal orgmode file

How can you publish an Org-mode file main.org to main.html which contains a link to a literal Org-mode file sample.org? If you put [[file:sample.org][This is a sample Org-mode file]] in main.org then ...
0 votes
1 answer
37 views

how to only include bibliography once

How can I export these 2 files individually, but only include the bibliography once in the resulting b.pdf? As shown, I get two copies of the References section in the b.pdf file. I'm not sure if this ...
2 votes
1 answer
965 views

org odt export: how to create a two columns section

In libreoffice I can insert a two column section. In org mode, creating a two_columns page style and use #+ATTR_ODT: :style "two_columns" can produce a two column document, but org mode doesn't seem ...
3 votes
1 answer
80 views

How to change formatting TODO in Org-mode's Latex PDF output

I want to change font of TODO/DONE in PDF output of my Org-mode. Is there any way to change font of TODO/DONE keywords (also perhaps also change colors)? UPDATE: Using dalanicolai reply below, I ...
0 votes
1 answer
34 views

Problem with compiling PDF with ox-groff

M-x org-groff-export-to-groff works fine (exports .groff file for the org-file) However, when I try to compile pdf from org-file with (M-x org-groff-export-to-pdf) following error show: Saving file /...
7 votes
1 answer
884 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 (...
0 votes
1 answer
14 views

Error when including ox-groff to init file

I'm just trying to use ox-groff package as instructed in here in orgmode.org/worg. As written on the web page, I added (require 'ox-groff) to my init.el, and executed. Then following error comes up: ...
2 votes
1 answer
172 views

Org mode exporting with customized fonts in different (human) languages

I am writing Myanmar (Burmese) and English in org mode and want to export the buffer to LaTeX (PDF), HTML and ODT formats. Since Myanmar is not supported in Babel or Polyglossia packages, I am using ...
1 vote
1 answer
173 views

How to export top level trees in an org file to corresponding files?

Executing the following code should create, for each top level tree in your file ~/tmp/file.org, an other file in ~/tmp named after the tree heading and containing its content. Problem: it does not ...
14 votes
6 answers
8k views

org-mode ignore heading when exporting to latex

I have a problem where I want to structure my document visually with a heading but do not want it to actually execute a \section{Fake Heading} for the latex export. I imagine this would be ...
4 votes
1 answer
535 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 ...
0 votes
1 answer
297 views

org-mode table/matrix in latex export

I have an issue when exporting a table using *matrix environments. The align string appears in the cell content, whatever it is specified or not #+CAPTION: my matrix #+ATTR_LATEX: :mode displaymath :...
0 votes
2 answers
2k views

Org-mode: How to fix table width to page width for dynamically generated tables?

I am using dynamically generated table to create a tabulated to do list with various parameters using: #+COLUMNS: %ITEM %SCHEDULED %DEADLINE for more info see: Org-Agenda export to dynamic Org-Table ...
0 votes
1 answer
230 views

org-publish: publish exactly files in a given list

I have hundreds Org files under a directory hierarchy and would want to export only those recently modified in HTML to speed up the process. I have the following project alist that I feed up to org-...
0 votes
1 answer
123 views

How to set Org mode export ODT defaults for US standards

I am using Xubuntu Linux and I like to use Emacs Org mode for all my writing, and then export to Libreoffice. At first the default style.xml file set the page style to A4 and used centimeters instead ...
0 votes
0 answers
13 views

How to put a code block inside a table?

In an org-mode file, I have 3 code listings that I want to export to PDF side-by-side, with code syntax highlighting intact. My first thought was a 3-column table with each listing contained inside ...
0 votes
0 answers
16 views

How to add a custom class to the figure element that wraps the image, in org-mode HTML export, when exporting as base64?

I use some code to export org-mode images embedded as base64, courtesy of I believe originally John Kitchin - from this post here. However, I should say, I do not yet fully understand all of it! It ...
2 votes
1 answer
65 views

Cannot create latex / pdf file : org-publish-project and org-latex-export-to-pdf

I have a simple org file, koe.org : #+title: Testing #+author: Kari Marttila #+date: 2022-06-10 #+OPTIONS: toc:2 #+PROPERTY: EXPORT_FILE_NAME koe.pdf Testing and a simple file, which comprises ...
0 votes
1 answer
22 views

How to export headings without keywords and progress cookies?

Consider the following file: * My Book #+OPTIONS: toc:nil #+OPTIONS: num:nil ** DONE chapter 1 [2/2] content... *** DONE section 1.1 *** DONE section 1.2 ** DONE chapter 2 ** TODO chapter 3 ** ...
0 votes
2 answers
320 views

Export to HTML presentation using reveal

I'm completely new to Emacs (just saw a presentation made with that using export to HTML presentation via reveal). I'm not able to find a way how to setup Emacs to show the option Export to HTML ...
0 votes
1 answer
321 views

How can i make org mode export latex file with a custom language?

I need romanian for my school reports, i want to write them in org mode. Is there some #+LANG attribute? Do i need to set some emacs variables? I'd really like a per-file solution more
1 vote
0 answers
79 views

OrgMode table text narrowing issue with links

I have an issue with my GNU Emacs 26.2 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.24.8) of 2019-04-30 in OrgMode. I have a table. One of its collumn is filled with internal links (inside ...
4 votes
1 answer
993 views

How do I have tables side by side?

I'd like to have small tables being shown side by side instead of one under the other, when I export to PDF. Is there an easy way to do that ? Like a break between tables ?
1 vote
1 answer
282 views

Orgmode - Vertical header

is it possible to create a vertical header with org mode, too? Something like this (cyan colored fields): You can create a horizontal header like this: | Header | Header | Header | Header | ...
2 votes
2 answers
578 views

Is it possible to export an org table into an interactive table?

Org-mode can nicely export tables into html customly. However, these exported tables cannot be sorted or filtered (i.e. are not interactive). Would it be possible to make these tables sortable and ...
0 votes
0 answers
14 views

Hide link target in exported agenda HTML views?

If I export a standard agenda view ("a") to HTML, all links are displayed like this: _Incoming: Search [[https://google.com][Google]] But I would prefer that only the ...
1 vote
1 answer
338 views

org-file with embedded latex and pseudo code converting to html via MathJax

I would like to use org-mode files with embedded latex code. Some of the latex content is based on packages like \usepackge{algorithm, algorithmic} to generate pseudo-code. These org-files should ...
0 votes
1 answer
30 views

Org HTML exporter: do not use section numbers in links?

When linking to a heading containing <<foo>> using the syntax [[foo]], M-x org-html-export-to-html generates a link using section number as the link text: <a href="#org6bfafed"...
0 votes
1 answer
23 views

How to remove empty column or row in a org table with a function [closed]

When creating a table from a region, the empty column and row have to be deleted.
0 votes
0 answers
22 views

Org Mode Export: How to automatically generate :EXPORT_FILE_NAME: property for a subtree based on its heading?

I would like to export Org-Mode subtrees to files with content-specific file names. For that I'm currently specifying the :EXPORT_FILE_NAME: in the PROPERTIES drawer of each relevant subtree. The ...
1 vote
1 answer
37 views

In orgmode, how to add html attributes to a link inside a header?

I can add attributes to links like this: #+attr_html: :rel external :target _blank [[http://www.wikipedia.com][reliable source]] Now, I have a link in a header: * DONE Why people talk [[http://www....
1 vote
0 answers
16 views

Add the ID property of headings as the `name` attribute in the HTML export

E.g., suppose I have this heading: * some heading :PROPERTIES: :ID: 6d4e4087-4b74-4c74-8195-19b4ccd3e8fe :END: I like the exported HTML element to have the attribute name="ID-6d4e4087-4b74-...
1 vote
2 answers
964 views

Undefined reference when exporting to latex from Org Mode with org-ref

I installed org-ref (via Melpa) to work with my bibliography entries in Org Mode. The installation seemed to be successful. I was able to add a citation with the command C-c ]. When I export to LaTeX ...
1 vote
1 answer
186 views

(Org) TikZ for exporting both LaTeX and HTML/MathJax

I'm exporting an Org Mode project both to LaTeX and to HTML (with MatJax). Now I need to add a TikZ picture which can be exported nativelly on LaTeX and must be rendered in svg for HTML. Writing the ...
0 votes
1 answer
43 views

Programmatically defined src-block execution doesn't expand nested noweb references on export

I've run into a problem and I can't for the life of me figure out why this happens. The idea is that I want to have a method of reaching into any named block of code, and grabbing out a a variable to ...
3 votes
2 answers
943 views

org-mode setting to preserve spacing in SRC code, with verbatim latex output to pdf

Like this post, when I indent within a SRC code block in org-mode, 8 consecutive spaces are converted to a tab. Moreover, when I export to LaTeX 8 consecutive spaces are converted to tabs in the ...
0 votes
1 answer
21 views

Source block html export show block on hover

I am working on a document that has multiple questions and answers to that question in a source block. Simplified example is as follows: Q1. (a+b)^2 #+begin_center a^2 + 2ab + b^2 #+end_center ...
0 votes
1 answer
48 views

Org ref not exporting authordate when using natbib

I am trying to export an org file with rounded brackets: In order to be proficient in mathematics students must be able to perform fundamental skills with fluency (Williamson 2017:18). But when ...
1 vote
0 answers
27 views

Can't export seemingly simple R code to beamer, wrong-type-argument, number-or-marker-p nil

I have the following seemingly innocuous org document that I am trying to export to beamer. #+TITLE: Foo #+AUTHOR: foo #+EMAIL: foo #+BEAMER_HEADER: \institute[]{Penn State University} #+...
0 votes
1 answer
216 views

Org-mode do not inheriting Unnumbered property

Is there a way to set the UNNUMBERED property only to the current heading but not to the children headings? My desired headings are: 1 Part one 1.1 Chapter one Appendixes (unnumbered) ...

1
2 3 4 5
19