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
0 votes
2 answers
32 views

Is there a way to check if code is run durring org export

When exporting org to pdf (LaTeX) I want to export plots as pdf, while the preview inside emacs should be exported to png. I am currently using a function for generating the export path already. This ...
user avatar
0 votes
1 answer
27 views

Org Koma Letter export return args-out-of-range error

After updating my system I get the error at the bottom when exporting C-c C-e C-s (cursor on My Subject). Can someone explain me the error message in order to solve the problem? my_letters.org: * My ...
user avatar
  • 617
1 vote
1 answer
31 views

Org-mode how to write addr block and export to pdf correctly

Try to get a kind of letter with the sender on left side and the receiver on right side. I can use "indent to" that's ok in Emacs but when exporting to html or pdf the indentation characters ...
user avatar
0 votes
0 answers
39 views

How can I change the org export title, for PDF?

When exporting org files to pdf, is it possible to make the title that shows up in the exported document different from what is in the #+title field in the org file? For example, I have an org file ...
user avatar
0 votes
1 answer
27 views

IEEE style citations with org-cite?

I want to export from org-mode to PDF with IEEE style citations. The IEEE style is roughly this: Introduction Here is a citation [1]. Methods, Results, etc. References [1] J. Doe and J. Doe, "...
user avatar
2 votes
1 answer
47 views

Cannot create latex / pdf file : org-publish-project and org-latex-export-to-pdf

I have a simple org file, koe.org : #+title: Testing #+author: Kari Marttila #+date: 2022-06-10 #+OPTIONS: toc:2 #+PROPERTY: EXPORT_FILE_NAME koe.pdf Testing and a simple file, which comprises ...
user avatar
0 votes
1 answer
19 views

Error using space in html postamble when exporting org file

I am using html export feature for org files and I want to change the value of html-postamble (see doc). Here is the index.org file: #+title: Home Welcome #+options: html-postamble:"TESTSPACE&...
user avatar
0 votes
1 answer
23 views

Org HTML exporter: do not use section numbers in links?

When linking to a heading containing <<foo>> using the syntax [[foo]], M-x org-html-export-to-html generates a link using section number as the link text: <a href="#org6bfafed"...
user avatar
0 votes
0 answers
17 views

org mode table cell alignment for HTML export

I've got this all by itself in an org file #+NAME: coinfliptable #+ATTR_HTML: :border 2 :rules all :frame border | <c10> | <c10> | <c10> | <c10> | <c10> | <c10> | | ...
user avatar
  • 2,717
1 vote
2 answers
90 views

Change font in table in PDF exported from Org

I'm trying to export an Org table that contains the Unicode characters for moon phases (U+1F311 etc). Export to HTML works fine, but I just see blank spaces in the exported PDF. I know next to nothing ...
user avatar
  • 1,284
0 votes
0 answers
33 views

How can I add a horizontal line (`\hline`) above the first table row when exporting to latex?

I want a table in org mode to meet two needs: When it is exported as latex, the result table in latex has the top horizontal line. like this: Can be used as input variable for R code blocks But it ...
user avatar
0 votes
1 answer
79 views

How to export org to pdf with RTL text including hebrew

I have written a short document in org and I have tried to export it to a PDF document for printing and readable formatting. I am facing some issues however since the document should include both ...
user avatar
  • 90
1 vote
1 answer
48 views

How to export bibliographies with Org-Mode?

Org-Mode can now handle citations through #+bibliography: biblio.bib and org-cite-insert. For example, [cite:@ref1; @ref2] in an org file, will show @ref1 and @ref2 short content contained in biblio....
user avatar
1 vote
1 answer
45 views

How to use an org mode document's title in the LaTeX export headers?

I'm using org mode to write letters using a custom LaTeX class provided by my employer. With this class I have to define the title of the document in the LaTeX header like this: \def\subject{This is ...
user avatar
  • 2,440
0 votes
1 answer
32 views

org-mode inline latex call

I would like to add a statement only included in LaTeX export. I know I can use the #+LATEX: prefix, but what if the statement is inlined, like this? \hfill Systemübersicht \hfill This centers the ...
user avatar
  • 224
0 votes
0 answers
36 views

Org-mode theorem with automatic numbering, label, and caption (export to HTML and LaTeX)

This question is related to a previous SE post: Org export theorem with caption and number in HTML, and a doc page org-special-blocks.el. Another SE post covers this issue, but the solution also doesn'...
user avatar
  • 103
0 votes
0 answers
28 views

Multiple matrices side-by-side in org-mode (export to LaTeX and HTML)

How do I display multiple matrices side-by-side in an org-mode document so that they are exported nicely to LaTeX and HTML documents? Currently, I'm using the following but the result is not what I ...
user avatar
  • 103
