emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@posteo.net>
To: Horst Leps <horstleps@outlook.de>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: #+LATEX_HEADER: \usepackage[greek,german]{babel} ??
Date: Tue, 16 Jan 2024 19:27:59 +0000	[thread overview]
Message-ID: <87jzo9jcxs.fsf@localhost> (raw)
In-Reply-To: <AS4P189MB1966098CADB7CC9A2421C3BBC4732@AS4P189MB1966.EURP189.PROD.OUTLOOK.COM>

Horst Leps <horstleps@outlook.de> writes:

> #+latex_class: koma-article

This is non-standard.
What is your value of org-latex-classes?

> 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)

> 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?

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
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-01-16 19:25 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=87jzo9jcxs.fsf@localhost \
    --to=yantar92@posteo.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=horstleps@outlook.de \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).