Re: Bug: Can't set background color of latex fragment

2021-05-19 Thread Roshan Shariff
Hi Sébastien, I originally made my patch because otherwise adding '(:background "Transparent") to org-format-latex-options always resulted in a white background (\pagecolor{white} would be forcefully added to the generated LaTeX). Then I found that dvipng still produced a white background even

Re: Invalid duration format error with active timestamp

2021-05-19 Thread Garjola Dindi
On Tue 18-May-2021 at 23:23:39 +02, Rainer Hansen wrote: > Hi Garjola, > > I had the same problem. > > I fixed it by downloading manually the last working version of Org from > https://orgmode.org/elpa/, > i.e. https://orgmode.org/elpa/org-20210503.tar > and manually stored the extracted

Re: new org-contrib and straight.el

2021-05-19 Thread No Wayman
Greg Minshall writes: Nick, The recent changes to org-contrib's location/structure have been accounted for on straight's "develop" branch. Once on that branch you can rely on the default recipe: thanks very much. i'll look at switching to the development branch, freezing and

Re: [PATCH] org-faq.org: Expand "What is the best setup for indenting?"

2021-05-19 Thread Greg Minshall
Maxim, patches to patches... :) i think these are really just typos, rather than any useful substantial comment. - s/is enable (the default) or not:/is enabled (the default) or not:/ - i would suggest separate tables for >= 9.5 and < 9.5. just so the differences between with/without

Re: new org-contrib and straight.el

2021-05-19 Thread Greg Minshall
Nick, > The recent changes to org-contrib's location/structure have been > accounted for on straight's "develop" branch. Once on that branch you > can rely on the default recipe: thanks very much. i'll look at switching to the development branch, freezing and thawing. cheers, Greg > >

Re: Org-capture %K "Link to the currently clocked task" link with id?

2021-05-19 Thread Nathaniel W Griswold
Rereading my message, i realized it might not be clear what i mean here. I use (org-id-link-to-org-use-id t) because i like to be able to still follow links after i archive stuff. I want that behavior here so i want the link to an `id:` link instead of a `file:/path/to/file` link. Nate > On

Re: [POLL] Setting `org-adapt-indentation' to nil by default?

2021-05-19 Thread Maxim Nikulin
On 16/05/2021 03:51, Bastien wrote: > Maxim Nikulin writes: > >> I think, the something like the following should be added to the >> answer. > > Patch welcome! Either for Worg or etc/ORG-NEWS, if you think we > should add something to the existing explanations. I have tried to express my ideas

[PATCH] etc/ORG-NEWS: Suggest against disabling `electric-indent-mode'

2021-05-19 Thread Maxim Nikulin
--- etc/ORG-NEWS | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS index f49d2c043..8707222e0 100644 --- a/etc/ORG-NEWS +++ b/etc/ORG-NEWS @@ -55,8 +55,11 @@ If you want to automatically indent headlines' metadata, set it to If you want to

[PATCH] org-faq.org: Expand "What is the best setup for indenting?"

2021-05-19 Thread Maxim Nikulin
--- org-faq.org | 61 ++--- 1 file changed, 44 insertions(+), 17 deletions(-) diff --git a/org-faq.org b/org-faq.org index 9cc193c4..0f8934af 100644 --- a/org-faq.org +++ b/org-faq.org @@ -1029,21 +1029,33 @@ something like this: :CUSTOM_ID:

Re: [wip-cite-new] Initial implementation of `biblatex' citation processor

2021-05-19 Thread Nicolas Goaziou
Denis Maier writes: > In that case, I'd think that note/bare => footcitecite isn't > a particular good fit. Footcitetext puts the citation in a footnote, > just that it doesn't print a footnote mark in a running text. > (This is useful in cases where the regular footnote mechanism in LaTeX >

Re: [wip-cite-new] Initial implementation of `biblatex' citation processor

2021-05-19 Thread Bruce D'Arcus
On Wed, May 19, 2021 at 10:31 AM Denis Maier wrote: > In that case, I'd think that note/bare => footcitecite isn't a > particular good fit. Footcitetext puts the citation in a footnote, just > that it doesn't print a footnote mark in a running text. And, just as a general rule, not all

Re: Get list of top-level headings

2021-05-19 Thread John Kitchin
that is often true, especially with large buffers, but you have to add a bunch of code to go to point-max, and check the level with this. #+BEGIN_SRC emacs-lisp (save-excursion (goto-char (point-max)) (let (components (headings '())) (while (re-search-backward org-complex-heading-regexp

Re: [wip-cite-new] Initial implementation of `biblatex' citation processor

2021-05-19 Thread Denis Maier
Am 19.05.2021 um 15:44 schrieb Nicolas Goaziou: Here is the summary: | Style | Variant | Command | |---+---+--| | author| caps | Citeauthor* | | author| full | citeauthor | | author| caps-full | Citeauthor | | author|

Re: Get list of top-level headings

2021-05-19 Thread Jonathan Gregory
Hi On 19 May 2021, John Kitchin wrote: I think this is all you need to get a list of titles of level 1 headings as strings (org-map-entries (lambda () (fifth (org-heading-components))) "LEVEL=1") this also works for me: #+BEGIN_SRC emacs-lisp (org-map-entries (lambda ()

Re: Get list of top-level headings

2021-05-19 Thread Jonathan Gregory
Hello Florian On 19 May 2021, Florian Lindner wrote: Hello, I, an Emacs Lisp newbie, want to get a list of all top-level headings of the current buffer. My approach so far is: (defun test-org-map() (interactive) (setq headings '()) (org-map-entries (lambda ()

Re: [wip-cite-new] Initial implementation of `biblatex' citation processor

