Re: LaTeX export: when is it more useful to use LuaTeX instead of pdfTeX?

2022-07-08 Thread Dominik Schrempf
FWIW: I have switched to lualatex years ago. In my opinion the additional compilation time is worth much more than my time debugging problems with weird symbols. Even when I only use Latin in the main text, most of the time, there are some special symbols that would need special attention in the

Re: [PATCH] Fix behavior of lambda default header arg vars

2022-07-08 Thread Ihor Radchenko
Matt Huszagh writes: > ... Try these. Thanks! Applied onto main via e8dd98d15 and 8be689f11 with amendments. I have modified the commit messages to provide the properly formatted changelog entries that include the modified function/defcustom name. Also, I have changed the commit messages and

Re: LaTeX export: when is it more useful to use LuaTeX instead of pdfTeX?

2022-07-08 Thread Tim Cross
Ihor Radchenko writes: > Tim Cross writes: > >> Juan, I think it would be great to add your post to worg. I'm happy to >> do this, but I think it wold also be good if we could include a basic >> 'setup' i.e. what changes people might need to (or should do to maximise >> benefit) in order to

Re: Warning (org-element-cache): org-element--cache: Warning( *helm-org-rifle-fontify*): Unregistered buffer modifications detected. Resetting.

2022-07-08 Thread Ihor Radchenko
Gregor Zattler writes: > I then updated org-mode, applied your patch: No warning > either. I then purged ~/.cache/org/persist and restarted > emacs: No warnings. > > So while there are no downsides regarding my small test with > your patch, I cannot verify that it addresses the problem, >

Re: [PATCH] org-src.el: Add plain to org-src-window-setup customization

2022-07-08 Thread Ihor Radchenko
Matt Rudary writes: > I was trying to customize org-src-window-setup and noticed that "plain" was > not an option, despite being documented. I checked the commit and it seems > the implementation was added but the choice list in the defcustom was not > updated. Thanks for your contribution!

Re: Alternatives to clocking in/out for reporting time

2022-07-08 Thread Ihor Radchenko
Russell Adams writes: > I just want to get the agenda items in a programmatic way so I can > report on them. Can you then formulate what exactly you want to achieve? Do you want to consider only agenda items? All the timestamps in the matching items or maybe just some? Best, Ihor

Re: [BUG] org-agenda-prepare-buffers does not save restrictions

2022-07-08 Thread Ihor Radchenko
Al Haji-Ali writes: > On 08/07/2022, Ihor Radchenko wrote: >> Could you please create a proper patch > > See attached. I made a further change to use `with-current-buffer` instead of > `set-buffer+save-excursion`. Thanks! Two more comments. > * lisp/org.el (org-agenda-prepare-buffers): Call >

Re: @string abbreviation in bib file not honored in (basic) org-cite

2022-07-08 Thread Ihor Radchenko
"Bruce D'Arcus" writes: > On Fri, Jul 8, 2022 at 7:25 AM wrote: > >> As I do not know which of these alternatives >> >>- it is normal, this feature should not be there, >>- it is an oversight, >>- this feature is not implemented yet, > > I believe this is the answer, and it's

Re: LaTeX export: when is it more useful to use LuaTeX instead of pdfTeX?

2022-07-08 Thread Ihor Radchenko
Tim Cross writes: > Juan, I think it would be great to add your post to worg. I'm happy to > do this, but I think it wold also be good if we could include a basic > 'setup' i.e. what changes people might need to (or should do to maximise > benefit) in order to try out luatex. For example, what

Re: Mathjax and org-mime-htmlize

2022-07-08 Thread Ihor Radchenko
Joseph Vidal-Rosset writes: > Is there a way to include Mathjax in html emails produced via M-x > org-mime-htmlize ? > > I would be glad to find a solution to this (small) problem. Note that org-mime is not a part of Org. It is hosted and developed at https://github.com/org-mime/org-mime

Re: org-meta-return / org-insert-heading does not insert new heading in middle of heading even id org-M-RET-may-split-line is set

