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.

4
votes
1answer
467 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 \...
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 ...
0
votes
1answer
195 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
47 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
91 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
439 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
157 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
433 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
91 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
388 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
70 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
68 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 ...
4
votes
4answers
1k 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 ...
0
votes
1answer
84 views

Use picinpar instead of wrapfigure for LaTeX-export

Org-mode exports to wrapfigure with ATTR_LATEX: :float wrap. https://tex.stackexchange.com/questions/47674/wrapfig-positioning-footer-is-overlapping-figure?noredirect=1&lq=1 recommends to use ...
2
votes
1answer
184 views

Cannot cite anything

I've seen this question: Loading bibtex file in org-mode file as well as this one: https://tex.stackexchange.com/questions/114864/how-to-get-bibtex-to-work-with-org-mode-latex-export I've tried ...
1
vote
1answer
299 views

Control footnotes placement in org mode

When I export to LaTeX -> PDF the footnote description is placed on the same page the reference appears. Instead, I'd like all the descriptions to appear in the end of the article. Is this possible?
2
votes
1answer
136 views

How can I publish a single org file to multiple pdfs

I have an org document that has confidential and non-confidential information. I need to publish the org file to two different pdfs: one that contains all of the information from the org file and the ...
1
vote
1answer
151 views

How to separate normal text from the frame block?

I just want to make the text appear separate from the above frame box in beamer export C-c C-e l O as in the MWE below. MWE: #+TITLE: Frame or Text? #+AUTHOR: Casual Author #+DATE: #+OPTIONS: H:2 ...
0
votes
2answers
44 views

Deletion in the export of an org-link

