Re: New try at multi-lingual export to latex/pdf using pdflatex and babel

2024-01-24 Thread Pedro A. Aranda
Hi again As stated, this was only a PoC. If you find it useful, I would give it a go in the free window. I'm also playing with org-latex-default-packages-alist, refining it to use fontspec in lualatex and xetex and restricting inputenc and fontenc to pdflatex only. Best, /PA On 24/1/24

Re: bugs in the new release of org

2024-01-24 Thread Samuel Wales
works, please cancel On 1/24/24, Ihor Radchenko wrote: > Samuel Wales writes: > >> in emacs25 -Q with recent maint, this code fails to export; it errors >> if there is an org-id link anywhere in the tree. >> >> (org-export-as 'html 'subtree nil 'body-only nil) > > I assume that this no longer

Re: [BUG] Asked to submit bug report: parse error? [9.7-pre (release_9.6.11-935-g6d7c79 @ /Users/apc/.emacs.d/straight/build/org/)]

2024-01-24 Thread Ihor Radchenko
Alejandro Pérez Carballo writes: > I received the following message after trying to follow a search result > obtained via grep. > > ⛔ Warning (org-element): org-element--cache: Org parser error in > gpd.org::14519. Resetting. > The error was: (error "Invalid search bound (wrong side of

[BUG] Asked to submit bug report: parse error? [9.7-pre (release_9.6.11-935-g6d7c79 @ /Users/apc/.emacs.d/straight/build/org/)]

2024-01-24 Thread Alejandro Pérez Carballo
I received the following message after trying to follow a search result obtained via grep. ⛔ Warning (org-element): org-element--cache: Org parser error in gpd.org::14519. Resetting. The error was: (error "Invalid search bound (wrong side of point)") Backtrace: " backtrace-to-string(nil)

Re: [PATCH] ob-tangle: Add flag to optionally remove files before writing

2024-01-24 Thread Ihor Radchenko
Olivier Lischer writes: > In December last year was a change introduced, that a file should not be > removed before > tangling (https://lists.gnu.org/r/emacs-orgmode/2021-05/msg00337.html). > In an older bug report > (https://lists.gnu.org/r/emacs-orgmode/2021-05/msg00337.html) > the decision

Re: [PATCH] doc/org-manual.org: update Checkboxes and TODO items cookie statistics

2024-01-24 Thread Ihor Radchenko
Sławomir Grochowski writes: > I'm sending you some updates to the ORG manual. > I'm sorry there's a lot of changes in this one patch. > If it's too much, I think I could break the changes into two commits: > > First, move the 'Checkboxes' section under 'TODO Items' to '2 Document > Structure' ->

Re: New try at multi-lingual export to latex/pdf using pdflatex and babel

2024-01-24 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: > Attached is a _proof of concept_ for supporting AUTO in > \usepackage{fontenc}. Just an idea of how things could evolve. > This only uses a variable you can define as directory or file local to > control what is generated in the LaTeX file. > Could be

Re: [BUG] org-internal links broken by defaulting org-open-link-functions to org-ctags-find-tag [9.7-pre (release_9.6.14-1020-g80ce61 @ /Users/kevin/emacs_configs/vanilla/.emacs.d/straight/build/org/)

2024-01-24 Thread Ihor Radchenko
Kevin Safford writes: > When either performing a mouse click or pressing RET on an org-mode > link, instead of navigating to the specified destination, I am prompted > to specify a ctags file. > > This occurs for all variety of links: radio targets, internal links to > headlines, external links

Re: Slowness of org-agenda-redo in org 9.7 vs 9.6.7

2024-01-24 Thread Ihor Radchenko
dark.key8...@151e.ai writes: > On Wed, Jan 24, 2024, at 23:02, Ihor Radchenko wrote: >> What is the value of `default-directory' if you run the following from >> Org git folder? > ... > in that case, it works, `default-directory' is the Org git folder, > `load-path' has been correctly set and

Re: [BUG] beamer export

2024-01-24 Thread Ihor Radchenko
Leo Butler writes: >>> 1. ox-latex export bug for src blocks containing direct LaTeX when >>>org-latex-src-block-backend is set to its default 'verbatim value >> >> This appears to be Beamer-specific problem with verbatim environments: >>

Re: Slowness of org-agenda-redo in org 9.7 vs 9.6.7

2024-01-24 Thread dark . key8799
On Wed, Jan 24, 2024, at 23:02, Ihor Radchenko wrote: > What is the value of `default-directory' if you run the following from > Org git folder? > > emacs -Q --eval '(add-to-list '"'"'load-path (concat > default-directory "lisp"))' --eval '(add-to-list '"'"'load-path (concat >

Re: [PATCH] Make an org-lint warning more helpful

2024-01-24 Thread Ihor Radchenko
gerard.vermeu...@posteo.net writes: > Attached patch makes the relevant org-lint warning more helpful for > fixing > user's Org buffers. Thanks! I applied an alternative patch. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=d2986be07 Handled. -- Ihor Radchenko // yantar92,

Re: [BUG] Footnotes in section titles

2024-01-24 Thread Juan Manuel Macías
Colin Baxter writes: > >> Perhaps it is better to avoid footnotes in titles and to add some > >> phrase to the body instead. > > > That is the ideal scenario. I also believe that footnotes should > > be avoided in section headings, if possible. Or at least, have > > another

Re: [BUG] Footnotes in section titles

2024-01-24 Thread Colin Baxter
> Juan Manuel Macías writes: > Max Nikulin writes: >> I recall some tricks with \footnotemark and \footnotetext, but I >> do not remember details and whether it may work for section >> titles. Complications may arise if a heading title has several >> footnotes. >

Re: [BUG] Footnotes in section titles

2024-01-24 Thread Juan Manuel Macías
Max Nikulin writes: > I recall some tricks with \footnotemark and \footnotetext, but I do > not remember details and whether it may work for section titles. > Complications may arise if a heading title has several footnotes. ox-latex has 'org-latex--delayed-footnotes-definitions': "[...] This

Re: Slowness of org-agenda-redo in org 9.7 vs 9.6.7

2024-01-24 Thread Ihor Radchenko
dark.key8...@151e.ai writes: > On Tue, Jan 23, 2024, at 03:57, Ihor Radchenko wrote: >> May you post the output of > > There you go, I infer emacs is launched from $HOME since the two evals in the > command launching emacs lead to `load-path' being prepended with "~/lisp" and > "~/testing".

bug#68687: [PATCH] Use text/org media type

2024-01-24 Thread Max Nikulin
Hi, I suggest to make the media type used for Org mode files consistent with the one used by XDG https://gitlab.freedesktop.org/xdg/shared-mime-info Currently Emacs has text/x-org, however "x-" prefix is not recommended by IANA any more, see https://www.rfc-editor.org/rfc/rfc6648 "Deprecating

Re: [BUG] Footnotes in section titles

2024-01-24 Thread Max Nikulin
On 24/01/2024 19:11, Ihor Radchenko wrote: The \section[...]{...} approach may work, but it is tricky - it is completely up to the `org-latex-classes'. So, we may have to use regexp replacement, which might be fragile. ox supports the ALT_TITLE property and ox-latex already adds it using

Re: bugs in the new release of org

2024-01-24 Thread Ihor Radchenko
Samuel Wales writes: > in emacs25 -Q with recent maint, this code fails to export; it errors > if there is an org-id link anywhere in the tree. > > (org-export-as 'html 'subtree nil 'body-only nil) I assume that this no longer happens in the supported versions of Emacs (currently - Emacs 27).

Re: Bug: org-no-popups disregards display-buffer-fallback-action [9.4.6 (9.4.6-13-g4be129-elpaplus @ /home/jeeger/.emacs.d/elpa/org-plus-contrib-20210920/)]

2024-01-24 Thread Ihor Radchenko
Ihor Radchenko writes: > dal-bla...@onenetbeyond.org writes: > >> I just inspected the git version. >> >> Is the macro 'org-no-popups' setting _'pop-up-windows' to nil_ and is >> only used by 'org-switch-to-buffer-other-window' that call >> 'switch-to-buffer-other-window' which in turn, >> set

Re: [BUG] FAQ asnwer for "How can I use arbitrary colors for words/sentences in HTML export?" is outdated

2024-01-24 Thread Ihor Radchenko
Max Nikulin writes: > Juan Manuel Macías to emacs-orgmode… Re: how to export red colored TeX > to latex. Tue, 30 Nov 2021 16:56:00 +. > https://list.orgmode.org/87bl21vazj@posteo.net > > Likely should be modified a bit to support derived backends. Done.

[BUG] Footnotes in section titles

2024-01-24 Thread Ihor Radchenko
Eric Anderson writes: > The resulting LaTeX code (also attached) uses \footnote inside \section and > \paragraph macros, producing compiler errors. A little googling turns up > the following comp.text.tex usenet post > https://comp.text.tex.narkive.com/lkZWQYaS/using-footnotes-in-paragraph, >

Re: [RFC PATCH] Re: [bug] Macro in citation not expanded

2024-01-24 Thread Ihor Radchenko
Ihor Radchenko writes: > Subject: [PATCH] org-element: Allow more objects inside citations Applied, onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=9ef18956b -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at .