Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
11 views

Two different fonts for different languages for org latex export

I am trying to use Garamond for English and Arial Unicode MS for Hindi for exporting my bilingual documents created using .org mode and exported using xelatex in windows. Can you please help setting ...
1
vote
1answer
29 views

Org-Mode How to position tables correctly when exporting to Latex?

I have a document I have written in org-mode which contains several tables. The tables all have the following attributes. #+begin_table #+LATEX: \caption{Initial risk List} #+LATEX: \label{tab:risk-...
1
vote
1answer
19 views

Beamer PDF export: title, subtile, content show one by one

Say, in a slide I have * title ** subtitle content They will appear in the same slide with default beamer export. What I want to achieve is exporting it to three slides with first page only ...
0
votes
1answer
21 views

Windows: org not exporting pdf

I am trying to get emacs org-mode to export to pdf. To this end I've installed tex-live and added the path to the bin folder to my emacs path. I've added the tex-live folder to my OS $PATH. When I try ...
1
vote
0answers
14 views

How to set a tangled parent directory for each subtree in org mode?

Base on this, one can set a global tangled file. However, I'd like to set one directory for each subtree, e.g. for a * Python subtree, in every code block I can set :tangle a.py or :tangle b.py ...
0
votes
0answers
14 views

Getting OAuth2 authentication against Google Calendar to work (org-caldav)

I'm struggling to get two-way synchronization between my org-mode calendar and Google Calendar to work. I'm using org-caldav. I created credentials (client ID and client secret) through Google that ...
0
votes
0answers
14 views

Set in buffer generic export settings backend-wise

When exporting to html, I want to set as default: #+OPTIONS: tex:dvisvgm When exporting to markdown with ox-gfm (https://github.com/larstvei/ox-gfm), I want to set as default: #+OPTIONS: tex:t ...
0
votes
1answer
34 views

Caption and figure reference to .docx (org-export)

Captions and figure references by label are lost when converting .odt to .docx with Open Office. Captions get hidden under the image and truncated by a box. Numeric references are replaced by “...
0
votes
1answer
13 views

Conditional inclusion of paragraph (org-export)

It seems the @@latex: @@ and @@odt: @@ does not work for lists or paragraphs with blank lines. For instance @@odt: - Xyzzy! - Nothing happens @@ is exported to latex. How can I have some ...
1
vote
1answer
37 views

In org-mode, how to export a clean html

I am exporting a webpage with a checklist using org-html-export-to-html. But in my perspective, the red "TODO" word doesn't make too much sense in the html. Is there a way to export it in a cleaner ...
1
vote
1answer
19 views

Export an orgmode buffer without expanding noweb references?

Normally, when I use orgmode's export function on a buffer that contains noweb references, they get expanded, resulting in lots of duplicated code throughout the exported HTML document. Is there a ...
0
votes
0answers
23 views

Latex configurations specific to an org-mode subtree

In org-mode, what are the options if I want to have different latex headers for each different subtree? I want different subtrees to export to .tex files with different headers; and I want org-toggle-...
0
votes
0answers
41 views

org export filter

I am writing an org-export-filter to be able to use the \legend command from ccaption package in a line starting with #+caption. This way, the following code: #+attr_latex: :options angle=45 #+...
0
votes
1answer
22 views

“Ignoreheading” Beamer Environment doesn't work with :BEAMER_act: Overlay

What I would like to do is the following: I have a beamer frame where I added :BEAMER_act: [<+->]. This works well with all blocks that follow, but not when I set :BEAMER_env: ignoreheading. ...
0
votes
0answers
48 views

org latex export error: Unknown LaTeX class report

I am trying to export this small example from org to Latex. However, it is working only for the article class. With report or book, it produces the following error: Unknown LaTeX class report or ...
0
votes
0answers
14 views

Latex Export multiple subtrees into separate files

I have a subtree that I want to export as a latex document. That subtree needs a fairly long preamble specific to it, so I want to compile the preamble into a separate file, which I can then call with ...
4
votes
1answer
90 views

Using File Local Variables in org-mode

