Re: Org table: emphasizing calculated cell

2021-08-26 Thread Jarmo Hurri
Greetings Norwid. Norwid Behrnd writes: > try extending the format of the table formula with asterisks, i.e. > > ``` > | quantity | value | > |--+| > | A| 1 | > | B| 3 | > |--+| > | *C* | *0.33* | > > #+TBLFM: @4$2=@-2/@-1;

bug#48199: 28.0.50; Org mode surprisingly usurps Calendar key binding

2021-08-26 Thread Lars Ingebrigtsen
Yuchen Pei writes: >> This bug seems to be still around, as it just happened to me. Steps >> to >> reproduce: >> >> - Build a recent version e.g. commit efaed29f3d with `make` >> - ./src/emacs >> - M-x calendar RET >> - i >> >> results in "command-execute: Wrong type argument: commandp, >>

Re: how to get multi-line author in ODT export?

2021-08-26 Thread Juan Manuel Macías
Hi John, you're welcome. I realized that in these lines of the meta.xml file: ... ... line breaks can be achieved simply by adding a new line without marks (as discussed in this thread: https://stackoverflow.com/questions/10917555/adding-a-new-line-break-tag-in-xml/10923392) Best regards,

Re: ob-lilypond.el doesn't generate midi files

2021-08-26 Thread Nick Dokos
Michael Maurer writes: > On Thu, 26 Aug 2021 at 15:03, Jonathan Gregory wrote: >> >> Hi >> >> On 26 Aug 2021, Michael Maurer wrote: >> >> > I've installed lilypond and customized ob-lilypond to use the >> > appropriate helper programs, but although it generates & shows >> > pdfs just fine,

Re: how to get multi-line author in ODT export?

2021-08-26 Thread John Kitchin
That is really nice, thanks for sharing it! John --- Professor John Kitchin (he/him/his) Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu On Thu, Aug

[BUG] [BUG] inconsistent behavior when reading multiple tags [9.4.6 (9.4.6-g366444 @ /home/n/.emacs.d/straight/build/org/)]

2021-08-26 Thread No Wayman
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list.

Re: how to get multi-line author in ODT export?

2021-08-26 Thread Juan Manuel Macías
Hi again, Another simpler approach, with a filter: #+TITLE: The kessel run in 12 parsecs #+AUTHOR: Han Solo !!! Chewbacca !!! Lando Calrissian #+BIND: org-export-filter-plain-text-functions (author-lb-filter) #+begin_src emacs-lisp :exports results :results none (defun author-lb-filter (text

Re: how to get multi-line author in ODT export?

2021-08-26 Thread Juan Manuel Macías
Hi Eric, I think the problem is in this two lines of `org-odt-template', that creates the meta.xml file inside the odt file: (format "%s\n" author) (format "%s\n" author) Perhaps, modifying them like this: (format "\n" (replace-regexp-in-string "" "\n" author)) (format "\n"

Re: ob-lilypond.el doesn't generate midi files

2021-08-26 Thread Michael Maurer
On Thu, 26 Aug 2021 at 15:03, Jonathan Gregory wrote: > > Hi > > On 26 Aug 2021, Michael Maurer wrote: > > > I've installed lilypond and customized ob-lilypond to use the > > appropriate helper programs, but although it generates & shows > > pdfs just fine, generating a midi file it does not. I

Re: ob-lilypond.el doesn't generate midi files

2021-08-26 Thread Michael Maurer
On Thu, 26 Aug 2021 at 15:03, Jonathan Gregory wrote: > > Hi > > On 26 Aug 2021, Michael Maurer wrote: > > > I've installed lilypond and customized ob-lilypond to use the > > appropriate helper programs, but although it generates & shows > > pdfs just fine, generating a midi file it does not. I

Re: how to get multi-line author in ODT export?

2021-08-26 Thread Eric S Fraga
Hi John, On Thursday, 26 Aug 2021 at 10:50, John Kitchin wrote: > Does something like this work for you: Yes, thank you, hand crafting the author field directly would do the job indeed! Thanks again, eric -- : Eric S Fraga via Emacs 28.0.50, Org release_9.4.6-628-g366444 : Latest paper

Re: how to get multi-line author in ODT export?

2021-08-26 Thread John Kitchin
Does something like this work for you: #+options: author:nil #+author: Test author - not shown in export @@odt:First author lineSecond line@@ Testing with content This exports to ODT like this for me: [image: image.png] John --- Professor John Kitchin

Re: how to get multi-line author in ODT export?

