I think the patchset is ready to merge:

https://github.com/karthink/org-mode/tree/olp

You might have to negotiate some conflicts when merging ox-latex.el,
but that should be it.

Group 1: Resolved issues:

> 1. "%O" handling to minimize breakage.

Done, %O is respected by both the LaTeX compiler and image processor
command templates.  It is fragile (especially the image converter), but
it was fragile to begin with, as you mentioned.

(I maintain that we should make org-latex-preview-process-alist a defvar
not intended for user customization, or at least remove the template
strings.  It's just the wrong approach to setting up a processing
pipeline.)

> 2. process output handling when executing an org-async-chain.  (Retain
> all process stdout in one buffer?)

Out of scope for merging org-latex-preview.

> 4. ox-odt feedback

Updated changes to ox-odt from main.  There is no feedback available for
me to address.

> 5. Final cleanup tasks before merging

Done.
- [X] if-let -> if-let* and so on
- [X] =temporary-file-directory= -> =(temporary-file-directory)= 
- [X] Compile errors
- [-] Lint errors (didn't see any)
- [X] Mark changes as Org 10.0, not 9.7/9.8
- [X] Remove test-org-latex-preview.el
- [X] Add page breaks and section headers to org-latex-preview

Compilation errors fixed except for these two:

In org-format-latex:
org-compat.el:1175:22: Warning: ‘org-place-formula-image’ is an obsolete 
function (as of 9.7); no longer used
org-compat.el:1185:28: Warning: ‘org-format-latex-as-mathml’ is an obsolete 
function (as of 9.7); to be removed

These two are obsoleted in org-compat.el.

> 6. Global image inlining in ox-html (non-actionable?)

Out of scope for merging org-latex-preview.  I removed all mention of
inlining LaTeX images in HTML exports from the manual and news.

> 7. `make repro' produces warnings

I don't see any warnings with make repro

> 8. Insertion tracking is over-eager, leading to spurious LaTeX fragment
> generation in programmatic editing (multiple insert calls in one
> function)

Only affects programmatic usage, and considered out of scope for merging
org-latex-preview.

> 9. Possible breakage re: org-html-format-latex mentioned in
> https://list.orgmode.org/87qzqwbtkw.fsf@localhost

Canceled, confirmed as not an issue in the Org meetup on 2026-09-09.

--------

Group 2: Unresolved

> 3. caption support/fuzzy links to captions for LaTeX fragments in
> ox-html

Unfortunately I can't figure out how to fix or revert this change.  I
think we can just merge as is and deal with any complaints when they
appear.  We'll have a better idea of how to fix it based on the
complaints.

Karthik

Reply via email to