21 Nov 22:48 2015

### [PATCH] Various patches

Hi all,

please find attached 4 patch sets containing:

* Makefile.in (STYLESRC): Add new style.

* style/ntheorem.el: New file.

* Makefile.in (STYLESRC): Add new style.

* style/theorem.el: New file.

* style/amsthm.el (LaTeX-amsthm-fontdecl): Cover all font changing
declarations.
("amsthm"): Overrule the defintion for \newtheorem in latex.el'.
("amsthm"): Use TeX-completing-read-multiple' for font related
queries.

* style/hologo.el: Fix the file name in header.

Best, Arash

19 Nov 20:58 2015

### Regex best practice

Hi all,

looking at some packages, the optional arguments for some commands are
getting more and more complex, e.g.

--8<---------------cut here---------------start------------->8---
\declaresomething[%
key          = value               ,
name         = {[Optional]Value}   ,
anothername  = {valu-es[]}]{}      ,
colframe     = red!75!black        ,
fonttitle    = \bfseries           ,
enhanced                           ,
attach boxed = {yshift=-2mm}       ,
title        = #2
]
{
some1thing
}
--8<---------------cut here---------------end--------------->8---

I was thinking about a general regex-solution how to add these kind of
beasts to AUCTeX parser.  My solution is currently:

--8<---------------cut here---------------start------------->8---
\\\\declaresomething[ \t\n\r%]*\$$?:\$\\(?:[\t\n\r[:print:]]*\$$\$\\)?[ \t\n\r%]*{[
\t\n\r%]*\$$[[:print:]]+\$$[ \t\n\r%]*}
--8<---------------cut here---------------end--------------->8---

Any comments?  Admittedly, the last two [ \t\n\r%]' are excessive, but

19 Nov 00:07 2015

### Master file set with "%% Master:" at the beginning of the file

Dear all,

I don't know how many of you knew that in AUCTeX the master file can
be also set with the line

%% Master: file.tex

at the beginning of the file.  I didn't, for one, until a few minutes
ago.  This feature has been introduced («under protest!») in 1994 and
marked to be phased out later.  I'm writing to you just to let you
know that this feature, deprecated more than 20 years ago, has been
now completely removed.  I hope none of you will miss it.

Bye,
Mosè

_______________________________________________
auctex-devel mailing list
auctex-devel <at> gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel
16 Nov 00:46 2015

### Changing coding of files

Hi all,

any objections against changing the coding of tex.el and font-latex.el
to utf-8?  In particular, font-latex.el is recognized by grep as a
binary file because of the guillemets at line 72.  (Does it occur only
to me?)  I know I could use the -a switch, but I'd rather avoid this,
and I seem to remember having read that utf-8 encoded elisp files are

Bye,
Mosè

_______________________________________________
auctex-devel mailing list
auctex-devel <at> gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel
14 Nov 00:19 2015

### A bug in texmathp

Hi all,

I'm currently reading the source for texmathp, and I've just found
a bug.  Assuming that "|" is the position of point, evaluating
(texmathp) in this situation: "\\$|...$" yields nil instead of t.  The
culprit is the texmathp-onoff-regexp variable.

(Admittedly, "\\$...$" is very wrong for several reasons, but it is
legal in (La)TeX, i.e., does not raise an error.)

Best,

--

--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
8 Nov 21:26 2015

### Drop ChangeLog (was: Contributing to AUCTeX)

Hi Tassilo,

2015-11-08 21:07 GMT+01:00 Tassilo Horn <tsdh <at> gnu.org>:
> Mosè Giordano <mose <at> gnu.org> writes:
>
>> [1] BTW, how about dropping it [the ChangeLog] and auto-generating it
>> like Emacs?
>

Good, after the release of 11.89 I think we have the chance to do this
change.[1]

Do you know exactly which changes should we take?  First, move the
ChangeLog to ChangeLog.1 and ignore it in git, but then?  Which
scripts we need from Emacs?  build-aux/gitlog-to-changelog and what
else, if any?

Bye,
Mosè

Note:
[1] To anyone reading this: help in solving the problem with
LaTeX-fill-break-at-separators' is welcome, if it this considered a
problem, otherwise we can go for the new release at any time.

_______________________________________________
auctex-devel mailing list
auctex-devel <at> gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel

8 Nov 01:39 2015

### VirTeX-common-initialization in texinfo-mode

Dear all,

does someone know why TeX-texinfo-mode' doesn't run
VirTeX-common-initialization'?  Maybe because in the latter there are
some settings incompatible with texinfo needs?  Indeed some variables
are set to nil in one function and to non-nil in the other one and
vice-versa, but I don't see any harm in using it anyway.  Or maybe it
is just because the code is outdated?  I just removed some
compatibility codes with Emacsen of the last millennium.

The most annoying thing in texinfo-mode is that TeX-output-extension'
is not set.  In order to fix this I put

(setq TeX-output-extension (if TeX-PDF-mode "pdf" "dvi"))

at the beginning of TeX-texinfo-mode', but I wonder why
`VirTeX-common-initialization' is not used.

Bye,
Mosè

_______________________________________________
auctex-devel mailing list
auctex-devel <at> gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel
7 Nov 20:14 2015

### Contributing to AUCTeX

OK,

so after some time dedicated to thinking I signed the FSF papers and
sent them (of course, it will take some time for the letter to get
across the pond, and FSF will probably need at least a few days to
register it).

So, my question now is: what do I do in order to start contributing to
AUCTeX?  Currently, I put my code in this GitHub repository:
https://github.com/mbork/tex-plus.el , but of course this doesn't have
to be so.

Of course, there are questions of quality, reviews, tests etc.  What are
the practices for AUCTeX?  I hope that my code isn't bad enough to be
rejected (though admiteddly its far from being ideal, and probably will
never be, since (1) I'm not (yet?) a bearded Elisp wizard, and (2) when
dealing with LaTeX I have to make some assumptions e.g. about the user
not changing catcodes like crazy).

Also, while I don't have too much time now (my teaching schedule this
semester is totally insane), I manage to carve out a few hours of Elisp
coding each week, so while I might not answer all emails within 24
hours, I /will/ answer them eventually.

Best regards,

--

--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science

7 Nov 10:47 2015

### feature freeze in GNU emacs 25.

Hi

That might be a bit off topic, but currently there is a discussion on
emacs.devel which features to freeze for the 25.1 release.

The nifty pretty-symbol stuff is already in, I trust??

Uwe Brauer
5 Nov 12:25 2015

### include \times in the prettify list

Hello

Could please \times included in the prettify list.

("\\times" . ?×)

BTW according to

http://milde.users.sourceforge.net/LUCR/Math/unimathsymbols.xhtml

The UTF-8 representation should be
;	      ("\\times" . ?\u000D7)

But this is rejected by auctex.

Regards

Uwe Brauer

_______________________________________________
auctex-devel mailing list
auctex-devel <at> gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel
5 Nov 12:23 2015

### a strange problem with pretty symbols and qquad

Hello

I use two thinkpad laptops with the same Kubuntu installation, GNU emacs
etc.

However in one of them (X201) the command \qquad is displayed correctly
using the pretty symbol mode, however in the other it is not not,

I attach  a screenshot.

This is not really a auctex issue, but I would appreciate any comment.

Thanks

Uwe Brauer

_______________________________________________
auctex-devel mailing list
auctex-devel <at> gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel

Gmane