Re: how to avoid 0.0 in an org-table

2021-07-06 Thread Roger Mason
Hello Uwe, Uwe Brauer writes: > I obtain 0.0 in the last column, this looks bad, any idea how to avoid > it? I think you can use a printf format specification in the formula. Cheers, Roger

Re: convert subtree or nested list to table

2021-07-06 Thread Tim Cross
Eric S Fraga writes: > On Tuesday, 6 Jul 2021 at 15:10, Tim Cross wrote: >> One advantage working with HTML has over latex is >> that you don't have to worry about lines and line breaks and can have >> really long cell lines which will get wrapped in HTML rendering. > > Minor point: in

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

2021-07-06 Thread Jack Kamm
Hello again, >> A user might like to construct a figure consisting of various subfigures >> such as in a subfloat environment. >> >> Will this be reasonably simple to accomplish if `:results graphics' (with no >> `file' element) automatically inserts a link? >> >> Currently, omitting the file

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

2021-07-06 Thread stardiviner
Thanks for your suggestion. Does your Emacs build supports imagemagick image view and svg feature support? Because company-mode now have built-in icons support. This is the reason that I switch from https://emacsformacosx.com/ to Homebrew cask Emacs version. > On

Re: [wip-cite-new] Quick note about citation insertion

2021-07-06 Thread Bruce D'Arcus
On Sat, Jul 3, 2021 at 3:58 AM Nicolas Goaziou wrote: > Anyway, I'll try to provide something a little more useful out of the > box, based on your comment and Bruce D'Arcus suggestion. Nicolas - I saw you pushed some changes, per the discussion. First, my initial thought is the behavior at

Re: add #+ATTR_SOMETHING to headline?

