emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Emmanuel Charpentier <emanuel.charpentier@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Possible bug in org-mode (MELPA version as of 1018-11-25) : #+language: is not (fully) honored.
Date: Tue, 27 Nov 2018 16:29:25 +0100	[thread overview]
Message-ID: <CAFG8T6W1XrV3ubH=zxcOaooqBrA1+y+gPYhGA06dm4M_tFu+yw@mail.gmail.com> (raw)
In-Reply-To: <87sgzmk3fn.fsf@gmail.com>

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

My original posting included the tex file generated by C-c C-e l l.
Perusing it will show you that babel is not used anywhere in this export.

On the (remote) chance that my problem might be caused by my use of emacs
25.2, I just installe emacs 26 from the emacs-snapshot packages for Debian
testing, ang got exactlu the same prolem.

The org-relevant part of my .emacs is as follows :

(require 'org)
(require 'org-ref)

Then, later

;; Septembre 2018 : org-mode

;; touches globales : À revoir ?
(global-set-key "\C-cl" 'org-store-link)
(global-set-key "\C-ca" 'org-agenda)
(global-set-key "\C-cc" 'org-capture)
(global-set-key "\C-cb" 'org-switchb)
;; Chemin de la bibliothèque ditaa
(setq org-ditaa-jar-path "/usr/share/ditaa/ditaa.jar")
;; Autoriser les évaluations Babel
(setq org-confirm-babel-evaluate nil)
;; Langages connus
(org-babel-do-load-languages
 'org-babel-load-languages
 '((ditaa . t)
   (emacs-lisp . t)
   (R . t)
   (python . t)
   (sagemath . t)
   (julia . t)
   (gnuplot . t)
   (maxima . t)
   (stan . t)
   (mathematica . t)
   (sqlite . t)
   ;; (sh . t)
   ))

Like it or not, believe it or not, this setup is sufficient to create the
problem I reported.

HTH,

--
Emmanuel Charpentier


Le mar. 27 nov. 2018 à 15:20, Eric S Fraga <esflists@gmail.com> a écrit :

> On Sunday, 25 Nov 2018 at 21:36, emanuel.charpentier@gmail.com wrote:
> > I forgot to add that, when exporting to plain tex or ODT, #+language*
> > *seems* to be honored : the table of contents is entitled "Table des
> > matières".
> >
> > The problem is therefore probably in ox-latex.el (but way above my
> > level of competance in em...
>
> But it works just fine for me.  Have you actually had a look at the
> LaTeX that is created?  I wonder whether you might have a setting for
> the LaTeX export that includes other settings than just the default or
> which doesn't allow the language setting to be included?
>
> --
> Eric S Fraga via Emacs 27.0.50, Org release_9.1.14-1034-gafcb1d
>

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

  reply	other threads:[~2018-11-27 15:29 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-25 20:36 Possible bug in org-mode (MELPA version as of 1018-11-25) : #+language: is not (fully) honored emanuel.charpentier
2018-11-27 14:20 ` Eric S Fraga
2018-11-27 15:29   ` Emmanuel Charpentier [this message]
2018-11-27 20:26     ` Nicolas Goaziou
2018-11-27 20:55       ` emanuel.charpentier
2018-11-27 23:40         ` Nicolas Goaziou
2018-11-28 11:38           ` Emmanuel Charpentier
2018-11-28 14:06             ` Nicolas Goaziou
2018-11-29  7:21               ` emanuel.charpentier
2018-11-29 14:07                 ` Nicolas Goaziou
2018-11-29 17:31                   ` Emmanuel Charpentier
2018-11-29 19:12                     ` Nicolas Goaziou
2018-12-02 20:26                       ` emanuel.charpentier
2018-12-05 16:37                         ` Emmanuel Charpentier
2018-12-06 22:40                         ` Nicolas Goaziou
  -- strict thread matches above, loose matches on Subject: below --
2018-11-25 18:01 emanuel.charpentier
2018-11-25 15:54 Emmanuel Charpentier
2018-11-25 19:03 ` Nicolas Goaziou
2018-11-25 20:32   ` Emmanuel Charpentier
2018-11-25 22:31     ` Nicolas Goaziou
2018-11-26  3:40       ` Emmanuel Charpentier
2018-11-26  8:58         ` Nicolas Goaziou
2018-11-25 21:33   ` Emmanuel Charpentier
2018-11-27 14:19 ` Michael Welle

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='CAFG8T6W1XrV3ubH=zxcOaooqBrA1+y+gPYhGA06dm4M_tFu+yw@mail.gmail.com' \
    --to=emanuel.charpentier@gmail.com \
    --cc=emacs-orgmode@gnu.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 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).