Re:Bug: ODT export of Chinese text inserts spaces for line breaks

2021-06-28 Thread tumashu
You can try the below config :-) (defun eh-org-wash-text (text backend _info) "导出 org file 时,删除中文之间不必要的空格。" (when (or (org-export-derived-backend-p backend 'html) (org-export-derived-backend-p backend 'odt)) (let ((regexp "[[:multibyte:]]") (string text))

Bug: ODT export of Chinese text inserts spaces for line breaks

2021-06-28 Thread James Harkins
Consider the following org document. * Test 1本人不想亲自拿到学历学位证书、急于离校者,可书面委托他人代领学历学位证 书,29日起即可离校;2本人想亲自领取学历学位证书者,按学校规定的程序及有关 要求办理离校手续,领取相关证书后离校; This was produced by pasting in a single, long line, and then using alt-Q (a normal thing to do, and good for readability, because org-mode doesn't wrap

Re: [PATCH] ob-R output file with graphics parameter

2021-06-28 Thread Jeremie Juste
Hello, Sorry for the delayed reply. On Sunday, 27 Jun 2021 at 10:12, Jack Kamm wrote: @Colin, thanks for your feedback. I have to confess that I didn't know about the second file parameter at all until I provided the patch. I just discovered main branch works with the second :file

Re: Bug: Duplicate logbook entry for repeated tasks [9.4.6 (9.4.6-gab9f2a @ /home/gustavo/.emacs.d/elpa/org-9.4.6/)]

2021-06-28 Thread Bhavin Gandhi
On Sun, 27 Jun 2021 at 12:01, Bhavin Gandhi wrote: > > Till now I found that the function `org-add-log-setup' is getting > called twice. Why that's happening, I'm not sure yet. I think running > edebug will help here, I'm going to try that. > I found the reason for this behavior with the help of

Re: org-agenda no longer clocks out then in

2021-06-28 Thread Marco Wahl
Tory, Dave D write: >...> issues with org-log-note-clock-out... > this commit > https://code.orgmode.org/bzg/org-mode/commit/8e3e2f667f0b28b85845204b708c3f0aebc9152b > probably fixes the issue. Could you perhaps give it a test? Yes, please! I also guess that the commit by Nicolas is a fix for

Re: [patch] add :url and :doi optional entries for export to BiBTeX

2021-06-28 Thread Eric S Fraga
I introduced an error in the previous patch. Please use this one. Thank you, eric -- : Eric S Fraga via Emacs 28.0.50, Org release_9.4.6-571-gc591be : Latest paper written in org: https://arxiv.org/abs/2106.05096 >From ddad85139bd508a06db6e98ddef0131f7cc9946e Mon Sep 17 00:00:00 2001 From: Eric

Re: [wip-cite-new] Where is the development branch ?

2021-06-28 Thread Eric S Fraga
On Monday, 28 Jun 2021 at 08:26, Bruce D'Arcus wrote: > Oh, for sure; I agree it'd be good to get this merged for those of us > that need to get academic work done now! Especially now that (at least for me) all teaching activities are mostly over and done with and I can concentrate on my

[patch] add :url and :doi optional entries for export to BiBTeX

2021-06-28 Thread Eric S Fraga
Hello all, increasingly, I need URL and DOI BiBTeX entries to cite particular types of publications. Some BiBTeX styles now recognise these but the current BiBTeX exporter in org does not export these. I have added :url and :doi entries to the list of optional entries to export when present to

Re: [wip-cite-new] Where is the development branch ?

2021-06-28 Thread Bruce D'Arcus
On Mon, Jun 28, 2021 at 8:22 AM Eric S Fraga wrote: > > On Monday, 28 Jun 2021 at 08:09, Bruce D'Arcus wrote: > > FWIW, I added a function to format org-cite here, which you can use > > with ivy-bibtex also. > > Thank you. Very comprehensive. Mine is much simpler! But I have two > versions,

Re: [wip-cite-new] Where is the development branch ?

2021-06-28 Thread Eric S Fraga
On Monday, 28 Jun 2021 at 08:09, Bruce D'Arcus wrote: > FWIW, I added a function to format org-cite here, which you can use > with ivy-bibtex also. Thank you. Very comprehensive. Mine is much simpler! But I have two versions, one for the master branch and one for the wip-cite-new branch and I

Re: [wip-cite-new] Where is the development branch ?

2021-06-28 Thread Bruce D'Arcus
On Mon, Jun 28, 2021 at 7:07 AM Eric S Fraga wrote: > It would be nice to have this merged with master so that I can have the > rest of my workflow at hand; e.g. I have ivy-bibtex inserting links to > citations automatically but I have to change the format of what it > inserts depending on which

Re: [wip-cite-new] Where is the development branch ?

2021-06-28 Thread Eric S Fraga
On Saturday, 26 Jun 2021 at 10:35, Nicolas Goaziou wrote: > Emmanuel Charpentier writes: >> Related question : is there an ETA of these new abilities in =Org= ? > > I would appreciate some alpha-testing first, but I would say the code is > already good enough for inclusion at this point. I.e.,

Re: Large source block causes org-mode to be unusable

2021-06-28 Thread Eric S Fraga
On Saturday, 26 Jun 2021 at 16:10, Léo Ackermann wrote: > @EricSFrada, would you mind sharing your code for your proof sections ? > If you've got ideas for this module, or/and want to participate to its > development, please let me know :) I have no code for proofs. Sorry! I was simply

Re: Large source block causes org-mode to be unusable

2021-06-28 Thread Eric S Fraga
On Monday, 28 Jun 2021 at 08:28, Sébastien Miquel wrote: > Léo Ackermann writes: >> @EricSFrada, would you mind sharing your code for your proof sections ? > This functionality is now built-in: headings with an `ignore' tag do > not get exported (their contents do). For very large proof, this

Re: [PATCH] ob-R output file with graphics parameter

2021-06-28 Thread Colin Baxter
> Jack Kamm writes: > Hi all, >> I obviously missing something. The above works for me without the >> patch. Unfortunately, I can't trace back the thread in order to >> understand the context. > I think this is a followup from this mail: >

Re: Large source block causes org-mode to be unusable

2021-06-28 Thread Sébastien Miquel
Hi, Léo Ackermann writes: @EricSFrada, would you mind sharing your code for your proof sections ? This functionality is now built-in: headings with an `ignore' tag do not get exported (their contents do). For very large proof, this seems like the right thing to do. In small to moderate