I have defined an org-link as follows: (org-link-set-parameters my-link :follow (lambda (path) (message "This my link")) :export (lambda (path desc backend) "") ; I need to remove the space before ...
1
vote
0answers
177 views

Cleanup org-mode export intermediary directories

I am trying to delete extraneous files and directories generated during the export of a latex file from orgmode. I followed the instructions in a similarly named stackexchange post to delete extra ...
2
votes
1answer
883 views

Defining custom latex class for org-mode export

I an trying to define a custom latex class, I will use it to export my org files to PDF. I found information about this on internet and I tried to implement the proposed solution, I wrote this in my ....
1
vote
1answer
57 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
1answer
165 views

export TODO / DONE with different font face

When I export TODO / DONE to pdf, it gets exported as large, bold font. I would like to export using regular font. (10 pts). Is it possible ? Kindly help.
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 ...
2
votes
1answer
307 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 ...
1
vote
0answers
30 views

`htmlize` not taking CIDER font-locking into account

I'm using htmlize to give Org-mode code blocks syntax highlighting when exported as HTML, but the exported code only captures some of the font-locking. In particular, for Clojure, it does not capture ...
1
vote
2answers
97 views

What is the error in this org mode code?

Code : #+OPTIONS: num:nil #+OPTIONS: toc:nil #+LATEX_HEADER: \pagenumbering{} #+LATEX_HEADER: \usepackage[right=1.5cm]{geometry} #+TITLE: #+BEGIN_FLUSHRIGHT Manoj DOB: XX XX 1987 PH ...
4
votes
2answers
111 views

elisp search functions

I'm trying to debug a piece of elisp that is in an orgmode template I'd like to use. (link here) The problem is occurring in the source block that is supposed define the cite links. (org-add-link-...
1
vote
1answer
237 views

Exporting scheduled date to latex from org mode

When I export scheduled work to pdf using latex from org mode, scheduled date and time is not exported. How can I get them on pdf?
3
votes
1answer
164 views

File local export filter functions - Org Mode

I have the following code within an org file: #+BEGIN_SRC emacs-lisp :exports both :results none :eval export (defun my-html-body-onload-filter (output backend info) "Add my onload attribute to<...
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 ...
1
vote
1answer
150 views

org-mode inline html while exporting using ox-pandoc

I am not able to use inline html through macro in org-mode when exporting through ox-pandoc. For example if I use @@html:<span class="small">@@Small Text@@html:</span>@@ and export the ...
1
vote
0answers
17 views

How do I insert code block header :var in exported code block in org-mode for SQL

I cannot repeat solution mentioned in 27610 for SQL. Seems there is no org-babel-variable-assignments:sql function in org.el.
4
votes
1answer
471 views

How to define LaTeX document class for org-mode export (other than default)?

I want to add to org-latex-classes new class, namely "exam" (as described here: https://www.sharelatex.com/templates/exams/exam), here's a preview of an example document beginning: \documentclass[...
2
votes
2answers
208 views

How to <mark> code fragments in org-export

In this HTML source: <html> <head> <title>mark test</title> </head> <body> <h1>mark test</h1> <pre> <code data-trim> def add(a,b): ...
1
vote
1answer
145 views

Reveal.js export and code block output

I'd like to use ATTR_REVEAL: :frag (roll-in) to display images in a reveal.js slideshow that are created using dot source blocks. So far I've tried source block headings of: #+BEGIN_SRC dot :file ...
3
votes
1answer
402 views

Export slide and handout version of same beamer slides in org subtree

I want to create an org file with all my beamer lectures notes for one course. With the example below I can generate my slides for a specific lecture with subtree export by positioning point within ...
4
votes
2answers
246 views

Disable auto id generation in org-mode html export

How can I disable inclusion of ids when exporting file as html Say for example, in the following file I have disabled toc #+TITLE: Using org-mode #+HTML_DOCTYPE: html5 #+OPTIONS: toc:nil html-style:...
1
vote
1answer
244 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 ...
1
vote
0answers
316 views

Can I have org-mode export outline numbers as letters and/or roman numerals?

Supposing I have a document structure like: * Heading 1 ** Heading a ** Heading b ** Heading c *** Heading i *** Heading ii When I do, say, M-xorg-export-as-html-and-open, I'd get HTML that shows ...
1
vote
1answer
188 views

Font lock of inline code in org-mode?

When using org-mode as a front-end to LaTeX, I'm making heavy use of inline code like @@latex:\textit{something italic}@@. Right now, this is mainly displayed as normal text (with proportional font ...
0
votes
1answer
62 views

upgrading org version8 export-block to org version9

I have been trying org-export with ox-trac for trac wiki format but ox-trac was developed for org version 8.x and I am running org version 9. Given that :export-block is obsolete now, so the export ...
0
votes
1answer
45 views

How to write a hook to transform each image reference on export?

This question https://emacs.stackexchange.com/a/27065/13217 explains perfectly how to embed base64 image inside of an HTML exported document, and it works great. I wonder now how could I automate ...
4
votes
1answer
743 views

Right aligned text block in Org-mode

Is there are right aligned text block in Org-mode, like #+begin_center #+end_center? I haven't been able to find any reference in the official docs. on the other hand, this page uses a construct #+...
2
votes
1answer
113 views

Org-mode Table, No export Latex column

Is there a way to have a column of a table not export, specifically in latex? I want to have an extra column for personal notes but when I export I don't want the table there.
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-...
1
vote
0answers
269 views

org-export-select-tags and async export

This question is a derivative of Export to multiple files according to tags. I wish to export to different files, according to tags. To achieve this goal, I wrote some lines of code : (defun export (...
3
votes
1answer
406 views

Set custom page numbers for org-mode pdf export

Is it possible to set the page numbers for a pdf in org mode? I need the title and contents page to be labelled as roman numerals and then the main body of the document to start at page 1. Anyone ...
3
votes
1answer
276 views

How to change the appearance of list bullets in LaTeX/beamer exports?

It's very neat that simple org-mode lists get exported to itemize (or enumerate) environments in LaTeX. Yet I would like also to be able to change the face of an \item bullet using square brackets, as ...
0
votes
1answer
125 views

Orgmode export html with fontawesome characters

I have an org document in which I inserted fontawesome characters (with the package fontawesome). When exporting to html, the characters are exported as is instead of being exported in html ...