How to set priority of a heading with the highest one among its children

2023-04-20 Thread Edouard Debry
Given this tree : * TODO Main [#2] ** DONE Child1 [#0] ** TODO Child2 [#3] ** TODO Child3 [#4] *** TODO Subchild1 [#1] *** TODO Subchild2 [#2] I would like that the priority of parent headings be automatically set to the highest priority among its note done children. So, in previous example,

Re: Creating animated gif from latex src blocks

2023-02-09 Thread Edouard Debry
that some blocks can be called within other code blocks but obviously, with the same language. Perhaps the "#+CALL:" syntax can call several code blocks ? #+CALL : before-gif() make-gif() after-gif() Let me know if you find a lighter way to generate animated images from src code blocks. Hope this helps Regards Edouard Debry

Re: svg file from tikz picture

2022-09-20 Thread Edouard Debry
Hi, I had this very same question to produce svg from latex src blocks. First, consider this example : #+HEADER: :file test1.png #+HEADER: :exports results #+HEADER: :results output silent graphics file #+HEADER: :fit yes :noweb yes :headers '("\\usepackage{tikz}" "\\usetikzlibrary{backgrounds}

Re: Orgmode plain list bullet : change automatically with list depth

2022-06-19 Thread Edouard Debry
(t "↪" (prog1 () (compose-region (match-beginning 1) (match-end 1) bullet))) Many thanks for your help. Regards Ihor Radchenko writes: > Edouard Debry writes: > >> The key point is the regexp. I do not know if it is possible to capture

Re: Creating animated gif from latex src blocks

2022-06-19 Thread Edouard Debry
trick for this to work, the default latex header is "\\documentclass{article} ...", which fails but, replacing it by "\\documentclass[tikz]{standalone} ..." succeeds. Regards "Fraga, Eric" writes: > On Saturday, 18 Jun 2022 at 00:26, Edouard Debry wrote: >> A

Re: Orgmode plain list bullet : change automatically with list depth

2022-06-19 Thread Edouard Debry
What I am looking forward to is 1) not modifying the true "bullet" in the raw text, it will always be "-" I just want the appearance to look "nicer" 2) having a bullet appearance level depth specific, e.g. ▪ this is first level of a list ▪ still first level ➤ this is the second level ➤ this i

Re: Orgmode plain list bullet : change automatically with list depth

2022-06-19 Thread Edouard Debry
Are you sure bullet lists are irrelevant to org ? I tried without success to make a list without "-" or "+" in my *scratch*. Regards Tim Cross writes: > Samuel Wales writes: > >> sure. >> >> iiuc i think op wants 2 things: >> >> 1] graphical bullets. i.e. not the - + etc. that are in the

Re: Is ob-latex maintained ?

2022-06-19 Thread Edouard Debry
Indeed, you can make the src block work (produce a png) by adding imagemagick in the src block. It works because the generation process is completely different. But my main concern is that there is a bug in "ob-latex" : when you want to produce a png without imagemagick, either it does not work,

Re: Creating animated gif from latex src blocks

2022-06-17 Thread Edouard Debry
As a matter of fact, you can, but I will check out the latex package you mentioned "Fraga, Eric" writes: > Check out the animate LaTeX package. I don't believe you can create > such the actual animation from tikz itself.

Re: Maintenance Request

2022-04-20 Thread Edouard Debry
Thanks for offering to maintain 'ox-latex.el'. One of the thing that could be improved is the generation of svg images through tikz. Currently, unless I am mistaken, it does not work well. I had to tweak 'ox-latex.el' to make it work again. I did post a question about this on the mailing list.

Re: latex block tikz to svg

2022-04-18 Thread Edouard Debry
tex" is the faster (direct) and cleaner way to produce svg, but it may lack some advanced features, which is probably why, at the moment, the default way is through pdf generation. Regards Juan Manuel Macías writes: > Hi Edouard, > > Edouard Debry writes: > >> I would

Customize headline faces

2022-04-03 Thread Edouard Debry
Hello, I wanted to customize the headline fonts. I ended up writing this in my emacs configuration : <> (custom-theme-set-faces 'user `(org-document-title ((t (:height 1.5 `(org-level-1 ((t (:inherit outline-1 :height 1.4 `(org-level-2

Re: latex block tikz to svg

2022-01-25 Thread Edouard Debry
robably some missing options. I think at first there may be a bug in my own configuration of the variable "org-latex-pdf-process" which should be passed the correct build system. Regards Juan Manuel Macías writes: > Hi Edouard, > > Edouard Debry writes: > >> I woul

latex block tikz to svg

2022-01-17 Thread Edouard Debry
Hello, I experience some difficulties to export latex src block consisting of tikz code to svg. Here is for example the simple code I try to run with `C-c C-c` : <==> #+HEADER: :file test1.png #+HEADER: :imagemagick yes #+HEADER: :exports results