2021-05-19 Thread Nicolas Goaziou
Hello, Denis Maier writes: > \cite is the most basic cite command: > > In a author-year style: > \cite => Doe 2020 > \textcite => Doe (2020) > \parencite=> (Doe 2020) > \autocite => \parencite > > In note-based styles (e.g verbose): > > \cite =>

Re: Get list of top-level headings

2021-05-19 Thread John Kitchin
I think this is all you need to get a list of titles of level 1 headings as strings (org-map-entries (lambda () (fifth (org-heading-components))) "LEVEL=1") this also works for me: #+BEGIN_SRC emacs-lisp (org-map-entries (lambda () (org-element-property :title (org-element-at-point)) )

Re: [wip-cite-new] Initial implementation of `biblatex' citation processor

2021-05-19 Thread Bruce D'Arcus
On Wed, May 19, 2021 at 9:45 AM Nicolas Goaziou wrote: > "bare" variant means "without parenthesis", I think. To be more precise/general, it means without enclosing punctuation; parentheses, brackets, etc. Bruce

Org-capture %K "Link to the currently clocked task" link with id?

2021-05-19 Thread Nathaniel W Griswold
Looking at the source (org-capture.el), it appears org-capture doesn't allow you to make a permalink for "Link to the currently clocked task", or %K in your template. `org-capture-fill-template` looks like this: ... (v-K (if (marker-buffer org-clock-marker)

Re: [wip-cite-new] Initial implementation of `biblatex' citation processor

2021-05-19 Thread Denis Maier
Hi, Am 18.05.2021 um 17:13 schrieb Nicolas Goaziou: Hello, In a rebased "wip-cite-new" branch, I made an modest attempt to write a `biblatex' citation processor, in the file "oc-biblatex.el" Just in case anyone else stumbles over this: You'll have the add (require 'oc-biblatex) to the

Release 9.4.6 (bugfix)

2021-05-19 Thread Bastien
Hi all, Org 9.4.6, a bugfix release, is out, avaiable in Org ELPA and as a standalone archive. Hopefully this will be the last one before we release 9.5. As always, thanks a lot to the contributors! See https://orgmode.org/worg/org-contribute.html on how to start contributing. -- Bastien

Re: [wip-cite-new] Initial implementation of `biblatex' citation processor

2021-05-19 Thread Denis Maier
Am 19.05.2021 um 12:43 schrieb Bruce D'Arcus: On Wed, May 19, 2021 at 6:05 AM Denis Maier wrote: Is there a way to get a simple \cite? Hmm ... "cite/cite"? What does "cite" do that "autocite" doesn't? \cite is the most basic cite command: In a author-year style: \cite => Doe

Re: [wip-cite-new] Initial implementation of `biblatex' citation processor

2021-05-19 Thread Bruce D'Arcus
On Wed, May 19, 2021 at 6:05 AM Denis Maier wrote: > Is there a way to get a simple \cite? Hmm ... "cite/cite"? What does "cite" do that "autocite" doesn't? > Also, footcite should be there. Footcite is already there under the "note"/"fn" style. Bruce

Re: [wip-cite-new] Initial implementation of `biblatex' citation processor

2021-05-19 Thread Denis Maier
Am 18.05.2021 um 17:13 schrieb Nicolas Goaziou: Hello, In a rebased "wip-cite-new" branch, I made an modest attempt to write a `biblatex' citation processor, in the file "oc-biblatex.el As Bruces has already written, this doesn't look modest at all. [...] - author(a), including caps(c),

Re: Cross referencing in Emacs Org mode

2021-05-19 Thread Christian Moe
Hi, The question, then, is not if you can have cross-references (as you say, they work fine), but if they will work with subtree export. I believe not (but others may have to correct me). Links/refs to parts of the document outside the exported subtree *will* be broken. The exporter does not

Re: [PATCH] Link handling for qutebrowser org-mac-link.el

2021-05-19 Thread Bastien
Aimé Bertrand writes: > you know what, I wanna do my part: > > https://sr.ht/~aimebertrand/org-mac-link/ Thanks! I updated the org-contrib repository. -- Bastien

Re: [PATCH] Async session eval (2nd attempt)

2021-05-19 Thread Bastien
Hi Jack, Jack Kamm writes: >> Please feel free to commit this patch in master so that more people >> can test it, we can test and fix oddities while preparing for 9.5. > > OK, I have incorporated the minor fixes from Kyle's review and pushed to > master. Thanks a lot! -- Bastien

Re: Cross referencing in Emacs Org mode

2021-05-19 Thread Eric S Fraga
On Wednesday, 19 May 2021 at 00:25, Partha Pratim Ghosh wrote: > Is it possible to have cross reference in LaTeX export for Org > mode. To be specific: I have a org file segmented into sections, say as > follows: Check out the "Internal Links" section of the org manual. -- : Eric S Fraga via

Get list of top-level headings

2021-05-19 Thread Florian Lindner
Hello, I, an Emacs Lisp newbie, want to get a list of all top-level headings of the current buffer. My approach so far is: (defun test-org-map()   (interactive)   (setq headings '())   (org-map-entries (lambda () (setq current-header-item (org-element-property :title

Re: Bug: Can't set background color of latex fragment

2021-05-19 Thread Sébastien Miquel
Hi Roshan, Roshan Shariff writes: I can confirm this bug with dvipng --- with the "-bg Transparent" option, dvipng ignores the background color from the input tex file, whereas without that option it always produces an opaque background. There's currently no way to dynamically change command