From 309f15887a038edd53e943cd918474a044f077be Mon Sep 17 00:00:00 2001 From: Rasmus Date: Fri, 31 Jul 2015 13:42:02 +0200 Subject: [PATCH] Add notes on Polyglossia support * ox-latex.el (org-latex-classes): Update docstring. * ORG-NEWS: Update. --- etc/ORG-NEWS | 3 +++ lisp/ox-latex.el | 14 +++++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS index 9d3eed45e..cb56c799e 100644 --- a/etc/ORG-NEWS +++ b/etc/ORG-NEWS @@ -401,6 +401,9 @@ subtree and creates one shifted, repeating clone. *** None-floating tables, graphics and blocks can have captions *** New time block for clock tables : ~untilnow~ It encompasses all past closed clocks. +*** Support for the ~polyglossia~ LaTeX package +See the docstring of ~org-latex-classes~ and +~org-latex-guess-polyglossia-language~ for details. ** Miscellaneous *** Strip all meta data from ITEM special property ITEM special property does not contain TODO, priority or tags anymore. diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el index 5dee3f175..5dbfd7425 100644 --- a/lisp/ox-latex.el +++ b/lisp/ox-latex.el @@ -478,11 +478,15 @@ AUTO will automatically be replaced with a coding system derived from `buffer-file-coding-system'. See also the variable `org-latex-inputenc-alist' for a way to influence this mechanism. -Likewise, if your header contains \"\\usepackage[AUTO]{babel}\", -AUTO will be replaced with the language related to the language -code specified by `org-export-default-language', which see. Note -that constructions such as \"\\usepackage[french,AUTO,english]{babel}\" -are permitted. +Likewise, if your header contains \"\\usepackage[AUTO]{babel}\" +or \"\\usepackage[AUTO]{polyglossia}\", AUTO will be replaced +with the language related to the language code specified by +`org-export-default-language'. Note that constructions such as +\"\\usepackage[french,AUTO,english]{babel}\" are permitted. For +Polyglossia the language will be set via the macros +\"\\setmainlanguage\" and \"\\setotherlanguage\". See also +`org-latex-guess-babel-language' and +`org-latex-guess-polyglossia-language'. The sectioning structure ------------------------