0 votes
1 answer
24 views

Quoting HTML tags for padding

I've got this working fine @@html:<font color = "#4715b3">@@ $0$ is a natural number. @@html:</font>@@ and this too @@html:<b>@@bold text@@html:</b>@@ but this, my ...
user avatar
  • 2,717
0 votes
1 answer
59 views

org-mode batch export hangs when using a python session

I have developed a workflow for batch-export of org-mode files, and have come across an issue in which execution halts when using a python session. I'm using emacs 28.1 on MacOS 11.6.5 with Python 3.9....
user avatar
0 votes
1 answer
64 views

Pre Process Org mode export

This is the emacs side of a question I asked on the Latex SE. This other emacs question is also related but for now I am assuming its not an issue Short version I want the best of two worlds: The org-...
user avatar
  • 295
0 votes
1 answer
34 views

How can I enclose a link in brackets in org-mode for html export?

I want to create links in my html output that are enclosed in brackets, so look like this: [PDF]. I used to be able to do this by enclosing the whole link in the org file in another pair of brackets, ...
user avatar
  • 185
1 vote
1 answer
88 views

How to use the headline numbering for links in org-num-mode

I use org-num-mode to have headlines with a numbering 1.1.1 or 1.2.1... etc When I use org-insert-link, I want the default description to be this number. For now, it is the text in the headline but I ...
user avatar
  • 63
3 votes
1 answer
49 views

How to get latex math into org headline

