From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: ox-latex: default packages cleaning Date: Tue, 7 Jul 2015 21:35:22 +0200 Message-ID: <20150707193522.GB30985@chitra.no-ip.org> References: <87r3ok589c.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41957) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCYeP-0007Mk-Vp for emacs-orgmode@gnu.org; Tue, 07 Jul 2015 15:35:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZCYeM-0003Q7-Oo for emacs-orgmode@gnu.org; Tue, 07 Jul 2015 15:35:29 -0400 Received: from mail-wi0-x22b.google.com ([2a00:1450:400c:c05::22b]:37980) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCYeM-0003PW-IL for emacs-orgmode@gnu.org; Tue, 07 Jul 2015 15:35:26 -0400 Received: by wibdq8 with SMTP id dq8so192870098wib.1 for ; Tue, 07 Jul 2015 12:35:24 -0700 (PDT) Received: from chitra.no-ip.org (ip82-139-115-46.lijbrandt.net. [82.139.115.46]) by mx.google.com with ESMTPSA id v3sm34925828wja.31.2015.07.07.12.35.23 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Jul 2015 12:35:23 -0700 (PDT) Content-Disposition: inline In-Reply-To: <87r3ok589c.fsf@gmx.us> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi Rasmus, On Tue, Jul 07, 2015 at 04:53:35PM +0200, Rasmus wrote: > > If it's a means to archive "high-quality" paragraphs, maybe microtype is > probably the 'proper' fix... I would like to second microtype. In fact as far as I know, now a days it is recommended to load that for almost all documents with significant text on TeX.SX. I would also suggest removing inputenc. At the moment, it is loaded with the AUTO option. AFAIK, this is redundant since most recent (meaning for quite a few years) TeX engines already use the encoding of the file if nothing is specified. The next one would be fontenc, now it is loaded with T1. I'm not sure if this is needed. Maybe LaTeX experts like Marcin or Fabrice could comment. > * Fixltx2e > > This packages is depreciated with TL2015 cf. LaTeX News 22. We can use > \RequirePackage[current]{latexrelease} but there's no point in that.... > AFAIK latexrelease only useful for backwards compatibility. Didn't know about this. Thank you. I would vote for dropping it. > * marvosym¹ > * Wasysym² Agreed. On top of this, wasysym also interferes with integral symbols from amsmath[1]. We could also take this opportunity to provide users an easy way to switch between TeX engines. I have been using XeLaTeX with Org and outside for quite a few years now. Originally what used to be very hacky, is now simply replacing a couple of packages in the header and calling xelatex instead of pdflatex. And the list of packages is pretty much identical for LuaLaTeX. This is what I would use: \usepackage{fontspec} \usepackage{microtype} \usepackage{polyglossia} % instead of babel % of course this should be something appropriate for the buffer \setdefaultlanguage[variant=british]{english} So an option like tex-engine:xelatex or tex-engine:lualatex adds the above to the default packages and the right binaries. Just an idea. Cheers, Footnotes: [1] At least that's what comments in my setup tell me :-p: https://github.com/suvayu/.emacs.d/blob/master/org-mode-config.el#L136 -- Suvayu Open source is the future. It sets us free.