Re: Useful package? Compat.el

2021-10-11 Thread Russell Adams
On Mon, Oct 11, 2021 at 06:36:50PM +0800, Timothy wrote: > I’ve recently come across an interesting looking library available on ELPA, > . I’m thinking in future this could allow us > to > both use newer features and also support older versions of Emacs, e.g. > >

Re: A minor suggestion about formatting citations

2021-10-11 Thread John Kitchin
you should probably trim each key, and re-add spaces where you want them in the function that does these kinds of things. Maybe that should even be controlled by a defcustom that allows 0-1 spaces. John --- Professor John Kitchin (he/him/his) Doherty Hall A207F

Re: How to keep getting org updates

2021-10-11 Thread Greg Minshall
Lawrence, in case it helps, my *straight.el* (not package.el) recipe looks like this: (org :type git :repo "https://git.savannah.gnu.org/git/emacs/org-mode.git; :local-repo "org" :depth full :pre-build (straight-recipes-org-elpa--build) :build (:not autoloads) :files

How to keep getting org updates

2021-10-11 Thread Galaxy Being
This is in my init.el ... (setq package-archives '(("ELPA" . "http://tromey.com/elpa/;) ("gnu" . "http://elpa.gnu.org/packages/;) ("melpa" . "https://melpa.org/packages/;) ("org" . "https://orgmode.org/elpa/;))) ... I'm guessing the last line is no more and should be removed? In any case,

Re: Citations: non-page locators placed in front of citation

2021-10-11 Thread M . ‘quintus’ Gülker
Am Dienstag, dem 12. Oktober 2021 schrieb Nicolas Goaziou: > I mapped both § and §§ to "section". Hopefully, the issue is now > completely fixed. Nearly :-). Thank you so much for your hard work so far! It is incredible to see how this develops. With »Org mode version 9.5

Re: A minor suggestion about formatting citations

2021-10-11 Thread Bruce D'Arcus
On Mon, Oct 11, 2021 at 11:54 AM Nicolas Goaziou wrote: > > Hello, > > "Bruce D'Arcus" writes: > > > On Mon, Oct 11, 2021 at 10:28 AM John Kitchin > > wrote: > >> > >> you should probably trim each key, and re-add spaces where you want them > >> in the function that does these kinds of

Re: Citations: non-page locators placed in front of citation

2021-10-11 Thread M . ‘quintus’ Gülker
Am Montag, dem 11. Oktober 2021 schrieb Nicolas Goaziou: > Indeed. The "fix" I introduced was a mistake. I pushed a new fix. > I think the initial issue is solved now. Could you confirm it? Thank you so far -- we are getting closer. Now at »Org mode version 9.5 (release_9.5-102-gd0b557 @

Re: Citations: non-page locators placed in front of citation

2021-10-11 Thread Bruce D'Arcus
On Mon, Oct 11, 2021 at 1:57 PM M. ‘quintus’ Gülker wrote: > As explained, the positioning is now correct. However, instead of the > section § sign it now has two pilcrow signs ¶¶. It should be just one > sign, and it should be a section sign rather than a pilcrow one. Looks like § is currently

Re: Useful package? Compat.el

2021-10-11 Thread Joost Kremers
On Mon, Oct 11 2021, Timothy wrote: > I think the way to do this would be as a “soft” dependency, i.e. not needed > for > anyone running a recent version of Emacs, but needed if you want to use Org > with > an old version of Emacs. Not sure how this would best be done, but if this > were > to

Re: 9.5: coping with loss of ditaa.jar

2021-10-11 Thread Nick Dokos
Tim Cross writes: > Another alternative which I just found is the ditaa version on github, > which has SVG support. See https://github.com/stathissideris/ditaa. If > you click on the 'release' link on the right, there is the most recent > release, which includes a link to a standalone ditaa.jar

Re: Citations: non-page locators placed in front of citation

2021-10-11 Thread Nicolas Goaziou
M. ‘quintus’ Gülker writes: > Long story short: I do not think that it is a bug in locales-de-DE.xml, > and I guess Pandoc proves my point here. Please map § to "section" > instead of "paragraph" in org-cite, i.e., do it the way Pandoc does > it. I mapped both § and §§ to "section". Hopefully,

Re: Inequalities in math blocks

2021-10-11 Thread Nick Dokos
Rudolf Adamkovič writes: > Max Nikulin writes: > >> Though I am a bit surprised that Org did not replace characters to >> and during export. Perhaps, it is possible to define a >> filter. > > That makes sense, and thank you for the explanation. Ignoring the dead > link in the Org manual, I

Re: Citations: non-page locators placed in front of citation

2021-10-11 Thread M . ‘quintus’ Gülker
Am Montag, dem 11. Oktober 2021 schrieb Bruce D'Arcus: > Looks like § is currently mapped to the same as ¶: "paragraph", which > is indeed incorrect. > > https://github.com/citation-style-language/locales/blob/0cc3885f6100e26ac6c6d103efa6f3d7195fd21b/locales-de-DE.xml#L210 This is interesting.

Re: Useful package? Compat.el

2021-10-11 Thread Timothy
Hi Russel, > Do you have any examples of where this could shorten code in Org? I don’t have any examples on hand, but Org is already rolling some compat code for old Emacs versions, and we’ve had issues where people have accidentally used functions which are “too new” (but a few years old, and

Re: A minor suggestion about formatting citations

2021-10-11 Thread Bruce D'Arcus
On Mon, Oct 11, 2021 at 10:28 AM John Kitchin wrote: > > you should probably trim each key, and re-add spaces where you want them in > the function that does these kinds of things. I realize that's an option, but something about that feels wrong to me. We're adding a single space as prefix,

Re: A minor suggestion about formatting citations

2021-10-11 Thread Nicolas Goaziou
Hello, "Bruce D'Arcus" writes: > On Mon, Oct 11, 2021 at 10:28 AM John Kitchin wrote: >> >> you should probably trim each key, and re-add spaces where you want them in >> the function that does these kinds of things. > > I realize that's an option, but something about that feels wrong to me.

Re: org-beamer empty titles

2021-10-11 Thread Eric S Fraga
Hi Joseph, apologies for earlier message: I hit wrong key by mistake so sent before writing my reply! On Sunday, 10 Oct 2021 at 21:30, Joseph Vidal-Rosset wrote: > Le 10/10/2021 à 22:04, Eric S Fraga a écrit : >> or, if getting desperate, resort to some LaTeX magic: >> >> * @@latex:}%@@ > > Many

Re: A minor suggestion about formatting citations

2021-10-11 Thread Eric S Fraga
On Monday, 11 Oct 2021 at 04:39, Vikas Rawal wrote: > If this does not break anything, should this be the recommended > practice for the org-cite-insert-processors? +1 This would be good when using visual-line-mode as well. thank you, eric -- : Eric S Fraga via Emacs 28.0.60, Org

Re: org-beamer empty titles

2021-10-11 Thread Eric S Fraga
Hi Joseph, On Sunday, 10 Oct 2021 at 21:30, Joseph Vidal-Rosset wrote: > Le 10/10/2021 à 22:04, Eric S Fraga a écrit : >> On Sunday, 10 Oct 2021 at 17:44, Joseph Vidal-Rosset wrote: >>> I reply to my question about org-bullets: the reply is no. Registering >>> an empty title section delete the

Customization of IDs generation method

2021-10-11 Thread Ypo
How would the "New option org-id-ts-format" work? I added to my init.el these lines with no result (sorry if I am commiting heresy): (defcustom org-id-ts-format "%Y-%m-%d-T%H-%M-%S.%6N"   "Timestamp format for IDs generated using `ts' `org-id-method'. The format should be suitable to pass as

Re: Citations: non-page locators placed in front of citation

2021-10-11 Thread Nicolas Goaziou
Hello, András Simonyi writes: > looks like an Org (oc-csl) side locator parsing problem to me, because > using the alternative [cite:@saenger2013gsr para. 12 Rn. 488] form I > seem to get the correct result. Can it be a regex matching problem > with the paragraph symbols? You're right. I

Re: A minor suggestion about formatting citations

2021-10-11 Thread Nicolas Goaziou
Hello, Vikas Rawal writes: > I find it works better for me if I insert spaces between multiple > citations. For example: [cite: @john56; @john35; @bruce2021] rather > than [cite:@john56;@john35;@bruce2021]. > > The of advantage is that if I am citing many references in one place, > and use

Re: 9.5: coping with loss of ditaa.jar

2021-10-11 Thread Jarmo Hurri
Colin Baxter  writes: >> Jarmo Hurri writes: > > >> 3. Copy ditaa.jar from previous version of org. Works in the short >> run, but I do not think we want to advocate this: "We took ditaa.jar >> out of org, so you will want to download an earlier version of org to >> make ditaa work." > >

Re: Citations: non-page locators placed in front of citation

2021-10-11 Thread Nicolas Goaziou
Hello, M. ‘quintus’ Gülker writes: > Now it’s getting wild. Indeed. The "fix" I introduced was a mistake. I pushed a new fix. I think the initial issue is solved now. Could you confirm it? Thank you. Regards, -- Nicolas Goaziou

Re: 9.5: coping with loss of ditaa.jar

2021-10-11 Thread Jarmo Hurri
Howdy. "Thomas S. Dye" writes: >> 2. Use the program "ditaa" (not ditaa.jar) that comes with your >>operating system. This _may_ work, but I have not been ableto >> misuse >>the settings in ob-ditaa widely enough yet to create aworking >>solution. > > This worked for me on

Re: 9.5: coping with loss of ditaa.jar

2021-10-11 Thread Jarmo Hurri
Greetings Tim. Tim Cross writes: > I think you missed one obvious solution - donwload the jar file from > the ditaa project homepage on sourceforge. > Another alternative which I just found is the ditaa version on github, > which has SVG support. See https://github.com/stathissideris/ditaa.

Useful package? Compat.el

2021-10-11 Thread Timothy
Hi, I’ve recently come across an interesting looking library available on ELPA, . I’m thinking in future this could allow us to both use newer features and also support older versions of Emacs, e.g. Org 10.X is developed for Emacs 28.1 and newer, but supports

Re: A minor suggestion about formatting citations

2021-10-11 Thread Bruce D'Arcus
On Mon, Oct 11, 2021 at 5:40 AM Nicolas Goaziou wrote: > > Hello, > > Vikas Rawal writes: > > > I find it works better for me if I insert spaces between multiple > > citations. For example: [cite: @john56; @john35; @bruce2021] rather > > than [cite:@john56;@john35;@bruce2021]. > > > > The of