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
0answers
17 views

Org v9 and org-latex-preview incompatibility?

In the following MWE I start with a simple latex code block. I hit C-c C-c to generate the results, and get an export latex block, which I believe is consistent with org-version ≥9 (as opposed to a #+...
0
votes
1answer
54 views

What is the mechanism by which org-export collates links for the summary?

I use org-export to generate my end of week email reports. One of the links I have in those reports is for mu4e searches. I have a helper function to translate them into something more useful: ;; ...
0
votes
0answers
7 views

need help with font color in HTML export of code block in org file

I use code/source blocks in org mode to create HTML doc pages. I have my emacs default face as white foreground and black background. When I export to HTML, the background is black and most faces are ...
0
votes
0answers
14 views

How do I export org files with emojis to pdf (or html)?

I managed to teach my Spacemacs to render emojis, but couldn't figure out how to make it export emojis to PDf (I can live with HTML too) as an actual emoji 😀 character and not as :smile: I saw ...
0
votes
1answer
26 views

Org ref not exporting authordate when using natbib

I am trying to export an org file with rounded brackets: In order to be proficient in mathematics students must be able to perform fundamental skills with fluency (Williamson 2017:18). But when ...
0
votes
0answers
9 views

How to not include newlines in strip-export

I'm using the following snippet #+NAME: save-file #+BEGIN_SRC python :results silent :var filename="filename" plt="plt" :exports none return f"\nfname = 'assets/' + filename + ...
0
votes
0answers
23 views

Make “#+BEGIN_EXPORT latex” also exported to html (orgmode)

I know that placing latex code in the main text body solve my issue: the latex code is taken into account both when exporting to latex and to html. However, I like to use Latex blocks because of the ...
0
votes
0answers
14 views

Org latex export is inconsistent with escaping curly braces

My issue is somewhat related to this question. I am trying to use the listings package's \lstinputlisting{path/to/code.py} command in orgmode (after setting up everything that needs to be set-up in ...
1
vote
2answers
40 views

How to export an html file with a foldable & dynamic TOC from an org file?

When HTML pages are extended I find it quite useful to have a TOC (table of Content) available all along with your scrolling. A good example of an implementation of such a functionality is the Worg ...
1
vote
0answers
28 views

Opening file after org-export in external program fails, but works with different invocation methods

I'm using emacs in Win10 WSL 2 Linux and call a custom script open in my $PATH to open files from WSL-Linux/emacs in Windows GUI. My .mailcap makes sure that the script is actually being used and the ...
0
votes
0answers
34 views

How to export org mode to html using Google Fonts & CSS?

I'm trying to change the headers and body fonts of HTML exported from org files. The idea is to have Bebas Neue for headers and Lato for body (both are available through Google fonts). first I ...
0
votes
0answers
16 views

CSS to export org to printable(A4papers) HTML with headers

I export org buffers to A4paper size pdf with header and footer customized as my letterhead using xelatex. It requires latex to be installed on each machine. Is it possible to achieve the same using ...
1
vote
0answers
70 views

navbar - multi-page website with one org-mode file

I'm generating multiple html pages from one org file. Function below generates html page for every heading level=1. I want to add simple navbar to every page. Example content: * home ** some heading ...
1
vote
2answers
71 views

Export org notes to pdf such that it looks nice

I have a large number of org-mode files where I took my class notes. I would like to export them as PDF files. However, I like to take notes as in the following example: #+LaTeX_HEADER: \newcommand\RR{...
0
votes
0answers
19 views

How to extend the org koma letter script for cv/resume generation

I'm quite happy writing a letter in org mode using the koma[0] script for org mode[1]. I create a new header and body, hit C-c C-e k(for koma). Done. However I don't know where to start in order to ...
0
votes
0answers
38 views

Org-Mode export table to latex with word wrap

I'm trying to export a table from org-mode to latex and have dynamic line-breaks/word-wrapping, so whenever a cell exceeds a certain length, it should wrap to the next line. This is what the latex ...
0
votes
1answer
48 views

Org-mode Latex export opens pdf with GIMP

Not sure why this is, but I just tried an org-mode Latex export (C-c C-e l o), but it opened GIMP to display my resulting pdf file. I'm on 27.1 and 9.4. My system is Ubuntu 20.04 with Gnome. I went to ...
0
votes
0answers
34 views

org-export: asynchronously export AND open/reread the pdf?

I tried C-c C-e C-a l o to asynchronously export an .org doc as LaTeX file, convert it to PDF, then open the PDF, but it won't be opened or reread (using pdf-tools). Is there a way to asynchronously ...
0
votes
1answer
40 views

org verse blocks: indentation not preserved on export to odt

the org manual says "To preserve the line breaks, indentation and blank lines in a region, but otherwise use normal formatting" you can use #+begin_verse #+end_verse block. if i run emacs -Q,...
0
votes
0answers
36 views

Org export to odt incorrectly use “DEADLINE” for “SCHEDULED”

I noticed that when org-exporting to and odt file, the SCHEDULED timestamps are changed to DEADLINE instead. A minimum working org file: #+TITLE: Test file #+OPTIONS: p:t * Section 1 ** TODO Section ...
0
votes
1answer
55 views

org export with interleaved output

I have an Org mode file with the following source block in it: #+begin_src sh :exports both echo "first line" echo "second line" #+end_src #+RESULTS: | first | line | | second | ...
0
votes
1answer
20 views

org-publish gives multiple entry with quote one of them

So, I have the following content in the .dir-locals.el file for my project: ;;; Directory Local Variables ;;; For more information see (info "(emacs) Directory Variables") ((org-mode (org-...
3
votes
3answers
237 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} ...
1
vote
1answer
32 views

How to resize images when exporting to Markdown format?

Is there an equivalent of #+attr_html: :width 500px for Markdown format ?
1
vote
2answers
90 views

Is it possible to export an org table into an interactive table?

Org-mode can nicely export tables into html customly. However, these exported tables cannot be sorted or filtered (i.e. are not interactive). Would it be possible to make these tables sortable and ...
3
votes
1answer
67 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 ...
2
votes
1answer
135 views

How to export an org file containing code blocks to a code file including comments?

Suppose I have the following org file (pdguide.org): * Creating a Pandas =DataFrame= The pandas =DataFrame= can be created by loading the data from the external, existing storage like a database, ...
0
votes
0answers
53 views

How to include an image in the cover front before OR after the title in exported ODT from org?

I have an org document which I export to several different formats: Markdown PDF HTML ODT I need to include an image (the logo of the company) in the cover front page, before OR after the title of ...
0
votes
1answer
22 views

How can I get an outline in org-beamer export without changing the other frames?

I have this org-beamer example: #+TITLE: Example #+LANGUAGE: en #+SELECT_TAGS: export #+EXCLUDE_TAGS: noexport #+CREATOR: Emacs 26.3 (Org mode 9.1.9) #+STARTUP: beamer #+BEAMER_FRAME_LEVEL: 2 #+...
0
votes
1answer
24 views

Adding extra “\source{something}” command inside table and figure latex environments exported from org-mode

I'm writing a large document in org that I export to PDF through latex. The latex class that I'm using (set in org-latex-classes) defines a \source command that can be used inside table and figure ...
2
votes
0answers
30 views

Export acronyms to HTML with org-ref

Org-ref works quite nicely with acronyms in latex export and offer some niceties such as showing expansion on mouse hover and jump to the acronym on click. But it does not seem to export to html at ...
0
votes
0answers
149 views

Beginner: emacs org-agenda view: Beginner-friendly explanation of other answers on Emacs:SE

I am new to using Emacs and org-mode. In my current situation, I am using org-agenda view to overview and later exporting my TODO-tasks. However, when I view my TODOs with org-agenda, all TODO-marked ...
0
votes
0answers
31 views

Combine org nodes in separate files into a single tree recursively

I want to compose "recipes," consisting of "subroutines" defined as org nodes in separate files, into a single tree. I can't get the behavior I want because (it seems) the org ...
3
votes
0answers
67 views

Include some content in org-mode only when exporting to HTML

I'm currently exporting a document to latex and HTML and there is some content that I have to create separately for each target. For the latex target, I add the latex code as #+begin_export latex // ...
1
vote
2answers
55 views

Org mode macro for including content of another org mode file

I'm trying to wrap my head around why the following macro does not work: #+MACRO: INCLUDE_ORG #+INCLUDE: "$1::$2" :minlevel 3 :only-contents t This is how I'm using it: {{{INCLUDE_ORG(./...
1
vote
1answer
47 views

RevTEX 4.1 latex class with Org-Mode

I'm trying to get this latex class to work with org, anyone had any luck? (add-to-list 'org-latex-classes '("revtex" "\\documentclass[preprint,a4paper, amsfonts, amssymb, ...
0
votes
0answers
20 views

Org mode fontification error in #<buffer myfile.org> in python and ipython source blocks

I am having problems with the fontification of python and ipython source blocks when the code contains curly brackets "{}". For instance, the following snippet #+BEGIN_SRC python :results ...
1
vote
1answer
29 views

Show hover text of internal links in exported HTML in org-mode?

Is there a way to show hover text of internal links in exported HTML in org-mode? Sometime I would like to have a quick peek of the reference details of a org-ref citation link when reading the ...
5
votes
2answers
127 views

Tangle Org file containing #+INCLUDE directives and multiple tangle targets

Context I'm using org-babel-tangle to generate my configuration from an Org file config.org. Recently, I did some clean-up by dispatching config.org to multiple Org files config/*.org; replace the ...
1
vote
1answer
39 views

How to create a initial collapsed/hidden block in org exported HTML?

I'd like to create a collapsible block (examples, quotes, codes, ...) when exporting an org file to HTML. Also I'd like to have a way to show the block(button? keystroks?). How can I do this? Thanks!
0
votes
1answer
37 views

How can i make org mode export latex file with a custom language?

I need romanian for my school reports, i want to write them in org mode. Is there some #+LANG attribute? Do i need to set some emacs variables? I'd really like a per-file solution more
0
votes
1answer
90 views

Buggy org export to LaTeX `itemize` and `enumerate` functions

A similar question has been put to the TeX community over here, which led to the insight that this is an org-export issue. Hence the current question: The org document below generates a tex file that ...
1
vote
1answer
27 views

org-export to ignore strings within drawers

I have the following set up for an annotated bibliography document. ** Kim, M. (2008): An inquiry into the development of the ethical theory of emotions in the "Analects" and the "...
0
votes
1answer
44 views

Org mode: include LaTeX bibliography in the TOC

This question is related to ox-bibtex. The snippet #+BIBLIOGRAPHY: main abbrv prints out an unnumbered section "Reference" excluded from the TOC in both LaTeX & html export. Is there a ...
0
votes
1answer
21 views

disable table mode using either #+BEGIN_EXAMPLE or ‘:’ literal line , but insert latex math block $ … $

I’m trying to typeset a grammar in org markup, but want to use latex symbols in the grammar: a -> hello | $\neg$ world | universe • Now, without using #+BEGIN_EXAMPLE or : literal-line ...
0
votes
0answers
56 views

Syntax highlighting for shell code blocks when exporting org-mode files to Latex using listings

I'm using the LaTeX package listings for exporting code blocks in org-mode to latex files. I've defined a latex template with the =org-latex-classes= feature as described in https://so.nwalsh.com/2020/...
0
votes
0answers
44 views

Inject backlinks into structured HTML (nav,ul,li) before org processing by org-publish with ox-slimhtml backend

I'm trying to inject backlinks (org-roam user) into <nav> ... </nav> html5 section at the end of my <article> section during ox-export. Idea was to obtain something like that : <...
2
votes
1answer
25 views

exporting table from R

I'm trying to export a table from an R code block and have read Results of Evaluation (The Org Manual) which states that tables can be output with header options of :exports results :results value ...
0
votes
1answer
21 views

org-mode html publish fails with invalid regex error

I am using org-mode for generating a static website for my notes. For this, I followed the tutoriala at: https://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.html And this is the relevant ...
2
votes
2answers
209 views

Can I set up the org-mode #+OPTIONS: differently for different export targets?

I would like to set the #+OPTIONS: settings in an org-mode file to behave differently if the org-mode file is exported to HTML or to PDF. More precisely, I would like to have control of the table of ...

1
2 3 4 5
16