Is there a way to use file local variables set in an org-mode file in the following contexts: Simply expanding the variable when text is exported (eg: to LaTeX) Passing the value to :var in a babel ...
2
votes
1answer
45 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-...
3
votes
2answers
53 views

Import text from docx tables to org-mode

I got a lots of notes from books in docx. There are in tables ex.: I would like to convert them to org-mode like this What would be the best approach to do it ?
0
votes
1answer
17 views

Creating table of content with the package titletoc in Org Mode for LaTex export produces strange lines of text

I use the LaTeX package titletoc to produce table of contents in some chapters or sections for Org-Mode LaTeX / PDF export with #+TOC: headlines 1 local But in the PDF file there is for example the ...
1
vote
1answer
35 views

How to export LaTeX from org-mode to HTML using dvipng instead of mathjax GLOBALLY?

The doc string for org-export-with-latex describes how to select mathjax, verbatim output, or not to export LaTeX at all, although it goes further to say: If you prefer, you can also request that ...
1
vote
1answer
27 views

How to do harvard style referencing using org-ref

I am writing a paper using spacemacs with it's org-mode to export to latex. I want to referencing using the (author, year) style for example if I had the following reference in my .bib file @article{...
0
votes
1answer
20 views

org-export to different directory

I would like to export my org file to a different directory than the one containing the base org file. I've tried setting the property EXPORT_FILE_NAME: :PROPERTIES: :EXPORT_FILE_NAME: ./export/test :...
0
votes
1answer
22 views

Change location of latex options (\bibliography{}) in exported .tex file

I just spend hours trying to figure out why bibtex citations don't work. Turns out it's because \bibliography{testbib} needs to come after begin{document}. This is my test.org: #+LATEX_HEADER: \...
1
vote
0answers
24 views

adding options to org-export dispatcher

I'm trying to customize the workflow that goes from org-mode to latex export. When I launch the export dispatcher, I have four sub-options under [l]atex ... the standard ones. But I think it's ...
2
votes
2answers
61 views

text after code block in beamer

I want to use org to make a Beamer slide like this: -------------------------------- | | | some text | | | | -----...
6
votes
0answers
121 views

How to expand external files inline on orgmode?

I know I can use something like #+INCLUDE: "./filepath" but this has effect only when I export the file. I can also use link like [[./filepath]] but I have to type C-c C-o to go to the content. How ...
0
votes
0answers
32 views

Beamer Frame: Background image with no headers/theme specs

Document: #+OPTIONS: author:t broken-links:nil c:nil creator:nil #+OPTIONS: timestamp:t title:t toc:t H:2 #+TITLE: XYZ #+DATE: October 12, 2018 #+AUTHOR: XX, YY #+LANGUAGE: en #+SELECT_TAGS: export #+...
0
votes
0answers
45 views

org babel and listings

I am exporting my org document to Latex. When I have a src block I am using attr_latex :options to control lstset and get the proper output in my tex document. #+ATTR_LATEX: :options numbers=left, ...
0
votes
0answers
31 views

org-mode sometimes destroys my org file

Unfortunately I don't have a way to recreate this, but it has happened twice in the last two days. I have an org file. It has some LaTeX commands, includes images, a table. I generate a LaTeX pdf ...
0
votes
0answers
12 views

orgmode radio tables does not preserve indentation for beamer

I want to use org-mode tables to input matrices in math environments in a beamer presentation. One solution I've come across is to use radio tables. However, as default the radio table gets inserted ...
0
votes
1answer
27 views

org mode export fails to add newline between heading 4 and broad text

Exporting to Latex PDF does not add a newline at the end of headings level 4. Source: * My one ** My one one Plain text *** my one one one Plain text **** my one one one one Plain text ** My one two ...
4
votes
1answer
131 views

org-mode / export to PDF: How to disable numbering for pages?

When I export a simple text file to PDF with the command org-latex-export-to-pdf, by default, Org-mode adds the number of each page at the bottom of the PDF file. But I would like Emacs to print ...
1
vote
1answer
27 views

