Re: [AUCTeX-devel] [PATCH] Minor improvements to hyperref.el.

2015-09-09 Thread Tassilo Horn
Arash Esbati  writes:

Hi Arash,

> please find attached a minor patch against hyperref.el.  From
> ChangeLog:
>
> * style/hyperref.el ("hyperref"): Add completion for starred
> version of `\autoref' incl. fontification.
> ("hyperref"): Add fontification support for `\hypersetup'.

Thanks, applied and pushed!

Bye,
Tassilo


___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


[AUCTeX-devel] modify or amplify tex--prettify-symbols-alist

2015-09-09 Thread Uwe Brauer

  
  

  
  Hi
  
  I have tons of latex documents with the following alias:
  
  
  \newcommand{\setR}{{\mathord{\mathbb R}}}
  
  The reason is that in X-symbol-mode, for reason unknown to me,
  decided
  only to display \setR by a symbol, but not the original AMS
  {\mathbb R}.
  
  
  I know I could write a lisp function which would replace back and
  forwards between these two commands, I say back and forward
  because I
  might use GNU Emacs and Xemacs for some time together.
  
  In any case I got curious and thought of either appending  the new
  commands as symbols to 
   tex--prettify-symbols-alist
  
  Like
  
   (add-to-list 'tex--prettify-symbols-alist
    '(("\\setN" . ?ℕ)
      ("\\setP" . ?ℙ)        
      ("\\setR" . ?ℝ)
      ("\\setZ" . ?ℤ)))
  
  Or just modifying the list itself and explicitly adding this
  symbols. 
  
  In both cases it did not work, prettify mode did not even display
  the
  symbols.
  
  So the question is simply that
  
  I cannot have 
  
      ("\\Bbb{R}" . ?ℝ)
      and
          ("\\setR" . ?ℝ)
  
  In the same list? So a list is really one-to-one?
  
  Thanks
  
  Uwe Brauer 
  

  




smime.p7s
Description: S/MIME Cryptographic Signature
___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] modify or amplify tex--prettify-symbols-alist

2015-09-09 Thread Uwe Brauer

  
  
On 09/09/2015 10:13 AM,
  goj...@gmail.com wrote:


  Hi Uwe,

> \newcommand{\setR}{{\mathord{\mathbb R}}}


Does X-symbol-mode behave correctly if you use

\newcommand*{\setR}{\mathbb{R}}



xsymbol behaves fine, however I cannot compile this definition with
latex

  
instead?

Cheers,
J






  




smime.p7s
Description: S/MIME Cryptographic Signature
___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] modify or amplify tex--prettify-symbols-alist

2015-09-09 Thread Tassilo Horn
Uwe Brauer  writes:

> In any case I got curious and thought of either appending the new
> commands as symbols to 
> tex--prettify-symbols-alist
>
> Like
>
> (add-to-list 'tex--prettify-symbols-alist
> '(("\\setN" . ?ℕ)
> ("\\setP" . ?ℙ) 
> ("\\setR" . ?ℝ)
> ("\\setZ" . ?ℤ)))