2022-07-08 Thread Ihor Radchenko
Guillaume MULLER writes: > I'm not sure what did the trick, but if someone is looking for a solution, > it's probably a mix of: > - disabling org in Doom's init.el and/or > - manually pulling & compiling the versions in > ~/.emacs.d/.local/straight/{repos,build-27.1}/org and/or > - changing

Re: LaTeX export: when is it more useful to use LuaTeX instead of pdfTeX?

2022-07-08 Thread Tim Cross
Max Nikulin writes: > On 09/07/2022 01:49, Thomas S. Dye wrote: >> Juan Manuel Macías writes: >> >>> TL;DR: A list of use cases where using LuaTeX is more advantageous than >>> using pdfTeX >> I forgot to ask earlier.  Is Lua support in Babel potentially useful? The >> current >>

Re: Org mode export accessibility

2022-07-08 Thread Ihor Radchenko
"T.V Raman" writes: > > > 3. For math especially, make sure the TeX/LaTeX is preserved one > > > way or the other in the export > > > > Do you refer to the TeX source? To any specific export format? > 2. Math: Yes -- I meant the TeX/LaTeX representation of a math >

Re: [PATCH v4] ol.el: add description format parameter to org-link-parameters

2022-07-08 Thread Ihor Radchenko
Hugo Heagren writes: > Since the last version of this patch, I have: > - moved the code which sets `type' in `org-insert-link' to a position > where it covers more cases > - rewritten the macros used in the tests, so that always (and > correctly) restore the original state after running,

Re: LaTeX export: when is it more useful to use LuaTeX instead of pdfTeX?

2022-07-08 Thread Thomas S. Dye
Max Nikulin writes: On 09/07/2022 01:49, Thomas S. Dye wrote: Juan Manuel Macías writes: TL;DR: A list of use cases where using LuaTeX is more advantageous than using pdfTeX I forgot to ask earlier. Is Lua support in Babel potentially useful? The current implementation doesn't work

Re: LaTeX export: when is it more useful to use LuaTeX instead of pdfTeX?

2022-07-08 Thread Max Nikulin
On 09/07/2022 01:49, Thomas S. Dye wrote: Juan Manuel Macías writes: TL;DR: A list of use cases where using LuaTeX is more advantageous than using pdfTeX I forgot to ask earlier.  Is Lua support in Babel potentially useful? The current implementation doesn't work too well. In the context

Re: LaTeX export: when is it more useful to use LuaTeX instead of pdfTeX?