Can I insert a prefix to Org Babel source code lines on export?

Like, say I have a shell script source code block. #+BEGIN_SRC shell echo 'Hello World!' #+END_SRC On export, I want the code text to pick up a dollar sign, so $ echo 'Hello World!'. But I only ...
2
votes
2answers
78 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 ...
0
votes
0answers
27 views

how to export minted src block with caption that is too long for one page

Writing a document in org-mode and I have several source code blocks each with a caption and an automatically numbered Listing Caption. However I have one SRC block that is 80 lines long and too long ...
0
votes
1answer
71 views

Error adding LaTeX class to org-latex-classes

I am trying to register the jfm LaTeX class (Journal of Fluid Mechanics) with the Org LaTeX export backend. After looking around, I have put the following elisp snippet into my .emacs (with-eval-...
1
vote
1answer
142 views

How does org know my name?

Just org-exported something and my name was at the top of the exported document. How does org know my name? On Fedora.
0
votes
1answer
34 views

:anchor not working for odt export

I am trying to export images with odt export from org-mode and to change the anchor of the image (default to-paragraph) to "as-char". I tried the following code: #+ATTR_ODT: :anchor "as-char" [[./...
1
vote
1answer
41 views

A way to omit exporting comment headings in org-mode? [duplicate]

I'd like to be able to do the following: * A story about airplanes ** Chapter one *** # Introduce the main character Billy was a nice boy etc ... *** # Set the scene One day Billy stumbled upon a ...
1
vote
1answer
75 views

How to add CSS support for the html-export in org mode for the properties drawer?

My org version is 9.1.14. Background info: I am trying to export my notes in org-mode to html. I would like to have my notes tagged with Category and Tags. I want to apply some CSS beautification ...
1
vote
0answers
24 views

Don't focus on evince, when compiling pdf from org-mode

I'm using Evince as my Pdf-Viewer (In a split-screen-setup) whenever i write something in org-mode and compile it as a pdf. To achieve this, i've added (add-to-list 'org-file-apps '("pdf" . "evince %...
2
votes
1answer
66 views

Is there a way to suggest label names in org-mode latex export?

In the org-mode example below, I would like to be able to specify the label name to be used by the latex export back-end. Is there such a way? I have two reasons: To be able to mix org-style ...
0
votes
0answers
16 views

Bilingual text in .org mode and xelatex

I would like to typeset bilingual (English, Hindi) in emacs .org mode using mangal font available on windows . It has to be exported using xelatex. Kindly explain step by step setup for the same . I ...
2
votes
0answers
40 views

Org-mode sitemap not updated after re-publish

After digging around more, I found a workaround: Cache in ~/.org-timestamps somehow doesn't get updated to reflect the change in page title. Deleting everything under the folder and re-publish then ...
4
votes
0answers
73 views

new lines in org mode export to LaTeX

This is similar to (this question). I would like to export the following org-mode document to LaTeX: * Test text 1 text 2 text 3 - list 1 - list 2 - list 3 #+BEGIN_definition ...
0
votes
2answers
38 views

org-latex-export: Name sections according to CUSTOM_ID rather than headline (%s)?

Problem description In org-mode's LaTeX export configuration, the %s operator can be used as a placeholder for the headline string, as can be seen in the examples at https://orgmode.org/worg/org-...
0
votes
1answer
35 views

Batch-export org-mode subtree by headline?

Pretext I am using the emacs batch mode to script the export of .org files to LaTeX via a Makefile, and I am aware of some of the customization options that exist in that regard. For example, I can (...
0
votes
1answer
33 views

M-x org-beamer-export-to-pdf and C-c C-e l o give different results

The exported pdfs from M-x org-beamer-export-to-pdf and C-c C-e l o give different results. I have frames set to be created at level 1 headers (options: H1), but these headers only create frames when ...
0
votes
1answer
91 views

Export handout with notes using org-mode and beamer

I'm having a lot of trouble getting a nice solution to this problem. I want to export a handout for a beamer presentation using org-mode. I can write a note using \note{sample note}, which creates a ...