Re: [AUCTeX] Getting macro completions in large, multi-file projects.

2015-05-11 Thread Mosè Giordano
Hi Chase, 2015-05-11 17:46 GMT+02:00 Chase Dwelle : > > Unfortunately this morning something seems to have reverted. I though > something in my latex-settings.el file may be conflicting, so I commented out > all but the lisp code given below and still was unable to get macro > completions. I am

Re: [AUCTeX] test if buffer is a standalone document

2015-05-12 Thread Mosè Giordano
Hi Tamas, 2015-05-12 10:43 GMT+02:00 Tamas Papp : > Hi, > > I have a setup where I automatically compile a tex file upon saving, but > only if it is a standalone document (eg not something included by > another file): > > (defun LaTeX-in-document-p () > (interactive) > (save-excursion > (g

Re: [AUCTeX] Getting macro completions in large, multi-file projects.

2015-05-13 Thread Mosè Giordano
Hi Chase, 2015-05-12 15:35 GMT+02:00 Chase Dwelle : > Thanks, > > When I check the value I get > > - > TeX-active-styles is a variable defined in `tex.el'. > Its value is ("foo" "LATEX") > Local in buffer foo.tex; global value is nil

Re: [AUCTeX] Getting macro completions in large, multi-file projects.

2015-05-20 Thread Mosè Giordano
Hi Chase, 2015-05-20 16:50 GMT+02:00 Chase Dwelle : > Running that command gives me a special character (I'm on a Mac). Oh, replace "M-:" with "M-x eval-expression RET", so issue M-x eval-expression RET (TeX-master-file) RET > If I do > > M-x TeX-master-file RET, > > nothing is returned in

Re: [AUCTeX] Getting macro completions in large, multi-file projects.

2015-05-20 Thread Mosè Giordano
2015-05-20 17:01 GMT+02:00 Chase Dwelle : > So if I run that command on "foo.tex", I get "foo" returned. This happens > and the following is at the top of "foo.tex." > > %%% Local Variables: > %%% mode: latex > %%% TeX-master: "../../main" > %%% End: Top? Emacs local variables must be at the bott

Re: [AUCTeX] Automatic \item with C-c C-e

2015-06-08 Thread Mosè Giordano
Hi Delia, 2015-06-08 18:25 GMT+02:00 Delia G. Fara : > Hi there, > > I've written a customized list environment. I would like it to automatically > offer "\item" when I call it with C-c C-e, the way it works with itemize and > enumerate. > > How can I do that? Where do you define this environm

Re: [AUCTeX] RefTeX ToC, open files only in one frame

2015-06-26 Thread Mosè Giordano
Hi Konstantinos, 2015-06-24 5:54 GMT+02:00 Konstantinos Theofilis : > Hi, > > Recently the RefTeX ToC behaviour I was used to, has changed.Let me try to > explain: > > I have a multi-file latex document. I open the ToC with C-c,=, and I get the > ToC table on the left side of the document. When

Re: [AUCTeX] RefTeX ToC, open files only in one frame

2015-07-07 Thread Mosè Giordano
Hi Kostas, 2015-07-03 9:39 GMT+02:00 Konstantinos Theofilis : > Hi, > > My apologies for the late reply. > > If file 2 buffer is already opened but nob visible, the same behaviour I > described in my first is observed. Sorry, I misread the code of `reftex-toc-visit-location', what you see is the

Re: [AUCTeX] AUCTeX doesn't run bibtex

2015-07-09 Thread Mosè Giordano
Hi Tassilo, 2015-07-09 12:27 GMT+02:00 Tassilo Horn : > Egon Kidmose writes: > > Hi Egon, > >> As I recall I used to simply hit `C-c C-c` (currently bound to >> `TeX-command-master`) repeatedly until it said "view" in the >> minibuffer, and then AUCTeX would have taken care of running >> `pdflate

Re: [AUCTeX] AUCTeX doesn't run bibtex

2015-07-09 Thread Mosè Giordano
2015-07-09 13:17 GMT+02:00 Egon Kidmose : >> In `TeX-command-query' AUCTeX does check if the bibliography file is newer >> than the >> .bbl file, and in my case AUCTeX suggests indeed to run BibTeX after editing >> the >> bibliography file. Egon, what does >> >> M-: (LaTeX-bibliography-list)

Re: [AUCTeX] AUCTeX doesn't run bibtex

2015-07-10 Thread Mosè Giordano
Hi Egon, 2015-07-10 10:06 GMT+02:00 Egon Kidmose : > Spot on! - `C-c C-n` (TeX-normal-mode) fixed it :D > Thanks a lot! > > Care to confirm if understand the issue correctly? > 1) AUCTeX relies on the results of parsing the *.tex files for this to work. > 2) In my case, the parsing was never don

Re: [AUCTeX] Autocomplete for BibTeX cite

2015-07-15 Thread Mosè Giordano
Hi Florian, 2015-07-15 10:19 GMT+02:00 Florian Lindner : > Florian Lindner wrote: > > Sorry, accidently sent the post too early. > >> Hello, >> >> I have a minimal LaTeX file: >> >> \documentclass{scrartcl} >> \usepackage[utf8]{inputenc} >> >> \begin{document} >> >> \cite{Zudrop2012} >> >> \biblio

Re: [AUCTeX] Autocomplete for BibTeX cite

2015-07-15 Thread Mosè Giordano
2015-07-15 10:37 GMT+02:00 Florian Lindner : > Mosè Giordano wrote: >> Do you use RefTeX? > > No, not yet. Is it needed for that kind of autocomplete? Well, the description of RefTeX is RefTeX is a package for managing Labels, References, Citations and index entries with

Re: [AUCTeX] How to speed up inserting \documentclass?

2015-09-04 Thread Mosè Giordano
Hi Marcin, 2015-09-04 21:16 GMT+02:00 Marcin Borkowski : > Hi all, > > when I press C-c C-e in an empty LaTeX-mode buffer, I have to wait > quite a long time for Emacs to search for available classes. Ditto for > \usepackage. > > Is there an easy way of putting the relevant code in my init.el, so

Re: [AUCTeX] How to speed up inserting \documentclass?

2015-09-04 Thread Mosè Giordano
2015-09-04 21:47 GMT+02:00 Mosè Giordano : >> Also, both LaTeX-global-class-files and TeX-global-input-files seem to >> contain each file twice on my system, even though the said file exists >> only in one place in the filesystem. What might be the reason for that? > >

Re: [AUCTeX] How to speed up inserting \documentclass?

2015-09-26 Thread Mosè Giordano
Hi Marcin, 2015-09-04 21:58 GMT+02:00 Mosè Giordano : > 2015-09-04 21:47 GMT+02:00 Mosè Giordano : >>> Also, both LaTeX-global-class-files and TeX-global-input-files seem to >>> contain each file twice on my system, even though the said file exists >>> only in one

Re: [AUCTeX] pstricks and TeX-PDF-mode

2015-10-13 Thread Mosè Giordano
Hi Mandar, 2015-10-13 17:40 GMT+02:00 Mandar Mitra : > Hello, > > I use xetex as my default TeX-engine, and it seems to handle pstricks without > any problems, but style/pstricks.el contains the following: > > 780(unless (member "pst-pdf" TeX-active-styles) > 781 (TeX-PDF-mode-of

Re: [AUCTeX] pstricks and TeX-PDF-mode

2015-10-13 Thread Mosè Giordano
Hi Joost, 2015-10-13 19:01 GMT+02:00 Joost Kremers : > On Di, Okt 13 2015, Mandar Mitra wrote: >> I use xetex as my default TeX-engine, and it seems to handle pstricks >> without any problems, but style/pstricks.el contains the following: >> >> 780(unless (member "pst-pdf" TeX-active-sty

Re: [AUCTeX] pstricks and TeX-PDF-mode

2015-10-15 Thread Mosè Giordano
Hi Mandar, 2015-10-14 6:00 GMT+02:00 Mandar Mitra : > Mosè Giordano wrote (Tue, Oct 13, 2015 at 09:58:24PM +0200): >> > (unless (or (member "pst-pdf" TeX-active-styles) >> > (eq TeX-engine 'xetex)) >> >... >> >> Thanks

Re: [AUCTeX] minor releases

2015-10-16 Thread Mosè Giordano
Hi Tassilo, 2015-10-16 16:35 GMT+02:00 Tassilo Horn : > That said, I'm all in favor of releasing 11.89 anytime soon if Mosè > agrees. In the end, he's our release manager because he has infinitely > more experiences in doing releases. (He did it once, I haven't done it > at all. :-)) I'm fine w

Re: [AUCTeX] minor releases

2015-10-16 Thread Mosè Giordano
BTW, before a new release I'd like to know if AUCTeX should cater for the mess OS X El Capitan created with MacTeX. Feedback is welcome in this regard. Bye, Mosè 2015-10-16 17:00 GMT+02:00 Mosè Giordano : > Hi Tassilo, > > 2015-10-16 16:35 GMT+02:00 Tassilo Horn : >> T

Re: [AUCTeX] minor releases

2015-10-16 Thread Mosè Giordano
Hi Tassilo, 2015-10-16 22:24 GMT+02:00 Tassilo Horn : > Mosè Giordano writes: > >> I'm fine with a new release, I'd just like to fix some bugs before the >> release, like https://debbugs.gnu.org/cgi/bugreport.cgi?bug=19504 (I >> looked at it some days ago bu

Re: [AUCTeX] minor releases

2015-10-18 Thread Mosè Giordano
Hi Tassilo, 2015-10-16 23:03 GMT+02:00 Tassilo Horn : > Mosè Giordano writes: > >>>> I'm fine with a new release, I'd just like to fix some bugs before the >>>> release, like https://debbugs.gnu.org/cgi/bugreport.cgi?bug=19504 (I >>>> looke

Re: [AUCTeX] minor releases

2015-10-19 Thread Mosè Giordano
Hi David and Tassilo, I applied the change, thanks to both. We can do a new release whenever you want. Bye, Mosè 2015-10-19 9:17 GMT+02:00 David Kastrup : > Tassilo Horn writes: > >> Mosè Giordano writes: >> >>>> But we could test (executable-find &quo

Re: [AUCTeX] minor releases

2015-10-19 Thread Mosè Giordano
Yes 2015-10-19 10:45 GMT+02:00 Tassilo Horn : > Mosè Giordano writes: > > Hi! > >> I applied the change, thanks to both. We can do a new release >> whenever you want. > > I think it would be a good idea if I do another 11.88.x ELPA release > ASAP, then we give

Re: [AUCTeX] 11.88.9 and fill-paragraph oddness

2015-10-23 Thread Mosè Giordano
Hi, 2015-10-23 15:41 GMT+02:00 : > Hi George, > > You can change this behaviour by customizing the variable > Latex-fill-break-at-separators > > I think it should work if you check "Opening Display Math Switch" and > "Closing Display Math Switch" and leave the other options unchecked, in the > cu

Re: [AUCTeX] Patch to tex-info.el to support node name completion in @..ref commands, and solve a few other pbs

2015-10-28 Thread Mosè Giordano
Il 28/ott/2015 10:33, "Tassilo Horn" ha scritto: > > Vincent Belaïche writes: > > > I have not tested the change, but reading this: > > > > (message "There are duplicate nodes:") > > (dolist (dup (nreverse dups)) > > (message "%s on line %d" (car dup) (cdr dup > > > > I ga

Re: [AUCTeX] hardcoded dbus support - error at Debian?

2015-11-02 Thread Mosè Giordano
Hi Andreas, 2015-11-01 16:31 GMT+01:00 Andreas Röhler : > as mentioned in previous thread --sorry for posting twofold-- (require > 'auctex) triggers the error. (require 'auctex)? Did you mean (require 'latex), as you wrote elsewhere? Bye, Mosè ___ au

[AUCTeX] New release on Friday?

2015-11-04 Thread Mosè Giordano
Dear all, any objection against releasing a new version of AUCTeX by the end of this week, for example on Friday? AUCTeX 11.88.9 has been released to ELPA two weeks ago and no one lamented havoc so far. Bye, Mosè ___ auctex mailing list auctex@gnu.org

Re: [AUCTeX] New release on Friday?

2015-11-04 Thread Mosè Giordano
Hi Uwe, 2015-11-04 10:27 GMT+01:00 Uwe Siart : > On 4 Nov 2015 at 10:07, Mosè Giordano wrote: > >> any objection against releasing a new version of AUCTeX by the end of >> this week, for example on Friday? AUCTeX 11.88.9 has been released to >> ELPA two weeks ago and no o

Re: [AUCTeX] New release on Friday?

2015-11-04 Thread Mosè Giordano
Hi David, 2015-11-04 11:13 GMT+01:00 David Kastrup : > Mosè Giordano writes: > >> Hi Uwe, >> >> 2015-11-04 10:27 GMT+01:00 Uwe Siart : >>> On 4 Nov 2015 at 10:07, Mosè Giordano wrote: >>> >>>> any objection against releasing a new version

Re: [AUCTeX] New release on Friday?

2015-11-04 Thread Mosè Giordano
2015-11-04 13:45 GMT+01:00 David Kastrup : > Mosè Giordano writes: > >> 2015-11-04 11:13 GMT+01:00 David Kastrup : >>> Mosè Giordano writes: >>> >>>> 2015-11-04 10:27 GMT+01:00 Uwe Siart : >>>>> On 4 Nov 2015 at 10:07, Mosè Giordano

Re: [AUCTeX] New release on Friday?

2015-11-04 Thread Mosè Giordano
Hi David, how about having only the opening braces as default value, ie ? This keeps formulae in a single line, and somewhat preserves an acceptable filling as well. Bye, Mosè 2015-11-04 21:05 GMT+01:00 Tassilo Horn : > David Kastrup writes: > >>> So the "if they do not fit into one line" con

Re: [AUCTeX] [11.88.9] void-function TeX-texinfo-mode

2015-11-05 Thread Mosè Giordano
Hi Andreas, Il 05/nov/2015 08:26, "Andreas Röhler" ha scritto: > > > > Hi, > > when opening a file with ending "texi" --here ert.texi--, get an error with version 11.88.9 on Debian: > > GNU Emacs 24.5.1 (i686-pc-linux-gnu, GTK+ Version 2.24.25) of 2015-10-30 > > #1 SMP Debian 3.16.7-ckt11-1+deb8u

Re: [AUCTeX] New release on Friday?

2015-11-06 Thread Mosè Giordano
nice to fix it. Bye, Mosè 2015-11-04 23:29 GMT+01:00 Mosè Giordano : > Hi David, > > how about having only the opening braces as default value, ie ? This > keeps formulae in a single line, and somewhat preserves an acceptable > filling as well. > > Bye, > Mosè > > &g

Re: [AUCTeX] zathura forward search

2015-11-06 Thread Mosè Giordano
Hi Mandar, 2015-11-06 12:04 GMT+01:00 Mandar Mitra : > I'm trying out zathura as a light-weight and more customisable alternative to > evince. I quite like it (but hyperlink handling isn't great). I found > zathura-forward-search here, and it works well. > > http://tex.stackexchange.com/question

Re: [AUCTeX] zathura forward search

2015-11-06 Thread Mosè Giordano
2015-11-06 15:40 GMT+01:00 Mandar Mitra : > Mosč Giordano wrote (Fri, Nov 06, 2015 at 12:19:02PM +0100): >> In order to include that code we would need copyright assignment from >> its author. I find that was a nice solution but a bit too hackish, > > You mean the business of keeping an alist of (

Re: [AUCTeX] Patch to tex-info.el to support node name completion in @..ref commands, and solve a few other pbs

2015-11-07 Thread Mosè Giordano
Hi Vincent, 2015-10-25 21:15 GMT+01:00 Vincent Belaïche : > Dear AUCTeX experts, > > I would like to submit to you the attached patch. > > [...] XEmacs doesn't have `assoc-string', is it possible to use `assoc' or there was a strong reason for using `assoc-string' instead? Bye, Mosè ___

Re: [AUCTeX] Patch to tex-info.el to support node name completion in @..ref commands, and solve a few other pbs

2015-11-09 Thread Mosè Giordano
Hi Vincent, 2015-11-09 17:55 GMT+01:00 Vincent Belaïche : > Dear Mosé, > > No there was no strong reason for assoc-string rather than assoc, the > point was just that when you know that the key is a string assoc-string > is supposed to be faster. > > My opinion --- with no regard to this specific

Re: [AUCTeX] New release on Friday?

2015-11-10 Thread Mosè Giordano
Dear all, 2015-11-04 23:29 GMT+01:00 Mosè Giordano : > Hi David, > > how about having only the opening braces as default value, ie ? This > keeps formulae in a single line, and somewhat preserves an acceptable > filling as well. I applied this change and added an ERT test to

Re: [AUCTeX] Patch to tex-info.el to support node name completion in @..ref commands, and solve a few other pbs

2015-11-11 Thread Mosè Giordano
Hi Vincent, 2015-11-11 15:32 GMT+01:00 Vincent Belaïche : > Ooops... I had completely forgotten about that. At least that demonstrate how > constant I am in my way of thinking. > So, the only thing to do is to replace the assoc-string by this > TeX-assoc-string, right ? Right, I've already done

[AUCTeX] AUCTeX 11.89 released

2015-11-13 Thread Mosè Giordano
elping AUCTeX development. The following people contributed to this release series (in alphabetical order): Ivan Andrus, Ralf Angeli, Masayuki Ataka, Fabrice Ben Hamouda, Thomas Baumann, Vincent Belaïche, Berend de Boer, Ken Brown, Joshua Buhl, Patrice Dumas, Arash Esbati, Werner Fink, Miguel Fras

Re: [AUCTeX] AUCTeX support in lettre

2015-11-13 Thread Mosè Giordano
Hi Vincent, 2015-11-12 23:23 GMT+01:00 Vincent Belaïche : > Dear AUCTeX experts, > > For your information I intend to add AUCTeX support to package lettre of > which I am the maintainer. > > Here is a preliminary verison, comments/brickbats welcome... > > http://svn.gna.org/viewcvs/lettre_observa

Re: [AUCTeX] AUCTeX 11.89 released

2015-11-13 Thread Mosè Giordano
Hi Tassilo, 2015-11-13 18:02 GMT+01:00 Tassilo Horn : > Hi all, > > the ELPA package should also be available soon! Cool, thank you! Bye, Mosè ___ auctex mailing list auctex@gnu.org https://lists.gnu.org/mailman/listinfo/auctex

Re: [AUCTeX] AUCTeX support in lettre

2015-11-14 Thread Mosè Giordano
Hi Vincent, 2015-11-14 16:57 GMT+01:00 Vincent Belaïche : > > Hello Mosè, > > BBDB is some sort of phone book (well, it means insidious Big-Bother > Data Base). My intention is to have functions to read the to-address with > auto-completion by getting the data from BBDB by means of name or > organ

[AUCTeX] Some hints for editing tables

2015-11-16 Thread Mosè Giordano
Dear all, as you all know, editing tables in LaTeX can be quite tedious. Luckily in AUCTeX we got a couple of nice features, auto insertion of the appropriate &s and a good indentation function in tabular-like environments, but there is still much room for improvements.[1] What I often want is to

Re: [AUCTeX] Some hints for editing tables

2015-11-16 Thread Mosè Giordano
Hi Joost, 2015-11-16 23:21 GMT+01:00 Joost Kremers : >> >> Op 15 nov. 2015 om 18:55 heeft Mosè Giordano het volgende >> geschreven: >> >> Dear all, >> >> as you all know, editing tables in LaTeX can be quite tedious. >> Luckily in AUCTeX we

Re: [AUCTeX] Some hints for editing tables

2015-11-18 Thread Mosè Giordano
Hi Joost, 2015-11-17 13:18 GMT+01:00 Joost Kremers : > If you do decide to take on the challenge, here's a few things to take > into consideration: Well, it was more a dream than a declaration of action, I'm not going to work on that ;-) org has its own simple syntax for tables and it works ver

Re: [AUCTeX] Aligning ampersands (&) in table/align environments

2015-11-19 Thread Mosè Giordano
Hi Chase, 2015-11-19 21:47 GMT+01:00 Chase Dwelle : > Related to the recent discussion on tables, is it possible to align > ampersands in emacs? > > This would be useful in tables, but also for formatting larger blocks of > equations in the align environment. Yes, with `align-current', it was sug

Re: [AUCTeX] auctex Digest, Vol 129, Issue 18: Setup for new PDF-Tools

2015-11-22 Thread Mosè Giordano
Ciao Andrea, 2015-11-22 22:24 GMT+01:00 Andrea De Michele : > I also use pdf-tools as pdf viewer with auctex, and the auto refresh of > the viewer buffer works (with auctex 11.89) but only with LaTeX, not > with ConTeXt. > > I checked that TeX-after-TeX-LaTeX-command-finished-hook is not used > wi

Re: [AUCTeX] auctex Digest, Vol 129, Issue 18: Setup for new PDF-Tools

2015-11-23 Thread Mosè Giordano
Hi Tassilo, 2015-11-23 7:01 GMT+01:00 Tassilo Horn : > Hi, > > I think it's easy enough to check TeX-engine in the hook function so that > one hook is enough. But then a more generic name would be better. Good point! > How about > TeX-after-compilation-finished-hook? Clear enough. Bye, Mosè _

Re: [AUCTeX] auctex Digest, Vol 129, Issue 18: Setup for new PDF-Tools

2015-11-26 Thread Mosè Giordano
Hi Tassilo, 2015-11-25 21:23 GMT+01:00 Tassilo Horn : > Andrea De Michele writes: > > Hi Andrea, > >>> Ok, I've renamed it now in the code and the docs, and the old name is >>> now an obsolete variable alias. Additionally, the ConTeXt sentinel now >>> runs the hook, too. Thanks Andrea for repor

Re: [AUCTeX] LaTeX-fill-break-at-separators (11.88.9)

2015-11-30 Thread Mosè Giordano
Hi Jean-François, 2015-11-30 11:46 GMT+01:00 jfbu : > Hi, > > I know this has been discussed prior to 11.88.9 release, but I have > a confusing problem when the same source behaves differently in two > files under the same docTeX mode > > > \documentclass{article}% same with scrdoc > > \begin

Re: [AUCTeX] LaTeX-fill-break-at-separators (11.88.9)

2015-11-30 Thread Mosè Giordano
2015-11-30 12:55 GMT+01:00 jfbu : > I had to grab 354 lines before the offending location to find an isolated > $ which confuses AUCTeX. > > Although all the intervening macro definitions never define a paragraph, > there were a few paragraphs inside the intervening comments > > Hence it seems that

Re: [AUCTeX] LaTeX-fill-break-at-separators (11.88.9)

2015-11-30 Thread Mosè Giordano
Hi Marcin, 2015-11-30 14:48 GMT+01:00 Marcin Borkowski : > I have to finally analyse your patch to the bug we talked about (sorry > for my terrible delay!), Don't worry, take your time ;-) > but let me chime in again here, since I've > studied large parts of texmathp recently. Good :-) > The o

Re: [AUCTeX] LaTeX-fill-break-at-separators (11.88.9)

2015-11-30 Thread Mosè Giordano
2015-11-30 16:51 GMT+01:00 jfbu : > State : CHANGED outside Customize. Usually you have this state for a variable set(q) manually in the init file. Is this your case? Bye, Mosè ___ auctex mailing list auctex@gnu.org https://lists.gnu.org/mailman/l

Re: [AUCTeX] AUCTeX support in lettre

2015-12-02 Thread Mosè Giordano
Hi Vincent, 2015-12-01 0:30 GMT+01:00 Vincent Belaïche : > This would be easilly analysed with some expression like > > (with-temp-buffer > (insert "" formatter-string "") > (xml-parse-region (point-min) (point-max))) I'm interested in this: `xml-parse-region' requires Emacs to be

Re: [AUCTeX] LaTeX-fill-break-at-separators (11.88.9)

2015-12-02 Thread Mosè Giordano
Hi Jean-François, 2015-11-30 17:09 GMT+01:00 jfbu : > > Le 30 nov. 2015 à 16:55, Mosè Giordano a écrit : > >> 2015-11-30 16:51 GMT+01:00 jfbu : >>>State : CHANGED outside Customize. >> >> Usually you have this state for a variable set(q) manually in

Re: [AUCTeX] Problems loading preview-latex

2015-12-05 Thread Mosè Giordano
Hi Florian, 2015-12-05 16:40 GMT+01:00 Florian Ahrweiler : > Hello everyone. > > I'm using GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7) > with AUCTeX 11.89 on Tisquel GNU/Linux. > > I have pasted some useful configuration into ~/.emacs and everything > seems to work fine. *which* c

Re: [AUCTeX] TeX-next-error problems when using auctex-latexmk

2015-12-10 Thread Mosè Giordano
Hi Ista, 2015-12-10 20:58 GMT+01:00 Ista Zahn : > Hi all, > > I'm using auctex-latexmk from > https://github.com/tom-tan/auctex-latexmk. I'm not entirely sure if I > should be reporting this here or there, but decided to try here first. > If you think this is a bug that should be reported to aucte

Re: [AUCTeX] TeX-next-error problems when using auctex-latexmk

2015-12-11 Thread Mosè Giordano
Hi Ivan, 2015-12-11 4:02 GMT+01:00 Ivan Andrus : >> On Dec 10, 2015, at 1:08 PM, Mosè Giordano wrote: >> >> Hi Ista, >> >> 2015-12-10 20:58 GMT+01:00 Ista Zahn : >>> Hi all, >>> >>> I'm using auctex-latexmk from >>> https://g

Re: [AUCTeX] Latex cls files support

2016-01-02 Thread Mosè Giordano
Hi Marin, 2016-01-02 14:18 GMT+01:00 Marin Gilles : > Hello everyone, > > First, thanks for the awesome package ! > I would like to know if there is some kind of special support for cls and > sty files ? I was not able to find anything about it. > Thank you in advance. What kind of support do you

Re: [AUCTeX] No syntax coloration for ConTeXt

2016-01-02 Thread Mosè Giordano
Hi Marin, 2016-01-02 15:58 GMT+01:00 Marin Gilles : > Hello everyone, > > I was trying out ConTeXt using aucTeX, and noticed that ConTeXt specific > syntax does not get any syntax highlighting. > Is it because it is not implemented ? Yes, there is no active developer using ConTeXt, so development

Re: [AUCTeX] Problem with latex2e style hook --- LaTeX/Texinfo collision

2016-01-02 Thread Mosè Giordano
Hi Vincent, I am looking into adding the dialect to the data written by `TeX-auto-store', it's very simple to implement it (5 lines in total), but I have only one concern: why is there :latex but not :tex? Is it because they're essentially the same or do you think it would be better to have a dif

Re: [AUCTeX] Problem with latex2e style hook --- LaTeX/Texinfo collision

2016-01-08 Thread Mosè Giordano
Hi Vincent, 2016-01-05 10:25 GMT+01:00 Vincent Belaïche : > Hello Mosè, > > HAPPY NEW YEAR 2016 ! > > Concerning the dialect information, to my recollection my problem was just > that when editing latex2e.texi of the latexrefman project (on GNA!), AUCTeX > was loading a LaTeX specific automatic

Re: [AUCTeX] Problem with latex2e style hook --- LaTeX/Texinfo collision

2016-01-11 Thread Mosè Giordano
Hi Vincent, 2016-01-08 12:27 GMT+01:00 Vincent Belaïche : > Hello Mosè, > > Ok, so the way we go is to have multi-dialect hooks, and you are asking > "Do you think is it easy to implement specification of multiple dialects > in AUCTeX style files?". > > So the good news is that in the contribution

Re: [AUCTeX] overlay prompting

2016-01-15 Thread Mosè Giordano
Hi Jean-François, 2016-01-15 10:36 GMT+01:00 jfbu : > Le 15/01/2016 10:32, jfbu a écrit : >> >> Hi, >> >> I am starting noticing that 11.89 now by default >> asks for Overlay spec when creating a new \item >> in a list. This is a Beamer thing I guess. >> >> 1. this prompting is there by default, i

Re: [AUCTeX] Single quotes not highlighted?

2016-01-17 Thread Mosè Giordano
Hi Hong, 2016-01-16 2:58 GMT+01:00 Hong Xu : > Hi all, > > When there are single quotes in the text, such as > > Blah Blah `single quotes', halb halb ``double quotes'' > > The texts in the single quotes do not follow the style of double quoted > texts. Is there any customization I should do? Or ma

Re: [AUCTeX] indentation for tables

2016-01-17 Thread Mosè Giordano
Hi Mandar, 2016-01-17 7:46 GMT+01:00 Mandar Mitra : > Hi all, > > Has the indentation for tabular environments changed recently? (I'm running > the git version, last pulled around mid-December). > > Earlier, I'm reasonably sure column entries would be aligned as follows: > > foo & > |<-

Re: [AUCTeX] Correct handling of left-to-right inside right-to-left paragraphs using Emacs and AUCTeX

2016-01-21 Thread Mosè Giordano
Hi Filipe, 2016-01-21 4:03 GMT+01:00 Filipe Moreira : > > Hi everyone, > > I’m using AUCTeX to compose a document has English as its main language but > that also has some Hebrew and Greek. The problem I have is with the way > Emacs/AUCTeX interpret individual characters. > > While editing a Heb

Re: [AUCTeX] How to colorize tildes?

2016-01-23 Thread Mosè Giordano
Hi Marcin, 2016-01-23 11:43 GMT+01:00 Marcin Borkowski : > Hi all, > > I used a lot of tildes ("~" signs) in my (La)TeX documents. What would > be the best way to make them dimmed in TeX modes? I mean, I could use > font-lock-keywords, but maybe there is some infrastructure in > tex-font.el? (A

Re: [AUCTeX] Problem with latex2e style hook --- LaTeX/Texinfo collision

2016-01-23 Thread Mosè Giordano
Hi Vincent and all, 2016-01-12 8:25 GMT+01:00 Vincent Belaïche : > Hello Mosè, > > I have had a look at your patch, and everything seems OK to > me. > > Concerning variable `TeX-style-hook-dialect-weight-alist', its use is to > convert dialect symbols (ie `:latex', `:texinfo', etc...) into a > int

Re: [AUCTeX] The word "Compiling" stays in the modeline

2016-01-23 Thread Mosè Giordano
Hi Marcin, 2016-01-20 9:19 GMT+01:00 Marcin Borkowski : > Hi all, > > sometimes the word "Compiling" does not disappear from the modeline. > Does anyone know out of their headhow to get rid of that? (If not, > I will dig into the source and/or try to determine under what conditions > it happens.)

Re: [AUCTeX] overlay prompting

2016-01-24 Thread Mosè Giordano
Hi Jean-François, 2016-01-24 10:38 GMT+01:00 jfbu : > Sorry for the delay. It was a very big file, with complicated > non-typical structure (thousands of lines before \documentclass), > and I should have focused on where "beamer" actually appeared in > the file, but did not have the time back then

Re: [AUCTeX] overlay prompting

2016-01-24 Thread Mosè Giordano
2016-01-24 15:19 GMT+01:00 jfbu : > Thanks for the tip. Could the parsing possibly decide not to take > into account a second `\documentclass` ? I'm not sure this is feasible. If I remember well, I once proposed to do have a parsing for preamble stuff (\documentclass, \usepackage, \newcommand, et

Re: [AUCTeX] overlay prompting

2016-01-24 Thread Mosè Giordano
2016-01-24 15:14 GMT+01:00 Mosè Giordano : > The obvious > fix would be to do said test, but I fear parsing time would increase > sensibly. I should do some tests. In a 1850-line-long document of mine, parsing time increases by a factor of 3 when including the test for verbatim mode.

Re: [AUCTeX] overlay prompting

2016-01-24 Thread Mosè Giordano
2016-01-24 15:49 GMT+01:00 jfbu : > how do you time the parsing ? With `benchmark-run'. In the file buffer run M-: (benchmark-run (TeX-auto-parse)) RET The first argument of `benchmark-run' can be the number of the repetitions of the form. Cheers, Mosè

Re: [AUCTeX] overlay prompting

2016-01-24 Thread Mosè Giordano
2016-01-24 16:05 GMT+01:00 jfbu : > > Le 24 janv. 2016 à 15:54, Mosè Giordano a écrit : > >> 2016-01-24 15:49 GMT+01:00 jfbu : >>> how do you time the parsing ? >> >> With `benchmark-run'. In the file buffer run >> >>M-: (benchmark-

Re: [AUCTeX] overlay prompting

2016-01-25 Thread Mosè Giordano
Hi Jean-François, 2016-01-25 10:08 GMT+01:00 jfbu : > My document has other AUCTeX-parsing related problems. For example > > \begin{verbatim} > \usepackage{fontspec} > \end{verbatim} > > similarly triggers AUCTeX to prompt me for xetex/luatex compilation. > This made the workflow a bit painful

Re: [AUCTeX] pstricks style for 11.89

2016-01-25 Thread Mosè Giordano
Hi JJ, 2016-01-25 12:54 GMT+01:00 Jean-Jacques Rétorré : > > From AUCTeX-11-89, TeX-normal-mode on a document including > \include{patricks} set TeX-PDF-mode to t. I can't understand. If I have a \include{pstricks} line in a document `TeX-PDF-mode' is set to nil, not t. Style file style/p

Re: [AUCTeX] pstricks style for 11.89

2016-01-25 Thread Mosè Giordano
2016-01-25 22:27 GMT+01:00 Jean-Jacques Rétorré : > lun. 25 janv. 2016, Mosè Giordano nous disait que : > >> Hi JJ, >> >> 2016-01-25 12:54 GMT+01:00 Jean-Jacques Rétorré : >>> >>> From AUCTeX-11-89, TeX-normal-mode on a document including >>>

Re: [AUCTeX] pstricks style for 11.89

2016-01-25 Thread Mosè Giordano
2016-01-25 22:52 GMT+01:00 Jean-Jacques Rétorré : > Not a very minimal exemple an issue example > > > > \documentclass[francais]{article} > \usepackage[utf8]{inputenc} > \usepackage [T1]{fontenc} > \usepackage{textcomp} > \usepackage{babel} > > \usepackage{pstr

Re: [AUCTeX] pstricks style for 11.89

2016-01-26 Thread Mosè Giordano
Hi, 2016-01-26 10:25 GMT+01:00 Jean-Jacques Rétorré : > lun. 25 janv. 2016, Mosè Giordano nous disait que : >> A tip: you can run `TeX-normal-mode' also with C-c C-n ;-) >> > `TeX-normal-mode' is run with C-c # on my box. I don't know if it is from > default

Re: [AUCTeX] Minibuffer completion for environment in context-mode

2016-01-30 Thread Mosè Giordano
Hi Andrea, 2016-01-30 18:16 GMT+01:00 Andrea De Michele : > Hi all, > > in context-mode the minibuffer completion doesn't work when I try to > insert/change an environment. > > I looked at the code and I found that this is due to the fact that the > 'ConTeXt-environment-list' variable is 'nil'. >

Re: [AUCTeX] zathura forward search

2016-02-08 Thread Mosè Giordano
Dear Mandar and all, in the question linked at the beginning of this thread, JP-Ellis reported that Zathura now supports the option "--synctex-forward" also when the viewer is closed. I added Zathura to the default viewers, but forward and inverse search works only with recent versions of the pro

[AUCTeX] Logo for AUCTeX: request for ideas

2016-02-23 Thread Mosè Giordano
Dear AUCTeX users, Ubaldo Boyano is available for designing icons of GNU projects and we asked him to draw a logo for AUCTeX. We probably don't need to use it within the package itself, but we can put it on the website. What we need now are ideas and suggestions about the design of the logo, so

Re: [AUCTeX] Logo for AUCTeX: request for ideas

2016-02-23 Thread Mosè Giordano
2016-02-23 12:07 GMT+01:00 EglobalpresS : > What do you think about develop a logo with a bit movement? Do you mean an animated logo? If so, it can't be a GIF, see https://www.gnu.org/philosophy/gif.html It could be an APNG, I don't know how widely is this format supported by web browsers, thoug

Re: [AUCTeX] Logo for AUCTeX: request for ideas

2016-02-23 Thread Mosè Giordano
Hi Jorge, 2016-02-23 18:07 GMT+01:00 Jorge A. Alfaro-Murillo : > Mosè Giordano writes: > >> What we need now are ideas and suggestions about the design of the logo, >> so it's your time to chime in and share your thoughts! > > > By the way, where does the name AUCT

Re: [AUCTeX] Logo for AUCTeX: request for ideas

2016-02-23 Thread Mosè Giordano
2016-02-23 18:26 GMT+01:00 EglobalpresS : > A lion as a logo it sounds good I don't have anything against lions, I just don't see links with AUCTeX. Actually there is the TeX lion,[1] but being AUCTeX part of GNU I think a gnu is...well, more suitable. I'm open to suggestions and comments, thou

Re: [AUCTeX] Logo for AUCTeX: request for ideas

2016-02-23 Thread Mosè Giordano
2016-02-23 21:35 GMT+01:00 David Kastrup : > Mosè Giordano writes: > >> 2016-02-23 18:26 GMT+01:00 EglobalpresS : >>> A lion as a logo it sounds good >> >> I don't have anything against lions, I just don't see links with >> AUCTeX. Actually th

Re: [AUCTeX] Logo for AUCTeX: request for ideas

2016-02-26 Thread Mosè Giordano
Hi Ubaldo, 2016-02-26 0:02 GMT+01:00 EglobalpresS : > > > > > Here you are an sketch rough with your sugesttions. > > Awaiting your opinions thanks for your sketch! Though, I'm not sure this is what Marcin and Jobst expected. Perhaps the idea wasn't easy to realize, but the lion looks like to b

Re: [AUCTeX] Snippet for tabular

2016-02-29 Thread Mosè Giordano
Hi Denis, 2016-02-29 18:36 GMT+01:00 Denis Bitouzé : > Hi, > > I just came across the following yasnippet (see > https://groups.google.com/d/msg/smart-snippet/8Og-1U5zJ2E/3aIMTNmwrKAJ): > > --8<---cut here---start->8--- > # -*- mode: snippet -*- > # name: nxm ma

Re: [AUCTeX] overlay prompting

2016-03-01 Thread Mosè Giordano
Hi Vincent, > One more idea is the following : my speculation is that AUCTeX is slow > because when you do (verbatim-p) or something like that in the code patch you > will regexp search backward and forward, so if S is the size of the file to > scan, you need to scan over potentially S^2 charact

Re: [AUCTeX] Logo for AUCTeX: request for ideas

2016-03-01 Thread Mosè Giordano
Hi Tamas, 2016-03-01 21:47 GMT+01:00 Tamas Papp : > Hi, > > I have been following this thread with interest, and I recognize that > people honestly want to help and contribute. However, I am still not > sure why AUCTeX needs a logo and what purpose it would serve, and I > think that the lack of we

Re: [AUCTeX] Logo for AUCTeX: request for ideas

2016-03-02 Thread Mosè Giordano
Hi Tamas, 2016-03-02 8:13 GMT+01:00 Tamas Papp : > You are of course right, it would be good to involve the community. I > could not resist drafting up a logo myself, in the minimalistic style of > the projects you mention above (not that I would be capable of anything > that requires more skill).

Re: [AUCTeX] Logo for AUCTeX: request for ideas

2016-03-04 Thread Mosè Giordano
Hi Tamas, 2016-03-03 8:49 GMT+01:00 Tamas Papp : > Yes, Crimson does look nicer. I changed the kerning a bit, to a > compromise between the default and my somewhat cramped original > version. AFAIK tighter kerning is common for logos. Indeed this is better. I'd like to propose some further chang

Re: [AUCTeX] Logo for AUCTeX: request for ideas

2016-03-05 Thread Mosè Giordano
from non normal text, so the only highlighted lines are the local variables at the end. To sum up, probably syntax highlighting is not needed at all. Bye, Mosè 2016-03-05 11:04 GMT+01:00 jfbu : > Le 05/03/2016 10:35, Tamas Papp a écrit : >> >> Hi Mosè, >> >> On Fri,

Re: [AUCTeX] Logo for AUCTeX: request for ideas

2016-03-05 Thread Mosè Giordano
2016-03-05 13:56 GMT+01:00 jfbu : > I find as a particular strong point > that the Emacs local variables lines at bottom > come out clearly. So what about non-colored syntax highlighting? In this way Emacs local variables are emphasized when one looks closely to the code, but don't distract from

Re: [AUCTeX] Logo for AUCTeX: request for ideas

2016-03-05 Thread Mosè Giordano
2016-03-05 19:04 GMT+01:00 Mosè Giordano : > - copyright notice at the top I'm just not sure we should put the year that, maybe not. Bye, Mosè ___ auctex mailing list auctex@gnu.org https://lists.gnu.org/mailman/listinfo/auctex

Re: [AUCTeX] Checking whether a package is loaded

2016-03-06 Thread Mosè Giordano
Hi Jason, 2016-03-06 13:37 GMT+01:00 Alexander,J : > Are there any functions provided by AUCTeX that allow one to check whether a > particular package is loaded? I've written a yasnippet which inserts a > payoff matrix using the "game" environment as defined by sgame.sty or > sgamevar.sty -- e

<    1   2   3   4   >