Well, `add-to-list' adds a single element to a list but you provide a
list of many elements which will be treated as one element and has the
wrong format then.

This works:

--8<---cut here---start->8---
(require 'tex-mode)
(dolist (el '(("\\setN" . ?ℕ)
  ("\\setP" . ?ℙ)
  ("\\setR" . ?ℝ)
  ("\\setZ" . ?ℤ)))
  (add-to-list 'tex--prettify-symbols-alist el))
--8<---cut here---end--->8---

> I cannot have 
>
> ("\\Bbb{R}" . ?ℝ)
> and
> ("\\setR" . ?ℝ)
>
> In the same list? So a list is really one-to-one?

No, it is an normal alist, so many-to-many with first one wins.

Bye,
Tassilo


signature.asc
Description: PGP signature
___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 29261e3a61c8b3091466df70abeef16e59f357ff

2015-09-09 Thread Tassilo Horn
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
   via  29261e3a61c8b3091466df70abeef16e59f357ff (commit)
  from  69004bc2c8ca61be94312269457966f84885a098 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit 29261e3a61c8b3091466df70abeef16e59f357ff
Author: Arash Esbati 
Date:   Tue Sep 8 23:15:50 2015 +0200

Minor improvements to hyperref.el.

* style/hyperref.el ("hyperref"): Add completion for starred
version of `\autoref' incl. fontification.
("hyperref"): Add fontification support for `\hypersetup'.

diff --git a/ChangeLog b/ChangeLog
index af8d4e6..e094aff 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-09-08  Arash Esbati  
+
+   * style/hyperref.el ("hyperref"): Add completion for starred
+   version of `\autoref' incl. fontification.
+   ("hyperref"): Add fontification support for `\hypersetup'.
+
 2015-09-08  Tassilo Horn  
 
* tex-buf.el (TeX-command-default): Fix bug where wrong command
diff --git a/style/hyperref.el b/style/hyperref.el
index 45d70a1..9f4d0be 100644
--- a/style/hyperref.el
+++ b/style/hyperref.el
@@ -230,6 +230,7 @@
 '("hypertarget" "Name" "Text")
 '("phantomsection" 0)
 '("autoref" TeX-arg-ref)
+'("autoref*" TeX-arg-ref)
 '("ref*" TeX-arg-ref)
 '("pageref*" TeX-arg-ref)
 '("autopageref" TeX-arg-ref)
@@ -287,11 +288,13 @@
("hyperref" "")
("hyperlink" "{{")
("hypertarget" "{{")
-   ("autoref" "{")
+   ("autoref" "*{")
("ref" "*{")
("pageref" "*{")
("autopageref" "*{"))
  'reference)
+ (font-latex-add-keywords '(("hypersetup" "{"))
+ 'function)
  ;; For syntactic fontification, e.g. verbatim constructs.
  (font-latex-set-syntactic-keywords))
 

---

Summary of changes:
 ChangeLog |6 ++
 style/hyperref.el |5 -
 2 files changed, 10 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX

___
auctex-diffs mailing list
auctex-di...@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-diffs


[AUCTeX-diffs] GNU AUCTeX branch, simplify-TeX-parse-error, updated. c1dcf3a804bbba3db076d6b9c4677532094f3fad

2015-09-09 Thread Tassilo Horn
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, simplify-TeX-parse-error has been updated
   via  c1dcf3a804bbba3db076d6b9c4677532094f3fad (commit)
   via  29261e3a61c8b3091466df70abeef16e59f357ff (commit)
  from  4cf274972cd2a81a97c7427a096923cc98323b7b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit c1dcf3a804bbba3db076d6b9c4677532094f3fad
Merge: 4cf2749 29261e3
Author: Tassilo Horn 
Date:   Wed Sep 9 08:08:44 2015 +0200

Merge branch 'master' into simplify-TeX-parse-error


---

Summary of changes:
 ChangeLog |6 ++
 style/hyperref.el |5 -
 2 files changed, 10 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX

___
auctex-diffs mailing list
auctex-di...@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-diffs


Re: [AUCTeX-devel] modify or amplify tex--prettify-symbols-alist

2015-09-09 Thread Uwe Brauer

On 09/09/2015 11:08 AM, Tassilo Horn wrote:> Hi Uwe,
>
> could you please stop sending HTML mail?  Especially when you reply to
> messages, I can hardly distinguish your text from the text you are
> replying to since there are not quote markers.
>
> Bye,
> Tassilo
>
>
sorry. Usually I use GNU emacs or Xemacs for the list, but sometimes
when the  wifi the connection is so slow,  I have to use seamonkey, for
which I have set HTML mail because of latexit and hebrew. Problem is
there is no simple toggle on off for html as there is in gmail.

Uwe

PS you start using pgp, interesting, I stick to smime since it is
usually easier for my correspondence to install and use.




smime.p7s
Description: S/MIME Cryptographic Signature
___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] modify or amplify tex--prettify-symbols-alist

2015-09-09 Thread gojjoe



On Wed150909 10:35, Uwe Brauer wrote:

Does X-symbol-mode behave correctly if you use

\newcommand*{\setR}{\mathbb{R}}


xsymbol behaves fine, however I cannot compile this
definition with latex



Mmm... probably I haven't understood the problem, sorry. I use

\newcommand*{\RR}{\mathbb{R}}

in my documents and everything works fine (with pdflatex)...

J

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] modify or amplify tex--prettify-symbols-alist

2015-09-09 Thread Tassilo Horn
Hi Uwe,

could you please stop sending HTML mail?  Especially when you reply to
messages, I can hardly distinguish your text from the text you are
replying to since there are not quote markers.

Bye,
Tassilo


signature.asc
Description: PGP signature
___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] modify or amplify tex--prettify-symbols-alist

2015-09-09 Thread gojjoe

Hi Uwe,


\newcommand{\setR}{{\mathord{\mathbb R}}}



Does X-symbol-mode behave correctly if you use

\newcommand*{\setR}{\mathbb{R}}

instead?

Cheers,
J



___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] modify or amplify tex--prettify-symbols-alist

2015-09-09 Thread Tassilo Horn
Uwe Brauer  writes:

> sorry. Usually I use GNU emacs or Xemacs for the list, but sometimes
> when the wifi the connection is so slow, I have to use seamonkey, for
> which I have set HTML mail because of latexit and hebrew. Problem is
> there is no simple toggle on off for html as there is in gmail.

Well, you've been asked to disable HTML also on some other emacs list
(emacs-devel, I think) and you won't make any friends if you persist on
using it trading other people's comfort for your own comfort.

> PS you start using pgp, interesting, I stick to smime since it is
> usually easier for my correspondence to install and use.

I seldomly use GPG (only when mailing passwords etc.) but I have
configured Gnus to sign my mails when the one I'm replying to also
signed his one.

Bye,
Tassilo


signature.asc
Description: PGP signature
___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] modify or amplify tex--prettify-symbols-alist

2015-09-09 Thread Tassilo Horn
Sending both is OK more or less ok. It requires a bit more bandwidth but at 
least the receiver can choose which one to display.



On September 9, 2015 11:37:49 Uwe Brauer  wrote:


On 09/09/2015 11:34 AM, Tassilo Horn wrote:> Uwe Brauer 
writes:



sorry. Usually I use GNU emacs or Xemacs for the list, but sometimes
when the wifi the connection is so slow, I have to use seamonkey, for
which I have set HTML mail because of latexit and hebrew. Problem is
there is no simple toggle on off for html as there is in gmail.


Well, you've been asked to disable HTML also on some other emacs list
(emacs-devel, I think) and you won't make any friends if you persist on
using it trading other people's comfort for your own comfort.


I know, and I am now realizing that there might be a bug in
seamonkey/thunderbird, because some time ago I was explicitly asked to
send it as plain or html text but not anymore.

BTW important question, thunderbird/seamonkey offer to send the message
in *both* formats. Is this also annoying?


Uwe





___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] modify or amplify tex--prettify-symbols-alist

2015-09-09 Thread Uwe Brauer
On 09/09/2015 11:34 AM, Tassilo Horn wrote:> Uwe Brauer 
writes:
>
>> sorry. Usually I use GNU emacs or Xemacs for the list, but sometimes
>> when the wifi the connection is so slow, I have to use seamonkey, for
>> which I have set HTML mail because of latexit and hebrew. Problem is
>> there is no simple toggle on off for html as there is in gmail.
>
> Well, you've been asked to disable HTML also on some other emacs list
> (emacs-devel, I think) and you won't make any friends if you persist on
> using it trading other people's comfort for your own comfort.

I know, and I am now realizing that there might be a bug in
seamonkey/thunderbird, because some time ago I was explicitly asked to
send it as plain or html text but not anymore.

BTW important question, thunderbird/seamonkey offer to send the message
in *both* formats. Is this also annoying?


Uwe



smime.p7s
Description: S/MIME Cryptographic Signature
___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] Check engines before running LaTeX

2015-09-09 Thread Tassilo Horn
Mosè Giordano  writes:

>> By the way, I once wrote down a style file for polyglossia, I should
>> review and update it one day.
>
> polyglossia style file is now included in AUCTeX.  What we need now
> are style files for each languages, much like those for babel, and
> they should be named gloss-.el.

Nice!  Could you provide one such style for Italian so that we have a
reference on what such a language style needs to provide?  Then it's
easier and more likely that others contribute other language styles.

Bye,
Tassilo

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


[AUCTeX-devel] off-topic:html messages

2015-09-09 Thread Uwe Brauer
Hi 

I am sorry for having  sent html email before, I hope my
thunderbird/seamonkey configuration is now set correctly.

There is one issue out of curiousity: I looked in my gmail sent folder
into the message in question. However when I used reply I
had none of the problems Tassilo, who also uses gnus, talked about.

I have the following setting:

(setq
 gnus-inhibit-mime-unbuttonizing nil
 gnus-mime-display-multipart-alternative-as-mixed nil
 gnus-mime-display-multipart-related-as-mixed nil 
 gnus-mime-display-multipart-as-mixed nil 
 gnus-buttonized-mime-types nil
 mm-discouraged-alternatives nil
 gnus-buttonized-mime-types '("multipart/signed" "multipart/encrypted")
 mm-text-html-renderer 'w3m 
 mm-url-use-external t)
 

Maybe this setting has some side affects I don't know about, but if
anybody wants to comment on it, I would be thankful.

Uwe Brauer




___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] off-topic:html messages

2015-09-09 Thread Tassilo Horn
Uwe Brauer  writes:

Hi Uwe,

> I am sorry for having sent html email before, I hope my
> thunderbird/seamonkey configuration is now set correctly.

If you had used thunderbird/seamonkey for this mail, I could have told
you. ;-)

> There is one issue out of curiousity: I looked in my gmail sent folder
> into the message in question.  However when I used reply I had none of
> the problems Tassilo, who also uses gnus, talked about.

Just to get it right: did you look at messages of yours where you had
replied to someone else and quoted parts of his text?

> I have the following setting:
>
> (setq
>  gnus-inhibit-mime-unbuttonizing nil

That's the default value.

>  gnus-mime-display-multipart-alternative-as-mixed nil

Also the default value.

>  gnus-mime-display-multipart-related-as-mixed nil

Also the default value.

>  gnus-mime-display-multipart-as-mixed nil

Also the default value.

>  gnus-buttonized-mime-types nil

Also the default value.

>  mm-discouraged-alternatives nil

That's again the default, but here I have set ("text/html"
"text/richtext") in order to prefer the text/plain part in multipart
alternative messages.

>  gnus-buttonized-mime-types '("multipart/signed" "multipart/encrypted")

I stuck with the default value of nil.

>  mm-text-html-renderer 'w3m

I guess that's the main difference.  I use the default value which is
`shr' nowadays, i.e., the builtin elisp HTML rendered which doesn't
require external programs.  It usually does a very good job but seems to
fail with the sort of quoting thunderbird/seamonkey does for HTML mail.
Maybe thunderbird/seamonkey uses CSS to indent quoted text more, and shr
doesn't do CSS.

