emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LaTeX export is broken with 'num:nil` and 'ALT_TITLE`


From: Ihor Radchenko
Subject: Re: LaTeX export is broken with 'num:nil` and 'ALT_TITLE`
Date: Thu, 26 Dec 2024 15:08:43 +0000

Rudolf Adamkovič <rudolf@adamkovic.org> writes:

> REPRODUCTION:
>
> 1. Create a file containing:
>
>    #+OPTIONS: num:nil
>    
>    * Test
>    :PROPERTIES:
>    :ALT_TITLE: alt
>    :END:
>    
>    This is a test.
>
> 2. Open the file.
> 3. Export to a PDF file with LaTeX.

Confirmed.
This is because [<alt-title>] is inserted into the sectioning command
unconditionally, regardless whether sectioning command supports such an
optional argument.

I suspect that the proper way to handle this problem is changing
structure of `org-latex-classes' to explicitly specify alt-title
placeholder.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]