[PATCH] ob-plantuml: Add PlantUML block post-processing.

2021-04-07 Thread Nick Daly
Hi folks, Please see the attached patch that allows for post-processing of PlantUML diagrams based on the exported file extension. I currently use this to transform text in PlantUML SVGs to paths with Inkscape so that they can be embedded in PDFs with the text displaying at the correct size in th

Re: Choosing a LaTeX Compiler (my predilection for LuaTeX)

2021-04-07 Thread Juan Manuel Macías
Hello again, physiculus writes: > Yes that works! > usually i do not use imagemagick. I use graphicsmagick, but ido not know > how i have to set the right command line. > SVG does nothing. > Very sad :-( > I want to use this because of quality reasons. > Do you know, how i can test svg? the dvis

Bug: Can't set background color of latex fragment

2021-04-07 Thread Sébastien Miquel
To reproduce with `emacs -Q` :  - Open an org buffer  - Call ~(setq org-format-latex-options '(:foreground default    :background "Black" :matchers ("$")))~  - Call =C-c C-x C-l= (org-latex-preview) on a latex fragment such as    $abc$ This bug was introduced by the commit 2f9e1569f which adds

Re: Bug: inconsistent escaping of coderef regexp

2021-04-07 Thread Tom Gillespie
Hi Nicolas, I've included the simplest patch I could come up with for the divergence in behavior between org-babel-tangle-single-file and org-link-search. I think there are two new threads that I need to create. One is related to how to make it possible to specify what should be removed along w

Re: Bug: Error while exporting o TexInfo. Html export works fine. [9.4.4 (release_9.4.4 @ /usr/local/share/emacs/28.0.50/lisp/org/)]

2021-04-07 Thread Nicolas Goaziou
Hello, Ramesh Nedunchezian writes: > If you are using `compilation-minor-mode'--yes, the minor mode and not > the major mode--you can have goodness of /both/ tabulated list mode > and compilation mode. > > Here is an attempt. At this point, I may suggest to write a proper patch so Org users can

Re: Bug: inconsistent escaping of coderef regexp

2021-04-07 Thread Nicolas Goaziou
Hello, Tom Gillespie writes: > We can decouple them, so not an issue. The attached patch implements > the header arg equivalents of -r and -l without making any changes to the > existing switch behavior. This is already conflating the two. I'd like to solve the issue at hand without having head

Re: Bug: org-columns--compute-spec tries to set CLOCKSUM property [9.4.4 (release_9.4.4-231-gf46925 @ /home/nick/elisp/org-mode/lisp/)]

2021-04-07 Thread Nicolas Goaziou
Hello, Nick Dokos writes: > The following MWE illustrates: > > --8<---cut here---start->8--- > #+COLUMNS: %25ITEM %6CLOCKSUM{:} > > * Goal 3 > :PROPERTIES: > :ID: goal_3 > :END: > > #+BEGIN: columnview :hlines 4 :id goal_3 :maxlevel 3 > > #+END > > *

Re: Choosing a LaTeX Compiler (my predilection for LuaTeX)

2021-04-07 Thread physiculus
Am Mi, 2021-04-07, 19:26 +0200, Juan Manuel Macías schrieb: Yes that works! usually i do not use imagemagick. I use graphicsmagick, but ido not know how i have to set the right command line. SVG does nothing. Very sad :-( I want to use this because of quality reasons. Do you know, how i can test

Re: Can no longer org-set-link-parameters with "fuzzy" link types

2021-04-07 Thread Nicolas Goaziou
Hello, Adam Sneller writes: > Nicholas - can you recommend how to best implement this with > font-lock-add-keywords? I think you can add a function as a matcher. The function could probably be what you wrote already. See `org-set-font-lock-defaults' for examples. Regards, -- Nicolas Goaziou

Re: Choosing a LaTeX Compiler (my predilection for LuaTeX)

2021-04-07 Thread Juan Manuel Macías
Hello, physiculus writes: > Hello again, > > thanks for the snippet, but unfortunately it doesn't work :-( > > Now it doesn't stop with error, it happens nothing. > here is my config. > > Variable: > org-preview-latex-default-process is a variable defined in ‘org.el’. > Its value is ‘luasvg’ > O

Re: Choosing a LaTeX Compiler (my predilection for LuaTeX)

2021-04-07 Thread physiculus
Am Di, 2021-04-06, 21:13 +0200, Juan Manuel Macías schrieb: Hello again, thanks for the snippet, but unfortunately it doesn't work :-( Now it doesn't stop with error, it happens nothing. here is my config. Variable: org-preview-latex-default-process is a variable defined in ‘org.el’. Its valu

Re: Choosing a LaTeX Compiler (my predilection for LuaTeX)

2021-04-07 Thread Juan Manuel Macías
Hi Diego Diego Zamboni writes: > Hi Juan Manuel, > > Thank you for writing this, which is the clearest explanation I have > seen of the advantages of LuaLaTeX/XeLaTeX. I have been using LaTeX > for nearly 30 years, but stopped using it intensively every day when > pdfLaTeX was still the bleeding

Re: org-refile using the ID of the target

2021-04-07 Thread Eglur
Hello, Christian. Thanks for the tip! It is indeed a very good solution. For now, I’m improvising the one-key approach with this ~/.emacs.d/init.el: (setq org-speed-commands-user '(("j" my/org-quick-refile))) (defun my/org-quick-refile () "Refile subtree using list of predefined targets

Re: captioned named table in org-babel R is dangling link in latex export

2021-04-07 Thread William Denton
It works if you put a #+label on the table ... which confuses me, because I looked through the manual for #+label and there's no mention of it at all, but a bunch of my Org files use it (for LaTeX export). # - #+name: t1 #+begin_src R :exports both library(tidyverse) x <- tribble(~a, ~b, 1

Re: Choosing a LaTeX Compiler (my predilection for LuaTeX)

2021-04-07 Thread Diego Zamboni
Hi Juan Manuel, Thank you for writing this, which is the clearest explanation I have seen of the advantages of LuaLaTeX/XeLaTeX. I have been using LaTeX for nearly 30 years, but stopped using it intensively every day when pdfLaTeX was still the bleeding edge. When I started again in the last coupl

Re: org-refile using the ID of the target

2021-04-07 Thread Christian Moe
My approach is to tag the equivalent of your "Notes" subtree of the various projects in my agenda files with an :INBOX: tag. The following code in .emacs then makes sure they are presented as refile targets: ;; Refile (setq org-refile-targets '((org-agenda-files . (:tag . "INBOX")) ;; In

Re: [PATCH] Use tags for SVGs

2021-04-07 Thread Timothy
Timothy writes: > It's worth nothing that the current approach isn't just "not great", but > actually causes some issues. Oh, and for reference the W3C violation this fixes is: "Attribute alt not allowed on element object" -- Timothy

[PATCH] Use tags for SVGs

2021-04-07 Thread Timothy
Hey everyone, This is the first patch addressing an item raised in https://orgmode.org/list/87sga4914t@gmail.com/ [subject: W3C violations in Org's HTML export]. For more information see the email mentioned above and/or the commit message. It's worth nothing that the current approach isn't ju