From: Rasmus <rasmus@gmx.us>
To: help-gnu-emacs@gnu.org
Subject: Re: PdfTeXing with Emacs' TeX input method not working
Date: Thu, 25 Sep 2014 13:12:46 +0200 [thread overview]
Message-ID: <877g0srm1d.fsf@gmx.us> (raw)
In-Reply-To: 87vbocqiu9.fsf@vsl28t2g.ww011
dieter@duenenhof-wilhelm.de (H. Dieter Wilhelm) writes:
> Hello (),
>
> I'm playing with the TeX input method for better visualising some Calc
> formulae from embedded mode. But when I trying to pdftex the uft8 file
> it says:
>
> l.42 \(Ω
> := 120000. rpm\)
>
> ! Package inputenc Error: Unicode char \u8:Ω not set up for use with LaTeX.
>
> I did already \usepackage[utf8]{inputenc}, which package or
> configuration am I missing?
This is to be expected since you are in math mode. For visualization
you might enjoy org-entities, and for quick typing you may find org's
bindings for cdlatex useful (On my keyboard I get "\Omega" by typing
"¨O", but I customized "¨").
ibeas@gmx.com (Álvar Ibeas) writes:
> For directly typing greek letters in math mode (avoiding commands like
> \Omega), you can load the "alphabeta" package. You may also need
> \usepackage[greek]{babel}.
I think LyX does something similar for people with Greek keyboards.
The way LyX does it is *really* annoying since the case isn't right.
Alphabeta may be more cleverer, though.
> Although not strictly related to the topic, xelatex and the xunicode
> package make a great tool for varied input encodings.
What's the point of xunicode? The readme is very sparse, and I
thought xeleatex is always unicode?
The way I would approach the problem is xelatex (or lualatex) and the
package unicode math. Consider this minimal example, where I don't
even know myself what the math means (mostly I wanted to show
\mathbb{1}, one of the greatest benefits of unicode-math)
\documentclass{minimal}
\usepackage{unicode-math}
\begin{document}
$Ω≔\mathbb{1}\{∀ πᵢ ∈ Π\colon πᵢ = f(p_{i})\}$
\end{document}
As you can see you can nicely mix unicode symbols and "classic" LaTeX.
Unicdode-math supports an abyss of symbols. See "texdoc
unimath-symbols" (in your shell when texlive in installed)
—Rasmus
--
A page of history is worth a volume of logic
next prev parent reply other threads:[~2014-09-25 11:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-25 7:07 PdfTeXing with Emacs' TeX input method not working H. Dieter Wilhelm
2014-09-25 11:12 ` Rasmus [this message]
[not found] ` <mailman.9616.1411661658.1147.help-gnu-emacs@gnu.org>
2014-09-25 19:48 ` Álvar Ibeas
[not found] <mailman.9549.1411629034.1147.help-gnu-emacs@gnu.org>
2014-09-25 9:15 ` Álvar Ibeas
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=877g0srm1d.fsf@gmx.us \
--to=rasmus@gmx.us \
--cc=help-gnu-emacs@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.