From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: ox-latex: default packages cleaning
Date: Tue, 7 Jul 2015 21:35:22 +0200 [thread overview]
Message-ID: <20150707193522.GB30985@chitra.no-ip.org> (raw)
In-Reply-To: <87r3ok589c.fsf@gmx.us>
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.
next prev parent reply other threads:[~2015-07-07 19:35 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-07 14:53 ox-latex: default packages cleaning Rasmus
2015-07-07 15:48 ` Eric S Fraga
2015-07-07 19:35 ` Suvayu Ali [this message]
2015-07-07 20:05 ` Rasmus
2015-07-07 20:52 ` Suvayu Ali
2015-07-07 21:07 ` Rasmus
2015-07-08 12:53 ` Rasmus
2015-07-08 13:43 ` Suvayu Ali
2015-07-08 13:53 ` Rasmus
2015-07-08 14:09 ` Suvayu Ali
2015-07-08 14:26 ` Rasmus
2015-07-08 14:55 ` Suvayu Ali
2015-07-08 15:41 ` Suvayu Ali
2015-07-08 16:06 ` Rasmus
2015-07-08 18:35 ` Rasmus
2015-07-16 8:29 ` Suvayu Ali
2015-07-16 8:49 ` Rasmus
2015-07-27 8:22 ` Sebastien Vauban
2015-07-27 8:30 ` Rasmus
2015-07-27 9:22 ` Sebastien Vauban
2015-07-27 9:31 ` Rasmus
2015-07-29 16:21 ` Rasmus
2015-07-08 12:54 ` Rasmus
2015-07-08 13:44 ` Suvayu Ali
2015-07-14 22:31 ` Marcin Borkowski
2015-07-15 8:33 ` Rasmus
2015-07-10 11:25 ` Robert Klein
2015-07-11 10:48 ` Rasmus
2015-07-11 18:53 ` Robert Klein
2015-07-13 10:08 ` Rasmus
2015-07-14 22:16 ` Marcin Borkowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150707193522.GB30985@chitra.no-ip.org \
--to=fatkasuvayu+linux@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.