As of today, I note that the #+langiage export variable is no longer honored when exporting to LaTeX/PDF. See enclosed files :
- #+language:fr should get me a table of contents entitled "Table des
matières" ;
- #+ the Latex file has "pdflang={Frenchb}}" in a \hypersetup call,
but nothing even remotely babel-related (i. e. nothing related to the
LaTeX package babel, which isn't loaded...)
- the PDF file has a table of contents entitled "Contents".
HTH,
--
Emmanuel Charpentier
# Vérification d'un loup possible sur #+language... #+title: Option "Language" ? #+author: Emmanuel Charpentier #+date: novembre 2018 #+language: fr * Pique Baratin... * Et pique Autre baratin * Et colegram... Troisième baratin... # Il y a bien un loup : la table des matières est intitulée # "Contents"...
TstLanguage.pdf
Description: Adobe PDF document
% Created 2018-11-25 dim. 16:45
% Intended LaTeX compiler: pdflatex
\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{grffile}
\usepackage{longtable}
\usepackage{wrapfig}
\usepackage{rotating}
\usepackage[normalem]{ulem}
\usepackage{amsmath}
\usepackage{textcomp}
\usepackage{amssymb}
\usepackage{capt-of}
\usepackage{hyperref}
\author{Emmanuel Charpentier}
\date{novembre 2018}
\title{Option "Language" ?}
\hypersetup{
pdfauthor={Emmanuel Charpentier},
pdftitle={Option "Language" ?},
pdfkeywords={},
pdfsubject={},
pdfcreator={Emacs 25.2.2 (Org mode 9.1.14)},
pdflang={Frenchb}}
\begin{document}
\maketitle
\tableofcontents
\section{Pique}
\label{sec:orgc6b6d38}
Baratin\ldots{}
\section{Et pique}
\label{sec:orgf382b87}
Autre baratin
\section{Et colegram\ldots{}}
\label{sec:org30745ef}
Troisième baratin\ldots{}
\end{document}
