Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 18737

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

What would be the simplest way to add a "Copy to clipboard" button to html-exported source b...

I have written a Python script that postprocesses HTML output by org-mode to add the copy buttons to the code blocks. I haven't tested it extensively, but it seems to work. You can see it in action he …
HappyFace's user avatar
  • 920
0 votes
0 answers
17 views

org-babel: How to Disable Code Evaluations on Export in Org Mode While Still Processing Head...

I'm using Emacs Org mode and want to configure my setup so that code blocks are not evaluated during export. I have set org-export-use-babel to nil to do this. But this setting also disables header ar …
HappyFace's user avatar
  • 920
0 votes
0 answers
27 views

How do I add an option to quote blocks to preserve newlines?

Some blocks such as begin_verse or begin_example preserve newlines. But the begin_quote block does not and we need two new lines to create a new line in the exported HTML. What's the best way to have …
HappyFace's user avatar
  • 920
0 votes
1 answer
44 views

When trying to compile the exported tex file, I get the error `Environment org undefined`

I use org-beamer-export-to-latex to export the current org file to latex. When I try to manually compile the resulting tex file using latexmk -f -pdf -pdflatex -shell-escape -interaction=nonstopmode x …
HappyFace's user avatar
  • 920
0 votes
1 answer
60 views

Is there any org-babel source block that converts to a LaTeX pseudocode algorithm block?

Currently, when I want to add some algorithm's pseudocode to my LaTeX export, I have to manually write LaTeX: ** Pixel-Flipping: A Technique to Assess Faithfulness - Pixel-flipping is a quantitative, …
HappyFace's user avatar
  • 920
1 vote
0 answers
41 views

Add the ID property of headings as the `name` attribute in the HTML export

E.g., suppose I have this heading: * some heading :PROPERTIES: :ID: 6d4e4087-4b74-4c74-8195-19b4ccd3e8fe :END: I like the exported HTML element to have the attribute name="ID-6d4e4087-4b74-4c74 …
HappyFace's user avatar
  • 920
2 votes
1 answer
300 views

How do I get syntax highlighting in example blocks when exporting org-mode to HTML?

I have set org-src-fontify-natively to t, and have htmlize installed. But my example blocks still don't have syntax highlighting when exported to HTML. #+begin_example python print(8*8) #+end_example …
HappyFace's user avatar
  • 920