[BUG] Misuse of `latexenc-find-file-coding-system` in `org-latex-compile` (Org 9.7.11)

2025-07-17 Thread Stephen Wheeler
Dear Org Mode developers, I am writing to report a bug in the LaTeX export pipeline in Org Mode 9.7.11 as packaged with the Snap version of Emacs 31.0.50. The issue appears to stem from a recent change in `org-latex-compile` which results in the following error when exporting to PDF: Debugger

Re: Status of the all-tex-fonts feature branch

2025-07-17 Thread Max Nikulin
On 16/07/2025 14:41, Pedro Andres Aranda Gutierrez wrote: 1. It would be nice to agree on some #+BEGIN_LANG #+END_LANG block for the LaTeX exporter to cope with \begin{otherlanguage*} in an org-native way 2. Ditto for the texten macro [...] #+MACRO: texten @@latex: \textenglish{$1}@@ [...] *

Re: [PATCH][Worg] publish.sh: Suppress subscripts without braces

2025-07-17 Thread Christian Moe
Max Nikulin writes: > I have noticed another case when "latex" in "#+begin_latex" is > rendered as subscript in a Worg article. Do you expect massive > regressions if subscript without explicit curly braces are suppressed? Not massive, but there will be some., e.g.: #+begin_example org-contrib/

Re: [BUG] Org mode fails when export to latex buffer with auctex

2025-07-17 Thread Vangelis Evangelou
Hi Perdo. Did you manage to get a solution to this? Best, Vangelis On Tue, 1 Jul 2025 at 18:05, Vangelis Evangelou wrote: > Hi Pedro. > > You haven't loaded reftex though. What if you add (use-package reftex) in > your configuration? > > On Tue, 1 Jul 2025 at 16:36, Pedro Andres Aranda Gutierr

Re: [PATCH][Worg] publish.sh: Suppress subscripts without braces

2025-07-17 Thread Christian Moe
Christian Moe writes: > And there's no > good reason for writing "release_7.9.4" in the above examples. Correction: yes, there is (it's a git tag).

Re: [BUG] Org mode fails when export to latex buffer with auctex

2025-07-17 Thread Pedro Andres Aranda Gutierrez
Hi,I’m quite busy with the export as such. It’s an interesting challenge and I currently would like to document it along a variation of your workaround and then maybe discuss whether we want LaTeX-mode or plain latex-mode regardless Of AucTeX in the list. There may be some benefit of using LaTeX mo

Re: LaTeX to Org ? (also Auctex/Lyx)

2025-07-17 Thread Pedro Andres Aranda Gutierrez
Answers inline On Fri, 18 Jul 2025 at 01:36, David Masterson wrote: > > Pedro Andres Aranda Gutierrez writes: > > > My usecase is basically the slides for my lectures. I get rid of most > > of the markup, which in Beamer is sometimes overwhelming. I can also > > modify examples on the fly to an

Re: LaTeX to Org ? (also Auctex/Lyx)

2025-07-17 Thread Pedro Andres Aranda Gutierrez
Answers inline, On Fri, 18 Jul 2025 at 01:48, David Masterson wrote: > > Pedro Andres Aranda Gutierrez writes: > > > my experience (and possibly .2 cents) > > > > 1. LaTeX2Org > > > > I needed to go that path for a couple of manuals when I started lecturing > > and it was generally feasible wit

Re: [BUG] Org mode fails when export to latex buffer with auctex

2025-07-17 Thread Pedro Andres Aranda Gutierrez
Hi Vangelis, I've come up with a solution, which is to customise the mode the export buffer is opened with. You could set it to plain latex-mode instead of LaTeX-mode. This will disable auctex functionality. Would that be an issue for you? I don't see any specific advantage in having the auctex fu

Re: Status of the all-tex-fonts feature branch

2025-07-17 Thread Pedro Andres Aranda Gutierrez
Hi Max, thank you very much. I see we are in violent agreement here. The macro is a real headache and in an ideal world, replicating the functionality of foreign language should involve something that takes a first argument being an Org language name and a second argument with should be the string

Re: LaTeX to Org ? (also Auctex/Lyx)

2025-07-17 Thread David Masterson
Pedro Andres Aranda Gutierrez writes: > My usecase is basically the slides for my lectures. I get rid of most > of the markup, which in Beamer is sometimes overwhelming. I can also > modify examples on the fly to answer questions and explore > alternatives in class. And I can always resort to T

Re: LaTeX to Org ? (also Auctex/Lyx)

2025-07-17 Thread David Masterson
Pedro Andres Aranda Gutierrez writes: > my experience (and possibly .2 cents) > > 1. LaTeX2Org > > I needed to go that path for a couple of manuals when I started lecturing > and it was generally feasible with AWK/Python. I got my .org file, fixed > it and could continue on the Org path. Do you

[BUG] Tags following a timestamp does not work.

2025-07-17 Thread Miki Kawabe
Dear all, I'm wondering if it's allowed to use both timestamp and tag in the same headline in Org mode. Although I read the manual on Tags and Timestamps, I couldn't find any explanation for these limitation. org-open-at-point does not work for tags, when the tags are following a timestamp.

Re: [FR] org-babel-n-tangle

2025-07-17 Thread Ihor Radchenko
Lei Zhe writes: > I’ve fixed all the issues you mentioned regarding the > org-babel-tangle--concat-targets function. > Please find the updated version attached. Thanks! Unless I miss something, you forgot to fix the issue with duplicates in tangle targets and tangle directories. > As for your

Re: Status of the all-tex-fonts feature branch

2025-07-17 Thread Pedro Andres Aranda Gutierrez
Hi, I did some fine-tuning today in ox-latex.el on the feature branch. Thanks to that, you should be able to compile the example provided on reddit with one exception: I've not been able to get the bold Tamil fonts to work. Attached is the org file. Best, /PA On Tue, 15 Jul 2025 at 19:22, Ihor R

Re: Status of the all-tex-fonts feature branch

2025-07-17 Thread Pedro Andres Aranda Gutierrez
Hi again, Was doing some tests with other fonts... Change the rm font to "FreeSerif" and remember to execute the emacs-lisp code to set the right variables. Best , /PA PS: Frankly speaking I think we are way beyond what the babel people are able to show in https://latex3.github.io/babel/guides/lo

Re: Status of the all-tex-fonts feature branch

2025-07-17 Thread Pedro Andres Aranda Gutierrez
Further testing: Installing Unicode Tamil fonts like Latha or Vijaya helps a lot. This is yet another argument for not trying something like a universal font configuration. They are not sufficiently highly ranked in the search engines to make them pop up early in any search. Best, /PA On Thu, 17