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
5 votes
1 answer
331 views

Adding a caption to an equation in org-mode

I'd like to add a caption to a LaTeX-formatted equation, using org-mode's build-in #+caption: directive. The manual says this is possible, but does not specify exactly how to format it. The most ...
  • 170
5 votes
1 answer
923 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 ...
5 votes
1 answer
632 views

Org-mode latex pdf export command doesn't find citations

I'm trying to write my thesis in org-mode, and so far it feels amazing. The integration with my todo system, the easy markup language, integration with latex. Wow. But recently (since I upgraded to ...
  • 215
5 votes
1 answer
1k views

org-export latex pdf output does not render svg

I tried out this section of code from this repo #+LATEX_HEADER_EXTRA: \usepackage{svg} ... #+PROPERTY: header-args :eval never-export :file-ext svg ... #+NAME: sequence12422 #+BEGIN_SRC plantuml :...
user avatar
5 votes
1 answer
946 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 ...
  • 161
5 votes
1 answer
179 views

Handling org properties when include files [duplicate]

I have a file a.org which contains #+TITLE: a #+DATE: <2017-01-07 Sat> * b.org #+INCLUDE: b.org and b.org which contains #+TITLE: b #+DATE: <2017-01-07 Sat> * content in b When I ...
5 votes
0 answers
195 views

dvisvgm baseline in org-mode HTML export

When using #+OPTIONS: tex:dvisvgm and exporting to HTML with org-mode, the baseline of the latex exported images does not match the baseline of the text (when using subscripts, for instance). Is there ...
5 votes
1 answer
485 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 ...
5 votes
0 answers
523 views

Is exporting of smart (single) quotes broken in Org 8.3?

I cannot seem to get correctly exported smart single quotes in Org 8.3. Here is a minimal test.org file: #+OPTIONS: ':t #+LANGUAGE: en This is 'within single quotes'. This is "within double quotes"...
user avatar
5 votes
0 answers
158 views

How to link from parent source block to child block (included via <<noweb>>)?

