Uwe Brauer | 24 Jul 15:48 2014
Picon

source-correlate mode always.


Hi 
what is the best method to turn TeX-source-correlate-mode always on:

    -  (add-hook 'LaTeX-mode-hook 'TeX-source-correlate-mode)

    -  o via customize?

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 | 24 Jul 14:55 2014
Picon

(TeX-source-correlate-method 'auto) a subtle bug with customize?

Hello

It happened again:

I customize TeX-command-list, then automatically my custom-init.el 
file contains a line 
 '(TeX-source-correlate-method 'auto)

And then when I running latex with TeX-source-correlate-mode on, 
latex is running  with synctex but not with source-specials as it should.
So inverse/forward search does not work with xdvi.

I delete this line and restart Xemacs and everything is fine.

There is a subtle bug in customize I presume but where?

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 | 23 Jul 15:28 2014
Picon

add (non) Latex commands to Latex command list.


Hello

I also use the following command on my Latex files 

latex2rtf foo.tex

or 

pandoc -s -R -f latex foo.tex -t rtf -o foo-B.rtf

In 11.84 I expanded the TeX-command list as follows:

(custom-set-variables
 '(TeX-command-list '(
  ("latex2rtf" "/usr/local/bin/latex2rtf -f0 %t" TeX-run-command t t)
  ("panltx2txt" "/home/oub/.cabal/bin/pandoc -t plain %t -o %T" TeX-run-command t t)
  ("panlatex2rft" "/home/oub/.cabal/bin/pandoc -s -R -f latex %t -t rtf -o %R" TeX-run-command t t))
 '(TeX-expand-list '(
  ("%T" file "txt" t)
  ("%R" file "rtf" t)
  ("%O" file "odt" t)
  ("%g" file "pdf" t)
  ("%f" file "ps" t)
  ("%b" TeX-current-file-name-master-relative)
  ("%m" preview-create-subdirectory)
  ("%h" file "html" t))))

Can I do something similar in 11.87??? I am asking since the syntax seems
to have changed between 11.84 and 11.87.
(Continue reading)

Uwe Brauer | 23 Jul 15:01 2014
Picon

\date insert american format

Hello

Look at the following german example document.
\documentclass[12pt]{article}
\usepackage[german]{babel}
\usepackage[latin1]{inputenc}
\begin{document}

\title{Title}
\author{Ich}
\date{2014/07/23}
\maketitle{}

\section{Einleitung}
\label{sec:einleitung}

Blabla
\end{document}

When I executed TeX-insert-macro
the minibuffer showed 

Date (default (2014/07/23))