2021-08-26 Thread Eric S Fraga
So, as usual, I answer my own question, sort of. The problem is that org exports the author text enclosed within a special directives, specifically: (format "%s" author)) New line directives are not allowed within this declaration, it seems. Removing (manually) the initial-creator directive

Re: org-capture config broken

2021-08-26 Thread Maxim Nikulin
On 26/08/2021 16:48, Orm Finnendahl wrote: Am Mittwoch, den 25. August 2021 um 18:16:15 Uhr (+0200) schrieb Maxim Nikulin: Unfortunately you did not specify version of Org you are currently using. Sorry, it's 9.4.4. The changes, I were writing about, landed in 9.4.6. If you were using

Re: Manual on web site is not the latest version

2021-08-26 Thread Maxim Nikulin
On 28/04/2021 12:35, Bastien wrote: Do you still see differences between the doc/org-manual.org and the one published on https://orgmode.org/manual/ ? If so, please point at one or two differences. Thanks! curl -I https://orgmode.org/manual/The-capture-protocol.html date: Thu, 26 Aug 2021

how to get multi-line author in ODT export?

2021-08-26 Thread Eric S Fraga
Hello all, I am trying to generate a multi-line author for a report exported to ODT. In LaTeX, I would simply put \\ between lines in a single #+author: entry, i.e. using @@latex:\\@@ in org. In normal text, a \\ translates to in the ODT export but this doesn't work in an ODT sub-title entry,

Re: ob-lilypond.el doesn't generate midi files

2021-08-26 Thread Jonathan Gregory
Hi On 26 Aug 2021, Michael Maurer wrote: I've installed lilypond and customized ob-lilypond to use the appropriate helper programs, but although it generates & shows pdfs just fine, generating a midi file it does not. I execute tangle on the codeblock, and all I get is "No midi file

org-cite: enable inserting citation (org-cite-insert) after list bullet [9.5 (9.5-7c78aca @ /home/yuu/.config/emacs/straight/build/org/)]

2021-08-26 Thread Yuu Yin
** Expected behavior Invoking ~org-cite-insert~ after list bullets (e.g. ~-~ and ~1.~ ) works. *** Why Being able to insert citations in lists is useful when the user wants to list works without text surround it, for instance a list akin to the ~Further reading~ section on Wikipedia (e.g.

ob-lilypond.el doesn't generate midi files

2021-08-26 Thread Michael Maurer
I've installed lilypond and customized ob-lilypond to use the appropriate helper programs, but although it generates & shows pdfs just fine, generating a midi file it does not. I execute tangle on the codeblock, and all I get is "No midi file generated so can't play!". org-version 9.4.6 emacs 27.2

Re: org-capture config broken

2021-08-26 Thread Orm Finnendahl
Hi, Am Mittwoch, den 25. August 2021 um 18:16:15 Uhr (+0200) schrieb Maxim Nikulin: > > Unfortunately you did not specify version of Org you are currently using. Sorry, it's 9.4.4. > This the old style of Org protocol URI. See > https://orgmode.org/manual/The-capture-protocol.html for an

New source block results option for attaching file to node

2021-08-26 Thread Ryan Scott
An additional option for use with ":results file" that moves the returned path to the node attachment directory (as returned by org-attach-dir), creating it if necessary. First time submitting a patch. Any feedback is appreciated. -ryan

Bug: Unintended column added to table [9.4.6 (9.4.6-gab9f2a @ /home/user/.emacs.d/elpa/org-9.4.6/)]

2021-08-26 Thread spectria
In a preexisting org table, hitting can add a new, unintended column To reproduce the behavior: 1) Create foo.org containing: | Type | | foo | | | 2) emacs -Q 3) M-x package-initialize 4) C-x C-f foo.org 5) Repeat: 1) Put cursor at end of line containing foo 2)

Re: [PATCH] org-cite: prevent ' from being an active char in LaTeX export

2021-08-26 Thread Timothy
Heyo, > This is a band-aid over the issue raised in > . As this actually fixes a real annoyance, and is a trivial change, I’m pushing this as a3ba79cd3a. All the best, Timothy

Re: [PATCH] org-cite: define \citeprocitem for LaTeX export

2021-08-26 Thread Timothy
Heyo, As it’s been a few days, given the prior consultation with citeproc-el, and that this is a very small change, I’m pushing this as 818bec57eb. We can always revert/patch over in case I’m walking on someone’s (nickolas’?) toes :) All the best, Timothy