>  mm-url-use-external t)

I use the stock elisp url but that shouldn't make any difference wrt
this issue.

Bye,
Tassilo


___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] off-topic:html messages

2015-09-09 Thread Uwe Brauer
> "Tassilo" == Tassilo Horn  writes:
Hi Tassilo


> Uwe Brauer  writes:
> Hi Uwe,

>> I am sorry for having sent html email before, I hope my
>> thunderbird/seamonkey configuration is now set correctly.

> If you had used thunderbird/seamonkey for this mail, I could have told
> you. ;-)


Well this morning I had to sent emails using thunderbird/seamonkey which
was set to html, so I thought you meant those.

>> There is one issue out of curiousity: I looked in my gmail sent folder
>> into the message in question.  However when I used reply I had none of
>> the problems Tassilo, who also uses gnus, talked about.

> Just to get it right: did you look at messages of yours where you had
> replied to someone else and quoted parts of his text?

Yes! But what are we talking about? The fact that I use, in some mail,
supercite and may use the prefix "  >" or even "   tassilo>"

Or html mails?


>> mm-text-html-renderer 'w3m

> I guess that's the main difference.  I use the default value which is
> `shr' nowadays, i.e., the builtin elisp HTML rendered which doesn't
> fail with the sort of quoting thunderbird/seamonkey does for HTML mail.
> Maybe thunderbird/seamonkey uses CSS to indent quoted text more, and shr
> doesn't do CSS.

Well there is also the following:

(setq mm-text-html-renderer 'gnus-article-html)

Which is included in gnus and is also better than shr concerning the
issue of CSS.

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 066cf5aa198969206e1cfdc58e3ea71f0e69d2f6

2015-09-09 Thread Mosè Giordano
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
   via  066cf5aa198969206e1cfdc58e3ea71f0e69d2f6 (commit)
  from  5dd4f21cf5c044743552232fc01b65932edd9b1a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit 066cf5aa198969206e1cfdc58e3ea71f0e69d2f6
Author: Mosè Giordano 
Date:   Wed Sep 9 18:06:09 2015 +0200

Create Italian style file for polyglossia.

* style/polyglossia.el: Remove
`LaTeX-polyglossia-italian-options-list', moved to
gloss-italian.el.
(LaTeX-polyglossia-setkeys-regexp): Fix regexp.
(LaTeX-polyglossia-cleanup): Remove useless let-bound variables
and set `LaTeX-polyglossia-lang-list'.
(LaTeX-polyglossia-active-languages)
(LaTeX-polyglossia-lang-option-member): Use
`LaTeX-polyglossia-lang-list' variable instead of function.
(LaTeX-polyglossia-load-languages): New function.
("polyglossia"): Use it.

