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.

0
votes
1answer
87 views

Undefined control sequence \uline in exporting org-mode with underline markup to PDF using xelatex

For the following sample, #+LATEX_CMD: xelatex #+LATEX_HEADER: \usepackage{xltxtra} #+OPTIONS: ^:nil This is a _test_ The export to PDF uses xelatex would produce the following error: ! Undefined ...
2
votes
1answer
95 views

Bold markup not working for Chinese text when exported to html or to pdf output from org-mode

Here is an example, #+LATEX_CMD: xelatex #+LATEX_HEADER: \usepackage{xltxtra} #+LATEX_HEADER: \setmainfont{AR PL KaitiM GB} This is a *test* 这是*测试* The resulted HTML output is the following: <...
0
votes
0answers
105 views

Org-mode: font size in BEGIN_SRC blocks when exporting to ODT

When exporting BEGIN_SRC block to an ODT file: #+CAPTION: m2m-services process dependency tree #+BEGIN_SRC shell etomort@elx306b6vv:~/mc-core/maindev/containers/m2m-services$ mvn dependency:tree |...
1
vote
0answers
20 views

How do I leave out/surpress particular default \usepackage headers when exporting to LaTeX?

When exporting to LaTeX from org-mode, it seems that several \usepackage headers are added by default. However, what if I want to disable one of them (not all), because I will manually specify a ...
2
votes
1answer
39 views

Emphasize (make bold) texts within a subscript for LaTeX exports?

There are some mathematical equations in the form of: G_{u} which I enter in org-mode as $G_{*u*}$ or $G_{ *u* }$ It gets displayed correctly in org-mode, but when exported to LaTeX, the asterisks ...
0
votes
1answer
151 views

Change table of contents title in Org mode according to document language for beamer export

I'm exporting a *.org file to pdf using LaTeX as a beamer presentation. I want to change the title of the TOC slide to Spanish. I've tried the solutions described in this question, but they don't ...
4
votes
1answer
85 views

Inline babel source blocks in org table

(How) can I include (or their resulting variables) in an org table? * Inline code in table src_R{1+1} | src_R{1+1} | when exported to, e.g. HTML, results in Inline code in table 2 src_R{1+1}
0
votes
1answer
80 views

How to link to a LaTeX label within align* environment in Orgmode?

I am using org mode to write documents with math, and then exporting to latex. Consider an unnumbered align environment with two equations: \begin{align*} x = 1\\ y = 2 \end{align*} Now, number the ...
0
votes
0answers
18 views

How do I export the code behind a CALL block?

Emacs 25.3.1, Org 9.1.13 from GNU ELPA. I'm using the Library of Babel to store some code blocks that I frequently use. I incorporate them into my workflow just fine with #+CALL: some_lob_function()...
1
vote
1answer
227 views

Problem with Org mode's export to markdown

I'm trying to use Org mode's export to markdown, and am finding some unexpected results. For a file: * Section This is some test.[fn:1] @@markdown:This should appear in markdown export.@@ * ...
0
votes
1answer
42 views

Ignore org mark-up line-by-line, when responding using org-mime

I'm using org-mime to send e-mails inside mu4e - the exact details are outlined in the reference here. I will cover the specifics of this problem below. This works well, however when replying I note ...
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
2answers
163 views

Greek (Unicode) in Org mode export to PDF

I am working on a project that deals with polytonic Greek, and wish to write everything in Org mode, and export to a PDF with one of the compilers (like XeLaTeX). I have spent hours today reading ...
1
vote
1answer
69 views

Customizing the export options template

Is it possible to customize the org mode export options template? 12.1 Export options C-c C-e # Insert template with export options, see example below. #+TITLE: the title to be shown #+...
2
votes
1answer
100 views

Org Mode's :output-dir and :file-ext arguments cause ALL output to be saved to files

Org Mode's Babel for executing code blocks provides two header arguments, :output-dir and :file-ext that were clearly intended to be used in the global document header, applying to all blocks. They ...
1
vote
1answer
240 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
103 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
202 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
379 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
528 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
83 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
255 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
158 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
193 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
43 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
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 ...
1
vote
1answer
44 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 #+...
2
votes
1answer
157 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
235 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
36 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
218 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
38 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
208 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
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:" ...
0
votes
1answer
257 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
81 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
126 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 ...
1
vote
1answer
110 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
123 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
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 ...
1
vote
1answer
54 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:\...
1
vote
1answer
54 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
102 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
1answer
23 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
212 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
198 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
58 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
1answer
169 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 ...
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 ...