When exporting the documentation (HTML or PDF) for a literate program that uses noweb references in blocks, how can I get the output to actually hyperlink the <<noweb_snippet_name>> line (...
  • 1,366
4 votes
4 answers
2k views

org mode links: open in new tab

I am generating a slideshow using org-reveal, and have links to other web-pages. During the presentaion (conducted from the browser), I would like clicking on these links to result in opening the ...
4 votes
2 answers
6k views

How to get colored syntax highlighting of code blocks in asynchronous Org-mode exports to HTML?

Colored syntax highlighting of code blocks in .org files works well when executed through the main init.el file. However, when setting up Emacs and Org-mode to publish projects asynchronously, colored ...
4 votes
3 answers
3k 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@ ...
  • 389
4 votes
1 answer
806 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 ...
  • 441
4 votes
2 answers
4k views

How to customize org-latex-export-to-pdf?

I have a text file that I want to turn into a pdf. I found org-latex-export-to-pdf so I've saved the text file as an org file and when I run the command M-x org-latex-export-to-pdf I get a pdf file ...
  • 942
4 votes
1 answer
1k 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 ?
4 votes
2 answers
642 views

Is there a way to export latex template to scimax template?

Scimax has already some templates for various journals. However, is there a way to convert latex templates of some specific journals (like nuclear physics A, European physical journal etc.) to org-...
  • 183
4 votes
2 answers
581 views

How to put inline quotes in an org file for html export

I am exporting an org file with org-reveal. I would like to have the following html markup when exporting: <q cite="http://searchservervirtualization.techtarget.com/definition/Our-Favorite-...
  • 295
4 votes
1 answer
514 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 ...
  • 1,366
4 votes
2 answers
2k views

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

GNU Emacs 26.0.50.2 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of 2016-10-06 Org-mode version 8.3.5 (release_8.3.5-1131-g7eecb2 @ ~/.emacs.d/el-get/org-mode/lisp/) I have come to share my projects as ...
  • 1,091
4 votes
2 answers
530 views

Greek characters in graphs produced by org-babel and gnuplot

I can generate plots using gnuplot source blocks with org-babel like the following: #+begin_src gnuplot :file plot.png plot x w l t "$\epsilon$ = 1", \ 1-x w l t "ε = 0.1" #+end_src which ...
4 votes
2 answers
270 views

Org-mode: How to LaTeX export "$n$-" correctly?

I have notes containing many of the following type of LaTeX fragments $p$-adic ... $n$-th ... But org-mode exports them as literal dollar sign instead of math. The problem seems to be the - ...
  • 43
4 votes
2 answers
806 views

Export to PDF with index bookmarks and unnumbered sections

I want to export my .org file to pdf, with a table of contents. But I don't want the table of contents to be printed in the first page of the document. Rather I want the table of contents to be ...
  • 181
4 votes
1 answer
1k views

Org Beamer Presentation: blocks do not work?

I'm using Emacs 25.1 and the most recent orgmode. My problem is that I tried compiling one of the examples on Worg, but the content that's supposed to be displayed in a block is displayed on its own ...
4 votes
1 answer
3k views

Formatting output of inline org-mode source blocks

I want to include the output of inline code blocks in the LaTeX/PDF output of an org-mode document, but not in a monospaced font. I tried the following: The mean petal length is src_R[:exports ...
  • 412
4 votes
1 answer
104 views

How to use Org KEYWORD values within exported body?

How can I get the author's name, the date, or other #+KEYWORD: value variables to appear within the exported body? This is my org-mode file: #+TITLE: Some Title #+AUTHOR: Foo Bar #+DATE: 2021-08-21 * ...
4 votes
3 answers
1k 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 ...
4 votes
1 answer
627 views

How to export LaTeX snippets to HTML via SVG rather than PNG?

The org-mode source #+OPTIONS: toc:nil creator:nil author:nil timestamp:nil num:t validate:nil #+OPTIONS: tex:imagemagick #+LaTeX_HEADER: \usepackage{tikz} \begin{tikzpicture} \draw (0,0) circle (...
  • 335
4 votes
1 answer
1k views

org-mode quote block environment

Is there a way in org-mode to setup #+begin_quote my quote here #+end_quote to be expanded in latex export as \begin{quoting} ... \end{quoting} I want to use quoting latex package to style quote ...
  • 1,326
4 votes
1 answer
3k views

How do I create a floating tikz figure when exporting to PDF in org-mode?

With org-mode 8.2.10 on Emacs 24.5.1, the following will produce a ditaa figure in the exported PDF (LaTeX): #+BEGIN_SRC ditaa :file foo.png :cmdline -E -s 4 -S +---------+ | testing | +---------+ #+...
4 votes
2 answers
4k views

In org-mode, how do I export to JIRA wiki markup?

The org-mode Worg site, org-export-generic , says that there is a wikipedia exporter. I tried to run it with M-x org-export-generic but i'm getting a 'Cannot open load file:org-export-generic' error. ...
  • 143
4 votes
1 answer
1k views

Exporting "Artist-mode" drawing to PDF through Org-mode

Do you know how to export an Artist-mode drawing using the Org-mode export feature?
  • 413
4 votes
3 answers
895 views

How to use a specific latex template in org-mode

I would like to create this Latex template in org-mode : \documentclass[french, 11pt]{scrartcl} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{babel} \usepackage[hidelinks]{hyperref} ...
user avatar
4 votes
2 answers
361 views

org-mode problem when exporting numbered items to odt

If I export an org mode document to odt that contains a combination of numbered items and paragraphs the exported document does not retain the correct numbering. For example, 1. Question 1 2. ...
  • 1,103
4 votes
1 answer
403 views

Selective Export from org mode

I am using org mode with code blocks to produce my slides via beamer. What I'd like to do is make this into a blog post. This needs more explanatory text. What I'd like to be able to do is export some ...
4 votes
1 answer
3k views

org-mode and bibtex latex export problem

I followed this and can grab stuff (with Google Scholar) and put it in my ref.org, as described. However when I create a testbibtex.org with this lone line: \bibliography{ref} all I get with Latex ...
  • 2,807
4 votes
1 answer
558 views

Export org-mode to LaTeX without preamble and document environment

I have recently started using org-mode as an electronic lab notebook for my work, and would like to combine these files with the files that I have set up in my old lab notebook, which was done in ...
  • 221
4 votes
3 answers
1k views

Emacs org mode export paragraph in block to HTML, The content does not wrap

it became to one long straight bar, instead of showing as a block of the paragraph. I use #+begin_example. if I use quote it looks ok but I want to have the block looks.
  • 81
4 votes
1 answer
314 views

Custom behaviour when exporting links (org-export)

When org-mode html export parses an .org file and encounters a link to an image, as for example [[file:/Users/user/nice_image.png]], it properly converts the link into an html figure. I'd like to ...
  • 3,483
4 votes
1 answer
410 views

Orgmode character export to latex pdf

I am exporting a block of code #+begin_lstlisting cut -d \' | grep http:// #+end_lstlisting But the org export to latex replaces the backslash with $\backslash$ and the http:// string with \url{...
  • 267
4 votes
1 answer
1k views

How to cite author-date including page number in org-mode?

I am using org-ref in org-mode. I want to cite a book like this: \citep[p. 1445]{Fong:2006} but I am only getting citep:Fong:2006. How can I include page number?
  • 389
4 votes
2 answers
716 views

Org headlines are never exported to \paragraph in LaTeX

I want to export an Org file into PDF, with any depth titles showed in TOC; however, cannot works. Even though adding \setcounter{tocdepth}{5}, TOC still only contains the title of 3rd depth (\...
  • 980
4 votes
1 answer
933 views

Org mode + table.el: Use Org formatting inside cells

Say I have a table in an Org document looking like this: (Source) +----------+-----------+----------+-------------------------------------------------------+ | Date | Day | Pages | ...
  • 83
4 votes
1 answer
179 views

Org Mode Babel: Is there a way to assert the expected results of evaluation?

Is there a way to assert that the results of evaluating a code block with Babel are equal to an expected text? Ideally, I would use this to stop an export to PDF if one of the assertions does not hold....
  • 183
4 votes
1 answer
216 views

How can I export an Org subtree to HTML from the command line?

I have a list of links that I store in a subtree in an org file. Is there a way to export this to an HTML file using the command line? I figure it's something like emacsclient --eval ... with an elisp ...
  • 567
4 votes
1 answer
83 views

Org export to Stack Exchange

How to export org-mode text as Stack Exchange's formatted text? For instance having /Xizzy/ being exported to _Xizzy_ (“Xizzy” between “_”), while exporting equation in latex syntax. I would rather ...
  • 157
4 votes
1 answer
216 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}
  • 355
4 votes
1 answer
1k 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 ...
  • 143
4 votes
1 answer
1k 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 ...
  • 301
4 votes
1 answer
135 views

Content of a table cell showing hexadecimal number wrongly interpreted

I have this table in org-mode that I wish to export to pdf: #+ATTR_LATEX: :align |r|r|r| :font \ttfamily \tiny |service | port | hex | |--------|------|--------| |mdns | 5353 | 14e9 | after ...
  • 41

1 2 3
4
5
19