all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Tableofcontents
@ 2024-01-12 10:24 Horst Leps
  2024-01-12 14:26 ` Tableofcontents Ihor Radchenko
  2024-01-12 16:53 ` Tableofcontents Tory S. Anderson
  0 siblings, 2 replies; 15+ messages in thread
From: Horst Leps @ 2024-01-12 10:24 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 223 bytes --]

(I use Emacs 28, Mac-Mini Apple M2, Sonoma 14.2.1)

Since a few days: Orgmode export to Latex only creates one Latex run, so that the table of contents remains empty and no longer shows any sections. - What to do? Horst

[-- Attachment #2: Type: text/html, Size: 1958 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread
* Re: #+LATEX_HEADER: \usepackage[greek,german]{babel} ??
@ 2024-01-18  6:45 Pedro Andres Aranda Gutierrez
  2024-01-18 12:19 ` Ihor Radchenko
  0 siblings, 1 reply; 15+ messages in thread
From: Pedro Andres Aranda Gutierrez @ 2024-01-18  6:45 UTC (permalink / raw)
  To: Org Mode List, Ihor Radchenko

[-- Attachment #1: Type: text/plain, Size: 2108 bytes --]

Hi Just to document this discussion a bit more:

Ihor writes:
>Horst Leps <horstleps@outlook.de> writes:
>
>> #+latex_class: koma-article
>
>This is non-standard.
>What is your value of org-latex-classes?

There is a translation from koma-article to scrartcl in the
org-latex-classes, so that is not the problem.

>> Makes:
>> ...
>> \usepackage[germanb]{babel}
>> ...
>> \usepackage[greek,german]{babel}
>> ...
>> -------------------
>>
>> ! LaTeX Error: Option clash for package babel.
>> -------------------
>>
>> Only one latex run. Tableofconts Table remains empty.
>>
>> Supposition:
>>
>> 1. The Latex source contains {babel} twice, but only once is allowed.
>
>ox-latex tries hard to not duplicate babel. I am unable to reproduce
>duplication with your file (but with #+latex_class: koma-article removed)

Despite this, there is a repetition, and the clash is because ox-latex
wants ngerman wiith
#+language: de
while Horst wants to use germanb. The clash is between what ox-latex
generates and what Horst tries to add with #+LATEX_HEADER:

Actually, he also needs greek and for that I have recommended to customise
variables so that fontenc is "LGR,T1" and the parameters for babel are
"greek,AUTO", instead of trying to add a #+LATEX_HEADER:
\usepackage[LGR,T1]fontenc, because that also generates a package
option clash.

That is something we might need to explore more, if/when people need/want
to use pdflatex instead of luatex or xelatex.

>> 2. There is an error in my Orgmode code because it exports {babel} once
>> too many
>
>Does the problem persist without #+latex_class: koma-article?
Once again, yes, because it is mainly a matter of #+language.
I think we need the following
1) more docs on #+language
2) more thought on multilingual documents (#+language: gr,de)
3) more though on documents with multiple font encodings.

Best, /PA
-- 
Fragen sind nicht da, um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler

Headaches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run
a leader-deposed hook here, but we can't yet

[-- Attachment #2: Type: text/html, Size: 2912 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2024-01-18 12:17 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-12 10:24 Tableofcontents Horst Leps
2024-01-12 14:26 ` Tableofcontents Ihor Radchenko
     [not found]   ` <AS4P189MB1966EA15B1B44B6909D6145AC46F2@AS4P189MB1966.EURP189.PROD.OUTLOOK.COM>
     [not found]     ` <87zfxaoawq.fsf@localhost>
     [not found]       ` <AS4P189MB19667F61F50FDF30A0339015C46F2@AS4P189MB1966.EURP189.PROD.OUTLOOK.COM>
2024-01-13 12:25         ` AW: AW: Tableofcontents Ihor Radchenko
2024-01-13 15:30           ` Tableofcontents Horst Leps
2024-01-12 16:53 ` Tableofcontents Tory S. Anderson
2024-01-13 12:27   ` Tableofcontents Ihor Radchenko
2024-01-13 16:18     ` Tableofcontents Tory S. Anderson
2024-01-16 19:12     ` #+LATEX_HEADER: \usepackage[greek,german]{babel} ?? Horst Leps
2024-01-16 19:27       ` Ihor Radchenko
2024-01-17 17:14         ` Horst Leps
2024-01-17 17:24           ` Horst Leps
2024-01-18 12:12           ` Ihor Radchenko
2024-01-16 19:46       ` Juan Manuel Macías
  -- strict thread matches above, loose matches on Subject: below --
2024-01-18  6:45 Pedro Andres Aranda Gutierrez
2024-01-18 12:19 ` Ihor Radchenko

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.