Re: [PATCH] ox-html: Add webp as an inline image format

2021-03-18 Thread Kyle Meyer
Jay Kamat writes: > Subject: [PATCH] ox-html: Add webp as an inline image format Thanks for the patch. Pushed (a9f38b1c2) with a few additions (updated the :package-version keyword, added a NEWS entry, and added a period after the changelog entry.)

Re: [PATCH] Fix ob-smiles using old org API.

2021-03-18 Thread Kyle Meyer
Lein Matsumaru writes: > As subject says, it does not get updated, so I did. [...] > Subject: [PATCH] ob-smiles.el: Update org babel API Thanks. Pushed (1738b455b), along with a follow-up commit that fixes the free variable reference in molecule-jump. Note that the plan is to move contrib/ to

Re: Syntax Proposal: Multi-line Table Cells/Text Wrapping

2021-03-18 Thread Timothy
Tim Cross writes: > My view is 'go for it'. Just create a new feature branch and implment > the functionality in that branch. We can then try using it and see where > it works and where it doesn't. Once this is done, a call can be made as > to whether it should be implemented in the main code

Re: Syntax Proposal: Multi-line Table Cells/Text Wrapping

2021-03-18 Thread Tim Cross
Timothy writes: > Tim Cross writes: > >> In principal, it wold be great to be able to support multi-row columns. >> However, I'm not sure how easily this can actually be implemented in a >> consistent and maintainable manner. > > Mmmm, this of feels like something where you'll quickly learn

bug#44824: [PATCH] org.el: Avoid xdg-open silent failure

2021-03-18 Thread Kyle Meyer
Maxim Nikulin writes: > org.el: Avoid xdg-open silent failure > > * lisp/org.el (org-open-file): Use 'pipe :connection-type instead of > 'pty to prevent killing of background process on handler exit. > > Problem happens only in some desktop environments where configured

Re: Syntax Proposal: Multi-line Table Cells/Text Wrapping

2021-03-18 Thread Timothy
Tim Cross writes: > In principal, it wold be great to be able to support multi-row columns. > However, I'm not sure how easily this can actually be implemented in a > consistent and maintainable manner. Mmmm, this of feels like something where you'll quickly learn how hard it is/isn't when

Re: Syntax Proposal: Multi-line Table Cells/Text Wrapping

2021-03-18 Thread Juan Manuel Macías
Tim Cross writes: > From watching these discussions in the past, I think the big stumbling > block is how easily multi-row columns can be added and maintained in the > various export formats. Some are easy, like HTML, but others are less > so. In particular, I know from my many years working

Re: Syntax Proposal: Multi-line Table Cells/Text Wrapping

2021-03-18 Thread Tim Cross
Atlas Cove writes: > On 18/03/2021 14:26, Timothy wrote: >>Interesting suggestion you have here. >>On a related note, I wonder if you might have seen this thread I raised >>a while ago: https://orgmode.org/list/87k0v361x9@gmail.com/ >>The discussion has died down (unfortunately), but the

RE: Sharing variables between source blocks without session

2021-03-18 Thread Cook, Malcolm
Eric S Fraga writes: > >> On Tuesday, 16 Mar 2021 at 09:56, Loris Bennett wrote: >>> How can I avoid having to declare the variable 'user' for both blocks? >> >> I imagine you could use a property, as in >> >> #+property: header-args :var user=loris >> >> or even make it

Re: odt export and embedded latex

2021-03-18 Thread Eric S Fraga
On Thursday, 18 Mar 2021 at 12:03, Esteban Venialgo wrote: > I'd like to export a .org file as ODT and I have an embedded latex > gantt chart in a separated tex file. The problem is that the gantt > chart does not get exported. It seems that it's completely ignored by > the odt exporting tool.

Re: Sharing variables between source blocks without session

