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
0
votes
0answers
12 views

Make org-html export not escape special characters

I'm writing an exporter for Remarkup: https://github.com/renatgalimov/org-phabricator. It's similar to Markdown and based on org-md which itself is a modification of ox-html. Whenever I export, some ...
2
votes
1answer
21 views

In org-mode refresh the numbers in a numbered list

I am in Org Mode and I have a numbered list. 1. Hello 2. World 3. How 4. Ya 5. Doing? I remove the first entry to get the following. 2. World 3. How 4. Ya 5. Doing? Is there a shortcut to refresh ...
0
votes
2answers
17 views

Is there a way to delete the content under selected headers, but not the headers (and subheaders) themselves?

Is there a way to delete the content under selected headers, but not the headers (and subheaders) themselves? I.e., ** TOC *** PART 1: VECTORS AND GRAPHICS [[https://livebook.manning.com/book/math-...
0
votes
0answers
23 views

(Org) TikZ for exporting both LaTeX and HTML/MathJax

I'm exporting an Org Mode project both to LaTeX and to HTML (with MatJax). Now I need to add a TikZ picture which can be exported nativelly on LaTeX and must be rendered in svg for HTML. Writing the ...
1
vote
2answers
38 views

Is there any way to check if I'm under a heading using org-mode API?

To be more specific, suppose I have an org-mode file with the following contents: Foo * Heading1 Bar #+begin_src elisp (message "code") #+end_src If my current position is at Foo, then I'...
0
votes
1answer
26 views

How to activate functions on .org files from within agenda view?

From agenda view, is it possible to execute functions on specific .org files? Example setup: foo.org and bar.org are source files for agenda Example working function from : Sort entire hierarchy in an ...
0
votes
0answers
47 views

Direct inclusion of resulting link files during export in Org mode

I'm preparing static html site with interactive Javascript components visualizing my research data in Org mode. Javascript components are returned by the Org Babel Python script in form of HTML string ...
0
votes
1answer
26 views

Org Mode: Sort specific tree and refresh agenda

Trying to create a single key that sorts a specific tree by date and then refreshes the agenda view. (I have other dependent functions such that I want to sort the actual tree and not just the agenda ...
0
votes
0answers
10 views

org-babel: How do I make tex source blocks show images of the pages produced as their output?

I am thinking of sth like https://xenodium.com/previewing-swiftui-layouts-in-emacs-revisited/ , but for tex source blocks:
0
votes
1answer
24 views

Prefix-less superscript in org mode

I want to write «nPr» in org mode Now org mode doesn't treat "^" as a superscripting operator if its preceded by a space char. The best I could come up with was \nbsp{}^nP_r where there is ...
0
votes
0answers
17 views

Orgmode: org-agenda-filter-by-tag working with sub tag

I am looking for a way that when I click on a tag, lets say "G@2018_My_Goal", all tags containing this tag are also found, e.g. headlines with the tag "G@2018_My_Goal_Sub_Goal" ...
0
votes
1answer
25 views

Org mode: How to get results from a code block with :session header?

First question: How does one catch the results out of the second code block below? #+begin_src python :session :results silent band = "ABBA" #+end_src #+begin_src python :session return ...
1
vote
1answer
28 views

How to set title for org-alert for notification?

I use org-alert to send notifications about my agenda to libnotify, so I can see the notifications via Dunst. All works well but everytime the notification pops up, its title is pretty generic. I ...
1
vote
0answers
24 views

org-mode has no syntax highlighting unless I start with evil

When I start emacs with evil-mode in my rc ((evil-mode 1)) I get syntax highlighting for .org files. However, when I do not, I do not get any syntax highlighting, even when trying M-x font-lock-mode a ...
0
votes
0answers
42 views

How to autocomplete org-tags in #+FILETAGS using company?

Is there a way to show all org tags that are generally shown by org-set-tags-command while typing in #FILETAGS: using company? I was thinking of something similar to this but for org-tags. For example ...
1
vote
0answers
32 views

Can't highlighting only one word exact on the one sentence

Given: Linux Mint 20.2, Emacs 27.2 Q: E.g. "Hello, how are you?" Suppose whole sentence has foreground color = white. And I want to change color (e.g to red) of only word "Hello". ...
1
vote
0answers
18 views

How to output orgmode julia DataFrame as orgtbl?

In the following link, we see that we can use a table package in Python to return in orgtbl format. #+begin_src python :results value raw :output :return tabulate(df, headers=df.columns, tablefmt='...
1
vote
0answers
45 views

Really slow editing long org-mode blocks

When editing inside a long org-mode block (#+BEGIN_.... - #+END_....) Emacs is really slow (it can take several seconds to write a single character), while editing the rest of the buffer takes normal ...
0
votes
0answers
14 views

How to configure ivy to create parent node when refiling if parent doesn't exist?

I set up ivy and it's working for finding files and refiling headlines. It just doesn't work when I try to refile and simultaneously create a new node. For example, if I wanted to refile a task, ...
0
votes
1answer
44 views

Key chord for org refresh buffer?

Due to my Ubuntu 21.04 Wayland being flaky (I suspect), I can't always get the org menu to drop down properly, and I like to do a "Refresh setup current buffer" often. How could I do this ...
0
votes
1answer
76 views

Emacs Org mode export to PDF headines become bold

Good day! New emacs user here. I am writing a contract in org mode and exporting it to PDF (assume that currently no latex plugins or settings are applied(in my org file heading) to the document as ...
0
votes
0answers
61 views

Convert diary entries to org-mode

Is it possible to convert an emacs diary file to an org-mode file? I know that I can use (setq org-agenda-include-diary t) to see the diary in org-agenda but I want to have the events in an org file, ...
0
votes
0answers
23 views

How to capture the column sort in Org-mode inside a formula?

Let's say, I have a following table: |-------+---------| | NAME | VALUE | |---------+-------| | DAVID | 3.83 | | JULIA | 0.89 | | ALICE | 0.59 | |-------+---------| | SUM | ...
0
votes
0answers
37 views

org-open-at-point on file without suffix does not open file

I have a link in an org document, [[file:/home/thor/org/journal/20210824]]. This file exists, and the path is correct. I have tested this with other files as well. If the file does not have a suffix, ...
0
votes
0answers
29 views

Symbol's definition is void: org-back-to-heading-or-point-min

Package org-id and org-attach uses a function org-back-to-heading-or-point-min, but in org's source code, I cannot found this function. What is its definition?
1
vote
1answer
19 views

Ignore timestamps in org-agenda my manually adding a tag to the timestamp?

Is there a way to ignore specific timestamps in org-agenda view? In my specific case, say I have two files file1.org and file2.org which both are org agenda files, but contain the same timestamp. Lets ...
0
votes
0answers
30 views

nest org-mode tables

I have some data which is most naturally represented like so: | thing 1 | thing 2 | thing 3 | | TABLE 1 | TABLE 2 | TABLE 3 | where TABLE i is an org table. I've been over most of the documentation ...
0
votes
0answers
21 views

Org mode properties naming convention?

this page states that user defined properties should be capitalized, like so: https://orgmode.org/manual/Conventions.html * First-level Heading :PROPERTIES: :Artist: :END: However, I was unable ...
0
votes
0answers
31 views

org-agenda: filter timestamps with interval

I started using the "Getting-Things-Done"-methodology. In my weekly review I want to check if my system is consistent and for that every org-header that is taged with "reminder" ...
0
votes
0answers
48 views

How to correctly export to pdf org-roam files

I have three files A, B and C. A is a table of contents with links to B and C that have various information, the problem is I want to export a pdf with the content of A, B and C together but org-latex-...
0
votes
0answers
8 views

How to change the size of the popup window from org-edit-special?

When I type C-c ' on an org-babel source block, a horizontal split buffer appears where I can edit the source code. If I want to resize this pane, I can do it with window resizing commands or just ...
0
votes
0answers
25 views

How to align blocks of texts in org mode to be export to latex/pdf?

I am trying to create a template for a simple letter. This template would be saved as a snippet and then I will expand it with a keyword,which is easily done with yas-new-snippet. The problem now is ...
0
votes
0answers
28 views

How to find the first and last clock entry of a day in org-mode?

I use org-mode to record my working time for individual tasks (clock-in and clock-out). At the end of the month I generate clock-tables for each day listing the time I spent on each task. Besides the ...
1
vote
2answers
43 views

Using yaml src block in following python src block

I am trying to use multiple src blocks to explain a yaml config file usage in python. Below is my org file, #+name: config.yaml #+begin_src yaml name: john why: check # below is a dict example # see ...
2
votes
1answer
42 views

Setting :prologue in header args as elisp has "scope" problems when running (org-sbe), "wrong" `org-element-context`?

To cut down on some repetitive boilerplate, I'm attempting to make my header arguments more "dynamic", but I have run into what I believe is a "scope" issue, that I cannot yet get ...
1
vote
1answer
58 views

Org export theorem with caption and number in HTML

With #+CAPTION: my-caption [[file:image.png]] I get a caption (with a number) both in LaTeX and in HTML. The same with tables and src blocks (which become listings in LaTeX) But with a theorem, ...
0
votes
0answers
31 views

Ox-epub Window required for cover

When exporting in batch mode (for example in continuous integration) with ox-epub: emacs --batch main.org --eval="(package-initialize)" --eval="(require 'ox-epub)" --funcal org-...
1
vote
0answers
31 views

(orgmode) Rearrange headline with breadcrumbs in agenda todo list?

In Emacs org-mode, I have a set of TODOs in the following format: * H1 ** H2 *** H3 **** TODO [#A] File Taxes If I activate breadcrumbs in org-agenda-prefix-format (i.e., by doing (setf (alist-get '...
2
votes
1answer
86 views

How to create a horizontal table in org-mode

I have a physical journaling setup that I want to move to Emacs/org-mode for better integration with the rest of my note-taking. I have a set of questions that I rate myself on. On paper, I was using ...
0
votes
0answers
35 views

How to add ATTR_LATEX to all babel blocks efficiently?

I recently figured out how to make my babel codes to have a border background when export as pdf. I did it by adding the following before the BEGIN_SRC: #+ATTR_LATEX: :options frame=single This ...
0
votes
1answer
24 views

org-gcal: could not parse org.file when org-gcal-fetch

I checked, where the error comes from and it's: (while (re-search-forward org-heading-regexp nil t) where org-heading-regexp is: "^\\(\\*+\\)\\(?: +\\(.*?\\)\\)?[ ]*$" How does my org ...
0
votes
1answer
56 views

Org-mode do not inheriting Unnumbered property

Is there a way to set the UNNUMBERED property only to the current heading but not to the children headings? My desired headings are: 1 Part one 1.1 Chapter one Appendixes (unnumbered) ...
0
votes
0answers
48 views

How to use PlantUML Server with Org mode?

plantuml-mode supports execution using a PlantUML server, with (setq plantuml-default-exec-mode 'server). I can set the server location with (setq plantuml-server-url "https://myserver.plantuml....
2
votes
1answer
35 views

How to start a background process from Org?

The following code waits until process is finished, which is unexpected #+begin_src shell perl -wE 'sleep(3)' & disown #+end_src The work-around for that is to close STDIN and STDOUT explicitly #...
1
vote
1answer
43 views

Would it be possible apply different font/background color for `<code_sample>` in org mode?

In markdownmode, or while asking questions in stackoverflow, when we do, `<code>` or ```<code>``` The background become changes into gray. Would it be possible to apply same in orgmode, ...
2
votes
1answer
36 views

Unrestricted movement of lines Alt-Up/Down

I'm learning Orgmode and moving lines (headers, checkbox items) up and down. These movement are restrited to a tree part of the line (header section, checkbox list): * Here is a list - Item 1 - Item ...
0
votes
2answers
29 views

How to navigate to last headline in a tree?

In large org trees, it would be useful to jump from a heading to the last (direct) subheading to the last or first heading on the same level Are there functions in org-mode that accomplish this?
0
votes
1answer
28 views

Org mode how to apply 4 spaces for tab without initial indent inside source-code-block?

On this example, cursor is at beginning of if when I press tab 2 space indent is added beginning of if block, which is aligned. ** TODO help | ** TODO help #+begin_src python | #+...
1
vote
0answers
21 views

Org-mode spreadsheet use value then reset value

I would like to input a value in a table, which is added to another existing value in the table and afterwards is reset to 0. I have tried to do this with a column formula, but the problem is, that ...
0
votes
1answer
21 views

locally stored package not found

I am trying to use the setup of org-cite and org-ref-cite described on jkitchin’s org-ref-cite repository (https://github.com/jkitchin/org-ref-cite) but I keep getting the error Cannot open load file:...

1
2 3 4 5
94