[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: latex-mode hook?
From: |
Marcin Borkowski |
Subject: |
Re: latex-mode hook? |
Date: |
Tue, 9 Sep 2014 09:51:51 +0200 |
Dnia 2014-09-08, o godz. 23:54:35
Emanuel Berg <embe8573@student.uu.se> napisaĆ(a):
> Marcin Borkowski <mbork@wmi.amu.edu.pl> writes:
>
> > and LaTeX-mode is the AUCTeX's one
> > (which is much, much better think autocompletion
>
> I
> I think
> I think not
C-c C-e enum TAB RET
and you get
\begin{enumerate}
(point)
\end{enumerate}
How is that not a win? And it even understands your \newcommand and
\newenvironment invocations.
> > Also the texmathp function.
> > And parsing of \usepackage[...]{inputenc}. And more.
>
> What are those?
texmathp (as the name implies?) returns t if the point is in math mode
and nil otherwise. It knows about $...$, \(...\), \[...\],
\begin{equation} ... \end{equation}, it handles $...$ inside
\text{...} inside \[...\] etc. correctly... See here:
http://mbork.pl/?search=texmathp for two possible applications.
In AUCTeX, if I have \usepackage[cp1250]{inputenc} near the beginning,
the buffer is automatically put in the respective encoding. It's not
a big deal in English-speaking countries, I guess, but here in Poland,
where Windoze uses CP-1250, old Linux files use ISO-8859-2 and
everyone else uses UTF-8, it's /very/ convenient.
Best,
--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University
- Re: latex-mode hook?, (continued)
- Message not available
- Re: latex-mode hook?, Emanuel Berg, 2014/09/08
- Re: latex-mode hook?, Thorsten Jolitz, 2014/09/08
- Message not available
- Re: latex-mode hook?, Emanuel Berg, 2014/09/08
- Re: latex-mode hook?, Thorsten Jolitz, 2014/09/09
- Re: latex-mode hook?, Stefan Monnier, 2014/09/09
- Message not available
- Re: latex-mode hook?, Emanuel Berg, 2014/09/08
- Re: latex-mode hook?,
Marcin Borkowski <=
- Re: latex-mode hook?, Stefan Monnier, 2014/09/09
- Re: latex-mode hook?, Tassilo Horn, 2014/09/09
- Re: latex-mode hook?, Stefan Monnier, 2014/09/09
- Re: latex-mode hook?, Marcin Borkowski, 2014/09/09
- Re: latex-mode hook?, Stefan Monnier, 2014/09/09
- Re: latex-mode hook?, Marcin Borkowski, 2014/09/09
- Re: latex-mode hook?, Stefan Monnier, 2014/09/09
- Message not available
- Re: latex-mode hook?, Emanuel Berg, 2014/09/09
- Re: latex-mode hook?, Thorsten Jolitz, 2014/09/09
- Message not available
- Re: latex-mode hook?, Emanuel Berg, 2014/09/09