Re: font lock (locally, per file) ignore subscripts

2022-06-17 Thread Ihor Radchenko
Uwe Brauer writes: > I'd like that, in certain files, subscripts are ignored. > > I know I could use ~ ~ as in > ~dl_emacs_support.m~ > > Or > > =dl_emacs_support.m= > > But could I deactivate font locking for these constructions locally? You can set org-use-sub-superscripts locally in the

Re: [PATCH] org.el (org-format-latex-header): put DEFAULT-PACKAGES before PACKAGES

2022-06-17 Thread Ihor Radchenko
Sébastien Miquel writes: > Ihor Radchenko writes: >> Thanks for the clarification! Now, your patch makes much more sense. Can >> you update the commit message explaining the above shortly and linking >> to this thread? > > See attached. Thanks! Applied onto main via 9fb9a2bdf with amendments to

Re: Proposal: 'executable' org-capture-templaes

2022-06-17 Thread Tim Cross
Ihor Radchenko writes: > Arthur Miller writes: > >> this example the mode map approach seems slightly more convenient. I don't >> know, >> in org-agenda-test, I haven't implemented all of org-agenda, restrictions, >> prefixes and some other stuff, mostly because I don't really understand the

Re: Proposal: 'executable' org-capture-templaes

2022-06-17 Thread Ihor Radchenko
Arthur Miller writes: > Anyway, I have been playing and testing a bit, and didn't want to prolong > discussion untill I have something to show. So here is a small prototype. It > is > just a rough sketch of the idea. Thanks! I will not comment on Elisp part just yet. Let's first settle down

[PATCH] babel output seems to drop anything before % (in session)

2022-06-17 Thread Ihor Radchenko
"Felix Freeman" writes: > Today I stumbed upon the same bug. > > Sadly I have no idea how to fix it, but thought it would be nice to post > about it here so the bug doesn't get lost in the sands of time. I finally managed to get some working fix. At least it kind of works on my system using

[PATCH worg 1/2] Move duplicate and obsolete LoB to archive

2022-06-17 Thread ~theophilusx
From: Tim Cross A duplicate library-of-babel.org file was in the worg/org-contrib/babel directory. It was out-of-date, so I moved it to archive. The 'real' library-of-babel.org file sits in the root /worg directory. --- {org-contrib/babel => archive}/library-of-babel.org | 0 1 file changed,

[PATCH worg 2/2] Update and cleanup of LoB file

2022-06-17 Thread ~theophilusx
From: Tim Cross - Add exmaple elispgantt test table and description - Fix some old tblname and headers arguments - Fix some missing quoting in exmaple blocks - fix block indentation - add missing name values Still a bit of cleanup work required, but a start... --- library-of-babel.org | 554

[PATCH worg 0/2] Cleanup of LoB file

2022-06-17 Thread ~theophilusx
These patches just perform some basic cleanup of the library-of- babel.org file. It also moves a duplicate library-of-babel.org file into the archive directory. Note that I am working on a complete overhaul of worg, which I will implement in a separate branch in my sourcehut clone of the repo.

Re: Links to javascript-based websites from orgmode.org: Paypal and Github

2022-06-17 Thread Ihor Radchenko
Bastien writes: > If one day more Org contributors appear on a Worg page where they > advertize their need for donations (and I encourage Org contributors > to add such a page), I would have no problem with links to donations > services that are not aligned with GNU standards. I have been

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

2022-06-17 Thread Tim Cross
Samuel Wales writes: > sure. > > iiuc i think op wants 2 things: > > 1] graphical bullets. i.e. not the - + etc. that are in the org > plain text as saved to disk. > 2] each level of a list to have the same bullet style > > > examples of 2]: > > a conforming list: > > - this is level 1.

Re: LoB elsipgantt sample input table

2022-06-17 Thread Tim Cross
"Fraga, Eric" writes: > Dear Tim, > > On Friday, 17 Jun 2022 at 18:27, Tim Cross wrote: >> "Fraga, Eric" writes: >>> On Friday, 17 Jun 2022 at 13:34, Tim Cross wrote: One of the more interesting code blocks is elispgantt, which can generate a Gantt chart from data supplied in a

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

2022-06-17 Thread Samuel Wales
sure. iiuc i think op wants 2 things: 1] graphical bullets. i.e. not the - + etc. that are in the org plain text as saved to disk. 2] each level of a list to have the same bullet style examples of 2]: a conforming list: - this is level 1. for this list, we always want level 1 to use

