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
1answer
212 views

org-mode XeLaTeX export to pdf: define font color for different structure levels

I would like to set the colors for a pdf export of an org-mode file based on the structural elements. That is something like * This Headline Should Be Blue ** This subheadline should be green - ...
1
vote
0answers
80 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 ...
3
votes
1answer
156 views

Alignment of images in HTML export

I know that I can align images in html export with the property #+ATTR_HTML: :align right upon each image link. But can I set a default for the org-document so that I do not have to add the property ...
0
votes
2answers
297 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 ...
2
votes
3answers
383 views

How to change the color of some words in Beamer using Org-mode

I am using org-mode to export to pdf using LaTeX beamer class. How is it possible to change the color of some of the words I use in my slides? I saw an example that uses the @ symbol: @important@ ...
1
vote
0answers
70 views

Using org-beamer: display image on every page except the title page

Using org-beamer-export-to-pdf with the following document, I am able to display an image on every slide #+LATEX_HEADER:\usepackage{eso-pic}% http://ctan.org/pkg/eso-pic #+BEAMER_HEADER:\newcommand\...
0
votes
0answers
212 views

Setting fonts in org-beamer with Metropolis theme

Environment: OSX 10.13.4, spacemacs 0.200.7 Here's a pared-down org-beamer file #+TITLE: A Presentation #+SUBTITLE: A really good one, in fact #+AUTHOR: WallyMetropolis #+DATE: 05-02-2018 #+OPTIONS: ...
1
vote
1answer
108 views

Where to define macros for org-mode latex preview

When taking notes in Latex in org-mode, I use custom macros defined this way: #+LaTeX_HEADER:\newcommand{\C}{\mathbb{C}} I've got quite a few of these macros, so I'd like to put them all in a ...
0
votes
1answer
165 views

Emacs HTML Export Options (Post- and Preamble)

Is there a way I can declare some HTML pre- and post-amble content in a buffer (and only applying to that buffer) itself without needing to create a new org-publish-project-alist project or ...
0
votes
0answers
33 views

Graphing the org-agenda clock information