2021-07-06 Thread John Kitchin
Why don’t you just use a property for this? On Mon, Jul 5, 2021 at 11:12 PM Matt Price wrote: > Does anyone know if attributes get attached to headline elements during > the export process? I am writing a derived backend in which I would like to > have a line like > > (let (add-toggle

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

2021-07-06 Thread Maxim Nikulin
On 06/07/2021 08:45, stardiviner wrote: Here is the new patch which invokes notifications though Emacs built-in API `ns-do-applescript`. I suspect, you considered your original patch as small and simple, didn't you? + (format "display notification \"%s\" with title \"Org mode

problems with (customize-option 'org-structure-template-alist)

2021-07-06 Thread Uwe Brauer
Hi I would like to have templates for the following to blocks #+begin: aggregate :table final :cols "Nombre 'Calificación' " #+end: #+begin: join :mas-table "actas" :mas-column "Nombre" :ref-table "actas-dni" :ref-column "Nombre" #+end: However I am only able to obtain: #+begin_:

Re: convert subtree or nested list to table

2021-07-06 Thread Juan Manuel Macías
Hi Matt, sorry for the slow reply... Matt Price writes: > I'd love to try that, thanks. I think it would be really helpful. > Much appreciated! Some previous caveats: - *The code is very raw*. I wrote it almost as a "proof of concept" for my personal use, therefore it is quite improvable.

Re: convert subtree or nested list to table

2021-07-06 Thread Uwe Brauer
>>> "MP" == Matt Price writes: > I have to write a number of text-heavy documents which need to be delivered > as tables with wrapped paragraphs in most cells. Working directly in table > format is pretty arduous and uncomfortable. Has anyone ever written a > function to accept a list or

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

2021-07-06 Thread John Kitchin
Here is a way way to combine the output with a name/caption. I adapted this from the post-processing section in https://orgmode.org/manual/Results-of-Evaluation.html #+NAME: caption #+BEGIN_SRC sh :var data="" :var caption="" name="" :results output echo "#+name: $name" echo "#+caption:

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

2021-07-06 Thread Berry, Charles
> On Jul 6, 2021, at 8:04 AM, Jack Kamm wrote: > > Hello again, > >>> A user might like to construct a figure consisting of various subfigures >>> such as in a subfloat environment. >>> >>> Will this be reasonably simple to accomplish if `:results graphics' (with >>> no `file' element)

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

2021-07-06 Thread Christian Hopps
It supports imagemagick (specify —with-imagemagick), and it includes svg by default, I simply forked the railwaycat version and added the native notification code. Thanks, Chris. > On Jul 6, 2021, at 11:30 AM, stardiviner wrote: > > Thanks for your suggestion. Does your Emacs build supports

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

2021-07-06 Thread Jack Kamm
Hi Chuck, > Here is an ECM that when exported with `C-c C-e l o y y` (or 'yes RET' for > each `y' depending on your setup) I don't see the example on your last email, could you try re-attaching it? Thanks, Jack

Re: [PATCH] Allow tangling to a list of files

2021-07-06 Thread General discussions about Org-mode.
Dear Vladimir, thanks for your reply. Let me show you two examples; they are both WIP and incomplete, but you'll get the gist. - Example 1 https://gist.github.com/85c9b9c9ab151c5fd35bd761ef6ef569 This is my literate config for .zshrc; as you can see different blocks are tangled to

Re: Emacs-orgmode Digest, Vol 185, Issue 7

2021-07-06 Thread Samuel Banya
- oh, wait. I have an old PC I don't use much (2008 AD - Core 2 Duo). I was thinking about using it just for orgmode. Would you recommend me an OS? What are the other specs for the machine, as in what's the RAM? This matters a ton because it means the difference of what desktop environment

Emacs-orgmode Digest, Vol 185, Issue 7

2021-07-06 Thread Ypo
Hi Several things around my mind. Pick one if you like, and I will try to explain it better. - when using ediff, if there is an image near the text which has differences, it works wrong. Like if the image wouldn't allow ediff to scroll and show the difference. I just see the image,

Ability to hide / collapse in-buffer settings?

2021-07-06 Thread Matthew Twomey
Greetings, I'm trying to find a way to visually collapse settings related to images in my org docs. I have many images with a syntax similar to: #+NAME: fig:figure name #+CAPTION: figure name #+ATTR_ORG: :width 200 #+ATTR_LATEX: :width 2.0in #+ATTR_HTML: :width 200

Re: Emacs-orgmode Digest, Vol 185, Issue 7

2021-07-06 Thread Samuel Banya
Regarding the latex issue, you need to have a version of Latex installed on your machine in order to be able to utilize LaTeX within Emacs to export PDFs. On Linux machines, this is often labeled 'texlive' in your distribution's package manager, ex on a Debian or Ubuntu based Linux

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

2021-07-06 Thread Berry, Charles
> On Jul 6, 2021, at 12:20 PM, Jack Kamm wrote: > > Hi Chuck, > >> Here is an ECM that when exported with `C-c C-e l o y y` (or 'yes RET' for >> each `y' depending on your setup) > > I don't see the example on your last email, could you try re-attaching > it? > > Thanks, > Jack Mea

unable to activate org-wikinodes

2021-07-06 Thread Michael Maurer
I've put (setq org-return-follows-link t) (custom-set-variables '(org-modules (quote (org-wikinodes))) '(org-return-follows-link t)) in my config, but making a camel case headline does not create a link when repeating the word in a paragraph. I've also tried activating org-wikinodes with m-x

Re: [PATCH] Allow tangling to a list of files

2021-07-06 Thread Vladimir Lomov
Hello! ** Jacopo De Simoi via General discussions about Org-mode. [2021-07-06 01:09:30 -0400]: > Hi Greg, > thanks for your comments! > On Tuesday, July 6, 2021 12:43:54 AM EDT Greg Minshall wrote: >> hi, Jacopo, >> >> i'm not convinced this is needed over and above your old "solution" of

Bug: tab key no longer bound to org-cycle in commit 565361eb69 [9.4.6 (9.4.6-10-gee652a-elpaplus @ /Users/bartm002/.emacs.d/elpa/org-plus-contrib-20210705/)]

2021-07-06 Thread Mark Barton
I normally use C-RET to enter a new headline and then press TAB to make it child headline. Recently it stopped working and I think I have it tracked down to the change that was made last week. I could be missing something that allows “TAB” to work for a kdb binding, but the previous format of

Re: [PATCH] Allow tangling to a list of files

2021-07-06 Thread Vladimir Lomov
Hello Jacopo. ** Jacopo De Simoi [2021-07-06 11:24:40 -0400]: > Dear Vladimir, > thanks for your reply. > Let me show you two examples; they are both WIP and incomplete, but you'll > get > the gist. > - Example 1 > https://gist.github.com/85c9b9c9ab151c5fd35bd761ef6ef569 > This is my

Re: Emacs-orgmode Digest, Vol 185, Issue 7

2021-07-06 Thread Tim Cross
Ypo writes: > Hi > > Several things around my mind. Pick one if you like, and I will try to > explain it better. > > - when using ediff, if there is an image near the text which has differences, > it > works wrong. Like if the image wouldn't allow ediff to scroll and show the > difference. I

Re: [PATCH] Allow tangling to a list of files

2021-07-06 Thread Tim Cross
Vladimir Lomov writes: > [[PGP Signed Part:Undecided]] > Hello Jacopo. > ** Jacopo De Simoi [2021-07-06 11:24:40 -0400]: > >> Dear Vladimir, > >> thanks for your reply. > >> Let me show you two examples; they are both WIP and incomplete, but you'll >> get >> the gist. > >> - Example 1 >

Re: [PATCH] Allow tangling to a list of files

2021-07-06 Thread Jacopo De Simoi
On Tuesday, July 6, 2021 11:27:18 PM EDT Vladimir Lomov wrote: > Hello Jacopo. > > ** Jacopo De Simoi [2021-07-06 11:24:40 -0400]: > > Dear Vladimir, > > > > thanks for your reply. > > > > Let me show you two examples; they are both WIP and incomplete, but you'll > > get the gist. > > > > -

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

2021-07-06 Thread Tim Cross
stardiviner writes: >> On Jul 6, 2021, at 8:06 AM, Tim Cross wrote: >> >> >> stardiviner writes: >> On Jul 5, 2021, at 7:55 PM, Maxim Nikulin wrote: On 05/07/2021 10:50, stardiviner wrote: > I updated the patch, I found the package `osx-lib` contains solution. >

Re: [PATCH] Allow tangling to a list of files

2021-07-06 Thread Tim Cross
Jacopo De Simoi via "General discussions about Org-mode." writes: > Hi Greg, > > thanks for your comments! > > On Tuesday, July 6, 2021 12:43:54 AM EDT Greg Minshall wrote: >> hi, Jacopo, >> >> i'm not convinced this is needed over and above your old "solution" of >> using <> witn

how to avoid 0.0 in an org-table

2021-07-06 Thread Uwe Brauer
Hi In the following example #+begin_src elisp | || | | Res | Min | |-++---+---+--+-| | 0 | 0 | 0 | 0 |0 | 0.0 | | 1.2 | 10 | 1 | 1 | 13.2 | 0.1 | #+TBLFM: $5=vsum($1..$4);f1::$6=min(10,$4)*0.1;f1 E #+end_src I obtain 0.0 in the last column, this looks

Re: convert subtree or nested list to table

2021-07-06 Thread Eric S Fraga
On Tuesday, 6 Jul 2021 at 15:10, Tim Cross wrote: > One advantage working with HTML has over latex is > that you don't have to worry about lines and line breaks and can have > really long cell lines which will get wrapped in HTML rendering. Minor point: in LaTeX, the standard tabular

[PATCH] Show drawers in text entries in Org Agenda

2021-07-06 Thread Rodrigo Morales
Rodrigo Morales writes: > > For this reason, I am wondering whether there is a way to make > =org-agenda-entry-text-mode= to show the drawers without much > tinkering. > After inspecting the source code of Org Mode, I managed to do what I was searching by deleting the relevant part of the