how to document/comment a complex org table formula

2021-07-04 Thread General discussions about Org-mode.
Limbic answer : - create an emacs-lisp function doing what you want - comment /ad libitum/ - call this function in your spreadsheet. HTH,

[kisara.moe] Re: [kisara.moe] Re: Bug: async latex export fails due to post-process lambda [9.4.4 (release_9.4.4-188-ga8df76 @ /home/mohkale/.config/emacs/lisp/straight/build/org/)]

2021-07-04 Thread Mohsin Kaleem
Mohsin Kaleem writes: > Greg Minshall writes: > >> Mohsin, >> >>> Hmmm... that's strange. Running: >>> 1. `emacs -nw` >>> ... >> >> you might want to start off with >> : emacs -nw -Q >> to eliminate any dependency on your personal .emacs file, etc. > > Oh, sorry, that was supposed to be `emacs

Re: [PATCH] make org-notify support for macOS desktop notification

2021-07-04 Thread stardiviner
I updated the patch, I found the package `osx-lib` contains solution. So I removed the directly osascript process invocation. 0001-org-clock.el-Make-org-notify-support-macOS-notificat.patch Description: Binary data > On Jul 4, 2021, at 1:48 PM, Maxim Nikulin wrote: > > On 04/07/2021 07:23,

Re: [External] : Re: export org table to other formats (gnumeric or scalc or xlsx)

2021-07-04 Thread Daniel Ortmann
I highly recommend a recent LibreOffice.  Nearly everything I do is through LibreOffice and CSV files.  MS Excel has problems when using inter-field-separators such as semicolons. When I receive Excel (or other) spreadsheets from people, I must first convert them into CSV files to clear out

Re: export org table to other formats (gnumeric or scalc or xlsx)

2021-07-04 Thread Tim Cross
Uwe Brauer writes: > Hi > > A couple of days ago I asked about importing excel formula into org > tables, and they only ways seems to do it manually. > > I just realised that I need it also the other way around, exporting to > some spreadsheet format, like gnumerica or scalc or xlsx. > > But

Re: LaTeX-producing code : how to export results to HTML/ODT ?

2021-07-04 Thread Emmanuel Charpentier
Yes, this works, indeed. If I could just figure why ... and how to use it with captions, labels and cross-references. But I still don't "get" drawers, I thonk. Thanks a lot ! You gave me somethong to think about. Le dimanche 04 juillet 2021 à 15:04 -0400, John Kitchin a écrit : > This

Re: LaTeX-producing code : how to export results to HTML/ODT ?

2021-07-04 Thread Emmanuel Charpentier
The following does what I want : export ln a LaTeX block to latex and beamer, export as a raw LaTeX snippet in HTML and ODT, no export otherwise : #+property: header-args:sage :session #+options: tex:t toc:nil author:nil #+begin_src emacs-lisp :exports none ;; (customize-set-variable ;;

how to document/comment a complex org table formula

2021-07-04 Thread Uwe Brauer
Hi It turns out that I have to deal with a bit more complex table formula of the form #+begin_src elisp #+TBLFM: $6=if($2>10,($2-10)*@2$7,0)+ min(10,$2)*@2$2+ min(10,$3)*@2$3 + if($4>10,($4-10)*@2$7,$4)+min(10,$4)*@2$4 +@2$5*$5;f1 #+end_src Is there any way to document or comment such a

Re: LaTeX-producing code : how to export results to HTML/ODT ?

2021-07-04 Thread John Kitchin
This incantation worked for me: #+name: foo #+begin_src emacs-lisp :exports both :results drawer "Pseudo-function returning a LaTeX pseudo-result." "\\[\\displaystyle{\\sin\\left(\\frac{a}{b}\\right)}\\]" #+end_src #+RESULTS: foo :results: \[\displaystyle{\sin\left(\frac{a}{b}\right)}\]

Re: LaTeX-producing code : how to export results to HTML/ODT ?

