Uwe Brauer | 14 Jan 18:59 2015
Picon

feature proposal: make LaTeX-mark-section behave like LaTeX-mark-environment

Hello

I find it very useful that LaTeX-mark-environment moves the mark to out
environments:
that is 

  \begin{enumerate}
    \item 
    \begin{equation}
      \label{eq:proto-euler-poisson-banach:7}
      \|\nabla \phi \|_{H_{s+1,\delta+1}}^{2}
      \leq  
      C_{El} \|\rho\|_{H_{s,\delta+2}}^{2}
    \end{equation}   
   \item bla bla
  \end{enumerate}

When used with the cursor placed inside the equation environment, that
environment gets marked, when executed again, the next out environment
enumerate, gets marked etc.

Could LaTeX-mark-section do the same? When executed first it marks the
subsection, when executed again the section etc.

\section{Introduction}

Bla bla
\subsection{Result}

Blabla 
(Continue reading)

Arash Esbati | 9 Jan 19:21 2015
Picon
Picon

minted.el: Parsing with `\newminted'

Hi,

I copied this from minted doc in a file:

\usepackage{minted}
\newminted{cpp}{gobble=2,linenos}

After `C-u C-c C-n C-c C-e', AUCTeX offers `cpp' and `cpp*' for
completion.  My expectation was `cppcode' and `cppcode*'.  The
one-liner below fixes this.

diff --git a/style/minted.el b/style/minted.el
index 83d4764..3c768e2 100644
--- a/style/minted.el
+++ b/style/minted.el
 <at>  <at>  -138,7 +138,7  <at>  <at> 
   (dolist (name-lang LaTeX-minted-auto-newminted)
     (let* ((env (if (> (length (car name-lang)) 0)
                    (car name-lang)
-                 (cadr name-lang)))
+                 (concat (cadr name-lang) "code")))
           (env* (concat env "*")))
       (add-to-list 'LaTeX-auto-environment (list env))
       (add-to-list 'LaTeX-auto-environment

Best, Arash
Uwe Brauer | 3 Jan 23:57 2015
Picon

change: documents with $$ to \begin{documents}

Hi[1]

Sometimes I receive documents with have basically only 
$$
\int f =0
$$
constructions instead of say 
\begin{displaymath} or {equation*} etc.

Anybody has a idea how to change the evil $$ to true latex constructs by
using sophisticated regexp?

thanks

Uwe Brauer 

Footnotes:
[1]  happy new year

Attachment (smime.p7s): application/pkcs7-signature, 8123 bytes
_______________________________________________
auctex-devel mailing list
auctex-devel <at> gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel
Arash Esbati | 30 Dec 17:30 2014
Picon
Picon

[PATCH 3/3] Fix a typo.

Hi,

this patch fixes a small typo in `multirow.el'.

Best, Arash

Attachment (0003-Fix-a-typo.patch): text/x-patch, 1068 bytes
_______________________________________________
auctex-devel mailing list
auctex-devel <at> gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel
Arash Esbati | 30 Dec 17:24 2014
Picon
Picon

[PATCH 1/3] Add `Form' environment needed for PDF and HTML forms.

Hi,

this patch adds the `Form' environment to `hyperref.el'.  Any comments
welcome.

Best, Arash

_______________________________________________
auctex-devel mailing list
auctex-devel <at> gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel
Arash Esbati | 30 Dec 17:27 2014
Picon
Picon

[PATCH 2/3] Add new styles.

Hi,

this patch adds support for `wrapfig.sty' and `relsize.sty'.  Any
comments welcome.

Best, Arash

Attachment (0002-Add-new-styles.patch): text/x-patch, 7912 bytes
_______________________________________________
auctex-devel mailing list
auctex-devel <at> gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel
Mosè Giordano | 14 Dec 23:28 2014
Picon

Uninstalling AUCTeX

Dear all,

we know no one should ever uninstall AUCTeX, but there are strange
people out there ;-)  Thus I wrote some uninstall rules for our
Makefiles.  I tested the attached patch with both Emacs and XEmacs
configurations, but other feedbacks would be appreciated.

Bye,
Mosè
Attachment (uninstall.patch): text/x-diff, 5248 bytes
_______________________________________________
auctex-devel mailing list
auctex-devel <at> gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel
Mosè Giordano | 8 Dec 20:09 2014
Picon

Re: sync auctex with xemacs off pkg: auctex.el and tex-wizard.el

2014-12-08 20:02 GMT+01:00 Uwe Brauer <oub <at> mat.ucm.es>:
> On 12/08/2014 08:00 PM, Mosè Giordano wrote:
>
> Hi Uwe,
>
> 2014-12-07 15:33 GMT+01:00 Uwe Brauer <oub <at> mat.ucm.es>:
>> Hi
>>
>> I am just trying to synchronize auctex 11.88 with the official xemacs
>> pkg. Two questions
>>
>>     -  auctex.el: as far as I can see file is only for checking the auctex
>>        specific installation procedure.
>>
>>     -  tex-wizard.el this file is more a mysterious to me: it is *not*
>>        installed in the pkg found in
>>
>>
>>     auctex-11.88-pkg.tar.gz
>> https://www.gnu.org/software/auctex/download-for-unix.html
>>       what is the opinion of the auctex team?
>
> Ahem, which are the questions?
>
> whether to include TeX-wizard or not?

It seems you asked the same question some years ago:
https://lists.gnu.org/archive/html/auctex-devel/2008-09/msg00022.html
;-)

