From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski Subject: Re: ox-latex: default packages cleaning Date: Wed, 15 Jul 2015 00:31:51 +0200 Message-ID: <87r3oamkvc.fsf@mbork.pl> References: <87r3ok589c.fsf@gmx.us> <20150707193522.GB30985@chitra.no-ip.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44791) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZF8kE-0007vD-AA for emacs-orgmode@gnu.org; Tue, 14 Jul 2015 18:32:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZF8kA-0002Bq-II for emacs-orgmode@gnu.org; Tue, 14 Jul 2015 18:32:10 -0400 Received: from mail.mojserwer.eu ([2a01:5e00:2:52::8]:60654) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZF8kA-0002Be-BG for emacs-orgmode@gnu.org; Tue, 14 Jul 2015 18:32:06 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id C3E724FA048 for ; Wed, 15 Jul 2015 00:32:04 +0200 (CEST) Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1bfOSRheeOSt for ; Wed, 15 Jul 2015 00:32:01 +0200 (CEST) Received: from localhost (unknown [109.232.24.146]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 2B6AB4FA03B for ; Wed, 15 Jul 2015 00:32:01 +0200 (CEST) In-reply-to: <20150707193522.GB30985@chitra.no-ip.org> 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 On 2015-07-07, at 21:35, Suvayu Ali wrote: > 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 significan= t > text on TeX.SX. As I wrote a minute ago, I would rather not add microtype, though it's a minor thing, really. > 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. Can you elaborate on that? AFAIK, XeTeX and LuaTeX use UTF-8 by default, but pdfetex (which is the default LaTeX engine) does not. And quite a lot of people ose pdfetex (me included;-)). I haven't heard about any heuristic determination of encoding by TeX (and I hope nothing like that happens, since it could be disastrous). > 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. Thanks for calling me an expert, though I'm not one regarding fonts and their encodings;-). With fontenc, the thing is tricky. I do not know much about other languages, but you actually can't use LaTeX to typeset texts in Polish without changing the default LaTeX's font encoding (which is OT1, and it doesn't support some Polish letters). (Usually, I do not use fontenc for that, since there is a specialized package for Polish typesetting.) I guess that removing fontenc for non-English texts might lead to erroneous results =E2=80=93 at least in case of presence of certain Polis= h words (e.g., some names in bibliographies). I guess we don=E2=80=99t want that= . OTOH, one thing we /might/ want to add is \usepackage{lmodern}. The Latin Modern family of fonts is a drop-in replacement for the default Computer Modern, but with all sorts of accented characters. Using this font family has the advantage that accented characters are not build from letters and accents, but are single glyphs in the font. AFAIR, this makes words containing accented letters hyphenatable. Not a huge gain, but sometimes may be important (especially in some languages, and with narrow columns). > We could also take this opportunity to provide users an easy way to > switch between TeX engines. I second that! Best, --=20 Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University