2022-07-08 Thread Matt Huszagh
Juan Manuel Macías writes: > TL;DR: A list of use cases where using LuaTeX is more advantageous than > using pdfTeX > > > > Many times Org users who frequently need to export their documents to > LaTeX, but who do not have much LaTeX experience (or their knowledge of > the TeX

Re: [PATCH] Fix caption format for custom latex src block

2022-07-08 Thread Matt Huszagh
Timothy writes: > As mentioned by Ihor, you’ll want to take a look at the curent version of > ox-latex, specifically `org-latex-src-block--custom' which now contains `(?c . > ,caption)'. You may want to consider modifying > `org-latex--caption/label-string' to > accept the form `(element info

Re: [PATCH] Remove additional newline at end of results block

2022-07-08 Thread Matt Huszagh
Ihor Radchenko writes: > Thanks for the patch! And sorry for the late reply. No worries for the delay - I know you have a lot of these. Thanks for the review. > Your explanation is quite confusing, but I think I managed to understand > what you referred to: > > -- > We can write the

Re: [PATCH] Fix behavior of lambda default header arg vars

2022-07-08 Thread Matt Huszagh
Ihor Radchenko writes: > This patch does not apply. It does not appear to be based on the > original main branch: > > Applying: ob-core.el: Improve org-babel-default-header-args docstring > error: sha1 information is lacking or useless (lisp/ob-core.el). > error: could not build fake ancestor

Re: Warning (org-element-cache): org-element--cache: Warning( *helm-org-rifle-fontify*): Unregistered buffer modifications detected. Resetting.

2022-07-08 Thread Gregor Zattler
Hi Ihor, * Ihor Radchenko [2022-07-08; 12:25]: > Thanks for reporting! The backtrace is very helpful. > > Can you please try the attached patch and let me know if it helps? thanks for the patch. I first tried to provoke again the warnings but did not succeed, although I use the same emacs and

Re: [BUG] Inline src blocks do not work for LaTeX [9.5.4 (release_9.5.4-3-g6dc785 @ /Users/salutis/src/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/)]

2022-07-08 Thread Rudolf Adamkovič
Christian and Ihor, Thank you folks for taking the time to explain the matter to me. Your messages made me realize that I completely misunderstood inline source blocks. It all makes sense, and I have no bug to report! Rudy -- "Programming reliably -- must be an activity of an undeniably

Re: Taking notes of videos in Emacs

2022-07-08 Thread Quiliro Ordóñez
El 2022-07-08 08:23, Tor Kringeland escribió: > Gerardo Moro writes: > >> Is there something similar in Emacs? > > mpv.el [1] is a starting point. You can play videos from YouTube (and > other websites) in mpv if you install yt-dlp [2] (or another youtube-dl > fork). With a little bit of

Re: LaTeX export: when is it more useful to use LuaTeX instead of pdfTeX?

2022-07-08 Thread Juan Manuel Macías
Bruce D'Arcus writes: > Today, I think the only advantage pdftex has is speed; it's a lot > faster to compile documents than luatex. That's true, but it seems to be a LaTeX and fontspec issue. I think ConTeXt, which uses LuaTeX, is faster, but I don't have the hard data. In general TeX is slow

Re: LaTeX export: when is it more useful to use LuaTeX instead of pdfTeX?

2022-07-08 Thread Thomas S. Dye
Juan Manuel Macías writes: TL;DR: A list of use cases where using LuaTeX is more advantageous than using pdfTeX I forgot to ask earlier. Is Lua support in Babel potentially useful? The current implementation doesn't work too well. All the best, Tom -- Thomas S. Dye

[PATCH] org-src.el: Add plain to org-src-window-setup customization

2022-07-08 Thread Matt Rudary
Hi, I was trying to customize org-src-window-setup and noticed that "plain" was not an option, despite being documented. I checked the commit and it seems the implementation was added but the choice list in the defcustom was not updated. Best, Matt Rudary

Re: LaTeX export: when is it more useful to use LuaTeX instead of pdfTeX?

2022-07-08 Thread Bruce D'Arcus
Today, I think the only advantage pdftex has is speed; it's a lot faster to compile documents than luatex. And maybe some advanced microtypography features, though I haven't tracked that. Bruce

Re: LaTeX export: when is it more useful to use LuaTeX instead of pdfTeX?

2022-07-08 Thread Greg Minshall
Juan Manuel, et al., > TL;DR: A list of use cases where using LuaTeX is more advantageous than > using pdfTeX i'm guessing this would be a nice addtion to worg (if it's not already there). cheers, Greg

Re: LaTeX export: when is it more useful to use LuaTeX instead of pdfTeX?

2022-07-08 Thread Thomas S. Dye
Juan Manuel Macías writes: TL;DR: A list of use cases where using LuaTeX is more advantageous than using pdfTeX Interesting. Thanks! All the best, Tom -- Thomas S. Dye https://tsdye.online/tsdye

Re: LaTeX export: when is it more useful to use LuaTeX instead of pdfTeX?

2022-07-08 Thread Juan Manuel Macías
Hi Uwe, Uwe Brauer writes: > Thanks for that list. > > Well I have felt in the past the same about pdftex, but I have partially > switched to xetex precisely on the reasons you list. > > I have not have the time, to really try out Luatex. Did you have the > time to compare it with XeTeX? First

Re: Taking notes of videos in Emacs

2022-07-08 Thread Samuel Banya
Totally separate user, but this is so dang cool. Thanks for the links, Juan. Looks awesome! On Fri, Jul 8, 2022, at 9:25 AM, Juan Manuel Macías wrote: > Gerardo Moro writes: > > > Hi, > > > > I recently discover the Obsidian Media Extended plugin > >

Re: LaTeX export: when is it more useful to use LuaTeX instead of pdfTeX?

2022-07-08 Thread Uwe Brauer
>>> "JMM" == Juan Manuel Macías writes: Hi Juan > TL;DR: A list of use cases where using LuaTeX is more advantageous than > using pdfTeX > > Many times Org users who frequently need to export their documents to > LaTeX, but who do not have much LaTeX experience (or their knowledge

Re: when does :cache not cache?

2022-07-08 Thread Fraga, Eric
Please ignore. Restarting Emacs fixed the problem. For some reason, re-loading org was not enough. I can export without error again. -- : Eric S Fraga, with org release_9.5.4-613-gb3b17c in Emacs 29.0.50

Re: when does :cache not cache?

2022-07-08 Thread Ihor Radchenko
"Fraga, Eric" writes: > I updated org recently (and again just now) and am getting the error > shown in the attached file. This is related to your patch, I think > given that it fails in accessing the "stable-file", but haven't verified > it. Before I investigate further, I thought I would

Re: when does :cache not cache?

2022-07-08 Thread Fraga, Eric
Hi Ihor, On Monday, 4 Jul 2022 at 21:06, Ihor Radchenko wrote: > Ihor Radchenko writes: > >> The patch introduces a new functionality to ob-core.el allowing more >> stable temporary file names. I am not sure if my implementation is the >> best way to solve the problem, so comments are welcome.

Re: Problem with defining stuck projects

2022-07-08 Thread Bob Heffernan
On 22-07-08 12:51, Ihor Radchenko wrote: > "^[ \t]*\\(SCHEDULED:\\|DEADLINE:\\)" Ihor, This seems to work. Thank you. Regards, Bob

Re: Org mode export accessibility

2022-07-08 Thread T.V Raman
1. Labels: yes -- figure captions etc. are examples of "labels" in general. 2. Math: Yes -- I meant the TeX/LaTeX representation of a math expression. Ihor Radchenko writes: > "T.V Raman" writes: > > > On org side: > > Thanks for the feedback! > > > 1. During authoring,

Re: Org mode export accessibility

2022-07-08 Thread T.V Raman
Correct. 1. Org should be the truth, not some export format that is picked based on political opinion. 2. Lowest Common denominator in my vocabulary is a "bad word" that LCD is something that makes everyone equally unhappy. So Take-Away: 1. Make org the best format for holding the

Re: org-meta-return / org-insert-heading does not insert new heading in middle of heading even id org-M-RET-may-split-line is set

2022-07-08 Thread Guillaume MULLER
Hi again, > I am using Vanilla Emacs. > Note that Doom is known for carelessly advising some Org functions and > can sometimes break things. Such issues should be reported to Doom > developers. Thanks for your help & pointers. Yes I agree, the problem must come from Doom's config (the commit

Mathjax and org-mime-htmlize

2022-07-08 Thread Joseph Vidal-Rosset
Hello, Is there a way to include Mathjax in html emails produced via M-x org-mime-htmlize ? I would be glad to find a solution to this (small) problem. All the best, Jo.

Re: Taking notes of videos in Emacs

2022-07-08 Thread Juan Manuel Macías
Gerardo Moro writes: > Hi, > > I recently discover the Obsidian Media Extended plugin > (https://www.youtube.com/watch?v=GQXVWtNkeZw) to take notes while > watching videos / listening to audios with keybindings to stop the > video and create timestamps with link to the specific moment of the >

Re: Taking notes of videos in Emacs

2022-07-08 Thread Ihor Radchenko
Gerardo Moro writes: > I recently discover the Obsidian Media Extended plugin ( > https://www.youtube.com/watch?v=GQXVWtNkeZw) to take notes while watching > videos / listening to audios with keybindings to stop the video and create > timestamps with link to the specific moment of the video,

Re: Taking notes of videos in Emacs

2022-07-08 Thread Tor Kringeland
Gerardo Moro writes: > Is there something similar in Emacs? mpv.el [1] is a starting point. You can play videos from YouTube (and other websites) in mpv if you install yt-dlp [2] (or another youtube-dl fork). With a little bit of hacking you can get all the features of the package you mention

Re: Taking notes of videos in Emacs

2022-07-08 Thread Kaushal Modi
On Fri, Jul 8, 2022, 9:07 AM Gerardo Moro wrote: > Hi, > > I recently discover the Obsidian Media Extended plugin ( > https://www.youtube.com/watch?v=GQXVWtNkeZw) to take notes while watching > videos / listening to audios with keybindings to stop the video and create > timestamps with link to

Taking notes of videos in Emacs

2022-07-08 Thread Gerardo Moro
Hi, I recently discover the Obsidian Media Extended plugin ( https://www.youtube.com/watch?v=GQXVWtNkeZw) to take notes while watching videos / listening to audios with keybindings to stop the video and create timestamps with link to the specific moment of the video, etc. Is there something

LaTeX export: when is it more useful to use LuaTeX instead of pdfTeX?

2022-07-08 Thread Juan Manuel Macías
TL;DR: A list of use cases where using LuaTeX is more advantageous than using pdfTeX Many times Org users who frequently need to export their documents to LaTeX, but who do not have much LaTeX experience (or their knowledge of the TeX ecosystem is somewhat out of date), find

Re: @string abbreviation in bib file not honored in (basic) org-cite

2022-07-08 Thread Bruce D'Arcus
On Fri, Jul 8, 2022 at 7:25 AM wrote: > As I do not know which of these alternatives > >- it is normal, this feature should not be there, >- it is an oversight, >- this feature is not implemented yet, I believe this is the answer, and it's arguable (I have no opinion, and could see

@string abbreviation in bib file not honored in (basic) org-cite

2022-07-08 Thread Alain . Cochard
Hello. As I do not know which of these alternatives - it is normal, this feature should not be there, - it is an oversight, - this feature is not implemented yet, - it does not work for me for some reason, - other, is valid, I decided to report this minor issue. Specifically, I

Re: [BUG] org-agenda-prepare-buffers does not save restrictions

2022-07-08 Thread Al Haji-Ali
On 08/07/2022, Ihor Radchenko wrote: > Could you please create a proper patch See attached. I made a further change to use `with-current-buffer` instead of `set-buffer+save-excursion`. Best regards, -- Al >From 398fee0c235c53399cd8cc481f9e732f64ae88cb Mon Sep 17 00:00:00 2001 From: Al Haji-Ali

Re: Ignore, skip, omit headline when exporting to LaTeX

2022-07-08 Thread edgar
On 2022-07-08 05:04, Ihor Radchenko wrote: ed...@openmail.cc writes: This is on topic and can be useful for others So, there should be no issue with posting this here Thanks! Note that this modified version of the function is derived from org-export-ignore-headlines from ox-extra.el

Re: Alternatives to clocking in/out for reporting time

2022-07-08 Thread Russell Adams
On Fri, Jul 08, 2022 at 03:02:00PM +0800, Ihor Radchenko wrote: > You may hook into timestamp insertion/todo-state change functions and > accumulate the "time" into headline properties. Hooking on insertion is a bit low level, and sounds like it's only about maintaining state in the currently

Re: Alternatives to clocking in/out for reporting time

2022-07-08 Thread Ihor Radchenko
Russell Adams writes: > I find Org's clocking to be too detailed, and that it doesn't play > well with dynamically organized hierarchies of notes. I frequently > create and close subtasks, or switch parts of the tree. Clocking each > one is too much overhead, and too granular. I don't need to

Re: org-insert-heading-before-current

2022-07-08 Thread Ihor Radchenko
Tyler Grinn writes: > In general, I like to order my headings from newest to oldest top to > bottom. I'm looking for a function which will prepend a heading at the > current level in the current subtree. Some examples: > > > * Subtree * Subtree > ** Item

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

2022-07-08 Thread Dr. Arne Babenhauserheide
Richard Stallman writes: > [[[ To any NSA and FBI agents reading my email: please consider]]] > [[[ whether defending the US Constitution against all enemies, ]]] > [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > > "Note: To be PCI compliant, you must load