2021-03-18 Thread Eric S Fraga
On Thursday, 18 Mar 2021 at 14:21, Loris Bennett wrote: > Thanks for point out using 'header-args;' as property. However, if I do > the following, the variable is unset in the shell script: Works for me. Make sure you reload properties by hitting C-c C-c on the property line (or some other #+

Re: export org table to html, exclude certain rows

2021-03-18 Thread Uwe Brauer
>>> "MN" == Maxim Nikulin writes: > On 18/03/2021 20:34, Uwe Brauer wrote: >> Does there exist a similar feature for rows? > Have you tried "/"? > https://orgmode.org/manual/Advanced-features.html You are right of course, sorry smime.p7s Description: S/MIME cryptographic signature

Re: Syntax Proposal: Multi-line Table Cells/Text Wrapping

2021-03-18 Thread Juan Manuel Macías
Atlas Cove writes: > In effect, yes. I'm proposing it as a syntax addition to make it easier to > read, export, and manage, larger tables. > I'm unsure if this would fit within the scope of org, but > [[https://github.com/RedBug312/markdown-it-multimd-table][other projects]], > like >

Re: How to get shell source blocks to read my profile?

2021-03-18 Thread Maxim Nikulin
On 16/03/2021 20:21, George Mauer wrote: I do still wonder what would be the disadvantage of just configuring it to do --login by default and doing all configuration in profile scripts. At the first glance it at least should not cause great trouble. Most shell stuff is written in fool-proof

Re: Syntax Proposal: Multi-line Table Cells/Text Wrapping

2021-03-18 Thread Atlas Cove
On 18/03/2021 14:26, Timothy wrote: Interesting suggestion you have here. On a related note, I wonder if you might have seen this thread I raised a while ago: https://orgmode.org/list/87k0v361x9@gmail.com/ The discussion has died down (unfortunately), but the idea is still on my mind. --

Re: Syntax Proposal: Multi-line Table Cells/Text Wrapping

2021-03-18 Thread Timothy
Hi! Interesting suggestion you have here. On a related note, I wonder if you might have seen this thread I raised a while ago: https://orgmode.org/list/87k0v361x9@gmail.com/ The discussion has died down (unfortunately), but the idea is still on my mind. -- Timothy

Re: export org table to html, exclude certain rows

2021-03-18 Thread Maxim Nikulin
On 18/03/2021 20:34, Uwe Brauer wrote: Does there exist a similar feature for rows? Have you tried "/"? https://orgmode.org/manual/Advanced-features.html

Re: Syntax Proposal: Multi-line Table Cells/Text Wrapping

2021-03-18 Thread Maxim Nikulin
On 18/03/2021 03:29, Atlas Cove wrote: I'd like to propose an addition to the table syntax that would allow for text wrapping in tables, I personally have myself managing very large org tables, and having to scroll through them is often cumbersome. As a result, I often yearn for greater

Re: Syntax Proposal: Multi-line Table Cells/Text Wrapping

2021-03-18 Thread Daniele Nicolodi
On 18/03/2021 14:38, Atlas Cove wrote: >> technically the second table is more space efficient than the first > > I was referring to screen space. Assuming that you are looking at this with a monospaced font (and I don't see how you could use a variable width font to look at an Org table

Exam LaTeX class

2021-03-18 Thread 陈贤文
Does someone have experiences with the exam LaTeX class: http://www-math.mit.edu/~psh/exam/examdoc.pdf? I made a simple hack to make it work, by adding the following lines to the .emacs file: (add-to-list 'org-latex-classes '("exam" "\\documentclass{exam}" ("\\section{%s}" .

copy org-org-output? Based on copy-tex-output

2021-03-18 Thread Uwe Brauer
Hi The following function, courtesy by Al Haji-Ali, allows me to copy latex output (basically pdf) to a directory of my choice. (defun copy-tex-output () (interactive) (let* ((default (expand-file-name (TeX-active-master nil))) (default-dir (file-name-directory default))

export org table to html, exclude certain rows

2021-03-18 Thread Uwe Brauer
Hi I know how to exclude certain columns in org table for being exported to HTML o Latex. Does there exist a similar feature for rows? Regards Uwe Brauer

Re: Syntax Proposal: Multi-line Table Cells/Text Wrapping

2021-03-18 Thread Atlas Cove
technically the second table is more space efficient than the first I was referring to screen space. Should Org understand all the 'concatenated text' as a single row (and not as multiple rows)? In effect, yes. I'm proposing it as a syntax addition to make it easier to read, export, and

Re: Sharing variables between source blocks without session

2021-03-18 Thread Loris Bennett
Eric S Fraga writes: > On Tuesday, 16 Mar 2021 at 09:56, Loris Bennett wrote: >> How can I avoid having to declare the variable 'user' for both blocks? > > I imagine you could use a property, as in > > #+property: header-args :var user=loris > > or even make it specific for the particular

[PATCH] Fix ob-smiles using old org API.

2021-03-18 Thread Lein Matsumaru
As subject says, it does not get updated, so I did. >From 24fe077429a83c4c4a48d873b03627782de0b883 Mon Sep 17 00:00:00 2001 From: Lein Matsumaru Date: Tue, 16 Mar 2021 10:52:18 + Subject: [PATCH] ob-smiles.el: Update org babel API * contrib/lisp/ob-smiles.el (org-link): Fix from

odt export and embedded latex

2021-03-18 Thread Esteban Venialgo
hi org experts, I'd like to export a .org file as ODT and I have an embedded latex gantt chart in a separated tex file. The problem is that the gantt chart does not get exported. It seems that it's completely ignored by the odt exporting tool. This is the latex section within my .org file:

Re: org-capture-template: table lines including newline of sorts

2021-03-18 Thread Uwe Brauer
> On 3/16/21 3:34 AM, Uwe Brauer wrote: > I'm running org 9.4.4 and emacs 28.0.50, (both from source) on Debian > testing. According to my notes in my init file I created the template > in early July 2011, modified it slightly two years later. I do not > recall any problems with