(Continue reading)

Uwe Brauer | 7 Dec 15:33 2014
Picon

sync auctex with xemacs off pkg: auctex.el and tex-wizard.el

Hi

I am just trying to synchronize auctex 11.88 with the official xemacs
pkg. Two questions

    -  auctex.el: as far as I can see file is only for checking the auctex
       specific installation procedure.

    -  tex-wizard.el this file is more a mysterious to me: it is *not*
       installed in the pkg found in 

    auctex-11.88-pkg.tar.gz
https://www.gnu.org/software/auctex/download-for-unix.html
      what is the opinion of the auctex team?

  Regards 

Uwe Brauer  
Attachment (smime.p7s): application/pkcs7-signature, 7510 bytes
_______________________________________________
auctex-devel mailing list
auctex-devel <at> gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel
Arash Esbati | 6 Dec 13:42 2014
Picon
Picon

[PATCH] Add new styles.

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

* style/newtxttt.el: New file.

* style/newtxtext.el: New file.

* style/newtxsf.el: New file.

* style/newtxmath.el: New file.

* style/fbb.el: New file.

* style/erewhon.el: New file.

* style/baskervaldx.el: New file.
---
Hi,

this patch adds styles for some font related packages.  Comments are
welcome.

Best, Arash

 ChangeLog            | 18 +++++++++++
 Makefile.in          |  4 ++-
 style/baskervaldx.el | 73 +++++++++++++++++++++++++++++++++++++++++++++
 style/erewhon.el     | 79 ++++++++++++++++++++++++++++++++++++++++++++++++
 style/fbb.el         | 71 ++++++++++++++++++++++++++++++++++++++++++++
 style/newtxmath.el   | 84 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 style/newtxsf.el     | 57 +++++++++++++++++++++++++++++++++++
(Continue reading)

Stefan Monnier | 3 Dec 16:19 2014
Picon

Silence compilation warnings

Here's another patch which silences various compilation warnings, and
fixes a few commenting conventions (noticeable when using
outline-minor-mode).

        Stefan

diff --git a/bib-cite.el b/bib-cite.el
index 9ecbc81..164385a 100644
--- a/bib-cite.el
+++ b/bib-cite.el
 <at>  <at>  -1002,6 +1002,16  <at>  <at>  runs bib-find, and [mouse-3] runs bib-display."
       "^[, \t]*[a-zA-Z]+[ \t]*=[ \t]*\\([a-zA-Z][^#%'(),={}\" \t\n]*\\)"
       "Regular expression for field containing a  <at> string.")

+(defun bib-cite--kind ()
+  (save-excursion
+    (if (not (looking-at "\\\\"))
+        (search-backward "\\" nil t))
+    (if (looking-at bib-ref-regexpc)
+        'ref
+      (if (looking-at "\\\\label{")
+          'label
+        'cite))))
+
 (defun bib-display ()
   "Display BibTeX citation or matching \\ref or \\label command under point.

 <at>  <at>  -1023,23 +1033,15  <at>  <at>  string, a second prompt for a ref will be given.

 A TAGS file is created and used for multi-file documents under auctex."
(Continue reading)


Gmane