Questions tagged [org-mode]
Org-mode is an {emacs} mode for notes, planning and authoring.
101
questions
0
votes
1
answer
17
views
How to set \pdfminorversion in org-mode
How do I set \pdfminorversion=6 in org-mode?
I don't know how to put that line before anything else in the resulting .tex file.
This is the workaround I am using now: \pdfminorversion on the command ...
1
vote
2
answers
167
views
Can't produce a LaTeX file, error says I am missing 'ulem.sty'
I have been using org mode on my Manjaro system for more than two years, but after the latest update to the LaTeX repos, I can't seem to export org files to pdf or preview latex fragments.
The error I ...
1
vote
0
answers
16
views
Make section number same as org-mode subheading
I'm busy doing exercises in org-mode and exporting it to tex -> PDF.
How do I make sure it follows the headings set in the org file? As you can see in the pictures below, I skipped 1.1.3. In the ...
0
votes
0
answers
21
views
Devanagari and Latin Characters in Spacemacs org-mode layer
I use spacemacs org-mode and try to create a pdf file with Devanagari and Latin Characters through Latex.
Here is my unsuccessful approach:
#+LATEX_HEADER: \usepackage{polyglossia}
#+LATEX_HEADER: \...
0
votes
0
answers
39
views
preselect type fonts in org-mode with latex and fontenc
I am looking to assign specific fonts to each type of shape, with the command that I have given it only works for what is between braces, I want, for example, when I put \rmfamily (roman) to be able ...
0
votes
0
answers
40
views
How can I syntax-highlight non-inlined code?
One of the delights of using org-mode to edit LaTeX documents is the ability to see figures inline, as I am editing the buffer.
By runnning (org-toggle-inline-images)
, bound by default to C-cC-xC-v,
...
0
votes
1
answer
54
views
How to change quote behavior?
I'm using Org-Mode to write documents that I export to LaTeX. Org-Mode exports its quote blocks to:
\begin{quote}
...
\end{quote}
In order to color these quotes I'm using the following code (found ...
0
votes
0
answers
39
views
Is there a way to `\includeonly` when the memoir document is monolithic?
When writing a memoir document it's easy to focus on just one chapter by using \includeonly.
\documentclass{memoir}
\title{title}
\author{author}
\includeonly{chap-3}
\begin{document}
\include{chap-0}...
0
votes
1
answer
115
views
How can I adjust memoir to work within org-mode?
In lieu of typing bare-bones LaTeX code, and for other advantages
irrelevant to this question, I am using the memoir class from within
Emacs org-mode, with larger fonts for using the output initially ...
0
votes
0
answers
64
views
How to support page breaks on overflow? (using Emacs org-mode)
I'm using the following org-mode resume template:
https://github.com/punchagan/resume/blob/4b8b397453bf7c5a5b5276aa2f5481699b98eb15/mycv.sty
which uses the content in this resume.org file: https://...
0
votes
0
answers
27
views
Referencing line and page numbers of .tex file in org-mode exported file
Scenario: I am reviewing a paper using auctex, paper.tex file and writing the corresponding review report using org-mode. The final report for the reviewers will be exported into a review_report.docx ...
1
vote
1
answer
99
views
koma-article is defined in org-latex-classes but not ava
I tried the suggestion at: Using KOMA-Script article with org-mode
When I try to export from an org file to LaTeX document class koma-article I get the message unknown LaTeX class 'scrartcl'.
Here is ...
1
vote
0
answers
215
views
What are some top secret hacks for people who are familiar with LaTeX? [closed]
I have used LaTeX for 10 years. I read an introduction to LaTeX on the internet and started writing in LaTeX. With the time I got familiar with Tikz and other packages.
Today I learned about: org mode ...
0
votes
0
answers
404
views
How to indent minted code blocks?
I'm using org-mode to generate the pdf and set the code backend to minted. The org source is shown as below:
Some text.
#+begin_src c
#include <stdio.h>
int main() {
printf("Hello, ...
0
votes
2
answers
308
views
Org-mode export bold text to beamer
When exporting an org file to beamer, the *bold* text syntax is translated as \alert{bold}, which gives text in red color. How do I get actual bold text instead?
1
vote
1
answer
121
views
Should I keep trying to write a portfolio in org mode?
I'm applying to an art school with a process portfolio (picture oriented thesis)
As already asked here I need to create sections with an intro picture and explain the artistic process with 30-50 words ...
0
votes
0
answers
485
views
#+ATTR_LATEX as result of macro expansion in org-mode latex export
I'm trying to set up a #+ATTR_LATEX statement, as a result of a macro, but it's no working. This is a MWE:
#+OPTIONS: toc:nil
#+LATEX_CLASS_OPTIONS: [11pt,a4paper]
#+LATEX_HEADER: \usepackage{float}
#+...
0
votes
0
answers
96
views
\schemata in org-mode
I can't export in org-mode to latex with \schemata.
It seems that it recognizes the header \schemata and the command \schema but when exporting to pdf it is not displayed.
Does anyone have any ideas?
#...
2
votes
1
answer
258
views
Org mode latex koma letter: How to get the command \setplength{toaddrhpos} working? [duplicate]
Problem
I use org-mode to generate a latex file, which then generates a pdf file. The document class I use is scrlttr2. The pdf generates OK, here is the org file:
#+LATEX_CLASS: scrlttr2
#+...
1
vote
0
answers
233
views
Org mode - text problem in SVG images
I have a problem when exporting latex tikz code as svg image in org mode.
#+LATEX_HEADER: \usepackage{svg}
#+LATEX_HEADER: \usepackage{tikz}
#+HEADER: :exports results
#+HEADER: :imagemagick yes
#+...
0
votes
1
answer
202
views
Anyone familiar with using Latex within Emacs (Org-mode) - Why indent para works, but not abnormal parskip (memoir class)
Firstly I will come clean and admit that the only real interaction I have with Latex is from within the Org-mode environment of Emacs.
I am trying to learn latex, however I am finding this confusing ...
0
votes
0
answers
115
views
How to design latex by eye and mouse only?
How can I drag and drop a latex document using my eye and mouse only?
In other words, I don't know yet what document design I'm looking for.
I'm an avid emacs and keyboard first user, however the ...
0
votes
2
answers
1k
views
Previewing LaTeX fragments in org-mode not working
I've been trying to find a fix for this for a few days now and it's driving me crazy, so any help would be amazing. I'm trying to set my emacs up for making maths notes using org-mode. However, I've ...
4
votes
1
answer
349
views
org-latex-export-to-pdf preamble appearing in main body
There appears to be a problem with how org-mode (or my configuration, maybe?) is handling latex documents. Here is the sample file that I'm trying to export:
\documentclass[12pt, letterpaper, twoside]{...
0
votes
0
answers
180
views
Strange rendering of latex fragments in org-mode buffer
This is a strange rendering problem I haven't seen before. In an org buffer with many latex fragments, when rendered, each image rendered has at the top in faint black letters: TLT TLT, and then under ...
0
votes
0
answers
132
views
What is the \begin{LaTeX} environment for?
I'm very sorry if this is something obvious, but I haven't been able to find anything on this.
I'm generating LaTeX files using Org-mode in Emacs. The generated source file has
\begin{LaTeX}
...
\...
1
vote
1
answer
295
views
Beamer xelatex images not show
% Created 2019-11-13 Wed 10:48
% Intended LaTeX compiler: xelatex
\documentclass[presentation]{beamer}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{grffile}
\...
1
vote
2
answers
395
views
Suppressing the final section of an org-mode beamer presentation
My org-mode beamer organization is something like:
* Introduction
* Presentation
** Section 1
** Section 2
* Thanks
- email
- contact, etc..
I'd like to suppress the thanks page on my TOC. How ...
1
vote
0
answers
278
views
\DeclareLabelname with Biblatex in Emacs Org-mode [closed]
I have a custom biblatex entry type called "film". This has several custom fields, notably the "director" field.
While I am able to get this to work as a straight LaTeX document, I am unable to get ...
3
votes
1
answer
813
views
`\documentclass{scrartcl}` not working in org-mode and emacs
I am trying to use org-mode for generating my documents in pdf format using MiKTeX in Windows environment. When use the class \documentclass{scrartcl} in TexMaker, it is working properly. But in org-...
0
votes
0
answers
74
views
Unable to show the subtitle in pdflatex
I have a code block as follows:
#+LATEX_CLASS: article
#+TITLE: Lecture 1: Introduction
#+SUBTITLE: Course Name
#+AUTHOR: My Name
#+EMAIL: [email protected]
#+LaTeX_HEADER: \usepackage{charter}
#+...
4
votes
2
answers
1k
views
autobreak/allowframebreaks/allowpagebreaks problem in long Org+Beamer file when exporting to long slides
(1) I’d like to use an long Emacs + Org-mode + Beamer file (.org) to export a long slide. The .org file is about 100 pages, the slide will goto about 500 pages. So I would like to make the export ...
0
votes
1
answer
120
views
Exporting indefinitely deep org trees
I would like to export to LaTeX from EMACS's Org mode but with
indefinitely many levels. Is this possible?
By default there are only 5 levels
'("article" "\\documentclass[11pt]{article}"
("\\...
0
votes
1
answer
370
views
How to set koma pseudolength in emacs org mode?
Using emacs org-mode and the koma letter script, how can I set the vertical address position?
The 1manual at p.484 displays a nice 2overview of position possibilities.
However, neither of these lines ...
2
votes
1
answer
926
views
How to align the signature and its picture to the left with koma script?
Using emacs org-mode and the koma letter script, how can I align the signature part to the left?
Setting raggedsignature as suggested in other posts, makes no difference
#+LATEX_CLASS: default-koma-...
1
vote
2
answers
498
views
In org-mode why does org-latex-create-formula-image-program gives extra information?
In my .emacs I have (setq org-latex-create-formula-image-program 'imagemagick)
It's working so I get a preview of the formula with c-c c-x c-l but I also get an unwanted information linktoc = all, ...
0
votes
1
answer
547
views
Vertically align LaTeX preview in org mode
I would like to vertically align org mode latex previews at the same level than the surrounding text, that is I want the bottom of the surrounding text to be at the same level than the bottom of the ...
2
votes
1
answer
1k
views
Equivalent of \today in org mode
Is there any equivalent of \today in org mode which auto updates whenever the document is exported and can be inserted anywhere in text?
0
votes
1
answer
436
views
make org-beamer-export-* to insert /framebreak before each top-level block
I'm looking for an easy way to automatically insert \framebreak before each block - that is, for each sub-section of the org-file. e.g.
* Section 1
** Sub-Section 1.1
- a
- b
** Sub-Section 1.2
- c
- ...
3
votes
1
answer
782
views
Export into pdf a moderncv org-mode file (MacTex)
I try to export a org file into pdf file with moderncv as document class.
I am on OSX, installed last version of MacTeX (2017 distribution, the full one) and I have currently no problem to export a ...
5
votes
1
answer
4k
views
Using KOMA-Script article with org-mode
I want to export a document from org-mode to latex with the KOMA-Script article class scrartcl. I thought it was as easy as to switch from article to book. So I put in my org file the following ...
16
votes
1
answer
9k
views
Org-mode, LaTeX, PDF & centering side by side images
I need to solve a recent problem placing images side by side in the center of a PDF that is generated by org-mode via LaTeX.
I recently opened some .org-files from a year ago and tried to generate ...
2
votes
1
answer
172
views
Changing the outline commands
I am using org-mode to manage both HTML and PDF versions of my notes. When it exports to LaTeX, it uses \section, \subsection etc. But the document class I use have \chapter, \section, \subsection as ...
1
vote
1
answer
459
views
What's causing an extra heading numbering?
See the TOC in PDF
For the four stars sub-heading, LaTeX inserts an extra decimal numbering. It should be 0.1.1.1 instead of 0.1.1.0.1. An extra zero. It persists in subsequent sub-headings. What's ...
1
vote
0
answers
487
views
Cut off graphs using dot2texi with TikZ
I am creating concept maps using dot2texi and TiKz. However, with more complex maps the current style sometimes causes the map to be cut off. This despite the fact that in theory there is actually ...
6
votes
3
answers
5k
views
Emacs+Xetex org-latex-export-to-pdf to create pdfs out of txt files saved as org
Please advise if there is a simpler way to do this but I'm hoping to use Emacs + Xetex for turning a text file into a pdf. So far I am saving the text file as .org and I currently have
#+LATEX_CLASS: ...
5
votes
3
answers
3k
views
Creating Concept map akin to markdown
After watching some videos on concept maps such as concept mapping for time management and long term memory, I decided that this might be a useful way to learn. When looking for apps (e.g. CmapTools) ...
3
votes
0
answers
265
views
How can I distinguish between error in code and bug in package? [closed]
I keep getting an error upon compilation, but cannot find an error, even with a tiny reproducible example (below). I am exporting from Emacs org-mode to LaTeX and then PDF, I am receiving the well ...
5
votes
3
answers
6k
views
Exporting .org files to LaTeX - Error
I'm new to EMACS (on Ubuntu) and I have started using the org mode to begin with. I tried to convert my .org files into LaTeX only to see an error saying pdf was not produced
Upon checking the error ...
1
vote
1
answer
1k
views
Org Mode Latex fragment preview fails to convert tex to png [closed]
I have a windows 10 machine, and MikTex. Whenever I try to toggle the preview of the I get an error in messages buffer below:
org-create-formula-image-with-dvipng: Failed to create png file from
c:/...