Hi Mandar,

>>>>> Mandar Mitra <[email protected]> writes:
> specifically the "--jobname" argument seems to be the culprit. Because
> the master does not change, %(s-filename-only) expands to main-slides,
> and it looks like slides.pdf gets wiped out before notes.pdf is
> generated, so attempts to include slides as images into notes.pdf
> fails.

Thanks for the report.

> For now, I've added the luatex entry without --jobname to
> TeX-engine-alist, but I'm wondering why only the luatex entry has
> --jobname, and whether removing --jobname from the entry might break
> something else.

The reason why --jobname exists is written as a comment there in tex.el:
,----
|     ;; Some lualatex versions before 0.71 would use "texput" as file
|     ;; name if --jobname were not supplied
`----
This addition of --jobname argument was done in 2011 according to the
commit log. 15 years ago. Maybe we can get rid of this now.

To developers:
Do you think that it is still dangerous to remove this compatibility
argument for lualatex before 0.71?

Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine
#Gaza #StopGenocide #CeasefireNOW

Reply via email to