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-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.

2
votes
1answer
47 views

Change keyword of Org item without triggering repeat

I have a BLOCKED keyword that I want to be able to temporarily set on repeating tasks in Org mode. However, if I set this up with (org-todo "BLOCKED"), this triggers a repeat. I don't want to trigger ...
0
votes
1answer
31 views

How to get bash source code blocks to execute .profile / .bashrc

I don't understand how the source code blocks work exactly. There are some variables, definitions and aliases in my .bashrc that I think I should be able to use in the source code blocks. However, ...
0
votes
1answer
19 views

hide-lines disables link folding in org mode

behaviour: on evaluating M-x hide-lines-not-matching searchPattern the file hides lines that don't match the searchPattern, but also org links folding disables, turning text from pretty link into ...
1
vote
1answer
62 views

Confused by property :ID: versus :CUSTOM_ID:

I use org-id to automatically create ID. For instance in an org mode file: File_A.org * File_A section I type C-c l that create an id * File_A section :PROPERTIES: :ID: 21588817-03d2-...
1
vote
0answers
40 views

Is org-capture broken?

I use emacs-26.1 org-version 9.1.14. My templates (list) is showing up but when I choose a template I get: org-capture: Capture abort: (void-function org-eldoc-load) I can't find org-eldoc.el in my ...
1
vote
0answers
40 views

Listing the TODOs from the current file

I was wondering whether there is a command that allows to list the TODOs (in a similar way than C-c+a+t) but for the current buffer... a buffer which might not even be within the list of agenda files.
0
votes
0answers
14 views

How to compute active timestamp from inactive in org-table?

I have a table with timestamps of some events and maximum allowed duration. I would like to have the deadline computed and displayed in agenda (ideally as deadline, but simple active timestamp is ...
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
70 views

org-babel-execute-src-block: No org-babel-execute function for R!

In org-mode, attempting to execute the following block... #+BEGIN_SRC R 1+2 #+END_SRC ...gives the error message org-babel-execute-src-block: No org-babel-execute function for R!. I have followed ...
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
50 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 ...
-1
votes
1answer
33 views

Including tex file in an org file

I have a tex file containing lots of standard settings such as packages to be included and various other options. How do I tell Org mode to use only the settings from that TeX file? i.e. for all ...
0
votes
0answers
27 views

Get the syntax coloring of another mode for newly defined mode

I am defining a new mode in emacs, but I want to have the same syntax highlighting as Org mode. How can I do this?
1
vote
0answers
34 views

Make text Invisible with font-lock-keywords

I'm interested in changing my org-mode buffers to have a better looking logbook. My ideal state to end up in is that text that looks like this: - State "WAITING" from "WAITING" [2018-11-16 Fri ...
0
votes
0answers
20 views

Problem finding files in deft

Note: I am using Windows 10. I have installed deft on my Emacs. I have two text files in my directory ~/docs/.deft but when I open Emacs and enter M-x deft it says, "No files found." However, if ...
0
votes
1answer
19 views

Maxima won't start, but works in org-mode

This is very odd, but I've got latest greatest everything -- 26.1; org-mode 9.1.14 9.1.14-9-g131531-elpaplus; maxima-5.42.1 (installed from source) -- and have this in my .emacs: (add-to-list 'load-...
0
votes
1answer
19 views

How to apply org-ctrl-c-ctrl-c-hook from command line?

This problem is so convoluted that maybe I should call it a puzzle... On the Unix shell command line, I can convert TSV (tab-separated-values) input to org-mode table format with this perl one-liner: ...
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 ...
0
votes
3answers
58 views

Quick Startup in Org-Mode?

There are two ways I start a new org-mode file: 1) I open Emacs and then by Ctr-x Ctr-f I type in the address of the location of where I want my file to be in. 2) I right click the place I want my ...
1
vote
2answers
25 views

Turn on noweb references for all org buffers

I want to use the noweb style references in Emacs org for literate programming. Consider the following working code. #+NAME:Header #+BEGIN_SRC c++ #include <iostream> #+END_SRC Blah blah #+...
4
votes
1answer
96 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
1answer
33 views

How to give attribution to Creative Commons pictures in org-mode

I am making a presentation in org-mode and have some creative commons pictures that I need to give attribution for. I have tried using a footnote with the reference but as the picture is in the right ...
1
vote
1answer
7 views

org-mode error: Region to sort contains a level above the first entry

When calling org-sort-entries on an outline item I get the error "Region to sort contains a level above the first entry", with no indication of what or where the problem is. What does this error mean, ...
4
votes
1answer
93 views

org-mode: any way to automatically collapse “blocks” (e.g., BEGIN_QUOTE)?

