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.
523
questions
1
vote
2answers
330 views
Control depth level of table of contents with org-mode and beamer
I have the following in my org-mode file that I am exporting to beamer on the basis of this simple template:
* Introduction
* More
** etc
* Still more
** Some a
** Some b
** Some c
However, my TOC ...
1
vote
1answer
30 views
Org Link to png file displays as wildcard rather than the image file itself
When I click on a link to a certain recent screenshot, this is shown rather than the image itself.
/Users/satibodhi/Creation/notes:
wildcard 楷{氵尸}.png
-rw-r--r--@ 1 satibodhi staff 2373 Jul ...
1
vote
1answer
114 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 ...
1
vote
1answer
205 views
Org agenda view: how to express OR when filtering tags?
In org-mode, I want to make an agenda view showing all notes tagged with "NOTE" or "LOGG". The following code does not produce the result I want:
(setq org-agenda-custom-commands '(("o" "NOTES" tags "...
1
vote
1answer
69 views
Prevent org mode from checking if file exists in external link
I am trying to open pdf files in specific folder using org mode.
For example, in a org file test.org:
My sample org file. Here is an external link: file:test.pdf
When I click on the link, it should ...
1
vote
1answer
2k views
No org-babel-execute function for calc?
In org-mode:
#+BEGIN_SRC calc :var x=5 :var y=2
2+a*x**y
#+END_SRC
returns
No org-babel-execute function for calc!
How do I enable calc for org-babel-execute?
1
vote
1answer
541 views
org-mode table-formula and code-blocks: function parameter is cut off on whitespace
In Org-mode working with 'src' code blocks and table formulas together, org-mode cuts of the cell strings at the first whitespace character.
I.e.: having a cell with Hello World the 'src' code block ...
1
vote
2answers
738 views
Yasnippet invoked org-time-stamp function inserts double timestamp
I created a yasnippet template to quickly timestamp a note I'd like to make in org-mode. The body of the yasnippet file reads
$0
:PROPERTIES:
:CREATED: `(org-insert-time-stamp nil t t)`
:END:
...
1
vote
1answer
272 views
Export from Org Mode to LaTeX doesn't accept the option #+title:
When I try an export from Org Mode to LaTeX I get the following error message:
apply: Wrong type argument: listp, #("Aufgabe 3" 0 9 (:parent (#0)))
The problem comes from the option
#+title: ...
1
vote
1answer
149 views
Failed to add wikinodes to ‘org-font-lock-extra-keywords
I want to use org-wikinodes (http://orgmode.org/worg/org-contrib/org-wikinodes.html)
Org wikinode is activated :
(setq org-modules (quote (org-wikinodes)))
I can follow wikinodes links with C-c C-o.
...
1
vote
1answer
741 views
Org-mode hide tags in outline view
Can anyone think of a way to hide org-mode tags, perhaps something along the lines of this solution to completely hide the properties drawer?
I would love to hide tags but still have them searchable ...
1
vote
1answer
594 views
in org-mode, a function to delete all properties drawers?
I use Pandoc to convert from HTML and Markdown to org-mode. The conversion leaves lots of extraneous org-mode PROPERTIES drawers. How can I direct org-mode to delete all PROPERTIES drawers?
ADDITION: ...
1
vote
0answers
304 views
Export a particular org heading with elisp?
I'd like to specify a heading (using either link or agenda syntax) and export just that heading as a file, using elisp.
I'm not trying to do this - since this specifies the file to export to in the ...
1
vote
1answer
188 views
How does (org-agenda-todo arg) work? What does the argument mean?
By trial and error I have found that in org-agenda (org-agenda-todo 'done) marks the entry at point as "DONE".
Can you explain why?
How can I modify the argument to the org-agenda-todo function (or ...
1
vote
1answer
138 views
How can we convert a range of table types (latex,org) to html when org-exporting to html?
Suppose that I have 3 types of tables in an org file, A latex table, an org-table, and a html-table. How can we to export these table as html tables when org-exporting to html?
# #+BEGIN_LaTeX
# \...
1
vote
1answer
180 views
org-mode table layout
hi i'm new to emacs and i'm really amazed about the org-mode. But i have some problems with the tables.
i want a nice looking table but i get always a strange format
example:
But i want it like ...
1
vote
1answer
151 views
How to change email address in org-mode publish postamble?
When I publish a project, the sitemap postamble looks like this. How can I change this email address?
Email: douhua@joseichous-MacBook-Pro.local
1
vote
0answers
77 views
A way to auto have entries in the property drawer to to track header creation and last change of the header?
is there a way to auto have entries in the property drawer for tracking header creation and last change of the header? anyone using something like this?
1
vote
2answers
567 views
Changing the way org-links behave on clicking only when it's a text file
I'd like to change the way org-links behave on clicking only when it's a text file etc.
i.e. I'd like to have org-links opens up a new frame with the buffer of the link in it only when it's the link ...
1
vote
1answer
309 views
How to cycle between specified states in org mode?
By default, S-tab cycles between OVERVIEW, CONTENTS and SHOW ALL these three states. But I want it to just cycle between CONTENTS and SHOW ALL. How can I realize it?
1
vote
1answer
453 views
visibility cycling - org mode - save and restore folding state of sub trees
Is it possible to have a SAVED visibility in Org mode ?
Something like:
,-> FOLDED -> SAVED -> CHILDREN -> SUBTREE --.
'--------------------------------------------'
akin to this....
1
vote
0answers
61 views
org-fill-paragraph leaves a comma at end of C style comment
In a src block when there is a C style comment /* ... */ doing an org-fill-paragraph would always put a comma just before the last star, like this:
/*
Some comment
,*/
Is there a way to stop it from ...
1
vote
0answers
26 views
How do I insert code block header :var in exported code block in org-mode for SQL
I cannot repeat solution mentioned in 27610 for SQL. Seems there is no org-babel-variable-assignments:sql function in org.el.
1
vote
2answers
342 views
How to export babel source blocks with syntax highlighting to ODT in org-mode in Emacs 27?
In Emacs 27, babel source blocks do not export syntax highlighting to ODT format.
The same org document is exported as expected in Emacs 25.
Versions:
GNU Emacs 27.0.50 (build 2, x86_64-pc-linux-...
1
vote
1answer
330 views
Org Weekly Agenda filter tags with logical OR
Background information to motivate my question:
With the agenda open, I can press "\" then "+" to show only results containing a certain tag, say A. I can then press "\" and "+" again to show ...
1
vote
1answer
386 views
org-mode export headline without contents
I'm exporting org files to PDF. In some cases, I would like to include a heading without any of its children or contents.
There are currently two ways of hiding (part of) a headline. One is to use :...
1
vote
2answers
603 views
org mode table formatting problem
I'm on Windows 7 using emacs version GNU Emacs 24.5.1 (i686-pc-mingw32) of 2015-04-11 on LEG570.
When I create tables with org-mode, I end up having something like this.
.
I searched and found ...
1
vote
1answer
365 views
org-mode agenda: sort items with plain time stamp before scheduled tasks
I have an org-file which might look like the following:
* Appointments
** Meet someone important
<2018-02-15 Thu 08:00-09:00>
* Discussions
** TODO Discuss something with someone
SCHEDULED:...
1
vote
1answer
995 views
How can I get the tags for a headline in a clock report formula?
I'd like to understand how to retrieve the tags for a headline that is being processed by a clock mode report formula. Suppose I have a clock report table defined like this.
#+BEGIN: clocktable :...
1
vote
1answer
236 views
Org subtree from yasnippet
Can yasnippet be used to insert an org subtree of the same level as the last? For example, if one often writes
***** $1
#+BEGIN_SRC latex
\paragraph{$1.}
$0
#+END_SRC
how might one avoid ...
1
vote
1answer
291 views
Ignore code evaluation output in org-mode
Is it possible to set a header setting in a org file to indicate that when I eval any source code block in the file it shouldn't change the file contents? I don't want that default #+RESULTS: block ...
1
vote
2answers
552 views
Adjust font weight for Latex fragment preview in Org-mode
The default font weight after rendered for Latex fragment is too thin compared to the body text. Is there any way to adjust this?
It seems org-format-latex-options does not have this option, I am ...
1
vote
3answers
911 views
Different colors for questions and answers in org-mode
I'm writing questions and answers in org-mode for project purposes (like meeting notes). A sample looks like this:
1. [X] Equipment name for tags associated with pumps - Discuss
Comment: We can ...
0
votes
1answer
59 views
Is there a way to call M-x my-org-babel-block?
I have a named org-babel source block like this:
#+NAME: my-org-babel-block
#+BEGIN_SRC elisp :results output
(print org-babel-load-languages)
#+END_SRC
Is there any way to call this block with M-x ...
0
votes
1answer
55 views
org-sort expands all subtrees and drawers
When I use org-sort (Ctrl-^) all the to be sorted subtrees are expanded including their properties. I kind of loose orientation. I have to collapse them manually again or use overview (Shift-Tab) and ...
0
votes
1answer
45 views
org-babel: define commands for all named source blocks in given set of files
This answer shows how to define a command that executes a named org-babel source block. If you want to do this for all named source blocks in a file, you could define one command per block. That's ...
0
votes
0answers
70 views
Using variables on org-publish-project-alist
I am having some trouble setting my org-publish blog. Basically I have the following config, but when I try to publish I get the following error:
Wrong type argument: stringp, (\, publish-directory-...
0
votes
0answers
29 views
org-capture - how to select history for a prompt?
I use org-capture for manually enter Ledger records. Even though it's a manual process, I was able to choose the prompt from a history. For example, when asked for a value for Payee, helm lists all ...
0
votes
1answer
127 views
How to open the agenda overview when open an orgmode file automatically?
I have a personal orgmode file where I organize my life. Always when I open it I have to press:
C-c a a
That opens my agenda and shows to me my habits, the scheduled and deadline tasks. But it's ...
0
votes
0answers
30 views
Why is a TAB character added when using kill-rectangle and yank-rectangle to insert multiple rows into an org-mode table?
I noticed an annoying behaviour when copying multiple rows (a list) from a web page into an org-mode table, following a process inspired by Is it possible to copy /paste multiple lines of text into ...
0
votes
1answer
487 views
Why is Org adding a label in custom Babel environment?
I can't tell in what update exactly did this happen but since not so long ago Org adds a label{orgsrcblock#} to custom listings environments. Unfortunately, I can't find a way to tell listings to ...
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
30 views
How to list or autocomplete pandoc-crossref citations in an org-mode buffer?
Is there a way to autocomplete when typing a pandoc-crossref style references such as {#fig:foo} or #+LABEL: fig:foo ?
Currently, I have to remember all these names/labels in the org-mode buffer and ...
0
votes
1answer
34 views
org-preview-latex rendering weirdness when a space after initial inline expression delimiter
\(S\) renders fine. No problem here.
$S$ renders fine. No problem here.
$ S $ does nothing. I wouldn't expect this. Comment below referencing manual explains this case.
$S $ does nothing. I wouldn't ...
0
votes
1answer
57 views
When exporting an org file to html, how do I only get the html body, ignoring other parts?
I have an org file I am using to write a webpage. I write it in the org file, then export it to an HTML buffer with C-c C-e h H. This exports an entire html document, from the <?xml> declaration ...
0
votes
0answers
41 views
Refresh agenda for (dynamic) current buffer
When I use this custom agenda (below) for a current buffer, the agenda builds correctly. But if I try to refresh it or move the date with f or b I get errors like: if: Wrong type argument: stringp, ...
0
votes
1answer
39 views
just todays agenda for just the current buffer
I would like to make a quick access agenda for today and just for the current buffer.
So my approach looks like this, but it does not work.
(setq org-agenda-custom-commands
'(
("o" ...
0
votes
0answers
152 views
How can I make tags-search able to find created timestamps containing both date and time?
I have made a tags search to filter out todo's created today:
(setq org-agenda-custom-commands'(
("d" "todo's made today" tags "TODO=\"TODO\"+Created=\"<today>\"" (
(org-agenda-sorting-...
0
votes
0answers
73 views
org-babel-execute-src-block: No org-babel-execute function for octave!
I tried to execute an org-mode code block in octave, using the example in this SO question:
#+name: factor
#+begin_src octave :session *octave* :exports code :results silent
factor=4;
#+end_src
But ...
0
votes
1answer
638 views
How do I get an expanded sparse tree?
I want to show all entries with status WAIT along with their parent entries and hide everything else.
#+SEQ_TODO: TODO(t) WAIT(w) | DONE(d) PASS(p)
* Item
Description.
** TODO Task 1
Description....