Re: AUCTeX 11.88

#97970
Up
0
Down
::

Elrond” post=97468Pare sia stata rilasciata la nuova versione di AUCTeX, la 11.88. Ecco un estratto delle novità più interessanti (scusate l’elenco lungo ma è la versione più ricca di novità degli ultimi anni e non so davvero cosa togliere):

‘TeX-PDF-mode’ is now enabled by default.

Now ‘TeX-previous-error’ works with TeX commands if the new option
‘TeX-parse-all-errors’ is non-nil, which is the default. When this
option is non-nil, an overview of errors and warnings reported by the
TeX compiler can be opened with ‘M-x TeX-error-overview ‘.

[…]

Management of LaTeX package options in the parser was improved. You
might need to reparse your documents, especially if you loaded the
‘babel’ package with language options.

Now you can insert ‘$…$’ or ‘[tt]\[/tt][tt](…\)[/tt]’ by typing a single ‘$’. To do
this, customize the new option ‘TeX-electric-math’.
‘TeX-math-close-double-dollar’ was removed.

‘C-c documentclass ‘ completes with all available LaTeX
classes, if the ‘TeX-arg-input-file-search’ variable is non-nil.
Completion for class options of the standard LaTeX classes is provided
as well.

[…]

‘biblatex’ support was greatly expanded. If parsing is enabled, AUCTeX
looks at ‘backend’ option to decide whether to use Biber or BibTeX. The
‘LaTeX-biblatex-use-Biber’ variable was changed to be file local only
and is no more customizable.

With some LaTeX classes, the default environment suggested by
‘LaTeX-environment’ (‘C-c C-e’) when the current environment is
‘document’ was changed. With ‘beamer’ class the default environment is
‘frame’, with ‘letter’ it is ‘letter’, with ‘slides’ it is ‘slide’.

Brace pairing feature was enhanced in LaTeX documents. Support for
‘\bigl’, ‘\Bigl’, ‘\biggl’ and ‘\Biggl’, the same as the one for
‘\left’, was added to ‘TeX-insert-macro’. For example, ‘C-c bigl
( ‘ inserts ‘\bigl(\bigr)’.

You can insert brace pair ‘()’, ‘{}’ and ‘[]’ by typing a single left
brace if the new user option ‘LaTeX-electric-left-right-brace’ is
enabled.

Macros ‘\langle’, ‘\lfloor’ and ‘\lceil’, which produce the left part
of the paired braces, are treated similarly as ‘(‘, ‘{‘ and ‘[‘ during
the course of ‘TeX-insert-macro’.

[…]

Tabular-like environments (tabular, tabular*, tabularx, tabulary,
array, align, …) are indented in a nicer and more informative way
when the column values of a table line are written across multiple
lines in the tex file.

The suitable number of ampersands are inserted when you insert array,
tabular and tabular* environments with ‘C-c C-e’. Similar experience
is obtained if you terminate rows in these environments with ‘C-c
‘. It supplies line break macro ‘\\’ and inserts the suitable
number of ampersands on the next line. Similar supports are provided
for various amsmath environments.

Commands for narrowing to a group (‘TeX-narrow-to-group’) and to LaTeX
environments (‘LaTeX-narrow-to-environment’) were added.

Now arbitrary options can be passed to the TeX processor on a per file
basis using the ‘TeX-command-extra-options’ option.

Now ‘C-c C-e document ‘, in an empty document, prompts for
‘\usepackage’ macros in addition to ‘\documentclass’.

[…]

Mi sembra che ora AUCTeX sia l’unico programma che riconosce automaticamente il motore bibliografico da usare con biblatex, senza bisogno di specificare nulla (anche se è possibile indicare il motore nel caso in cui non riesca a capirlo da solo).

In generale ci sono state molte nuove funzioni tendenti a ridurre al minimo la pressione di tasti, per i più pigri (o anche per chi ha seri problemi di dolori alle mani per via dello smodato uso della tastiera): inserimento automatico di [tt]$…$[/tt] o [tt]\[/tt][tt](…\)[/tt] (a scelta) premendo solo [tt]$[/tt], inserimento automatico della “parentesi right” quando si inserisce la corrispondente “parentesi left“; migliore indentazione degli ambienti tabulari e inserimento automatico dei separatori [tt]&[/tt].

Buon divertimento con AUCTeX 11.88 🙂

Pare 🙂

http://www.gnu.org/software/auctex/

Piuttosto, io ho scaricato e installato Aquamacs Emacs 3.1a. Contiene già l’ultima versione di AUCTeX, oppure bisogna scaricarla a parte e installarla? Se sì, mi potreste spiegare come si fa?

Grazie
Tommaso

Go to top