2021-07-04 Thread Emmanuel Charpentier
I tried this : #+property: header-args:sage :session #+options: tex:t toc:nil author:nil #+begin_src emacs-lisp :exports none ;; (customize-set-variable ;; 'org-latex-to-mathml-convert-command ;; "latexmlmath \"%i\" --presentationmathml=%o") (custom-set-variables

Re: LaTeX-producing code : how to export results to HTML/ODT ?

2021-07-04 Thread John Kitchin
Can you declare the output as org so they will just be latex snippets? On Sun, Jul 4, 2021 at 3:46 AM Emmanuel Charpentier wrote: > Dear list, > > Org-mode offers the ability to create functions returning LaTeX results : > such occurrences are frequent with Sagemath, Maxima, Mathematica, R, and

Re: using previous =#+results= when =:eval never=

2021-07-04 Thread Berry, Charles
> On Jul 3, 2021, at 10:19 PM, Greg Minshall wrote: > > Chuck, > > thanks. (i'm not surprised at an e-lisp suggestion from you! :) > > i worry about accidental modification of the base case results during > the chaos of development. it occurs to me (reading through >

Re: modify citation links in a derived HTML backend

2021-07-04 Thread Matt Price
On Sun, Jul 4, 2021 at 8:56 AM Jens Lechtenboerger < lech...@wi.uni-muenster.de> wrote: > On 2021-07-03, Matt Price wrote: > > > I've added some comments in the issue you linked to, but in the meantime > > I've also come up with what seems to be at least a semi-viable hack for > > adding native

bug#12972: [PATCH] Avoid regression in mailcap-view-file similar to Bug#44824

2021-07-04 Thread Eli Zaretskii
> From: Maxim Nikulin > Date: Sun, 4 Jul 2021 20:37:24 +0700 > > I admit that I wrongly added ":noquery t", for some reason I believed > that it allows to choose whether processes are allowed to exist longer > than emacs or it is preferred to kill them with emacs. Actually > asynchronous

bug#12972: [PATCH] Avoid regression in mailcap-view-file similar to Bug#44824

2021-07-04 Thread Maxim Nikulin
On 03/07/2021 18:56, Eli Zaretskii wrote: From: Maxim Nikulin Date: Sat, 3 Jul 2021 18:29:30 +0700 I am giving up with this issue. That's too bad. I see no reason to give up, and I urge you to reconsider, please. Sorry, but the space of your assumptions and maybe confusions has too high

Re: modify citation links in a derived HTML backend

2021-07-04 Thread Jens Lechtenboerger
On 2021-07-03, Matt Price wrote: > I've added some comments in the issue you linked to, but in the meantime > I've also come up with what seems to be at least a semi-viable hack for > adding native CSL citation support to org-re-reveal. It involves creating > two new variables and then

export org table to other formats (gnumeric or scalc or xlsx)

2021-07-04 Thread Uwe Brauer
Hi A couple of days ago I asked about importing excel formula into org tables, and they only ways seems to do it manually. I just realised that I need it also the other way around, exporting to some spreadsheet format, like gnumerica or scalc or xlsx. But that look equally difficult, isn't.

Re: how to add a range of columns

2021-07-04 Thread Uwe Brauer
>>> "ESF" == Eric S Fraga writes: > On Friday, 2 Jul 2021 at 20:56, Uwe Brauer wrote: >> Now I want to add also result and new, but only the first two rows, the >> only way to do it seems to be your original approach. > At this point, you need to start using more advanced formulas, > e.g.

LaTeX-producing code : how to export results to HTML/ODT ?

2021-07-04 Thread Emmanuel Charpentier
Dear list, Org-mode offers the ability to create functions returning LaTeX results : such occurrences are frequent with Sagemath, Maxima, Mathematica, R, and even emacs's Calc... Such functions can be declared has having LaTeX output, and the resulting  =#+begin_export latex ...  #+end_export