Re: 9.5: coping with loss of ditaa.jar

2021-10-04 Thread Eric S Fraga
On Sunday, 3 Oct 2021 at 07:25, Jarmo Hurri wrote: > 1. I am running Fedora 34, where ditaa is available as a >package. However, just pointing org-ditaa-jar-path to the correct >location /usr/share/java/ditaa.jar is not sufficient, because doing >so leads to errors when trying to

[SOLVED] (was: how to pull from the git org repo)

2021-10-04 Thread Uwe Brauer
> On Mon, Oct 04, 2021 at 12:47:58PM +0200, Uwe Brauer wrote: > It seems that some letsencrypt root certificate has > changed from under the Intratubes. Perhaps updating > your OS will fix that (if it's Debian, updating the > ca-cacert might do the trick). I tried that > The error message

Re: 9.5: coping with loss of ditaa.jar

2021-10-04 Thread Eric S Fraga
I should have added, to my previous response, that, at least on my system, the jar file is installed in /usr/share/ditaa/ditaa.jar, not /usr/share/java/ditaa.jar. I don't know if this is relevant at all. -- : Eric S Fraga via Emacs 28.0.60, Org release_9.5-30-g9e71df : Latest paper written in

master-->main?

2021-10-04 Thread Uwe Brauer
Hi I did a git pull and obtained from git://git.sv.gnu.org/emacs/org-mode * [new branch] bugfix -> origin/bugfix dd9105d..fedcb49 emacs-sync -> origin/emacs-sync * [new branch] main -> origin/main * [new tag] release_9.5 -> release_9.5 Your configuration

Some broken links in pages under https://orgmode.org/worg/org-contrib/babel

2021-10-04 Thread Mandar Mitra
Not sure if this is the right place to report this, but I was trying to learn about Org-Babel, and encountered some broken links. Below are a few (not a comprehensive list, of course, just some that I happened to encounter). * https://orgmode.org/worg/org-contrib/babel/intro.html *** ...

Re: Citation in footnote not expanded/exported to LaTeX (using Org-ref-cite)

2021-10-04 Thread Bruce D'Arcus
On Mon, Oct 4, 2021 at 10:11 AM Bruce D'Arcus wrote: > > On Sun, Oct 3, 2021 at 6:23 PM Nicolas Goaziou wrote: > > > > Hello, > > > > Elias Bounatirou writes: > > > > > Just to clarify the BUG: > > > Citations in a footnote in the following environment are not exported to > > > LaTeX: when the

[patch] ox-html.el: add html attribute (verse numbers) to verse blocks

2021-10-04 Thread Juan Manuel Macías
Hi all, I believe that an html attribute to display marginal verse numbers in sequence could be useful for certain content, as philological texts (like here: https://en.wikisource.org/wiki/The_Iliad_and_Odyssey_of_Homer_(Cowper)/Volume_2/The_Odyssey/Book_I) The `lines' property must be a digit

Re: "Unknown processor biblatex"

2021-10-04 Thread Max Nikulin
On 04/10/2021 18:11, Eric S Fraga wrote: #+cite_export: natbib plain Is it serious security flaw to load backend when such instruction is parsed? #+begin_src emacs-lisp (require 'oc-basic) (require 'oc-csl) (require 'oc-natbib) #+end_src There is (defcustom org-modules) and

Re: [PATCH] Don't fill displayed equations

2021-10-04 Thread Timothy
Hi Tom, > From time to time I encounter random patterns that I don’t want to be > reformatted during a fill operation. Maybe a custom variable like > org-fill-paragraph-skip-regexp or similar that could be set by the user? > For Timothy’s use case he would set it to the regexp provided in the >

Re: Org lint and named source blocks

2021-10-04 Thread Timothy
Hi Tom, > The issue for me is that I don’t have the bandwidth to get started > with a full tree sitter implementation, especially because it is going > to need a custom scanner, and because you’re effectively on your > own when it comes to reconstructing the output of the AST into the > actual

Re: [BUG] Citations: exporting with csl crashes [9.5 (9.5-g0a86ad @ /home/quintus/.emacs.d/elpa/org-9.5/)]

2021-10-04 Thread Nicolas Goaziou
Hello, Marvin Gülker writes: > I've been trying to use the new citation facilities in the just-released > 9.5 version of org for a simple test document with my preferred CSL > style (the one usually used in German law discipline in one way or > another), but did not have luck with it so far.

Re: Org lint and named source blocks

2021-10-04 Thread Ihor Radchenko
Tom Gillespie writes: >> Should we allow syntax like #+KEYWORD:value to be correct or do we >> require a whitespace/space after colon all the time? > > The spec as written is ambiguous/silent on this issue. In my work on > laundry tokenizer and grammar I have found keyword syntax to be a >

Re: "Unknown processor biblatex"

2021-10-04 Thread Colin Baxter
> Bruce D'Arcus writes: > On Sun, Oct 3, 2021 at 4:57 PM autofrettage wrote: >> >> Hi all, >> >> I have really seen forward to the release of org mode 9.5 with >> its new and shiny support for citations. The initial frenzy of >> experimentation has lead to

[PATCH] The align of time is not beautiful as 9.4 when I update to org 9.5.

2021-10-04 Thread Ihor Radchenko
tumashu writes: > Hello: > > > When I update to org 9.5, I find that the align of time like "7:00" has > been changed. > > I think the new style is not beautiful as old style. > > 1. New style look like not align to the first char, for the width of 9 looks > like > 1 > 2. the old style is

Re: Org lint and named source blocks

2021-10-04 Thread Ihor Radchenko
Ihor Radchenko writes: > This one is tricky. The linter (org-lint-duplicate-name) expects that > NAME keyword must have space before value. However, the actual Org > parser (org-element--collect-affiliated-keywords) does not care about > space. My intuition says that the parser behaviour is >

Re: [PATCH] Don't fill displayed equations

2021-10-04 Thread Timothy
Hi All, Given the way the conversation has evolved I think it may be worth revisiting another viewpoint to see if anybody has any nice ideas. As things are, regardless of the complexities of parsing and inline vs. block elements etc., just considering the user experience when running org-fill

Re: Debbugs Usage

2021-10-04 Thread Bastien
Hi Daniel, Daniel Fleischer writes: > Hi, is debbugs org-mode being used? No, Org bugs reports created with M-x org-submit-bug-report are sent to this list. When they are confirmed by someone, they appear in the https://updates.orgmode.org interface. Some Emacs bug reports created with M-x

Re: [PATCH] Don't fill displayed equations

2021-10-04 Thread Tom Gillespie
> Does anybody have any other thoughts? >From time to time I encounter random patterns that I don't want to be reformatted during a fill operation. Maybe a custom variable like org-fill-paragraph-skip-regexp or similar that could be set by the user? For Timothy's use case he would set it to the

Re: Org mode web site

2021-10-04 Thread Bastien
Hi Thomas and Tim, Timothy writes: >> I’m seeing what looks like a spurious headline: Elaboration + demo image >> ignore > > Thanks, that is indeed spurious. “ignore” is the tag :ignore: but it seems > like > the ox-extra that makes :ignore: work isn’t being loaded any more. Fixed, thanks!

Re: [PATCH] Don't fill displayed equations

2021-10-04 Thread Przemysław Pietrzak
Hi Org-mode community! > Does anybody have any other thoughts? I have been following your discussion for several days and if I understand it correctly promoting \[ to an element is the most controversial. Isn’t the behavior of fill-paragraph (see https://emacs.stackexchange.com/q/29122/14127

Re: New HTML exporter (was a feature request)

2021-10-04 Thread Timothy
Hi Tim, > Probably what is needed is a new HTML exporter which is capable of doing > what slimhtml does as the default, but includes the additional > functionality already in the exporter which many people are using. I think there may be some promise in the idea of rewriting (large parts of) the

Re: Org lint and named source blocks

2021-10-04 Thread Tom Gillespie
> By the way, wouldn't it be better to use tree-sitter rather than > something else for the format grammar? Not really since we are going to need more than one implementation using a parser generator to avoid baking implementation specific details into the spec by accident. This is true for more

Re: Unable to follow gnus links

2021-10-04 Thread Ihor Radchenko
Tom Ed White writes: > I was able to fix the problem for the time being by changing the > arguments to: > > (defun org-gnus-open (path _) > > The keystroke I use is C-c C-o, which runs org-open-at-point which is in > org.el. I understand. But it does not solve the potential problem for other

Re: [PATCH] Don't fill displayed equations

2021-10-04 Thread Max Nikulin
My thanks to Ihor for the argument concerning code of (maybe external) exproters and to Tom for parser-related considerations. I think it is a kind of trade-off: breaking change vs. continuously breaking user experience. Do not worry too much, there is almost no chance that I will try to

Re: Some broken links in pages under https://orgmode.org/worg/org-contrib/babel

2021-10-04 Thread Daniel Fleischer
Mandar Mitra [2021-10-04 Mon 18:15] wrote: Confirmed 5 Broken links: > * https://orgmode.org/worg/org-contrib/babel/intro.html > *** ... relevant section in the > [[https://orgmode.org/manual/Literal-examples.html][Org manual]] ... > *** please have a look at the >

Re: [BUG] Citations: exporting with csl crashes [9.5 (9.5-g0a86ad @ /home/quintus/.emacs.d/elpa/org-9.5/)]

2021-10-04 Thread M . ‘quintus’ Gülker
Am Montag, dem 04. Oktober 2021 schrieb Nicolas Goaziou: > It looks like the issue is in the Citeproc library, not in the Org > wrapper. You may want to report it upstream. Ah, I see. Thank you for the pointer. I created an issue ticket with a copy of the OP here:

Re: Best way to include METAPOST in ConTeXt exporter

2021-10-04 Thread Jason Ross
I had considered using special blocks; they match my mental model the best. However, they don't provide any support for syntax highlighting or opening the block in a new major mode buffer. I'm not sure if it's worth giving up language features in order to use the block that's most intuitive to

Re: Best way to include METAPOST in ConTeXt exporter

2021-10-04 Thread Ihor Radchenko
Jason Ross writes: > I had considered using special blocks; they match my mental model the best. > However, they don't provide any support for syntax highlighting or opening > the block in a new major mode buffer. I'm not sure if it's worth giving up > language features in order to use the block

Re: master-->main?

2021-10-04 Thread Bhavin Gandhi
Hi Uwe, On Mon, 4 Oct 2021 at 17:50, Uwe Brauer wrote: > > Was master «renamed» main, I mean is the default branch now main instead of > master? > As far as I have understood, yes. master branch was renamed to main. Reference: https://list.orgmode.org/87ee9bbpc9@gnu.org/ -- Regards,

Re: [BUG] Citations: exporting with csl crashes [9.5 (9.5-g0a86ad @ /home/quintus/.emacs.d/elpa/org-9.5/)]

2021-10-04 Thread Nicolas Goaziou
Hello, M. ‘quintus’ Gülker writes: > Ah, I see. Thank you for the pointer. I created an issue ticket with a > copy of the OP here: > Great! Thank you. Regards, -- Nicolas Goaziou

Re: 9.5: coping with loss of ditaa.jar

2021-10-04 Thread Tim Cross
Eric S Fraga writes: > On Sunday, 3 Oct 2021 at 07:25, Jarmo Hurri wrote: >> 1. I am running Fedora 34, where ditaa is available as a >>package. However, just pointing org-ditaa-jar-path to the correct >>location /usr/share/java/ditaa.jar is not sufficient, because doing >>so

Re: "Unknown processor biblatex"

2021-10-04 Thread Colin Baxter
Dear Eric, > Eric S Fraga writes: > Colin, I also only use the basics when writing articles. With the > new org-cite, the closest I have is with the following settings, > as an example: > #+cite_export: natbib plain #+latex_header: >

Re: 9.5: coping with loss of ditaa.jar

2021-10-04 Thread Eric S Fraga
On Tuesday, 5 Oct 2021 at 00:28, Tim Cross wrote: > I suspect the difference is between having what Java calls a > 'stand-alone' jar and a library jar. [...] > Most people will want the stand-alone version. That sounds like a reasonable summary. It will be good to get confirmation along the

Re: "Unknown processor biblatex"

2021-10-04 Thread Eric S Fraga
On Monday, 4 Oct 2021 at 14:36, Colin Baxter wrote: > For "serious" work I've always used only LaTeX, reserving org-mode for > notes I moved 100% to org for my writing (& coding) some time ago now. In the earlier days, I often had to do the final steps before submitting in LaTeX itself but, for

Re: Citation in footnote not expanded/exported to LaTeX (using Org-ref-cite)

2021-10-04 Thread Bruce D'Arcus
On Sun, Oct 3, 2021 at 6:23 PM Nicolas Goaziou wrote: > > Hello, > > Elias Bounatirou writes: > > > Just to clarify the BUG: > > Citations in a footnote in the following environment are not exported to > > LaTeX: when the footnote follows two or more citations, of which one has a > > suffix,

Re: New HTML exporter (was a feature request)

2021-10-04 Thread Matt Price
On Mon., Oct. 4, 2021, 2:21 a.m. Timothy, wrote: > Hi Tim, > > > Probably what is needed is a new HTML exporter which is capable of doing > > what slimhtml does as the default, but includes the additional > > functionality already in the exporter which many people are using. > > I think there

Re: "Unknown processor biblatex"

2021-10-04 Thread Nicolas Goaziou
Hello, Colin Baxter writes: >> Bruce D'Arcus writes: > > You have to load oc-biblatex, say using use-package, and also set > > org-cite-export-processors, like: > > > (setq org-cite-export-processors '((latex biblatex) (t csl))) > > Great, but what about old timers like me who

Re: "Unknown processor biblatex"

2021-10-04 Thread Colin Baxter
> Nicolas Goaziou writes: > Hello, Colin Baxter writes: >>> Bruce D'Arcus writes: >> > You have to load oc-biblatex, say using use-package, and also >> set > org-cite-export-processors, like: >> >> > (setq org-cite-export-processors '((latex biblatex) (t

Re: invalid-function (date date) after update to 9.5

2021-10-04 Thread Ihor Radchenko
Florian Lindner writes: > Hello, > > after the upgrade to 9.5 (9.5-g0a86ad @ /home/florian/.emacs.d/elpa/org-9.5/) > on 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version > 1.16.0) of 2020-09-19 my agenda stopped working > > (org-agenda) -> any keyword (a, t or n) gives:

Re: [PATCH] The align of time is not beautiful as 9.4 when I update to org 9.5.

2021-10-04 Thread Max Nikulin
On 04/10/2021 14:48, Ihor Radchenko wrote: tumashu writes: When I update to org 9.5, I find that the align of time like "7:00" has been changed. I think the new style is not beautiful as old style. 1. New style look like not align to the first char, for the width of 9 looks like > 1

Re: org-element.el change in emacs.git

2021-10-04 Thread Adam Porter
Hi Amin, Amin Bandali writes: >> By the way, I'm curious, not having always followed the internal details >> of Org's development over the years: why are changes like that made to >> emacs.git and merged back into Org, instead of being made in Org and >> then merged back into Emacs with the

Re: how to pull from the git org repo

2021-10-04 Thread tomas
On Mon, Oct 04, 2021 at 12:47:58PM +0200, Uwe Brauer wrote: > > Hi > > I just realized that the org repo I am pulling from is > * commit 52b09799cfba0a847e93c9e21883266570644245 (HEAD -> master, > origin/master, origin/HEAD) > |\ Merge: 846801e 21eb69c > | | Author: Nicolas Goaziou > | |

Re: Best way to include METAPOST in ConTeXt exporter

2021-10-04 Thread Ihor Radchenko
Jason Ross writes: > Hello, > > I'd like to include METAPOST figures in the ConTeXt exporter backend I'm > developing. However, I don't know of an idiomatic way to add captions and > references for the figures. You can use affiliated keywords: (defconst org-element-affiliated-keywords

invalid-function (date date) after update to 9.5

2021-10-04 Thread Florian Lindner
Hello, after the upgrade to 9.5 (9.5-g0a86ad @ /home/florian/.emacs.d/elpa/org-9.5/) on 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2020-09-19 my agenda stopped working (org-agenda) -> any keyword (a, t or n) gives: Debugger entered--Lisp error:

Re: Org lint and named source blocks

2021-10-04 Thread Tom Gillespie
Thanks for the pointer! The actual point of contact seems to be https://github.com/milisims/tree-sitter-org. Good to find another group that is working on this. Best, Tom

Re: [PATCH] The align of time is not beautiful as 9.4 when I update to org 9.5.

2021-10-04 Thread Nicolas Goaziou
Hello, Max Nikulin writes: > On 04/10/2021 14:48, Ihor Radchenko wrote: >> tumashu writes: >>> >>> When I update to org 9.5, I find that the align of time like "7:00" has >>> been changed. >>> >>> I think the new style is not beautiful as old style. >>> 1. New style look like not align to

Re: [PATCH] The align of time is not beautiful as 9.4 when I update to org 9.5.

2021-10-04 Thread Ihor Radchenko
Nicolas Goaziou writes: >> I think, "%5s" is enough, flag "0" does not anything useful for >> strings. > > Also, the fix belongs to `org-get-time-of-day', which is also > responsible for formatting the output. I doubt so. `org-get-time-of-day' is used to format ending time in time ranges. If

how to pull from the git org repo

2021-10-04 Thread Uwe Brauer
Hi I just realized that the org repo I am pulling from is * commit 52b09799cfba0a847e93c9e21883266570644245 (HEAD -> master, origin/master, origin/HEAD) |\ Merge: 846801e 21eb69c | | Author: Nicolas Goaziou | | Date: Fri May 21 18:30:23 2021 +0200 | | | | Merge branch 'maint' But

Re: org-capture-template with changing heading (including a TIMESTAMP)

2021-10-04 Thread Uwe Brauer
> Uwe Brauer writes: > Because you did not supply a function. The docstring says: > (file+function "path/to/file" function-finding-location) Oops I read (file+function "path/to/file" function-finding-location) A function to find the right location in the file

Re:[PATCH] The align of time is not beautiful as 9.4 when I update to org 9.5.

2021-10-04 Thread tumashu
At 2021-10-04 15:48:49, "Ihor Radchenko" wrote: >tumashu writes: > >> Hello: >> >> >> When I update to org 9.5, I find that the align of time like "7:00" has >> been changed. >> >> I think the new style is not beautiful as old style. >> >> 1. New style look like not align to

Re: "Unknown processor biblatex"

2021-10-04 Thread Eric S Fraga
Colin, I also only use the basics when writing articles. With the new org-cite, the closest I have is with the following settings, as an example: #+cite_export: natbib plain #+latex_header: \usepackage[numbers,sort,super]{natbib} #+bibliography: ~/[...]/bibliography.bib This converts the

Re: [BUG] Citations: exporting with csl crashes [9.5 (9.5-g0a86ad @ /home/quintus/.emacs.d/elpa/org-9.5/)]

2021-10-04 Thread András Simonyi
Dear Marvin, thanks for the bug report! I was able to reproduce the issue and it seems to be indeed a problem in citeproc-el -- I'll investigate and respond to the citeproc-el ticket. best wishes, András On Mon, 4 Oct 2021 at 19:29, Nicolas Goaziou wrote: > > Hello, > > M. ‘quintus’ Gülker

Re: [PATCH] Re: New source block results option for attaching file to node

2021-10-04 Thread Christopher M. Miles
Ihor Radchenko writes: > Greg Minshall writes: > >> i can imagine wanting to have input files and >> output files in separate directories. (for ease in "make clean", if for >> no other conceptual reason.) (but, probably i don't understand.) I agree with this thought. We should separate two

Bare oc-csl author variants?

2021-10-04 Thread Timothy
Hi All, I was recently citing something and wanted to mention the author and so tried [cite/a/b:@] and was surprised to see it didn’t work. Looking at oc-csl.el I see that we only define the following author variants: • `a/c' • `a/f' • `a/cf' Is there any reason why we haven’t added `a/b',

Re: [PATCH] Re: New source block results option for attaching file to node

2021-10-04 Thread Ryan Scott
I've been working through a few different approaches. What's shaping up is something more general, having a special value for directory parameters (i.e. 'attach) and auto-detection of link paths that are in the attachment directory. The latest iterations don't move any files around, so can't

ox-latex-subfig

2021-10-04 Thread edgar
Hello nice people! I just want to let you know about ox-latex-subfig, which you can find here: https://notabug.org/broncodev/ox-latex-subfig.git . It provides a filter to convert Org tables into "sub-figures" when exporting to (PDF) \LaTeX. As you may know, the subcapiton package is

Table of contents position in HTML export

2021-10-04 Thread Kodi Arfer
When I export this file to HTML with `emacs -Q` and Org 9.5 #+TITLE: example document text before headline * headline! after headline the table of contents appears before "text before headline", although the manual says "Org normally inserts the table of contents directly

Re: Unable to follow gnus links

2021-10-04 Thread Tom Ed White
Ihor Radchenko writes: > Tom Ed White writes: > >> I was able to fix the problem for the time being by changing the >> arguments to: >> >> (defun org-gnus-open (path _) >> >> The keystroke I use is C-c C-o, which runs org-open-at-point which is in >> org.el. > > I understand. But it does not

Re: [PATCH] Fontification for inline src blocks

2021-10-04 Thread Protesilaos Stavrou
On 2021-10-03, 17:09 +0800, Ihor Radchenko wrote: > Timothy writes: > >> Ihor Radchenko writes: >> >>> Let me bump this thread again and mark it as a patch ;) >> >> Thanks for the bump. I'd like to get this working, but I don't know how best >> to >> deal with the "prettification" of