Re: Creating animated gif from latex src blocks

2022-06-17 Thread Ihor Radchenko
Edouard Debry writes: > 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. FYI, animate package can work, but it

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: Agenda view sorting based on custom property

2022-06-17 Thread Haakon HR
Thank you! That was exactly what I was looking for. Sincerely, Haakon

Re: About 'inline special blocks'

2022-06-17 Thread Juan Manuel Macías
Ihor Radchenko writes: > While arbitrary markup can indeed be introduced using our current link > syntax, there is one important limitation of links: > > *** link description cannot contain other links *** > > If one seriously tries to extend Org syntax with custom markup elements, > nested

Re: LoB elsipgantt sample input table

2022-06-17 Thread Fraga, Eric
Dear Tim, On Friday, 17 Jun 2022 at 18:27, Tim Cross wrote: > "Fraga, Eric" writes: >> On Friday, 17 Jun 2022 at 13:34, Tim Cross wrote: >>> One of the more interesting code blocks is elispgantt, which can >>> generate a Gantt chart from data supplied in a table. It is based on >>> code

Re: Utility of description lists

2022-06-17 Thread Cletip Cletip
Ok I understand, it's really nice (the rendering on your site too). Thanks for your answer Le ven. 17 juin 2022 à 16:05, Kaushal Modi a écrit : > On Fri, Jun 17, 2022 at 8:50 AM Cletip Cletip > wrote: > > > Final question : why do you use description lists and not another ? > > I use

Re: Utility of description lists

2022-06-17 Thread Cletip Cletip
Ok clear thanks! Le ven. 17 juin 2022 à 15:43, Fraga, Eric a écrit : > On Friday, 17 Jun 2022 at 09:35, William Denton wrote: > > When I have a list of things I want to briefly descibe! > > And where the leading bullet or number would simple add clutter. > -- > : Eric S Fraga, with org

Re: Utility of description lists

2022-06-17 Thread Cletip Cletip
Simple and efficient, thanks for your answer! Le ven. 17 juin 2022 à 15:36, William Denton a écrit : > On 17 June 2022, Cletip Cletip wrote: > > > Final question : why do you use description lists and not another ? > > When I have a list of things I want to briefly descibe! That's all. It's

Re: Is ob-latex maintained ?

2022-06-17 Thread Fraga, Eric
On Friday, 17 Jun 2022 at 13:48, DEBRY.Edouard wrote: > Unfortunately not. > > If I remember well, this setting is for math environments, whether you > want to preview them as png or svg, it does not work for src blocks. Well, my src blocks work although I use imagemagick and then have the

Re: Utility of description lists

2022-06-17 Thread Juan Manuel Macías
Hi, Cletip Cletip writes: > - they are made implicitly to make a "key :: value" couple, which can > be convenient Leaving aside typographical considerations, what LaTeX calls, for example, "description" (because Org is totally typographic agnostic), I find this property that you mention very

Re: Utility of description lists

2022-06-17 Thread Kaushal Modi
On Fri, Jun 17, 2022 at 8:50 AM Cletip Cletip wrote: > Final question : why do you use description lists and not another ? I use description lists *heavily*. 1. For description lists of course.. where the "description" part is a bit verbose and plain lists don't look at that elegant For

Re: Creating animated gif from latex src blocks

2022-06-17 Thread Fraga, Eric
Check out the animate LaTeX package. I don't believe you can create such the actual animation from tikz itself. -- : Eric S Fraga, with org release_9.5.4-535-ged6f8d in Emacs 29.0.50

Re: Is ob-latex maintained ?

2022-06-17 Thread DEBRY . Edouard
Unfortunately not. If I remember well, this setting is for math environments, whether you want to preview them as png or svg, it does not work for src blocks. "Fraga, Eric" writes: >

Re: Utility of description lists

2022-06-17 Thread Fraga, Eric
On Friday, 17 Jun 2022 at 09:35, William Denton wrote: > When I have a list of things I want to briefly descibe! And where the leading bullet or number would simple add clutter. -- : Eric S Fraga, with org release_9.5.4-535-ged6f8d in Emacs 29.0.50

Re: Utility of description lists

2022-06-17 Thread George Mauer
It is not quite true that it's just a way of formatting, there is a semantic element to it as well where someone parsing your document programmatically can now know that what you have is a list of terms paired with their descriptions. In fact, when exporting to html you get a description list

Re: Utility of description lists

