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
1answer
74 views

Weekly org-capture-template without days?

I'm hoping to replicate my manual weekly capture template using the more baked-in functionality. Given this org-capture-template: ("z" "Test" entry (file+olp+datetree "~/docs/...
0
votes
1answer
72 views

How can I prevent orgmode re-sorting all my headings when I enter a `.org` file? Org startup variables are ignored

While trying to solve this problem, Iv'e followed this, running cd ~/.emacs.d/elpa && find org*/*.elc -print0 | xargs -0 rm and recompiling elpa. But the undesired behaviour is still there ...
7
votes
1answer
203 views

Does org-mode support callouts like asciidoc?

I wonder if org-mode has a feature like asciidoc callouts, and if so what is the syntax? Below is a explanation on what the callouts are and how it all looks when rendered Thanks
0
votes
1answer
34 views

Make output of source code blocks be inserted regardless of the exit status of the evaluation

The context When evaluating the following code block, the output is not inserted in the #+RESULTS code block. This happens because of the return 1 statement. #+begin_src cpp :results output #include &...
1
vote
1answer
87 views

org-mode How to use latex nested environments?

I want to use a matrix environment that is included in an outer environment, so: Environment: \begin{equation*} \left| \begin{matrix} a_1 & b_1\\ a_2 & b_2 \end{matrix} \right| \end{equation*} ...
4
votes
1answer
68 views

Make python code blocks format their results as Org tables

The context In #+BEGIN_SRC code blocks whose language is cpp or sh, the tab character is used as a delimiter for cells when using the :results table header argument (see examples below) #+begin_src ...
3
votes
2answers
86 views

org-babel: Make results always quote the returned value in #+begin_example

Github's org parser has a bug where they mistakenly show #+begin_src bsh.dash :results verbatim :exports both echo | time possiblycat 1000 #+end_src #+RESULTS: : : possiblycat 1000 0.00s user 0.00s ...
0
votes
0answers
28 views

Automatically complete org-mode tasks in agenda based on headings in specific org file

So I'm trying to set up a specific workflow with emacs. Basically, I'll have NFC tags around the house on the various things I need to deal with for chores and etc. As I do these tasks, I'll tap the ...
0
votes
1answer
32 views

Link to footnote export as non-superscript

Links to a footnote automatically exports as superscript in LaTeX. Source: Lorem ipsum dolor sit amet, consectetur adipiscing elit. [fn:1685d75dd9ccdec5: This is a footnote.] In sed erat porta, ...
1
vote
2answers
80 views

How to add picture before a title in HTML exported by OrgMode

I am writing an article in org mode to be exported to HTML for being published on the web. By looking at the documentation, I have not been able to find a way to insert an image before the title of ...
1
vote
2answers
39 views

Convert region/subtree from Markdown to org

I often have Markdown text in my clipboard that I would like to insert into an org file. After pasting the text into my org-mode file, is there a quick way to convert it to org format? For example, ...
0
votes
1answer
68 views

Is there any way of getting overview statistics for all checkboxes in a given org subtree?

I have an org document with the following structure * Tasks ** First category - [X] Task ** Second Category - [ ] Task And I'd like to get statistics for both the overall completion and each ...
0
votes
1answer
85 views

How to open a folder with a local file manager?

I use Emacs 26.3 on Ubuntu 20.04 and I often need to manipulate org files with Ubuntu file manager. It would save me a lot of time if I could open directories from emacs file links. For example, I ...
1
vote
1answer
197 views

How can I preview LaTeX “#+BEGIN_EXPORT” blocks? Is it possible to accomplish this with “org-latex-preview”?

