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.

3
votes
4answers
833 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
75 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
162 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
259 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
118 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
134 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
41 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
157 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 ...
0
votes
0answers
125 views

exporting to html from org mode not working

What I am trying to do I want to export from org to html into a particular folder so that Jekyll can take over and render it to publish on GIT based on the workflow idea given in this link I changed ...
2
votes
1answer
826 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
55 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
146 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
61 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
267 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
27 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
90 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
106 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-...
0
votes
1answer
206 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?
2
votes
1answer
128 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<...
0
votes
0answers
183 views

Displaying Org file equations on Github

The latex equations i write in org files are not correctly displayed in the github webpage. I tried \begin{equation} .. \end{equation} , $$ .. $$,\( ..)\ None of them are displaying the equations. ...
3
votes
0answers
360 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
139 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
16 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
433 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
188 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
116 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
369 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
217 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
238 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
290 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
176 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
58 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
37 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
660 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
103 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
113 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
239 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
391 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
239 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
113 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 ...
3
votes
0answers
360 views

Export to multiple files according to tags

I am using org mode to build teaching presentations (through beamer export) and I have a global document containing all the slides I use. Each slide has a tag to indicate the corresponding teaching ...
1
vote
1answer
209 views

Nested smart quotes in org-mode

I have found that the smart-quotes option of org-mode does not export properly the quotes when they are nested (single quotes inside double quotes), but only when they coincide at the start or the end ...
1
vote
1answer
186 views

Properly formatting Outlook links in org-html-export

I've followed a solution found at superuser for capturing the unique identifier (UID) of an Outlook message stored in a PST file, and creating a org link of the form: [[outlook:UID][Message subject]] ...
0
votes
1answer
59 views

How to insert a result of an org-mode source block as part of the document's syntax?

Say I have the following source block: #+NAME: heading #+BEGIN_SRC python :exports none return "** Some outline" #+END_SRC And I insert it inlined in my buffer by using * Another outline ...
0
votes
1answer
385 views

org babel :exports always exporting both code and results

It seems that :exports option has no influence when exporting to HTML or PDF. I am using Org 9.0.9 and Emacs 25.1.1. The following code, for example, even with :exports=none both code and results ...
0
votes
1answer
191 views

Org-Mode - Fix LaTex export

I've written a document in Org-mode but when exported it became like this: In the image on top, I've inserted a \bullet but it wont show and the text is not alligned: And in the image on bottom, the ...
1
vote
0answers
435 views

Change style of Org-Mode export to pdf

I'm new to Org-Mode and Spacemacs and I'm trying to change the export style of org-mode. I want to take notes with it and have source code blocks. I'm having difficulty in changing the export ...
1
vote
0answers
117 views

exporting org-mode subtree to a tree of text files

Is it possible to export an org-mode subtree to a directory tree of plaintext files, so that after exporting a subtree which looks (in principle) something like this: ** directory A *** textfile b ...
2
votes
1answer
290 views

In org-mode, a function to export to HTML file AND open?

In org-mode, if I do org-export-dispatch, then choose Export to HTML, I can then choose As HTML file and open. Four keystrokes though. I'd like to reduce this to a single keybinding. However, I don't ...
2
votes
1answer
182 views

How set a setting with #+OPTIONS to a list as argument?

Well, my desired behavior is to set this: #+OPTIONS: tasks:(DONE IN-PROGRESS) To export the tasks with these keywords, however I think I don't understand well how the syntax for list looks like. So ...