When opening an item, any BEGIN_QUOTE ... END_QUOTE blocks are automatically expanded. Is there any way to keep them collapse, and only expand if I consciously TAB on that block? Ref: https://www....
1
vote
0answers
18 views

How do I end an org capture template with whitespace?

I want to make an org capture template that ends in whitespace. Specifically, I want to make TODOs that are scheduled. From emacs -Q, I'm starting with this template: (cl-pushnew '("T" "TODO ...
0
votes
1answer
20 views

Unexpected behavior of Meta-RET in org-mode

when using lists in org-mode, the Meta-RET binding does not behave as expected. What I expect is that the binding will create a new item at the same level as the previous item. What I get is a new ...
3
votes
2answers
54 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 ?
1
vote
1answer
17 views

org-open-at-point (follow link) works for .org file, but not .org_archive

I had a link to a headline in another org file that worked fine, but then I archived that subtree. I thought that updating the file to reflect the "_archive" part of the name would work, but C-c C-o ...
0
votes
1answer
38 views

orgmode capture template

I am a newbie at emacs lisp and was looking for some assistance. I am trying to use a capture template from a file. Here is relevant code: (setq base-capture-template (concat (file-name-as-...
3
votes
3answers
72 views

Automatically installing the available version of org

Based on this reply, my code has the following function that installs its dependencies: (defun literef-install-packages() "Install any missing packages. The code is taken from `https://...
0
votes
0answers
34 views

Problem creating my org init file

I have one problem making my org init file. Every time I try to run the entire block by typing C-c C-c it says No org-babel-execute function for emacs-lisp! Do you know how can I solve this?
1
vote
1answer
30 views

Org agenda filter by property value

How can I create an agenda view that filters items based on the property FOO? TODO Test :PROPERTIES: :FOO: <2018-11-09 Fri 12:43> :END: I would use org-agenda-skip-entry-if for this but the ...
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 ...
2
votes
0answers
32 views

Show deepest todo in sub-tree

Can I configure the org-todo-list to show only the most nested TODOs in a subtree? The reasoning is to always see what's the next step on a project, without cluttering with all the parent items For ...
1
vote
2answers
45 views

How to move just one value in a table to a different column

Is there a command for moving only the value 11 to the right column in the following column? | Name | | | |------+----+---| | a | 11 | | | b | 10 | | Something like org-table-move-...
1
vote
1answer
52 views

Retrieve SVG images generated by MathJax with org-mode export

I would like to export mathematical text to HTML with org-mode. The final output should be pure HTML with equation as images, preferrably svg. However, I would like to use MathJax instead of dvisvgm ...
2
votes
2answers
49 views

org-mode: wrapping sentence with '+' symbol to strike-through easily seems not working

I've known there's similar question How to strike-through or un-strike-through a region or line in org-mode? but no proper answer they've got yet. I just wonder how to make wrapped word or sentence ...
1
vote
1answer
112 views

Outlook Calendar in org agenda

I would like to integrate the calendar from my outlook into my orgmode agenda. I am looking for a solution with the following features Should be implemented in elisp only, so that I can run this on ...
0
votes
1answer
24 views

Activating Latex snippets in org mode

I have downloaded the yasnippet package which works very nicely for my Latex files. However, I often use Org mode to write my Latex documents. The latex snippets from yasnipet dont seem to be "...
1
vote
2answers
44 views

Separately sum positive/negative numbers?

By example: | | Amount | |---+--------| | | 3.50 | | | 1.00 | | | -6.00 | | | 5.00 | | | -2.50 | |---+--------| | | 9.50 | | ^ | wins | |---+--------| | | 8.50 | | ^ | ...
0
votes
1answer
44 views

PHP no highlighting in org-mode code structure

How I can turn on highilighting php code in org-mode structure block?
5
votes
0answers
39 views

How to schedule repeatable sequences of tasks

I've been trying to find the right approach of scheduling a repeatable sequence of tasks: first approach was to mark the parent as repeatable and children as normal tasks. * TODO This is 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 ...
0
votes
1answer
10 views

Don't insert CLOSED line when node becomes DONE in org-mode

I want exactly the opposite to this: No "CLOSED" line in org-mode? Namely, I want emacs to stop inserting those annoying CLOSED lines in DONE nodes. Preferably on a per-file basis. Is ...
1
vote
1answer
28 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
33 views

agenda weekend and holidays red font face in org mode

I'm trying to show weekend days in agenda org-mode in red font-face Followed this instructions to no avail https://julien.danjou.info/org-mode-and-holidays/ Testing the link above the mentioned ...
0
votes
0answers
18 views

Making one HTML web-page for each chapter of an Org document

I want to write some web-pages in the style of a book. Consider for instance the following org mode example * Introduction Some text * Chapter 1 ** Section 1 Some text ** Section 2 Some ...
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 :...