Questions tagged [org-mode]

is an Emacs major mode for keeping notes, maintaining TODO lists, planning projects, and authoring documents with a fast and effective plain-text system. Because Org mode is a vast subject area, other tags must accompany the `org-mode` tag.

Filter by
Sorted by
Tagged with
1 vote
1 answer
91 views

Org mode export subtree to new org file - option missing?

in the manual I see the possibility to export a subtree to a new org file, here. This possibility is also referenced in this StackExchange answer. However, when I hit C-x C-e in my system, the O ...
user avatar
0 votes
0 answers
32 views

How to dynamically display the latex pdf page size in org mode before export?

I'm restrained to submit a pdf containing maximal 1 page. Is there a e.g. mode which dynamically displays the exported pdf's page count?
user avatar
  • 607
0 votes
0 answers
32 views

agenda files are opened in buffers on startup and have formatting errors

I am not quite sure if this is default behavior, but it seems that when I set org-agenda-files, all these files are opened in buffers on Emacs startup. This would be okay-ish if that's necessary for ...
user avatar
0 votes
1 answer
24 views

how to rename headline text from anywhere under the current header

As I type content under the current header, I often realize that I would like to rename the header --- give it a title more fitting to what I have written. One option is to get up to the header (...
user avatar
  • 154
0 votes
0 answers
23 views

preserve org-id locations while renaming a file

I recently learned that I can also have id link for file(not subtree in file). For subtree with and ID, commands like org-cut-special, org-paste-special and org-refile all help update the id locations....
user avatar
  • 878
0 votes
1 answer
72 views

How to set Org mode export ODT defaults for US standards

I am using Xubuntu Linux and I like to use Emacs Org mode for all my writing, and then export to Libreoffice. At first the default style.xml file set the page style to A4 and used centimeters instead ...
user avatar
0 votes
1 answer
19 views

Generating a sorted list of org-mode TODOs in multiple buffers

I have hundreds of TODOs scattered across dozens of org buffers. Each of these TODOs has an associated priority. I would like to generate a master list of all these TODOs, sorted by priority. Is this ...
user avatar
  • 165
3 votes
2 answers
118 views

Org mode table misaligment

Running Emacs 27.2 on Windows 10. My Org mode table is misaligned when I use (add-hook 'org-mode-hook 'variable-pitch-mode) (see the code below). Yes, my fonts are applied but the table is misaligned. ...
user avatar
1 vote
0 answers
30 views

Why does Org mode LaTeX export ignore optional short caption?

I'm exporting an org mode file to pdf via LaTeX. The file contains images with captions #+CAPTION[Short caption]: Full caption that is way too long to fit into the list of figures #+NAME: fig:foo file:...
user avatar
1 vote
2 answers
38 views

LaTeX fragments look different to exported PDF (witharrows)

I have problems getting correct latex fragments rendered. For some reason, they look different than the exported PDF, which looks fine. What is not working is the package witharrows, to place vertical ...
user avatar
0 votes
0 answers
54 views

org-noter vs org-remark: which is best for note taking?

I'm having a hard time choosing a note taker tool for orgmode. Would be great to have an experienced opinion of somebody who has been using both to stress their pros and cons. Thank you!
user avatar
1 vote
1 answer
47 views

Configure new commands in orgmode

I want to have custom commands for my documents in Org (which I export to Latex) for this I use \newcommand. I use a template that I load with #+setupfile, but if I define the new commands in that ...
user avatar
  • 21
0 votes
1 answer
37 views

Org-Reveal: Fragmented list with source blocks

I'm preparing a talk in org-reveal. I'm using a construct like this on several slides: - Bulletpoint A #+begin_src Example code for A #+end_src - Bulletpoint B #+begin_src Example code for B #+end_src ...
user avatar
0 votes
0 answers
20 views

org-mode babel code color highlight doesn't work in a large file

I am enjoying the org-mode babel code color highlight. I write HTML, Perl, css and js in a single file and the coloring works fine with each languages' mode. This is the org file with some codes. #...
user avatar
0 votes
0 answers
63 views

How to make \printbibliography print in place in org files (where the command is)?

When using the \printbibliography command to print the bibliography list in an org-mode file, the bibliography does not show up where the command is. Instead, it always show up in the end in the ...
user avatar
  • 910
0 votes
0 answers
23 views

How to modify the width of an image in a column in a Beamer export in Org-mode?

I would like to modify the width of an image in a column in Org-mode when exporting to Beamer but when I try to modify the #+ATTR_LaTeX: width=1.5\textwidth statement, it has not effect on the width ...
user avatar
  • 3
0 votes
3 answers
113 views

DIsplay pandas dataframe (from source block output) inside an org-mode buffer

I'm trying to setup org-mode as a substitute for jupyter notebook using emacs-jupyter. My problem right now is how to display pandas dataframes. When the dataframe contains cells with a lot of text ...
user avatar
  • 27
0 votes
0 answers
49 views

How to highlight my citations in org mode export to latex

I am working in a latex document using terminal emacs 26.3 and org-mode (emacs-nox). But i am facing a tiny problem. Look when i press C-c C-x [ the mini-buffer prompts 1/1 Regex {&& Regex...}:...
user avatar
0 votes
0 answers
26 views

Unified tag-based modification of org-clock-report

I have a single org-clocktable that displays entries from a variety of different contexts. I would like the indentation style of the report to be based on a combination of the sub-tree hierarchy and ...
user avatar
  • 5
1 vote
1 answer
63 views

execute all org-mode code blocks in a region?

Is there a way to highlight a region of a org file and execute all code blocks in the region? What I was looking for is basically to execute all code blocks up to a certain point, where I am writing ...
user avatar
  • 910
0 votes
1 answer
86 views

How to record statistics for habits with org-habit

I've started using org-habit this week. I can set my habits and see the nice colored consistency graph to track visually my habits. However, I would like to have a numeric record of this. For example, ...
user avatar
0 votes
1 answer
51 views

Make minimal working example for org-ref (Version 3)?

My .emacs includes these lines: (package-initialize) (require 'org-ref) I have a file called orgcite.bib which includes: @article{OrgCitations, author={org, mode and Syntax, Citation and ...
user avatar
  • 1,004
0 votes
0 answers
36 views

CDLatex math-modify, parenthesis completion for orgmode outside of explicit environment

I would like to use CDLatex not just in specific Latex environments but anywhere. For example to quickly add emphasis or curly brackets for lesser used commands. Currently when typing a'e nothing ...
user avatar
  • 26
0 votes
1 answer
28 views

HTML publish latex block images

I am trying to export a latex tikzpicture, like the following to html: #+begin_src latex :exports results :results raw file :file ex.png :output-dir ../img/ \begin{tikzpicture} \draw node[circle,...
user avatar
  • 3
0 votes
0 answers
49 views

LaTeX equations in org-mode file missing when it's converted to word docx using pandoc?

I am trying to export org-mode files to docx using pandoc. One issue is that some equations involving external LaTeX packages do not show up in the exported word document. For example, the following ...
user avatar
  • 910
0 votes
1 answer
168 views

Why does org-mode not indent content under headings when I press tab?

In a buffer like this: * Heading ** Sub-heading content| pressing <tab> should result in this: * Heading ** Sub-heading content| Instead, nothing happens.
user avatar
  • 130
0 votes
0 answers
20 views

Can an agenda deadline warning be temporarily dismissed w/o editing org-deadline-warning-days?

I have many repeating tasks with deadline warnings. Sometimes I just want to see the reminder and dismiss it until the next day, i.e. remove it from that day's agenda. Currently, I manually subtract 1 ...
user avatar
0 votes
1 answer
110 views

How to avoid this question: "Non-existent agenda file. [R]emove from list or [A]bort?"

When I create an .org file (C-x C-f, find-file), the following appears in the mini-buffer: "Non-existent agenda file. [R]emove from list or [A]bort?". The question is not asked when creating ...
user avatar
  • 154
0 votes
0 answers
15 views

How do I make org-indent-mode put me at the right indent when I make a new line?

This is the current situation: * Heading ** Sub-heading *** Sub-headings content1<return> | I entered that text and now want to add a second line to the content by pressing return. My ...
user avatar
  • 130
0 votes
1 answer
134 views

Org-roam raises "Selecting deleted buffer" error after formatting laptop

I recently formatted my laptop's hard drive and reinstalled my OS (Manjaro in dual boot with Windows 11). I restored my entire emacs configuration on Manjaro and everything seems to work properly, ...
user avatar
0 votes
0 answers
18 views

Can org-provide-todo-statistics be set locally for a specific tree?

Sometimes I would like a tree's statistics cookie, for example "[1/3]", to be calculated differently than what is specified in the global value for org-provide-todo-statistics. For example, ...
user avatar
0 votes
1 answer
62 views

How to export a table containing multi-lined cells from an org-table?

Consider the following table: |-------------+------------------------| | Definiendum | Definiens | |-------------+------------------------| | first term | - bullet point one | | ...
user avatar
0 votes
1 answer
145 views

How to fold Org-mode files in VS-Code based on chapters, which do not have a closing tag?

Using Visual Studio Code with the Explicit Folding extension, I am trying to configure it so that the text is folded according to chapters, subchapters, ... in Org-mode files. The Org-mode syntax for ...
user avatar
  • 101
0 votes
0 answers
80 views

Emacs hangs on org-babel-execute-src-block for Haskell blocks

I have a minimal org file with a Haskell code block: #+begin_src haskell putStrLn "Hello World" #+end_src When I do M-x org-babel-execute-src-block, Emacs hangs with minibuffer saying: ...
user avatar
1 vote
1 answer
43 views

Specify arbitrary attributes for code blocks and keep them when converting with pandoc

Markdown and its different flavours have a number of interesting extensions, notably the [hl_lines attribute][0], which allows to highlight specific lines in a fenced code block, as illustrated here ...
user avatar
  • 11
0 votes
0 answers
27 views

Making org to beamer example work [duplicate]

Tried running the example in here: #+TITLE: Example Presentation #+AUTHOR: Carsten Dominik #+OPTIONS: H:2 toc:t num:t #+LATEX_CLASS: beamer #+LATEX_CLASS_OPTIONS: [presentation] #+BEAMER_THEME: Madrid ...
user avatar
  • 101
0 votes
1 answer
55 views

How can I create a link to an outline attachment in Org mode?

I am trying to create links within the body of an outline to files that are attached to that outline using the guidance in the documentation ***** Test outline ...
user avatar
0 votes
1 answer
21 views

Is there a command to start logging time on closest parent with previous logs?

Under a "topic" org entry I sometimes make daily sub-entries while working on the topic. Is there a command to start logging time on the top level topic instead of the daily entry?
user avatar
1 vote
1 answer
68 views

In org-tags-view, how can I only see headlines with non-inherited tags?

I want to search my diary folder for all items with the tag :meeting: Here's an example of one such file: 2021-01-01.org * meeting with boss :meeting: ** regarding project we're running late ** ...
user avatar
  • 157
0 votes
0 answers
71 views

View org-mode tags (with group tag) as a tree structure

I use Emacs org-mode tags with the "group tag" Tags Hierarchy and groups with #+TAGS: syntax for a specific file, without overriding org-tag-alist/org-tag-persistent-alist. List of tags can ...
user avatar
  • 1
0 votes
0 answers
40 views

Company mode support for org latex

Is there company mode support for inline latex in org mode?
user avatar
0 votes
1 answer
49 views

Date selection for org-add-note

I want to add notes to a heading but instead of using org-add-note, it should be possible to choose any date I want to have as time stamp. I use notes partly as Diary so I want to be able to create ...
user avatar
  • 73
4 votes
1 answer
39 views

Variable for line-wide colouring in emacs org-mode source blocks

What org-mode variable determines whether or not the org-mode block-background applies line wide like so: instead of like so: I am using the gruvbox-dark theme. I will attach the defface as soon as ...
user avatar
2 votes
1 answer
36 views

Resolving idle time after forced closing (crash)

In this manual page I read that idle time can be resolved both when one got distracted from the task at hand, and when the session unexpectedly crashed. The latter is what happened to me (no hamsters ...
user avatar
4 votes
2 answers
2k views

How to deal with this message : IMPORTANT: please install Org from GNU ELPA as Org ELPA will close before Org 9.6

This message occur when I open an org file. I've put this in my init file : (require 'package) (add-to-list 'package-archives '("melpa" . "https://melpa.org/...
user avatar
  • 1,690
1 vote
1 answer
44 views

Add human readable modification time to org file

Currently I add the creation time to my org files with +date: %U in the template string. Works fine and is human readable. I also would like to have that for the modification time, too. I know org-...
user avatar
  • 509
1 vote
0 answers
37 views

import source code file into org-mode file?

I'd like to import a source code file (for a language such as e.g. python) into an org-mode file so that the comments in the source file become org-mode text (markdown) and the codes between comments ...
user avatar
  • 910
1 vote
1 answer
46 views

How do I correctly use org-entry-put with "DEADLINE" in a capture

I want to set the deadline of every org-capture per some considerations and I want to do this after the capture rather than in the capture template. Given the following example code: (defun post-...
user avatar
  • 145
0 votes
0 answers
30 views

How to indent Org Babel list output with multiline text correctly?

I'm using Babel to generate some text in an Org file. I'm using :results value list header switch described here to format the output in Org's list structure. It doesn't quite format multiline text ...
user avatar
  • 101
1 vote
0 answers
23 views

Exporting properties with links doesn't work

I have a small problem when I export links that are included in properties. The goal of my approach is simple: use the properties of Org mode, then export them to html. The export of these properties ...
user avatar

1
3 4
5
6 7
100