The corresponding code seems to me:
(defun TeX-arg-date (optional &optional prompt)
  "Prompt for a date, defaulting to the current date.
If OPTIONAL is non-nil, insert the resulting value as an optional
argument, otherwise as a mandatory one.  Use PROMPT as the prompt
string."
(Continue reading)

Mosè Giordano | 23 Jul 14:37 2014
Picon

Re: auctex-11.87.6 - File mode specification error.

Hi Bernard,

2014-07-23 5:08 GMT+02:00 Bernard Hurley <bernard <at> marcade.biz>:
> Hi Mosè,
>
>>>>>> "Mosè" == Mosè Giordano <mose <at> gnu.org> writes:
>
>     Mosè> Hi Bernard, 2014-07-21 23:12 GMT+02:00 Bernard Hurley
>     Mosè> <bernard <at> marcade.biz>:
>     >> Hi all,
>     >>
>     >> I have just tried updating from version 11.87.4 to 11.87.6 using
>     >> elpa. AucTeX will now not load and I get the following error:
>     >>
>     >> File mode specification error: (error "Recursive load"
>         ...
>     >> "/home/think/.emacs.d/elpa/auctex-11.87.6/latex.elc"
>     >> "/home/think/.emacs.d/elpa/auctex-11.87.6/tex-site.elc"
>     >> "/home/think/.emacs.d/elpa/auctex-11.87.6/tex.elc")
>
>     Mosè> I cannot reproduce.  Do you experience it for every new TeX
>     Mosè> buffer?  Try purging and then reinstalling the ELPA package.
>
>     Thanks for the quick reply.
>
>     I experience it for new buffers and old ones I load up.  I tried
>     purging the package and reinstalling it but the same thing
>     happened.
>
>     For the moment I have reverted to 11.87.4 as I have a lot of work to
(Continue reading)

Bernard Hurley | 21 Jul 23:12 2014

auctex-11.87.6 - File mode specification error.

Hi all,

I have just tried updating from version 11.87.4 to 11.87.6 using
elpa. AucTeX will now not load and I get the following error:

File mode specification error: (error "Recursive load"
"/home/think/.emacs.d/elpa/auctex-11.87.6/tex.elc"
"/home/think/.emacs.d/elpa/auctex-11.87.6/latex.elc"
"/home/think/.emacs.d/elpa/auctex-11.87.6/tex-site.elc"
"/home/think/.emacs.d/elpa/auctex-11.87.6/tex.elc"
"/home/think/.emacs.d/elpa/auctex-11.87.6/latex.elc"
"/home/think/.emacs.d/elpa/auctex-11.87.6/tex-site.elc"
"/home/think/.emacs.d/elpa/auctex-11.87.6/tex.elc"
"/home/think/.emacs.d/elpa/auctex-11.87.6/latex.elc"
"/home/think/.emacs.d/elpa/auctex-11.87.6/tex-site.elc"
"/home/think/.emacs.d/elpa/auctex-11.87.6/tex.elc"
"/home/think/.emacs.d/elpa/auctex-11.87.6/latex.elc"
"/home/think/.emacs.d/elpa/auctex-11.87.6/tex-site.elc" "/home/think/.emacs.d/elpa/auctex-11.87.6/tex.elc")

Thanks,

Bernard

--

-- 

Your fortune cookie for today:

...Deep Hack Mode -- that mysterious and frightening state of
consciousness where Mortal Users fear to tread.
		-- Matt Welsh
(Continue reading)

Jonathan Underwood | 21 Jul 12:57 2014
Picon

Release process

Hi folks,

I package Auctex for Fedora, and I've noticed recently that there seems to be new releases of auctex being made to ELPA without any update to the official tar ball. For various reasons, it's not possible to use ELPA for the sources for Fedora packaging process, so could I'd like to ask if it's possible for you to push updated tarballs more regularly? I imagine that other distro packagers would also benefit from this.

Thanks,
Jonathan.
_______________________________________________
auctex-devel mailing list
auctex-devel <at> gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel
Uwe Brauer | 20 Jul 11:03 2014
Picon

Xemacs+newest git version:

Hello

I managed to use the newest git version (compiling to a pkg) under
Xemacs 21.5.33.

So far I have only found one problem.

    -  in the 11.87 version which I use, together with Moses patch: 

Using latex+xdvi, correlation mode enabled 
latex runs with -source-specials and everything is fine.

Using pdflatex+okular [1]. Pdflatex uses synctex and everything is fine.

    -  however in the git version 

Using latex+xdvi, correlation mode enabled 
latex runs with -synctex and this does not work with xdvi.

So either Moses patch was not applied to git, or I have to change my
setting compared to the one I use for 11.87. (This is what I mean with
backward compatibility).

thanks

Uwe 

Footnotes:
[1]  (BTW inverse+forward search does not work with
xpdf??? right)

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
Bernard Hurley | 18 Jul 05:34 2014

Newbie trying to understand the parser.

Hi all,

I'm trying to understand how the parser works as  I would like to write
some style files for TikZ. I hope you don't mind if I ask some possibly
stupid questions, but I haven't seem them answered anywhere.

The first question is this: The code in "Hacking the Parser" in the info
file contains:

     (defvar TeX-newmacro-regexp
       '("\\\\newmacro{\\\\\\([a-zA-Z]+\\)}{\\\\\\([a-zA-Z]+\\)}"
         (1 2) TeX-auto-multi)
       "Matches \newmacro definitions.")

What is the purpose of the list (1 2) and what is the significance of
the numbers?

For the second question, the following file (01-Hagen-Petri-net.ly) was
automatically generated in my auto subdirectory:

  (TeX-add-style-hook "01-Hagen-Petri-net"
   (lambda ()
      (TeX-run-style-hooks
       "tikz"
       ""
       "latex2e"
       "art10"
       "article"
       "a4paper")))

Why does it contain an empty string?  What is the purpose of it?

Regards,

Bernard.
Mosè Giordano | 17 Jul 21:47 2014
Picon

Re: auctex pkg uptodate?

2014-07-17 21:40 GMT+02:00 Uwe Brauer <oub <at> mat.ucm.es>:
> On 07/17/2014 09:37 PM, Mosè Giordano wrote:
>
> Hi Uwe,
>
> 2014-07-17 21:06 GMT+02:00 Uwe Brauer <oub <at> mat.ucm.es>:
>> Hello
>>
>> Is the auctex-11.87-pkg.tar.gz found in
>> auctex-11.87-pkg.tar.gz based on the latest release in the 11.87 series?
>
> Sorry, what do you mean by "the auctex-11.87-pkg.tar.gz found in
> auctex-11.87-pkg.tar.gz"?
>
>
> kill ring problem. I meant found in :
>
> http://www.gnu.org/software/auctex/download-for-unix.html

There have been only one release in the 11.87 "series", so yes, that
package is based on the latest release in that series.

If you are referring to packages with version like 11.87.5 or so, they
are exclusive to ELPA, whose package slightly differs from the AUCTeX
official tarball.

Bye,
Mosè

_______________________________________________
auctex-devel mailing list
auctex-devel <at> gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel
Uwe Brauer | 17 Jul 21:06 2014
Picon

auctex pkg uptodate?

Hello

Is the auctex-11.87-pkg.tar.gz found in 
auctex-11.87-pkg.tar.gz based on the latest release in the 11.87 series?

Thanks 

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

Gmane