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
1answer
19 views

Keybinding shortcut for Tufte html export

I've perused a few of the org-mode html-export keybinding shortcuts, i.e., ways to just have one key do, e.g., the entire long-winded C-c C-e h o. Unfortunately, there doesn't seem to be one fell ...
1
vote
1answer
12 views

Is it possible to export an orgmode headline to orgmode format?

I keep notes in orgmode and a GitHub repository can display formatted orgmode. I currently copy a headline to a new orgmode file to 'export' my text for publication on GitHub. However, this differs ...
0
votes
1answer
23 views

Can I export conf source code in org-mode to aconf in LaTeX/pdf/minted?

Emacs org-mode source-code blocks (between #+begin_src conf and #+end_src) support the conf "language"/style with syntax highlighting, but this is not supported when exporting to LaTeX/pdf, ...
0
votes
1answer
19 views

When exporting to Latex from Org, how do I stop equations from breaking my paragraphs apart

When working with mathematics in Latex, if I add a percent sign between my previous textb block and my \begin{equation} block, and another percentage sign between my \end{equation} block and my next ...
0
votes
1answer
72 views

Org publish does not load Latex packages

I need the following two packages and I add them to my org file like this, #+LATEX_HEADER: \usepackage{siunitx} #+LATEX_HEADER: \usepackage{cancel} but this does not work. How can I fix this? I tried ...
0
votes
1answer
30 views

Two functions run on the same org-export filter; first has no effect

I'm passing more than one headline filter function to a BIND inside my org file, and I can't see why only the second seems to have an impact: #+BEGIN_SRC emacs-lisp :exports results :results none (...
0
votes
0answers
13 views

Can I interrogate org-export-filter info object to check if the text format is UTF-8?

The signature of org-export-filter functions is (data backend info). I want to write a function that will know if I'm exporting to ascii or latin1 or utf-8. The backend appears to be 'ascii no matter ...
0
votes
1answer
32 views

BIND org-export-filter with multiple functions

I'd like to be able to pass more than one headline filter function to a BIND inside my org file: #+BIND: org-export-filter-headline-functions (tmp-f-one tmp-f-two) Although the pluralised name of the ...
0
votes
0answers
14 views

Setting variables for async org export

I have this function: (defun cpm/org-export--file-beamer-handout () "Export file content to PDF handout. Handout uses a distinctive quote style." (interactive) (let ((org-latex-default-...
0
votes
1answer
20 views

Unexpected org-export text duplication of hyperlinks

Given the following in my org-mode: **** heading ***** [[https://somewhere.com][somewhere.com]] ***** [[https://somewhereelse.com][somewhereelse.com]] (which my editor displays as links) and the ...
0
votes
0answers
35 views

Org-roam links are considered broken when exporting

Org-roam links are considered broken when exporting. This is annoying as I would like to export those org files as pdf documents. I know that the option broken-links:t makes the link disappear, and ...
0
votes
1answer
28 views

Cannot define custom latex class in org-mode [duplicate]

This is the code I tried: (after! ox-latex (add-to-list 'org-latex-classes '("deeparticle" (concat "\\documentclass[11pt]{article}\n" "\\usepackage{...
0
votes
0answers
24 views

Missing values in Org macro replacement

The Org Manual says: "The ‘keyword’ macro collects all values from NAME keywords throughout the buffer, separated with white space." (https://orgmode.org/manual/Macro-Replacement.html). ...
0
votes
1answer
19 views

Ignore footnotes when exporting org texts to html

I want to export org texts to HTML. This is easy if I use org-export-string-as. The problem is, the org texts may contain unreferenced footnotes, I want the export function to ignore the footnotes. ...
0
votes
0answers
18 views

Org Export Throwing an Error

Forgive the (relative) newbie question here. My org export to LaTeX just started throwing this error after I upgraded to Emacs 29.0 Here is output from Org PDF LaTeX Output buffer: Latexmk: -pdflatex ...
0
votes
0answers
23 views

org-mode based static site generator with categories and sub-categories

I am looking for an org-mode based static site generator which supports categories and subcategories like mediawiki. The existing static site generators support only tags. For eg: consider an org file ...
0
votes
0answers
18 views

Org Mode Export Dispatcher Force Publishing as Default

Is it possible to set forcing as the default for the org-export dispatcher? Alternatively (maybe even better), is there a way to set forcing as the default on a project-by-project basis? I poured ...
0
votes
1answer
23 views

org-export-filter-final-output-function appears not to fire

I'm trying to filter my org-export output in one file because every heading in the ascii output seems to have two line breaks after it: first heading ============= second heading ============== And ...
0
votes
0answers
13 views

Headline numbering offset in org-mode export

I know I can turn on and off the numbering of headlines of a certain level, but I haven't found an option to e.g. let those numbers start at 0 instead of 1. Is this even possible? I find them useful ...
0
votes
1answer
21 views

Org export visible headings only

I'm customising my export settings for a particular file using #+OPTIONS. I want to be able to set the defaults for org-export-dispatch for this particular file too. In particular I want Visible only: ...
0
votes
0answers
15 views

Org-mode formatting a term with a suffix but without any preceeding space

When I export an Org-mode document with ~if~s, I expect it to show ifs However, I get ~if~s or sometimes ifs ... if there's a following = somewhere down the line. I also tried using a zero-width ...
1
vote
1answer
29 views

How do I Include plain text file org-mode as is for LaTeX export?

I'm using #+INCLUDE: "./file.txt" to organize documents but including files this way is messing with linefeeds on org-mode export to LaTeX/Pdf. Is there a property or attribute that could ...
1
vote
0answers
45 views

Org-mode custom heading numbering?

I'd like to export an org buffer to HTML and have the heading numbering not always start at 1, rather, a given number. I plan to have a sequence of org buffers be "chapters." So the first ...
1
vote
1answer
118 views

org-mode and export programming

Is it possible to program the export in org-mode in the following way? Say you'd like to export some org-mode text in latex or html but you'd like to program a kind of limited text loop with an ...
0
votes
0answers
26 views

I want to make an alias to `org-babel-execute:emacs lisp`. the problem is with the space on `emacs lisp`

I'm using org-beamer exporter, and I would like to do the following: (defalias 'org-babel-execute:emacs-lisp lisp 'org-babel-execute:emacs lisp) My problem is 'org-babel-execute:emacs lisp has a ...
0
votes
0answers
29 views

Why is the org-babel cache not populated on export

This whole question is an org-mode document that can be pasted into your local Emacs for a type-along question. First evaluate the below code block to enable caching of org-babel results, include ...
0
votes
1answer
42 views

Make org-html export not escape special characters

I'm writing an exporter for Remarkup: https://github.com/renatgalimov/org-phabricator. It's similar to Markdown and based on org-md which itself is a modification of ox-html. Whenever I export, some ...
2
votes
1answer
43 views

Add CSS class or id tag to individual src blocks

I want to style some HTML source block exports differently than others. Say I want the "Hi" block to have a green background and "Bye" to be red: #+COMMENT: -*- org-html-htmlize-...
0
votes
1answer
53 views

(Org) TikZ for exporting both LaTeX and HTML/MathJax

I'm exporting an Org Mode project both to LaTeX and to HTML (with MatJax). Now I need to add a TikZ picture which can be exported nativelly on LaTeX and must be rendered in svg for HTML. Writing the ...
1
vote
0answers
74 views

Direct inclusion of resulting link file during export in Org mode

I'm preparing static html site with interactive Javascript components visualizing my research data in Org mode. Javascript components are returned by the Org Babel Python script in form of HTML string ...
0
votes
1answer
88 views

Emacs Org mode export to PDF headines become bold

Good day! New emacs user here. I am writing a contract in org mode and exporting it to PDF (assume that currently no latex plugins or settings are applied(in my org file heading) to the document as ...
0
votes
0answers
55 views

How to correctly export to pdf org-roam files

I have three files A, B and C. A is a table of contents with links to B and C that have various information, the problem is I want to export a pdf with the content of A, B and C together but org-latex-...
1
vote
1answer
94 views

Org export theorem with caption and number in HTML

With #+CAPTION: my-caption [[file:image.png]] I get a caption (with a number) both in LaTeX and in HTML. The same with tables and src blocks (which become listings in LaTeX) But with a theorem, ...
0
votes
0answers
34 views

Ox-epub Window required for cover

When exporting in batch mode (for example in continuous integration) with ox-epub: emacs --batch main.org --eval="(package-initialize)" --eval="(require 'ox-epub)" --funcal org-...
4
votes
1answer
84 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 * ...
0
votes
1answer
72 views

Org-mode do not inheriting Unnumbered property

Is there a way to set the UNNUMBERED property only to the current heading but not to the children headings? My desired headings are: 1 Part one 1.1 Chapter one Appendixes (unnumbered) ...
0
votes
1answer
32 views

Replace regex in string elisp for emphasis like strings

I'm fairly new to Emacs and Elisp, and am tinkering around to customize to my liking. I'd like to be able to highlight some text in Emacs and also have it displayed when exporting to html, just like ...
2
votes
1answer
99 views

Smart quotes for Italian language

With the language set to English the smart quotes work out of the box: #+LANGUAGE: en #+OPTIONS: ':t This is a "test". LaTeX: This is a ``test''. HTML: This is a “test”. Also with other ...
1
vote
1answer
66 views

Setup ox-extra in an elisp script to be run without init file

I'm new to Emacs and I am trying to write an elisp script to automate the org-mode export for GitLab CI. The idea is that on the worker I simply run emacs --batch --no-init-file --load build.el --...
3
votes
0answers
73 views

Export an org-mode table to pdf/png image

I've started using org-roam more often recently, and I use LaTeX a lot in my workflow. What I want to do is this: Create a table in an org file with some LaTeX math symbols, using the org-mode table ...
0
votes
1answer
27 views

Export as nested lists instead of (sub)sections with org mode

If I export an org file, like * Item ** Subitem *** Subsubitem and export it to latex it is converted to something like [...] \section{Item} \label{sec:org1a2bb17} \subsection{Subitem} \label{sec:...
0
votes
1answer
50 views

How to export a table as a Markdown table when using org-md-export-to-markdown?

The current behavior of org-md-export-to-markdown is to export Org Mode tables as HTML tables. I would like tables to be exported as Markdown tables (as explained here).
0
votes
1answer
24 views

Change org-html-home/up-format locally within an org file

Looking for a way to change the org-html-home/up-format within my org file. I've learned that you can change the variable within emacs via: (setq org-html-home/up-format "<a href=\"%s\&...
1
vote
1answer
33 views

Include subtree header in filename when exporting subtree from org-mode

At $dayjob I take notes using org-mode and from time to time end up sharing these as exported PDF's or HTML files. When I export a subtree these notes end up overwriting the same file over and over ...
0
votes
1answer
51 views

split org file into smaller ones

I want to split one big org file into smaller files. I have found function which do this but it's also exports it to html. So how can I just export the content? Without this function (org-html-export-...
0
votes
1answer
25 views

how to only include bibliography once

How can I export these 2 files individually, but only include the bibliography once in the resulting b.pdf? As shown, I get two copies of the References section in the b.pdf file. I'm not sure if this ...
0
votes
2answers
102 views

How to export a gantt chart in pdf or png format using taskjuggler and/or org-mode

I managed to get taskjuggler up and running along emacs/org-mode. After reading the manual entries here and here I can export my project into html but I cannot export the Gantt chart into pdf, as ...
0
votes
0answers
37 views

siunitx, org-mode html export with correct equation numbering display

Using org-mode 9.4.6 and emacs 26.3 I am trying to export a org-mode subtree which contains LaTeX code into html. Without any additional configuration, equations and their numbering are displayed ...
0
votes
0answers
13 views

html export of makefile source block has spaces instead of tabs

The indented parts of the Makefile source block contain tabs: #+OPTIONS: html-postamble:nil toc:nil num:nil I try to export this as org file as html, but get spaces instead of tabs: #+begin_src ...
0
votes
0answers
32 views

Command to fix internal org broken links in HTML export

I'm trying to export a bunch of org entries with numerous internal links to an external website. These links get broken during the export, but I can mostly recreate the correct URLs with some simple ...

1
2 3 4 5
18