* style/gloss-italian.el: New style file.

* Makefile.in (STYLESRC): Activate it.

diff --git a/ChangeLog b/ChangeLog
index cb5f7de..9e474fe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,21 @@
 2015-09-09  Mosè Giordano  
 
+   * style/polyglossia.el: Remove
+   `LaTeX-polyglossia-italian-options-list', moved to
+   gloss-italian.el.
+   (LaTeX-polyglossia-setkeys-regexp): Fix regexp.
+   (LaTeX-polyglossia-cleanup): Remove useless let-bound variables
+   and set `LaTeX-polyglossia-lang-list'.
+   (LaTeX-polyglossia-active-languages)
+   (LaTeX-polyglossia-lang-option-member): Use
+   `LaTeX-polyglossia-lang-list' variable instead of function.
+   (LaTeX-polyglossia-load-languages): New function.
+   ("polyglossia"): Use it.
+
+   * style/gloss-italian.el: New style file.
+
+   * Makefile.in (STYLESRC): Activate it.
+
* style/polyglossia.el: New style file.
 
* Makefile.in (STYLESRC): Activate it.
diff --git a/Makefile.in b/Makefile.in
index d080257..68b785a 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -150,7 +150,8 @@ STYLESRC = style/prosper.el \
   style/mn2e.el  style/colortbl.el  style/attachfile.el \
   style/newpxtext.el style/newpxmath.el style/pdfpages.el \
   style/mnras.el style/environ.el   style/polyglossia.el \
-  style/vwcol.el style/textpos.el   style/transparent.el
+  style/vwcol.el style/textpos.el   style/transparent.el \
+  style/gloss-italian.el
 
 STYLEELC = $(STYLESRC:.el=.elc)
 
diff --git a/style/gloss-italian.el b/style/gloss-italian.el
new file mode 100644
index 000..a93049a
--- /dev/null
+++ b/style/gloss-italian.el
@@ -0,0 +1,67 @@
+;;; gloss-italian.el --- Italian support for polyglossia package.
+
+;; Copyright (C) 2015 Free Software Foundation, Inc.
+
+;; Maintainer: auctex-devel@gnu.org
+;; Author: Mosè Giordano 
+;; Keywords: tex
+
+;; This file is part of AUCTeX.
+
+;; AUCTeX is free software; you can redistribute it and/or modify it
+;; under the terms of the GNU General Public License as published by
+;; the Free Software Foundation; either version 3, or (at your option)
+;; any later version.
+
+;; AUCTeX is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+;; General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with AUCTeX; see the file COPYING.  If not, write to the Free
+;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+;; 02110-1301, USA.
+
+;;; Commentary:
+
+;; This is based on italian.el style file, adapted to polyglossia package.
+
+;;; Code:
+
+(defvar TeX-language-it-hook nil
+  "Hook run for Italian texts.")
+
+(TeX-add-style-hook
+ "gloss-italian"
+ (lambda ()
+   (TeX-add-symbols
+'("textitalian" [TeX-arg-key-val LaTeX-polyglossia-italian-options-list]))
+   (LaTeX-add-environments
+'("italian" [TeX-arg-key-val LaTeX-polyglossia-italian-options-list]))
+
+   (when (or (LaTeX-polyglossia-lang-option-member "italian" 
"babelshorthands=true")
+(LaTeX-polyglossia-lang-option-member "italian" "babelshorthands"))
+ (unless (eq (car TeX-quote-language) 'override)
+   (let ((open-quote (if (and (boundp 'LaTeX-italian-open-quote)
+ LaTeX-italian-open-quote)
+LaTeX-italian-open-quote
+  "\"<"))
+(close-quote (if (and (boundp 'LaTeX-italian-close-quote)
+  LaTeX-italian-close-quote)

Re: [AUCTeX-devel] off-topic:html messages

2015-09-09 Thread Tassilo Horn
Uwe Brauer  writes:

>> Just to get it right: did you look at messages of yours where you had
>> replied to someone else and quoted parts of his text?
>
> Yes! But what are we talking about?  The fact that I use, in some
> mail, supercite and may use the prefix " >" or even " tassilo>"
>
> Or html mails?

We are talking about HTML emails where a MUA like thunderbird/seamonkey
might use, e.g., HTML divs and CSS in order to differentiate quoted text
(on multiple layers) from the text you enter as response.  Some
super-cool MUAs might even embed JavaScript in order to make mails
"interactive" in some respect.  So depending on what the MUA does, it
might require a full-blown browser at the other end in order to render
the mail correctly.

>>> mm-text-html-renderer 'w3m
>
>> I guess that's the main difference.  I use the default value which is
>> `shr' nowadays, i.e., the builtin elisp HTML rendered which doesn't
>> fail with the sort of quoting thunderbird/seamonkey does for HTML
>> mail.  Maybe thunderbird/seamonkey uses CSS to indent quoted text
>> more, and shr doesn't do CSS.
>
> Well there is also the following:
>
> (setq mm-text-html-renderer 'gnus-article-html)
>
> Which is included in gnus and is also better than shr concerning the
> issue of CSS.

That's exactly the function which will be used when setting
`mm-text-html-renderer' to `gnus-w3m'.

Anyway, IMHO one should send emails in a format which will surely be
understood on the other side.  If you correspond with web designers or
marketing people, then HTML mail with tons of CSS might be ok but when
corresponding with the nerds on usenet or free software mailinglists,
you're better off with plain text and ASCII art. ;-)

Bye,
Tassilo

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] Check engines before running LaTeX