I have been using org-mode and the agenda, clocking in/out of stand-ups for over one year: Meetings ** TODO Standup SCHEDULED: <2018-04-17 Tue .+1d> CLOCK: [2018-04-18 Wed 09:20]--[2018-04-18 ...
2
votes
0answers
57 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 ...
1
vote
1answer
41 views

How to debug collision between elpy and htmlize during org-export

Description Below I include a minimal Emacs init file a minimal org file Attempting to export the org file to HTML (by using C-c C-e h h) results in the error Wrong type argument: processp, nil. A ...
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 #+...
1
vote
1answer
122 views

how can I control table column widths when exporting to html?

I would like to specify the width of each column in tables that are exported from an org mode file to html. In terms of html I can think of two possible solutions, (i) add class attributes to each ...
4
votes
1answer
182 views

How can I export an org file to PDF in batch mode and have source code blocks executed?

On Debian Stretch, I'm trying to export this file called test.org # -*- org-confirm-babel-evaluate: nil -*- #+OPTIONS: ':nil *:t -:t ::t <:t H:3 \n:nil ^:t arch:headline #+OPTIONS: author:t c:nil ...
1
vote
0answers
34 views

Difference between =text= and ~text~ in org-mode [duplicate]

On org-mode's website, =text= is called "verbatim", whereas ~text~ is called "code". However, when exporting an org document to LaTeX, both are translated to \texttt{text}. When exporting to HTML, ...
1
vote
0answers
203 views

How to configure org-html-export-as-html to export drawer to html?

So, right now, I am trying to build my website with Nikola static site generator. There is a nice orgmode plugin for it where I can write my content in orgmode and Nikola can then render it to html (...
1
vote
0answers
33 views

Org async export show pdf after completion

With synchronous export I can call C-c C-e l o to generate a pdf and open it. If I try the same keys with the async export, i.e. C-c C-e C-a l o, then the pdf will be generated but the pdf won't open. ...
4
votes
1answer
192 views

How do I generate & tangle source code in a different language?

In an org file, I have a Perl source code block that generates SQL code. The Perl code is to be part of the exported document, but the SQL code is not; it is supposed to be tangled to the ...
3
votes
0answers
152 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:" ...
0
votes
1answer
236 views

Issue with org-mode export to pdf via LaTeX

Whenever I export my org-mode (version 8.2.10) file to pdf via LaTeX, it gives me: Page 1 with only content 2015/01/01Old fixltx2e package 0000/00/00Old fixltx2e package and the rest part is blank. ...
0
votes
1answer
61 views

Trouble with org-export-before-processing-hook in .emacs

When I eval (add-hook 'org-export-before-processing-hook #'org-update-all-dblocks) in an emacs session, function org-update-all-dblocks seems to be called at the preprocessing stage of export, as ...
2
votes
1answer
91 views

Add new header variable in org-mode document, and use it in (LaTeX) export

I'm using a memorandum specific style when I do LaTeX export of an org-mode document. It has some fields that I'd like to specify/fill in in a manner similar to the way AUTHOR, TITLE, DATE are ...
0
votes
0answers
45 views

Org latex exports into directory

Is there a way to have files produced by org latex exports go into a directory, such as ./exports rather than .? This would be cleaner.
1
vote
1answer
95 views

Org-Mode with Scimax changing #+LATEX_CLASS

I installed scimax on both linux and mac osx. And I am having the same issue for both. I start the emacs by executing the ./scimax script then I open example/cmu-qualifier.org file and try to export ...
4
votes
1answer
108 views

In org-mode how to disable auto numbering of numbered list?

Here is an example of the text that I want the number of the list items to be frozen, no longer automatically updated in org-mode text. 2. List the customer number, customer name, event number, date ...
3
votes
0answers
82 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 ...
1
vote
1answer
46 views

latex/beamer export depending on system

I am using org files to organize my research projects. I am using org both on Linux and Windows. While I am exporting org files to LaTeX or Beamer, a link to a local file on Windows starts with [[C:\...
0
votes
1answer
49 views

[Solved]org-mode failing to export to html “Undefined Org macro: comment; aborting”

I copied my old org-mode file to a new Debian 9.x machine and it appears I may have missed something. When I try to C-c C-e h h I see the following error Undefined Org macro: comment; aborting my ...
0
votes
1answer
82 views

EXPORT_EXCLUDE_TAGS from included file

If I have a heading with a tag :noexportoninclude: on a file to_be_included.org, and I include it on another file which has #+EXPORT_EXCLUDE_TAGS: noexportoninclude, the tagged heading will be ...
0
votes
0answers
25 views

Selective export: excluding parent headings

* first ** second :export: Both headings are exported, since the first contains the one marked for export. I would like to export the second ...
0
votes
1answer
21 views

More highly structured exports not working

Following this org export tutorial -- https://orgmode.org/worg/org-tutorials/org-latex-export.html -- I evaluated -- in an emacs -q instance -- (require 'ox-latex) (unless (boundp 'org-latex-classes) ...
3
votes
1answer
171 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 ...
1
vote
1answer
174 views

How can I get a mailto link in an org-mode latex export to PDF for the #+email: keyword

When I'm specifying my mail address #+email: bla@comp.org I'm getting a text footnote bla@comp.org for an org latex export of a report. I'd like to have a complete mailto hyperlink though. I tried ...
1
vote
0answers
48 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 ...
0
votes
0answers
38 views

An idea for org-export requirement

I have an idea, and I even want to implement it myself, but my elisp skill level too low, so I post here wish somebody interested . We often write some papers to describe procedure for clients or ...
1
vote
1answer
131 views

how to also export linked files in emacs org mode automatically?

If i have [[file:./test.org][test]] inside of example.org. How can i achieve that i automatically export test.org to test.html, when i Export my Example.org to HTML? Is there a Option i can enable ...
3
votes
0answers
382 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 ...
3
votes
1answer
368 views

org Images in LaTeX export set default width

By default these org lines: my image: [[./figure1.png]] are exported into these ones in latex: \includegraphics[width=.9\linewidth]{./figure1.png} How can I change the default value of width \...
1
vote
0answers
87 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 ...
0
votes
1answer
170 views

Code block evaluated when exporting, not when publishing

I have this basic org publishing project to test that code blocks evaluation is triggered by publishing in html (org-html-publish-to-html). While exporting through org-mode export dispatcher does ...
0
votes
1answer
42 views

org mode - export shell results with if condition like [[ fails on Unable to resolve link

I want to archive a config file in my org document: #+BEGIN_SRC sh :dir /ssh:jetpac@server: :var CONFIG="efile" :exports both :eval query :results output scalar raw cat /builds/$CONFIG #+END_SRC #+...
1
vote
0answers
81 views

Setting the file name for exporting from a temporary buffer

Consider: (defun my-export-to-file (orig-fun &rest args) (with-temp-buffer (org-mode) (insert "some contents") (rename-buffer "mybuffer.org" t) (apply orig-fun args))) (advice-...
0
votes
1answer
375 views

Change font color on a =org-reveal= slide

I'm preparing a set of lectures using =org-reveal=. I found really useful to change the background to add exercise to the slides, e.g., ** EXERCISE :PROPERTIES: :reveal_background: ./images/Thinker-...
3
votes
1answer
136 views

`#+NAME:` is ignored unless running Emacs with `-q`

I am trying to export an .org buffer with the following contents: #+CAPTION: My subgraph. #+NAME: fig:subgraph [[/tmp/image-4383FmT.png]] The following latex output is produced: % Created 2018-01-...
3
votes
1answer
378 views

org-mode batch export: Missing syntax highlighting

I'm having issues achieving any syntax highlighting in the results of the following command: emacs nix.org --batch -f org-html-export-to-html --kill I know this question has been asked a few times ...
0
votes
0answers
77 views

Equations in org-reveal presentation

I've installed reveal.js and org-reveal, and they are working as expected. Even, I'm getting the equations! However, the point with the equations is the following: If I introduce directly the LaTeX ...
1
vote
1answer
340 views

Org-mode export: Resize Plantuml diagram when exporting to PDF and image gets repeated

I have a simple PlantUML diagram in an org file and I want to export the entire document to pdf. The problem is that the diagram is embedded correctly, but the picture takes up an entire page. SECOND, ...
1
vote
0answers
61 views

How can I dynamically filter links from org-export

I've got a handle on how to use :filter functions but this doesn't work: (defun my-filter-links (s backend info) ...
0
votes
1answer
57 views

How can I filter out some lines of a plain org-mode list when exporting?

Under a given task I have a list of lines, some of which are done sub-tasks which I have tagged with :done. For example: - this thing I completed earlier :done - this is stuff I did this week - I ...