The context When editing Org mode files, I like editing code snippets in isolated buffers because that way I can use snippets and language dependent features in those buffers (something which is not ...
1
vote
1answer
115 views

Make “org-latex-preview” load package so that it properly renders “tcolorbox” environments

The context The following org buffer * Random name This is an equation \begin{equation} x = a + b \end{equation} This is a box \begin{tcolorbox} a \end{tcolorbox} is previewed as The ...
2
votes
2answers
39 views

Show compilation errors in “#+RESULTS” code blocks

The problem I'm currently writing notes on C++ classes. Sometimes I annotate what I shouldn't do (because they cause compilation errors) so it would be really helpful if I could automatically insert ...
0
votes
0answers
47 views

Multiple source code blocks with the same name

The context Lately, I've been using the =:noweb= feature which has been of great help. Consider this minimal working example * Using =std::cout= #+NAME: a #+begin_src cpp std::cout << "a&...
0
votes
1answer
33 views

How to see the next few occurences of a repeated task in emacs org mode?

I have recently started using the timestamp feature of the org-mode and I have few tasks that repeat. For example: * Match <2020-09-09 Wed 07:00 +2w> I am looking for a way to see the next ...
3
votes
1answer
163 views

How to generate cited references with biber and xelatex

I would like to generate cited references and bibliography using biber and xelatex through org mode, but have not figured out how to do so. I have to use xelatex because I am working with Chinese ...
1
vote
1answer
39 views

Make “org-edit-special” not insert spaces at the beginning of the line

The problem When editing code blocks, I usually opens a new buffer by pressing C-c ' (i.e. executing org-edit-special). The problem is that when I finish editing the buffer, two spaces are inserted to ...
0
votes
0answers
29 views

org-mode, list and regular header and another list?

I like a1 / a2 / a3 to be in the same indent level. Should I use something other than list for this purpose? * header - a1 *** bb (it's a description for a1) content - a2 - ...
1
vote
1answer
77 views

Orgmode - Vertical header

is it possible to create a vertical header with org mode, too? Something like this (cyan colored fields): You can create a horizontal header like this: | Header | Header | Header | Header | ...
0
votes
0answers
36 views

emacs orgmode files rendering and reminders

I'm receiving task/todo lists in this format (orgmode) . Emacs is useful for creating and editing this, but useless for end users who want to have well rendered lists/sublists (similar to MS Outlook ...
0
votes
0answers
9 views

How to keep org from defining lset before every lstlisting?

The following code block, #+NAME: fib-recur #+CAPTION: Recursive Python function to calculate $n^{th}$ Fibonacci number. #+BEGIN_src python :results output def fib(n): if n == 0: return 0 if n == ...
0
votes
0answers
17 views

org-mode is it possible to assign 10 hours of work (todo) for today?

When planning, it is easy for me to overschedule things. I'll do this and do this and do that.. But then end up with doing fewer things than I have planned. Is there a way for me assign each task ...
0
votes
1answer
63 views

How to enter/render d-hat in emacs and latex export

I want to be able to use d-hat (d with a caret (^) above it) in emacs to indicate an estimate of Cohen's 'd' (an effect size statistic). How can I enter this in org-mode in a way that it renders ...
0
votes
0answers
28 views

How to format reference to an internal link in a nested list?

I am using CSS to adjust the numbering of a nested list in HTML exported from Org. However, I've run into a problem when I use a link back to an item in the enumerated list. As an example, the org ...
1
vote
0answers
83 views

How to properly highlight a code block (in-buffer) when inside of another block/environment?

The issue is that my source code blocks, BEGIN_src ... END_src, are not properly highlighted when within another block, e. g., BEGIN_proof ... END_proof. Here is a picture of how that looks like: ...
1
vote
1answer
31 views

Can I format the arguments in a table and provide the rows to a shell block as arguments?

In org-mode, is possible to provide arguments formatted as a table to a shell block? E.g. argument |a|b| |c|d| shell script echo $a expected results a b c d Basically, I want org-mode to read the ...
1
vote
0answers
60 views

How to remap meta-arrow keys in org-mode

Say I want ctrl-shift-arrows to do what meta-arrows normally do in org-mode. How do I do this? I tried (define-key org-mode-map "C-S-<up>" 'org-meta-up)) (and so on for down, left, ...
1
vote
1answer
99 views

Org-mode overline emphasis not able to be followed by other characters

I use a lot of overline (in statistical formulae) and so I have the following in my .emacs: (custom-set-variables '(org-emphasis-alist (quote (("*" bold) ("/" ...
3
votes
1answer
103 views

org-mode table “width cookie” no longer working in 27.1?

The Linux distribution I use (Fedora 32) recently upgraded the included Emacs version from 26.3 to 27.1. With this new version, it appears that the "width cookie" for the org-mode tables ...
2
votes
1answer
41 views

Nested noweb in org src blocks

I have the following code blocks: Block 1 is just one line. This is a MWE. In reality, I have several lines in block 1. #+name: block1 #+begin_src python :noweb no :exports none print("Block 1&...
0
votes
0answers
20 views

Update DEADLINE: time and to do state on parent header after org-capture finishes

I have a couple of org-capture templates that insert tasks/notes under a header called re-organize, I'm looking to update the to do state and deadline of that re-organize header after org-capture ...
0
votes
0answers
40 views

Org Babel is returning the results of a cached file instead of the output of any org-babel blocks

NOTE: After restarting the python session and deleting all of the cache files about five separate times, everything started working as expected and I can't replicate the problem. I would still be ...
0
votes
1answer
50 views

Apply buffer-local function inside another function in temporary buffer

Elisp newbie here, I am trying to filter MS safelinks from an org-mode icalendar event, which gets saved by the gnus-icalendar:org-event-save function. I have created a function that filters the MS ...
1
vote
1answer
68 views

Efficient way to insert multiple file links (residing in the same directory) into a org file with helm

Suppose I edit an org-file, say /foo/bar/file.org and I want to insert links to multiple files living in another path, say /another/path/to/files/. A stupid way to do this would be to call helm-find-...
1
vote
1answer
56 views

youtube download link description-title

I'm pasting a lot of youtube links in my org-mode files. My procedure is - copy link from youtube and then manually copy the title of the video. I was thinking is this can be automated - just paste ...
1
vote
1answer
42 views

use org-mode babel execution to generate templates for org-mode execution

Background I want to use org-mode to create a WBS to then create JIRA issues. org-babel looks like the right option as I can use shell to invoke curl commands to invoke the JIRA API for create issues. ...
0
votes
0answers
26 views

org-fill-paragraph in the presence of LaTeX Formula

Consider the following piece of text Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore $$e^ix = cos(x) + i \dot sin(x)$$ Lorem ipsum dolor ...
0
votes
1answer
70 views

Harvard style citation in org-mode, output problems

Trying to cite papers in Harvard style by using org-ref (scimax). I found two posts about it in this forum : post#1 and post#2. The problem that I am facing is that the output of .org file contains 1 ...
2
votes
1answer
148 views

Variable font height according to Org header

This seems like it's probably not possible, but I'm extremely new to Emacs and thought I'd ask. I have a number of faces set in Org mode. ;; Highlight Line Colors (add-hook 'org-mode-hook (lambda () (...
0
votes
0answers
24 views

How to make sure that Markdown files are opened in Emacs (like normal files) and not in an external application?

I have openwith installed in my Emacs. I use it to open spreadsheets, PDF, and other files in their respective external applications. Recently I had an Org mode file with the following content: * [[...
0
votes
1answer
118 views

get alist of org mode deadlines and times

Hi I would like to use the built-in notifications library in emacs with org mode (requires compiling with d-bus). I am trying to get it setup so that I can open my daily agenda view upon startup and ...
1
vote
1answer
72 views

org-mode: specifying a hyperlink target as regex and jumping directly to match?

The documentation of a Fortran code, being done in org-mode, is intended to be done in such a way that changing the Fortran source code to be documented should be kept at a minimum. There is the ...
0
votes
0answers
16 views

In the “org-capture-templates”, is there a way to ask for certain items before, but place them later?

I created an "org-capture-templates" item used as a inbound call template, which contains several prompts. While they are all at the proper position inside the template, I would like to be ...
0
votes
1answer
48 views

How to put a html attribute in the header of an orgmode file so it applies to all images on export?

To export to html an orgmode file which has links to multiple images, each of which has to have a given width, you can put something like #+ATTR_HTML: :width 800 above each image. Is there a way to ...
0
votes
0answers
100 views

Org-journal file template vs new-entry

My goal is to have a file template (header + daily review), and then have further entries as is from the package (bulletpoint + timestamp). Meaning the first thing in the morning I would open the ...
0
votes
0answers
17 views

Error when activating org-mode unless speedbar loaded first

Whenever I open an org file before the speedbar package is loaded, org-mode produces the following error: Symbol’s function definition is void: speedbar-add-supported-extension The error above is ...
0
votes
1answer
171 views

`C-c C-e l o` does not open the pdf anymore

After upgrading to Emacs 27, I noticed that, for any org document, C-c C-e l o now behaves on my computer as C-c C-e l p: i.e., the pdf is correctly produced, but is not displayed anymore on side ...

1
6 7
8
9 10
88