emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] ox-latex: default packages cleaning


From: Suvayu Ali
Subject: Re: [O] ox-latex: default packages cleaning
Date: Thu, 16 Jul 2015 10:29:58 +0200
User-agent: Mutt/1.5.23.1 (2014-03-12)

On Wed, Jul 08, 2015 at 08:35:28PM +0200, Rasmus wrote:
> Suvayu Ali <address@hidden> writes:
> 
> >> +(defun org-latex-guess-polyglossia-language (header info)
> >> +  "Set the Polyglossia language according to the LANGUAGE keyword.
> >
> > I'm in two-minds about this.  On the one had it is a nice thing, but on
> > the other hand, it prevents the more fine grained control offered by
> > polyglossia.  For example, I used this in my setup before:
> >
> >   \setdefaultlanguage[variant=british]{english}
> 
> The attached supports Polyglossia better.  Note, the last loaded language
> is the main one (as babel).  Perhaps org-latex-variant-file-string should
> be less annoying (not a file-variable).

The polyglossia bits work well.  The file local variable prompt for
every export is quite annoying though.  Same goes for the exported file,
opening it brings up the same prompt again.  I guess it is a one time
thing to mark that variable as safe, then it should be good.  

I have a few other questions:
- how does one change the variant when doing a subtree export?  By
  setting EXPORT_LATEX_VARIANT?
- Is it possible to set a default variant?
- How does one insert a line in the package list which is not
  usepackage.  I guess the normal case is still valid:
  "\\somedirective", but inserting a similar variant specific directive
  isn't possible.

I'm starting to wonder, all these complications, is it really worth it?
What do you think?

-- 
Suvayu

Open source is the future. It sets us free.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]