Re: How to capture export prepended header numbering

2019-12-30 Thread Adam Porter
Someone reminded me that Org has org-num-mode now, so please disregard all of that. At least it was good exercise.

Re: How to capture export prepended header numbering

2019-12-30 Thread Adam Porter
Adam Porter writes: > There is no built-in way to do that, and no way independent of > org-export to get the numbers, AFAIK. > > Here's some ugly old code that shows outline numbering as overlays in an > Org buffer. It doesn't update automatically, so you have to run it > again when the outline

Include file relative path

2019-12-30 Thread Steven Penny
The Org Mode section on including files: https://orgmode.org/manual/Include-files.html seems to be missing a detail. It appears that relative paths are allowed, I assume they would be relative to the directory of the parent file. That is to say if I have file "monday.org" including file "sunday.

using #+ to define faces

2019-12-30 Thread Jean-Christophe Helary
I would like to define faces on a file basis by using #+ but I'm not finding relevant info in the manual. Is it possible ? Jean-Christophe Helary --- http://mac4translators.blogspot.com @brandelune

Agenda: Display timeline for today

2019-12-30 Thread Nathan Neff
Hello all, I was searching for a way to display today's clocked items in a timeline style view e.g.: 10:00 - 10:15 foo 11:00 - 11:15 bar I found this Stack Overflow thread: https://emacs.stackexchange.com/questions/19746/get-a-timeline-of-clocked-time-in-org-mode One of the replies says to "Lo

Re: How to capture export prepended header numbering

2019-12-30 Thread Adam Porter
FYI, I tidied the code a tiny bit and posted it here: https://github.com/alphapapa/unpackaged.el#outline-number-overlays

Re: How to capture export prepended header numbering

2019-12-30 Thread Adam Porter
There is no built-in way to do that, and no way independent of org-export to get the numbers, AFAIK. Here's some ugly old code that shows outline numbering as overlays in an Org buffer. It doesn't update automatically, so you have to run it again when the outline changes. But it seems to work we

Re: Turn function into interactive

2019-12-30 Thread Berry, Charles
> On Dec 29, 2019, at 9:26 PM, Lawrence Bottorff wrote: > > I've discovered org-outline-level which when in a code block under a given > header delivers as expected: > > * This old level > #+BEGIN_SRC emacs-lisp > (org-current-level) > #+END_SRC > > #+RESULTS: > : 1 > > Now, how could I tur

BUG? - opening an org file containing #+STARTUP: inlineimages results in error message ...

2019-12-30 Thread Johannes Brauer
… File mode specification error: (void-variable image-map) It seems that the problem arised since I’ve upgraded orgmode from version 9.2.6 (9.2.6-4-ge30905-elpa to version 9.3 resp. 9.3.1 On a system where the 9.2.6 is installed, images are shown. Johannes

How to capture export prepended header numbering

2019-12-30 Thread Lawrence Bottorff
Basically, I'd like to know what level each heading of an org file is and in what order they appear. So if my org file looks like this * heading a ** sub-heading a.1 ** sub-heading a.2 *** sub-sub-heading a.2.1 * heading b ** sub-heading b.1 *** sub-sub-heading b.1.1 * heading c And an HTML expor

Re: Long links

2019-12-30 Thread Nicolas Goaziou
Hello, Steven Penny writes: > Hm, neither one of those methods seem to work with either of these parsers: > > - https://github.com/niklasfasching/go-org > - https://github.com/wallyqs/org-ruby You may want to see with the maintainers of these projects if they want to implement it. Regards, --