all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@posteo.net>
To: "Rudolf Adamkovič" <rudolf@adamkovic.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: LaTeX export is broken with 'num:nil` and 'ALT_TITLE`
Date: Thu, 26 Dec 2024 15:08:43 +0000	[thread overview]
Message-ID: <87cyhe7a84.fsf@localhost> (raw)
In-Reply-To: <m2seqb3bdf.fsf@adamkovic.org>

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	other threads:[~2024-12-26 15:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-25 17:45 LaTeX export is broken with 'num:nil` and 'ALT_TITLE` Rudolf Adamkovič
2024-12-26 15:08 ` Ihor Radchenko [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-26 17:08 Pedro Andres Aranda Gutierrez
2024-12-26 17:15 ` Pedro Andres Aranda Gutierrez
2024-12-27  6:59   ` Pedro Andres Aranda Gutierrez
2024-12-27 17:43     ` Ihor Radchenko
2024-12-27 17:56       ` Pedro Andres Aranda Gutierrez
2024-12-27 18:01         ` Ihor Radchenko
2024-12-27 18:07           ` Pedro Andres Aranda Gutierrez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87cyhe7a84.fsf@localhost \
    --to=yantar92@posteo.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=rudolf@adamkovic.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.