2015-09-09 Thread Mosè Giordano
Hi Tassilo,

2015-09-09 14:06 GMT+02:00 Tassilo Horn :
> Mosè Giordano  writes:
>
>>> By the way, I once wrote down a style file for polyglossia, I should
>>> review and update it one day.
>>
>> polyglossia style file is now included in AUCTeX.  What we need now
>> are style files for each languages, much like those for babel, and
>> they should be named gloss-.el.
>
> Nice!  Could you provide one such style for Italian so that we have a
> reference on what such a language style needs to provide?  Then it's
> easier and more likely that others contribute other language styles.

I've been too enthusiastic about my polyglossia style file.  It had a
minor bug (a missing * in a regexp), but the major problem is that it
doesn't load automatically language style files.  This has probably to
do with when cleanup function is run, I'll try to inspect later today
or tomorrow.

Anyway I wrote a simple Italian style file for polyglossia.  It
essentially defines "\textitalian" macro and "italian" environment
(this is described in TODO section of polyglossia.el).  This should be
done for all languages.  In addition, polyglossia manual describes
only babelshorthands, like babel, so I took them from italian.el style
file.  These are active only when "babelshorthands=true" option has
been set for that language, either with \setkeys or
\set{main,other}language.  For other languages one should do what
polyglossia manual says, if necessary.

For the language specific hook I used the same name of italian.el, so
users don't have to define new hooks.  babel and polyglossia are
incompatible, so there should be no problem.

Bye,
Mosè

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel