Matthew Leach | 19 Oct 20:15 2014
Picon

[PATCH] Merge /preview/* into top-level

---
Hello,

This patch merges everything from preview/* into the top-level of the
source tree.  Rules in configure.ac and Makefile.in have been merged
and adapted.

Apologies for the length of the patch regarding the deletions, I did
try to use git's '-D' option but the patch becomes un-applyable.

Any comments welcome.

Matt

ChangeLog Entry:

2014-10-19  Matthew Leach  <matthew <at> mattleach.net>

	* configure.ac: Merge from preview/configure.ac.

	* .gitignore: Merge from preview/.gitignore.

	* autogen.sh: Don't run autoconf in the preview direcotry.

	* Makefile.in (subdirs): Remove.
	(DESCEND): Remove.
	(previewstartfile): Adapt from preview/Makefile.in.
	(PREVIEW_AUTOLOAD): Likewise.
	(texmf): Likewise.
	(preview-latex.el): Likewise.
(Continue reading)

Matthew Leach | 15 Oct 00:00 2014
Picon

[PATCH v2] Add cleveref style support.

* style/cleveref.el: New file.
---
Hello,

This patch adds a new style file for cleveref support.  I've included
support for the most used cleveref macros, a new argument function
that prompts the user for a series of labels and package options.

Changes since v1:
* Fontification support.
* Rename -multiple-labels function to be cleveref specific.
* Use TeX-completing-read-multiple to get mutiple labels off the user,
  rather than prompting them in a loop.
* Add less commonly used macros and declare them as expert macros.

Any comments welcome.

Matt

Changelog Entry:

2014-10-13  Matthew Leach  <matthew <at> mattleach.net>

	* style/cleveref.el: New file.

 Makefile.in       |   2 +-
 style/cleveref.el | 103 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 104 insertions(+), 1 deletion(-)
 create mode 100644 style/cleveref.el

(Continue reading)

Matthew Leach | 13 Oct 19:18 2014
Picon

[PATCH] Add cleveref style support.

* style/cleveref.el: New file.
---
Hello,

This patch adds a new style file for cleveref support.  I've included
support for the most used cleveref macros, a new argument function
that prompts the user for a series of labels and package options.

I notice that \cref and friends aren't highlighted as keywords by
font-lock.  Do I need to provide a hints to font-lock, such as is done
in style/babel.el?

Any comments welcome.

Matt

Changelog Entry:

2014-10-13  Matthew Leach  <matthew <at> mattleach.net>

	* style/cleveref.el: New file.

 Makefile.in       |  2 +-
 style/cleveref.el | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+), 1 deletion(-)
 create mode 100644 style/cleveref.el

diff --git a/Makefile.in b/Makefile.in
index efdc405..583b6e7 100644
--- a/Makefile.in
(Continue reading)

Matthew Leach | 11 Oct 22:08 2014
Picon

Simple patch to add cref support

Hello,

I noticed that when using the cref macro with AUCTeX, LaTeX labels
aren't completed.  This simple patch adds support for label completion
when using the cref and Cref macros.  I would like to develop this
further to add support in TeX-arg-label to read in lists of references.
Does that sounds reasonable?

Here is this patch, meanwhile. Any comments welcome.

Changelog:

2014-10-11  Matthew Leach  <matthew <at> mattleach.net>

	* latex.el (LaTeX-common-initialization): Add a reference argument
	for cref macros.

Attachment (cref.patch): text/x-diff, 513 bytes

--

-- 
Matt
_______________________________________________
auctex-devel mailing list
auctex-devel <at> gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel
(Continue reading)

Ralf Angeli | 11 Oct 10:27 2014
Picon

Re: [AUCTeX] new release?

[Debian lists stripped from recipients]

* Mosè Giordano (2014-10-10) writes:

> Well, we only need someone authorized to upload files to the FTP
> server :-)  Ralf can do that, but we don't hear from him in the last
> days.

I'm here! (c:  And I'd be available for the upload, as long as my
internet connection does not collapse (which happened a few times during
the last days).

Mail-Followup-To: auctex-devel <at> gnu.org

--

-- 
Ralf
Arash Esbati | 11 Oct 08:10 2014
Picon
Picon

Small patch for MinionPro.el

Hi,

may I propose a small patch for MinionPro.el?  Rationale: \figureversion can contain `style' and
`alignment' (e.g., \figureversion{osf,prop})

--- MinionPro.el~       2014-10-06 18:57:32.000000000 +0200
+++ MinionPro.el        2014-10-11 07:49:26.404204800 +0200
 <at>  <at>  -36,11 +36,10  <at>  <at> 
    (TeX-add-symbols
     ;; New symbols
     '("figureversion"
-      (TeX-arg-eval completing-read "Figure style: "
-                   '(("text") ("osf")
-                     ("lining") ("lf")
-                     ("tabular") ("tab")
-                     ("proportional") ("prop"))))
+      (TeX-arg-key-val (("text") ("osf")
+                        ("lining") ("lf")
+                        ("tabular") ("tab")
+                        ("proportional") ("prop")) "Style, align."))
     '("smallfrac" "Numerator" "Denominator")
     '("slantfrac" "Numerator" "Denominator")
     ;; IMHO they should be added to the other \text.. and \..shape commands

Best, Arash
Lars Madsen | 25 Sep 16:22 2014
Picon
Picon

'race condition' in LaTeX-insert-environment

I've been playing a bit with adding hooks to environments to add common cleanups.

There seems to be a problem. I'm adding the env hooks to  LaTeX-after-insert-env-hooks, which states that

Each function is called with three arguments: the name of the
environment just inserted, the buffer position just before
\\begin and the position just before \\end

How ever that is not what I observe

If I have a text like 

$ sdf $
test

I mark it and run C-c C-e test

I get

\begin{test}
  $ sdsaf $.  test
\end{test}

and if I test the positions given to a hook into the test env, the end position ends up being after the 'e' in test

My guess is this part in  LaTeX-insert-environment:

   (setq env-end (point))
    (insert TeX-esc "end" TeX-grop environment TeX-grcl)
    (end-of-line 0)
(Continue reading)

Lars Madsen | 14 Aug 11:58 2014
Picon
Picon

generalised paren-forward-sexp

Does anyone know about a generalized paren-forward-sexp functionality? As it is now there a few paren
implementations where you can jump from a ( to the proper matching )

It would be nice with a generalized version of this for AUCTeX, that is having a list of pairs of delimiters, like

(,); [,]; \{,\}, \langle,\rangle; \lbrace,\rbrace etc.

then upon standing at one of these the macro could be used to jump to the corresponding 'end' (or start)

Having such a function would allow us to define a function that should go to the next start string from the
list, find the corresponding end, identify any fence scalers, (\left,\right,\big,\Big,\bigg,\Bigg,
+ l,r variants) and then offer an interface to scale these differently.

I currently have one made, but it can only handle () and []

The function is very handly when most of your LaTeX work is editing things other people have written. There
are many people who stil write \left/right all over the place.

/Lars Madsen
Institut for Matematik / Department of Mathematics
Aarhus Universitet / Aarhus University
Mere info: http://au.dk/daleif <at> imf / More information: http://au.dk/en/daleif <at> imf
Uwe Brauer | 14 Aug 09:38 2014
Picon

-- expands to "=

Hi 

I just discovered that typing -- gives "= once 
TeX-source-correlate-mode has been activated

However I cannot get rid of this strange expansion. Abbrev-mode has
nothing to do with it and it does not happen  in all LaTeX buffers.

Any idea?

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
Uwe Brauer | 13 Aug 11:11 2014
Picon

german quotes and quail, latin-pre.

Hi 

I sometimes want to use the german quotes such as 
 „ ” “ mostly in LaTeX mode:

(Using for example 
\usepackage[german]{babel}
\usepackage[utf8x]{inputenc}
)

So I added to the quail package latin-pre the following entries 

(quail-define-package
 "german-prefix" "Latin-1" "DE>" t
 "German (Deutsch) input method with prefix modifiers
Key translation rules are:
 \"A -> Ä -> \"O -> Ö, \"U -> Ü, \"s -> ?ß \"' -> ” \"` -> „ \"\" -> “
" nil t nil nil nil nil nil nil nil nil t)

(quail-define-rules
 ("\"A" ?Ä)
 ("\"O" ?Ö)
 ("\"U" ?Ü)
 ("\"a" ?ä)
 ("\"o" ?ö)
 ("\"u" ?ü)
 ("\"`" ?„)
 ("\"'" ?”)
 ("\"\"" ?“)
 ("\"s" ?ß)
(Continue reading)

Uwe Brauer | 9 Aug 21:15 2014
Picon

(old) TeX definitions and query-replace-regexp

Hi

I am in a state of advanced desperation. I have a couple of old latex
files which contain a lot of definitions (with arguments) of the sort 

\newcommand{\nv}[2]{\|#1\|_{H^{#2}}}

which are used in the document like this
$\nv{G^a}{s} \leq C_2$ and

so I just wanted to have a simple elisp function which replaces the \nv
calls by its definition.

I thought it should be something like this 
(query-replace-regexp 
"\\(\\\\nv{[a-z,A-Z,0-9]*\\^[a-z,A-Z,0-9]*}{[a-z,A-Z,0-9]*}\\)" 
"\\\\|\\1\\\\|_{H^{\\2}}")

but it failed, I tried something simpler
(query-replace-regexp "\\(\\\\nv{G\\^a}{s}\\)" "\\\\|\\1\\\\|_{H^{\\2}}")

no success neither. I admit regexps drive me crazy and would appreciate
any help.

thanks

Uwe Brauer 
Attachment (smime.p7s): application/pkcs7-signature, 7510 bytes
(Continue reading)


Gmane