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
17 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
18 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
26 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
17 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
2answers
81 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
21 views

How to resize images when exporting to Markdown format?

Is there an equivalent of #+attr_html: :width 500px for Markdown format ?
0
votes
2answers
58 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
50 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
89 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
20 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
17 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
23 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 ...
1
vote
0answers
24 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
48 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
27 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
56 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
51 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
34 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
15 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
0answers
20 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
96 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
34 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
33 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
79 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
38 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
53 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
31 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
18 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 ...
1
vote
2answers
131 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
vote
2answers
85 views

Undefined reference when exporting to latex from Org Mode with org-ref

I installed org-ref (via Melpa) to work with my bibliography entries in Org Mode. The installation seemed to be successful. I was able to add a citation with the command C-c ]. When I export to LaTeX ...
1
vote
1answer
70 views

org-mode How to use latex nested environments?

I want to use a matrix environment that is included in an outer environment, so: Environment: \begin{equation*} \left| \begin{matrix} a_1 & b_1\\ a_2 & b_2 \end{matrix} \right| \end{equation*} ...
1
vote
1answer
64 views

Orgmode - Vertical header

is it possible to create a vertical header with org mode, too? Something like this (cyan colored fields): You can create a horizontal header like this: | Header | Header | Header | Header | ...
0
votes
0answers
28 views

How to format reference to an internal link in a nested list?

I am using CSS to adjust the numbering of a nested list in HTML exported from Org. However, I've run into a problem when I use a link back to an item in the enumerated list. As an example, the org ...
0
votes
0answers
28 views

How to publish a HTML manual with each (sub)sections as a separate page and a front page with TOC?

I am using org-publish to generate a static web site. I have a large org file with many subtrees (max depth 5). I'd like to be able to generate a site very similar to the org-mode manual where each ...
0
votes
1answer
36 views

How to put a html attribute in the header of an orgmode file so it applies to all images on export?

To export to html an orgmode file which has links to multiple images, each of which has to have a given width, you can put something like #+ATTR_HTML: :width 800 above each image. Is there a way to ...
0
votes
1answer
125 views

`C-c C-e l o` does not open the pdf anymore

After upgrading to Emacs 27, I noticed that, for any org document, C-c C-e l o now behaves on my computer as C-c C-e l p: i.e., the pdf is correctly produced, but is not displayed anymore on side ...
1
vote
0answers
22 views

Exporting JPG image from LaTeX SRC-block with :async header

I like to generate JPG images from my LaTeX/tikz drawings in my org files. For this, I use constructs like #+NAME: my image #+HEADER: :file my-image.jpg #+BEGIN_SRC latex :results file raw :...
0
votes
1answer
20 views

Error “Unknown option `AUTO' for package `fontspec-luatex' ” when exporting from org to pdf with lualatex

When exporting a org file to pdf with lualatex, I get the message PDF file produced with errors. in my minibuffer. Upon inspection, I find ! LaTeX Error: Unknown option `AUTO' for package `fontspec-...
0
votes
1answer
112 views

`org-bibtex` is no longer found automatically

I am getting the following warning message since I have upgraded to GNU Emacs 27 on Mac. I have been using Emacs for org-mode. It's my understanding that org-bibtex should be a part of GNU Emacs, I ...
0
votes
1answer
32 views

export custom element in html from org-mode

I'm trying to figure out the simplest possible way to export an html document from org-mode and have it include a working custom-element. I've tried the following, but it gives me an error message in ...
1
vote
1answer
26 views

org export interanl [[links]] to keep link text

When exporting a document such as: * Title Link to [[Title]] The link text is converted to the section number. I.e. 1. Title Link to 1 Is there a way to keep the link text e.g.: 1. Title Link ...
1
vote
1answer
92 views

ORG. A way to mark a subtree to be exported only on one format?

I'm writing a document to be PDF exported in org, and I'm also collaborating with a proof reader. I send her exports on ODT so she can open the documents and make edits in an easy way for her. I have ...
0
votes
0answers
100 views

org-latex-preview on entering insert mode in spacemacs

I use Spacemacs and org mode for writing latexified notes. There is no custom setup, just the default latex layer. I usually toggle org-latex-preview by C-c C-x C-l. It is annoying, because I must ...
0
votes
1answer
52 views

Emacs org export shell script from txt file

I have a .txt file which is an org file but not with the .org file extension. I want to export the file to html on the command line, but it does not work if the file extension is .txt, only if the ...
0
votes
1answer
26 views

Exported org file to pdf with content out of page

I'm writing a document with some long strings on it, then I export the org file to pdf with the classic C-c C-e l p . Then when I check the document, the long string are out of the page. How can I fix ...
0
votes
0answers
26 views

export to Beamer gets slower and slower

My presentation has like 30 slides, nothing fancy, mostly a couple of bullet points on each frame and in total like 10 small images. Still the export to beamer, i.e. a pdf takes like 10 seconds and ...
1
vote
1answer
28 views

Excluding frames from handout when exporting to LaTeX Beamer

I would like to exclude certain slides when I export my document as a handout using the corresponding option #+LaTeX_CLASS_OPTIONS: [handout]. I know what I need to arrive at in LaTeX to achieve this: ...

1
2 3 4 5
16