[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: export dispatch → change the default "Contents" string
From: |
Jean-Christophe Helary |
Subject: |
Re: export dispatch → change the default "Contents" string |
Date: |
Sat, 2 Oct 2021 01:45:03 +0900 |
Thank you Juan.
It does not seem to work as I expected, but that's OK, I just removed the ToC.
Jean-Christophe
> On Oct 2, 2021, at 1:35, Juan Manuel Macías <maciaschain@posteo.net> wrote:
>
> Hi, jean-Christophe,
>
> Jean-Christophe Helary writes:
>
>> What is the parameter to change the default "Contents" ToC string when
>> exporting to PDF ?
>
> If I'm not wrong, I think there is no native Org way to change the
> default string for LaTeX literals. But if you use babel (the LaTeX
> package), you can add this command:
>
> #+LaTeX_Header: \addto{\captionsenglish}{\renewcommand\contentsname{foo}}
>
> That's the old way of doing it, and it still works. The latest Babel
> versions also incorporate this other variant:
>
> \setlocalecaption{language-name}{caption-name}{string}
>
> for example:
>
> \setlocalecaption{english}{contents}{Table of Contents}
>
> NB: I strongly recommend using babel always for LaTeX, in any of its
> flavors (pdfLaTeX, XeLaTeX, LuaLaTeX), instead of polyglossia, which is
> a very buggy package. This package came up when babel didn't support
> XeTeX and LuaTeX, years ago, but now it doesn't sense to use it.
>
> Best regards,
>
> Juan Manuel
>
>
--
Jean-Christophe Helary @brandelune
https://mac4translators.blogspot.com
https://sr.ht/~brandelune/omegat-as-a-book/