[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: |
Fri, 27 Dec 2024 17:43:32 +0000 |
Pedro Andres Aranda Gutierrez <paaguti@gmail.com> writes:
> A quick fix (on main) attached. With this ALT_TITLE is ignored in the
> document with #+OPTIONS: num:nil and if #+OPTIONS: num:t and :PROPERTIES:
> :UNNUMBERED: t
Thanks!
I am slightly concerned about generality of dropping ALT_TITLE from
unnumbered sectioning command.
>From LaTeX2e reference manual, I see
Structure your text into divisions: parts, chapters, sections, etc. All
sectioning commands
have the same form, one of:
sectioning-command{title}
sectioning-command*{title}
sectioning-command[toc-title]{title}
But can we assume that unnumbered entries never appear in the table of
contents?
> MWE:
> ----
> #+OPTIONS: num:t
>
> * Test
> :PROPERTIES:
> :UNNUMBERED: t
> :ALT_TITLE: alt
> :END:
>
> This is a test.
>
> * Numbered test
> :PROPERTIES:
> :alt_title: alt numbered
> :END:
>
> This is the second part of the test.
> ----
>
> PS: maybe a rework of this part to make it more readable could be
> desirable....
Even better would be a test and a proper patch with commit message.
Do you have time for that?
--
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>
- LaTeX export is broken with 'num:nil` and 'ALT_TITLE`, Rudolf Adamkovič, 2024/12/25
- Re: LaTeX export is broken with 'num:nil` and 'ALT_TITLE`, Pedro Andres Aranda Gutierrez, 2024/12/26
- Re: LaTeX export is broken with 'num:nil` and 'ALT_TITLE`, Pedro Andres Aranda Gutierrez, 2024/12/26
- Re: LaTeX export is broken with 'num:nil` and 'ALT_TITLE`, Pedro Andres Aranda Gutierrez, 2024/12/27
- Re: LaTeX export is broken with 'num:nil` and 'ALT_TITLE`,
Ihor Radchenko <=
- Re: LaTeX export is broken with 'num:nil` and 'ALT_TITLE`, Pedro Andres Aranda Gutierrez, 2024/12/27
- Re: LaTeX export is broken with 'num:nil` and 'ALT_TITLE`, Ihor Radchenko, 2024/12/27
- Re: LaTeX export is broken with 'num:nil` and 'ALT_TITLE`, Pedro Andres Aranda Gutierrez, 2024/12/27
- Re: LaTeX export is broken with 'num:nil` and 'ALT_TITLE`, Pedro Andres Aranda Gutierrez, 2024/12/30
- [PATCH]: ox-latex.eel: handle unnumbered sections in TOC correctly, Pedro Andres Aranda Gutierrez, 2024/12/30
- Re: [PATCH]: ox-latex.eel: handle unnumbered sections in TOC correctly, Ihor Radchenko, 2024/12/30