2022-06-17 Thread William Denton
On 17 June 2022, Cletip Cletip wrote: Final question : why do you use description lists and not another ? When I have a list of things I want to briefly descibe! That's all. It's just a way of formatting a list of things where there's a term (a word, a name, a title) that has some

Re: Is ob-latex maintained ?

2022-06-17 Thread Fraga, Eric
Have you tried adding the line: #+options: tex:dvipng to the file? (you may need to type C-c C-c on that line to refresh the settings.) Would this solve your problem? -- : Eric S Fraga, with org release_9.5.4-535-ged6f8d in Emacs 29.0.50

Creating animated gif from latex src blocks

2022-06-17 Thread DEBRY . Edouard
Hello, I would like to create an animated gif for a latex src block. Here to fix ideas such a block : <> #+header: :file test4.gif #+header: :exports results #+header: :results output silent graphics file

Is ob-latex maintained ?

2022-06-17 Thread DEBRY . Edouard
Hello, I had a couple of small issues when trying to export latex src block to images. Here is to fix ideas a src block : <=> #+HEADER: :file test1.png #+HEADER: :exports results #+HEADER: :results output

Utility of description lists

2022-06-17 Thread Cletip Cletip
Hello to all, The question is the same as the object, but it can be more detailed with this question: what are the differences between description lists and other lists? After many researches, I can't understand the fundamental difference. I can see two advantages to using this type of list: -

Re: [PATCH] org.el (org-format-latex-header): put DEFAULT-PACKAGES before PACKAGES

2022-06-17 Thread Sébastien Miquel
Ihor Radchenko writes: Thanks for the clarification! Now, your patch makes much more sense. Can you update the commit message explaining the above shortly and linking to this thread? See attached. Thanks, -- Sébastien Miquel From 72742cab341f66525e0acb0b92de65fb6d24c27f Mon Sep 17 00:00:00

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

2022-06-17 Thread Ihor Radchenko
Samuel Wales writes: > i wonder if org could do the semantics in the text, while > fontification could do the appearance only. > > org allows you to change the bullet style [real text bullets rather > than fontification] upon demotion. > > thus, you can have it consistent that demoting + from

Re: Agenda view sorting based on custom property

2022-06-17 Thread Ihor Radchenko
Haakon HR writes: > I have tried a few approaches but I'm a bit stuck. My first approach was > to use the variable `org-agenda-cmp-user-defined' and implement a > comparison function based on the already existing ones like > `org-cmp-alpha' or `org-cmp-effort'. However, I'm not able to extract >

Agenda view sorting based on custom property

2022-06-17 Thread Haakon HR
Hi all, I'm trying to hack together a custom agenda view where I want to sort the entries by a custom property, let's call it :CUSTOM:. So the entries in question would look like this: * TODO Buy cheese :PROPERTIES :CUSTOM: 2 :END: I have tried a few approaches but I'm a bit stuck. My

Re: LoB elsipgantt sample input table

2022-06-17 Thread Tim Cross
"Fraga, Eric" writes: > On Friday, 17 Jun 2022 at 13:34, Tim Cross wrote: >> One of the more interesting code blocks is elispgantt, which can >> generate a Gantt chart from data supplied in a table. It is based on >> code originally submitted by Eric Fraga and modified by Tom Dye. . > > If you

Re: LoB elsipgantt sample input table

2022-06-17 Thread Fraga, Eric
On Friday, 17 Jun 2022 at 13:34, Tim Cross wrote: > One of the more interesting code blocks is elispgantt, which can > generate a Gantt chart from data supplied in a table. It is based on > code originally submitted by Eric Fraga and modified by Tom Dye. . If you give me the link, I will try to

Org syntax compatibility with texinfo syntax (was: Org mode and Emacs (was: Convert README.org to plain text README while installing package))

2022-06-17 Thread Ihor Radchenko
I am forwarding yet another email from the emacs-devel thread to here. This thread includes both emacs-devel and Org ML. I will still keep emacs-devel in the loop because people from there can provide a useful insight about texinfo capabilities. Richard Stallman wrote: > I don't know for certain

Re: About 'inline special blocks'

2022-06-17 Thread Ihor Radchenko
Ihor Radchenko writes: > Vestibulum convallis, lorem blockname_[<>]{text} a tempus semper, dui > dui euismod elit, vitae placerat urna tortor vitae lacus. This thread is possible relevant to the ongoing emacs-devel discussion where RMS requested support/integration of Org and texinfo. Richard