emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Grant Rettke <gcr@wisdomandwonder.com>
To: Suvayu Ali <fatkasuvayu+linux@gmail.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: exporting α/β to latex/pdf
Date: Mon, 5 May 2014 13:38:38 -0500	[thread overview]
Message-ID: <CAAjq1mcJaNf03tdeHSw48Lcew3nu6rQP62umNbAUeF9T0UPd2A@mail.gmail.com> (raw)
In-Reply-To: <20140505150651.GK2300@chitra.no-ip.org>

Your example is quite motivating.

With so many LaTeX sitting around its been hard to justify switching
to the seemingly awesome XeTeX and LuaTeX despite the niceties.

Being able to "just do Unicode" though... very nice especially from Org to TeX!
Grant Rettke | AAAS, ACM, ASA, FSF, IEEE, SIAM, Sigma Xi
grettke@acm.org | http://www.wisdomandwonder.com/
“Wisdom begins in wonder.” --Socrates
((λ (x) (x x)) (λ (x) (x x)))
“Life has become immeasurably better since I have been forced to stop
taking it seriously.” --Thompson


On Mon, May 5, 2014 at 10:06 AM, Suvayu Ali <fatkasuvayu+linux@gmail.com> wrote:
> Hi Nick,
>
> On Sun, May 04, 2014 at 06:14:34PM -0400, Nick Dokos wrote:
>> Suvayu Ali <fatkasuvayu+linux@gmail.com> writes:
>>
>> > On Sun, May 04, 2014 at 04:13:45PM +0100, Sharon Kimble wrote:
>> >> I have these two symbols showing in my org-mode buffer with no
>> >> problems
>> >> ╭────
>> >> │ alpha (ER-α) and beta (ER-β)
>> >> ╰────
>> >>
>> >> but they are not exported to latex/pdf. How then can I do so please?
>> >
>> > The easiest solution is to use a modern TeX engine like XeTeX or LuaTeX
>> > along with a font with the required glyphs.
>>
>> The *easiest* solution is to just say \alpha and \beta in the org file
>> instead of α and β. But biting the bullet and adopting XeTeX or LuaTeX is
>> probably the *best* way to go (he says without ever having used either...)
>
> Well put!
>
> I really recommend using XeTeX for most things.  There are some caveats
> though.  Clipping is a bit iffy, sometimes it warns as not supported but
> works anyway :-p.  Sometimes it has trouble including slightly
> non-standard pdf images whereas pdfTeX works fine.  There are also a few
> packages here and there that are still not completely supported.  IIRC,
> either one of the TikZ math libraries or a 3rd-party TikZ library (maybe
> tikz-3dplot) is incompatible.
>
> That said, I attached a sample pdf with lots of unicode produced with
> XeLaTeX and Linux Libertine.  As you can see, some glyphs are missing
> from Linux Libertine, but otherwise it looks pretty good!
>
>> >  I personally use XeTeX with
>> > Linux libertine fonts.  You can find my setup here:
>> >
>> > <https://github.com/suvayu/.emacs.d/blob/master/org-mode-config.el#L176>
>> >
>>
>> That is a nice resource - thanks!
>
> Glad you like it.
>
> :)
>
> --
> Suvayu
>
> Open source is the future. It sets us free.

  reply	other threads:[~2014-05-05 18:38 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-04 15:13 exporting α/β to latex/pdf Sharon Kimble
2014-05-04 16:03 ` Scott Randby
2014-05-04 19:26 ` Joost Helberg
2014-05-04 21:42 ` Suvayu Ali
2014-05-04 22:14   ` Nick Dokos
2014-05-05 15:06     ` Suvayu Ali
2014-05-05 18:38       ` Grant Rettke [this message]
2014-05-05 16:52     ` "Clément B."
2014-05-06 22:33       ` Nick Dokos
2014-05-07 23:30         ` "Clément B."
2014-05-05  0:08   ` Sharon Kimble
2014-05-06  2:51   ` Rustom Mody
2014-05-06 12:48     ` Suvayu Ali

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAAjq1mcJaNf03tdeHSw48Lcew3nu6rQP62umNbAUeF9T0UPd2A@mail.gmail.com \
    --to=gcr@wisdomandwonder.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=fatkasuvayu+linux@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).