Putting a math element into an org mode headline causes latex to complain. ie * This contains $\prod_{k=1}^N$ math Lorem ipsum gives Package hyperref Warning: Token not allowed in a PDF string (...
user avatar
  • 295
0 votes
1 answer
43 views

org-mode export define derived backend

I want to defined a new export backend derived from org-html-export backend in order to remove the divs that appear in the code (something like slimhtml but a little less drastic) and maybe later I ...
user avatar
  • 63
0 votes
0 answers
45 views

Indenting of prose in org-mode looks different when exporting

I use Emacs and Org Mode for writing prose. The problem is with the way Org interprets the concept of paragraph and the way Org and Emacs handle indentation in the beginning of paragraphs. This is ...
user avatar
0 votes
1 answer
45 views

Emacs Org will not print out email address?

I use Org mode on emacs 27.2 on ubuntu linux, and have for some time. I have a template where the top section contains: #+title: My title #+author: My Name #+date: Friday March 25 2022 #+EMAIL: ...
user avatar
  • 103
0 votes
1 answer
33 views

Export org-protocol links to html

In the process of exporting Org files to html, I would like an org-protocol link in Org mode to export to html using the html export backend. In my Org file, my org-protocol link is styled like this: [...
user avatar
2 votes
1 answer
49 views

Evaluate src block of org-babel depending on export type

I would like emacs lisp to evaluate a code block like the following, but variablevalue should take on different values depending on whether I'm exporting to html or latex: #+begin_src emacs-lisp :...
user avatar
  • 1,004
1 vote
0 answers
31 views

Exporting Org mode file containing LaTeX code to HTML without MathJax

I have recently started using Org mode and Emacs. I am trying to export Org mode code to HTML and my Org mode has LaTeX code in it. To render the LaTeX code in the browser, one needs internet ...
user avatar
1 vote
2 answers
121 views

How to put pictures on the right and left side of text in org mode for latex export?

I'm stuck on a trial and error loop testing the latex export settings to no avail. What I want: +---------+ | | | Pic | | | +----+----+---+ |Pic |Txt | | | | +----+---...
user avatar
  • 617
1 vote
2 answers
115 views

How to use makeindex?

I'm having a hard time exporting an index to a pdf file. I can't find any option named :makeindex as per documentation Pasting the lines below to /tmp/tmp.org end exporting hence doesn't render any ...
user avatar
  • 617
0 votes
1 answer
33 views

org export with tikz entries

I would like to use orgmode for preparing exam questions. For tex-template I am using tikz which includes some text entries e.g. for the title and subtitle. The tex part for tikz looks e.g. like: \...
user avatar
  • 55
1 vote
1 answer
57 views

How to properly name or label pictures in org mode?

In particular I can't understand the purpose of fig:. Is it to distinguish figures from other blocks e.g. #+NAME code:python_foo? Does it alter org modes behaviour or is it a convention? I've seen the ...
user avatar
  • 617
0 votes
1 answer
41 views

How to avoid the `\lstset{language=⟨language⟩,...}` before each `lstlisting` when code blocks are exported from org-mode to LaTeX?

With (setq org-latex-listings t), code blocks are exported from org-mode to LaTeX into: \begin{lstlisting} ... \end{lstlisting} So far, so good. But is there a way to avoid the \lstset{language=⟨...
user avatar
0 votes
1 answer
36 views

How to export from org-mode to LaTeX ~⟨code snippet⟩~ into \lstinline[...]+⟨code snippet⟩+ (just as src_⟨language⟩{⟨code snippet⟩})?

With (setq org-latex-listings t), src_⟨language⟩{⟨code snippet⟩} is exported from org-mode to LaTeX into \lstinline[language=⟨language⟩]~⟨code snippet⟩~ (here, ~ could be almost any token): so far, so ...
user avatar
0 votes
1 answer
59 views

Specifying org-babel or org-export output path

I'd like my exports to go into a specific directory. Right now everything is output in the same path as the source file. There's a very old post with sample code that seems get me part way there: (...
user avatar
0 votes
1 answer
36 views

How to reduce the exported pdf file size in org mode?

My org file consists of mainly images. The exported latex is ~60MB. Currently I'm using a subsequent ghostcript shell script to shrink the pdf's filesize to ~6MB. Does emacs offer some hidden ...
user avatar
  • 617
0 votes
0 answers
36 views

How to represent guillemets in `org-mode`: Unicode vs Org-mode entities)?

I was planning to write some narrative in Emacs, and after a bit of research it seems that the most complete solution may be org-mode. Now, I report direct speech using guillemets (« and »). The ...
user avatar
1 vote
1 answer
59 views

Horizontal lines on table not showing when exporting to HTML

I have this table, | A | B | C | |-----+-----+-----| | 123 | 123 | 123 | |-----+-----+-----| | 4 | 5 | 5 | |-----+-----+-----| | 3 | 2 | 1 | |-----+-----+-----| | | | | ...
user avatar
  • 101
1 vote
1 answer
30 views

Babel Lilypond Paper-Size (Preview & Export)

When trying to use babel lilypond for music engraving inside org, I have got the following problem: The paper size used by lilypond is always a full page. But what I want is a minimal, growing paper ...
user avatar
0 votes
1 answer
55 views

How to put a caption on an html-export'ed image?

I want to export two images side-by-side, and this works: #+begin_export html <img style="width:45%" src="test-images/a-3.jpg" /> <img style="width:45%" src=&...
user avatar
0 votes
1 answer
74 views

How to set Org mode export ODT defaults for US standards

I am using Xubuntu Linux and I like to use Emacs Org mode for all my writing, and then export to Libreoffice. At first the default style.xml file set the page style to A4 and used centimeters instead ...
user avatar
1 vote
0 answers
30 views

Why does Org mode LaTeX export ignore optional short caption?

I'm exporting an org mode file to pdf via LaTeX. The file contains images with captions #+CAPTION[Short caption]: Full caption that is way too long to fit into the list of figures #+NAME: fig:foo file:...
user avatar
1 vote
2 answers
38 views

LaTeX fragments look different to exported PDF (witharrows)

I have problems getting correct latex fragments rendered. For some reason, they look different than the exported PDF, which looks fine. What is not working is the package witharrows, to place vertical ...
user avatar
0 votes
1 answer
37 views

Org-Reveal: Fragmented list with source blocks

I'm preparing a talk in org-reveal. I'm using a construct like this on several slides: - Bulletpoint A #+begin_src Example code for A #+end_src - Bulletpoint B #+begin_src Example code for B #+end_src ...
user avatar
0 votes
1 answer
28 views

HTML publish latex block images

I am trying to export a latex tikzpicture, like the following to html: #+begin_src latex :exports results :results raw file :file ex.png :output-dir ../img/ \begin{tikzpicture} \draw node[circle,...
user avatar
  • 3
0 votes
1 answer
62 views

How to export a table containing multi-lined cells from an org-table?

Consider the following table: |-------------+------------------------| | Definiendum | Definiens | |-------------+------------------------| | first term | - bullet point one | | ...
user avatar
1 vote
1 answer
43 views

Specify arbitrary attributes for code blocks and keep them when converting with pandoc

Markdown and its different flavours have a number of interesting extensions, notably the [hl_lines attribute][0], which allows to highlight specific lines in a fenced code block, as illustrated here ...
user avatar
  • 11
0 votes
0 answers
27 views

Making org to beamer example work [duplicate]

Tried running the example in here: #+TITLE: Example Presentation #+AUTHOR: Carsten Dominik #+OPTIONS: H:2 toc:t num:t #+LATEX_CLASS: beamer #+LATEX_CLASS_OPTIONS: [presentation] #+BEAMER_THEME: Madrid ...
user avatar
  • 101
1 vote
0 answers
23 views

Exporting properties with links doesn't work

I have a small problem when I export links that are included in properties. The goal of my approach is simple: use the properties of Org mode, then export them to html. The export of these properties ...
user avatar

1
2 3 4 5
19