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

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.

0
votes
0answers
11 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
0answers
20 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
0answers
11 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
26 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
27 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
12 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
25 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
11 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
16 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
14 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
10 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
2answers
34 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
23 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 #+...
3
votes
1answer
36 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
27 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
29 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 ...
0
votes
1answer
4 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
72 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
15 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
16 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
47 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
12 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
27 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
59 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
31 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
23 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
14 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
28 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
33 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
41 views
+50

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
40 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
58 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 ...
-1
votes
0answers
23 views

Making Org mode use a custom latex preamble

When using Latex export on a Org file (say containing only the line Blah blah), a default preamble is often inserted in the resulting .tex file which looks like this. % Created 2018-11-06 Tue 14:05 ...
0
votes
1answer
13 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
41 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
33 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
30 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
8 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
17 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{...
-1
votes
0answers
16 views

Tangling my org file

Am I missing something because my org-file won't load?
0
votes
1answer
27 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
16 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
14 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 :...
1
vote
0answers
12 views

Keybindings in tables in orgmode not working

I have used emacs/orgmode for a couple of weeks now (so, I am still a newbie) and I have issue with tables : the keybindings M-S-<up> and M-S-<down> do not insert/delete row as expected in ...
1
vote
1answer
15 views

Make org-habit work with org-scheduled-past-days?

org-habit habits are TODO items SCHEDULED for some particular time/date. If that date happens to be outside of the range of org-scheduled-past-days, the habit is not displayed in the agenda view for ...
0
votes
1answer
24 views

Org mode: #+INCLUDE remote files?

I regularly use Org mode's #+INCLUDE command to include local files in my Org file. Now I'm wondering if there is a way to include remote files (i.e. files that I reference via a URL) into my main Org ...
0
votes
1answer
18 views

In org-mode, what variable controls the placement of the calendar view when called from a capture template?

I have a question related to this one: when I am in a capture template (for writing a TODO task, for example) and I want to open the calendar with C-c C-s (bound to org-schedule, so that I can set a ...
0
votes
1answer
24 views

Why do my org DEADLINEs appear with no warning?

I have org-deadline-warning-days set to 14. Here is a deadline in my agenda file: ** TODO Do thing DEADLINE: <2018-11-20 Wed> In the agenda view for that date (20th Nov), I see: next: ...
1
vote
1answer
15 views

How to use 'eww-view-source' in a function?

I need to kill and yank some portion of the source code of multiples websites for a database i'm making of news of certain web. But the problem is, whenever i call eww-view-source for viewing the ...