1 Jun 19:58 2012

### Re: Auctex in ELPA is a bit old. Recommended version?

Hi Ralf,

2012/5/31 Ralf Angeli <angeli <at> caeruleus.net>:
> The site you mention is likely the only source providing pre-compiled
> snapshots.  The only other option to get a recent AUCTeX would be to get
> the sources via CVS and compile them yourself.

OK, so I can take it that the current CVS snapshot is the recommended
way to go at this point?

> Regarding the problem you mention, maybe the snapshot is not
> installed correctly?  Did you run make' and make install'?

I wanted a local user specific install of Auctex
to ~/.emacs.d/auctex and therefore ran
./configure --prefix='/home/gerlach/.emacs.d/auctex'
--with-lispdir='/home/gerlach/.emacs.d/auctex/elisp'
--with-texmf-dir='/home/gerlach/.emacs.d/auctex/texmf'
followed by make and  make install.

I have now investigated my issues further. Apparently they were caused
by some other conflicting entry in my init.el, a minimal
initialization file just with the basic Auctex/Reftex setup works
fine. For now I cannot yet say what went wrong. But I was to hasty to
attribute it to the development version.

> After opening a LaTeX file, are there any errors in the *Messages*
> buffer?  Or do you see errors if you start emacs with --debug-init?


3 Jun 09:31 2012

### auctex cannot find kpsewhich

Hi all,

I have a small (probably trivial) question. I'm running lubuntu 11.10
with emacs 23.3.1. and auctex installed from the ubuntu repos.
However, I installed TeX by hand (e.g. from
http://www.tug.org/texlive/ and not from the ubuntu repos). Now when I
want to enter the macro "\usepackage" through "C-c Return" I get the
following message:

Searching for program: no such file or directory, kpsewhich

I assume that auctex is looking at the wrong place for kpsewhich.
kpsewhich is installed here:
/usr/local/texlive/2011/bin/i386-linux/kpsewhich and
/usr/local/texlive/2011/bin/i386-linux is in my PATH variable. (It's
being added to the PATH in my .bashrc file in my home folder.

Any ideas on how I can fix this?

Regards,
Laurent

3 Jun 09:29 2012

### auctex cannot find kpsewhich

Hi all,

I have a small (probably trivial) question. I'm running lubuntu 11.10
with emacs 23.3.1. and auctex installed from the ubuntu repos.
However, I installed TeX by hand (e.g. from
http://www.tug.org/texlive/ and not from the ubuntu repos). Now when I
want to enter the macro "\usepackage" through "C-c Return" I get the
following message:

Searching for program: no such file or directory, kpsewhich

I assume that auctex is looking at the wrong place for kpsewhich.
kpsewhich is installed here:
/usr/local/texlive/2011/bin/i386-linux/kpsewhich and
/usr/local/texlive/2011/bin/i386-linux is in my PATH variable. (It's
being added to the PATH in my .bashrc file in my home folder.

Any ideas on how I can fix this?

Regards,
Laurent

3 Jun 10:02 2012

### Re: auctex cannot find kpsewhich

Le dimanche 03/06/12 à 09h31,
Laurent Hoeltgen <hoeltgman <at> gmail.com> a écrit :

> (It's being added to the PATH in my .bashrc file in my home folder.

I rather used the symlink option:

http://www.tug.org/texlive/doc/texlive-en/texlive-en.html#x1-280003.2.4

and AFAIR I wasn't facing this problem.

> Any ideas on how I can fix this?

Maybe a poor workaround: start emacs from the command line?
--

--
Denis

3 Jun 10:19 2012

### Re: auctex cannot find kpsewhich

Denis Bitouzé <dbitouze <at> wanadoo.fr> writes:

> Le dimanche 03/06/12 à 09h31,
> Laurent Hoeltgen <hoeltgman <at> gmail.com> a écrit :
>
>> (It's being added to the PATH in my .bashrc file in my home folder.
>
> I rather used the symlink option:
>
> http://www.tug.org/texlive/doc/texlive-en/texlive-en.html#x1-280003.2.4
>
> and AFAIR I wasn't facing this problem.
>
>> Any ideas on how I can fix this?
>
> Maybe a poor workaround: start emacs from the command line?

.bashrc is sourced only for interactive shells, not for login shells. So
put a "if [ -f "$HOME/.bashrc" ]; then source$HOME/.bashrc ; fi" in
$HOME/.bash_profile to source that for login shells (where you type "startx", and from where the environment is taken). If you're using a login manager, ask the google how to set the environment variables for it. Cheers -- -- Marco  (Continue reading) 3 Jun 10:07 2012 ### Re: auctex cannot find kpsewhich Laurent Hoeltgen <hoeltgman <at> gmail.com> writes: > Hi all, > > I have a small (probably trivial) question. I'm running lubuntu 11.10 > with emacs 23.3.1. and auctex installed from the ubuntu repos. > However, I installed TeX by hand (e.g. from > http://www.tug.org/texlive/ and not from the ubuntu repos). Now when I > want to enter the macro "\usepackage" through "C-c Return" I get the > following message: > > Searching for program: no such file or directory, kpsewhich > > I assume that auctex is looking at the wrong place for kpsewhich. > kpsewhich is installed here: > /usr/local/texlive/2011/bin/i386-linux/kpsewhich and > /usr/local/texlive/2011/bin/i386-linux is in my PATH variable. (It's > being added to the PATH in my .bashrc file in my home folder. > > Any ideas on how I can fix this? Check the settings in (getenv "PATH") and exec-path Personally, I use (defun TeXlive (year) "Use TeXlive with the given year (given as string), nil if no TeXlive."  (Continue reading) 3 Jun 12:38 2012 ### Re: auctex cannot find kpsewhich On 06/03/2012 10:19 AM, Marco Pessotto wrote: > Denis Bitouzé <dbitouze <at> wanadoo.fr> writes: > >> Le dimanche 03/06/12 à 09h31, >> Laurent Hoeltgen <hoeltgman <at> gmail.com> a écrit : >> >>> (It's being added to the PATH in my .bashrc file in my home folder. >> >> I rather used the symlink option: >> >> http://www.tug.org/texlive/doc/texlive-en/texlive-en.html#x1-280003.2.4 >> >> and AFAIR I wasn't facing this problem. >> Strange, I have installed TeXlive already several times but never noticed the symlink option. This seems to be a comfortable way to get around this problem. Might try it next time. >>> Any ideas on how I can fix this? >> >> Maybe a poor workaround: start emacs from the command line? Tried this. From the command line, everything seems to work. > > .bashrc is sourced only for interactive shells, not for login shells. So > put a "if [ -f "$HOME/.bashrc" ]; then source $HOME/.bashrc ; fi" in >$HOME/.bash_profile to source that for login shells (where you type
> "startx", and from where the environment is taken).


9 Jun 21:30 2012

### preview-latex with IEEEtran.cls

Hi,

I am new to AUCTeX and relatively new to LaTeX. I used to use WinEdt before trying AUCTeX.
Everything works fine with the provided "circ.tex" example and with some of my previous papers. However, when I am running preview-latex on my IEEE publications it either fails completely or produces odd looking results.

To investigate the cause of those failures I have installed the following basic toolchain:
Widows 7, emacs-23.3-bin-i386.zip, auctex-11.86-e23.3-msw.zip, MiKTeX 2.9 and gs8.71.

The class file is "IEEEtran.cls" and the latex file is "bare_jrnl.tex". The "IEEEtran.cls" file is a part of MiKTeX 2.9 distribution.
Both files are available from the following archive:
http://www.ieee.org/documents/IEEEtran.zip

The only modifications I have done to the initial "bare_jrnl.tex" file are activation of "graphics" package and addition of "\includegraphics" parameter to "IEEEbiography" at the end of the file.

The screenshots of the preview-latex processing results are attached to this post.
Everything seems to be correct until "\appendices" statement, after that, the sections previews are missformatted as shown in "appendices_1.png" attachment.
After running preview-latex second time "Appendix D artifact" appears in Acknowledgement section heading, which should not be there and it does not appear after first preview-latex run. See "appendices_2.png" attachment for example.
The authors photographs in biography items are always doubled and the references section heading is also missformatted as shown in refs_and_biography.png attachment.

Is there any "simple" way to fix the described above problems, or at least, can someone point me towards the right direction to investigate it myself?

Victor.

_______________________________________________
auctex mailing list
auctex <at> gnu.org
https://lists.gnu.org/mailman/listinfo/auctex

11 Jun 04:06 2012

### New here

I hope it is ok to ask questions here. I'm not a really all that proficient in Linux, so sorry if this is a dumb question. I've looked over the manual and known problems, but didn't find anything relevant.

I am using Emacs 23.3.1 with ghost script 9.04 on Ubuntu 12.04

The problem is I get nothing but red signs when trying to generate previews. The error messages are incomprehensible to me. Here is one from an attempt to render a simple $A$  at a point:

gs -dOutputFile\=$$_region_.prv/tmp6465dBV/pr1-1.png$$ -q -dSAFER -dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 -dGraphicsAlphaBits\=4 -sDEVICE\=png16m -r94.2656x94.3773
GS>{DELAYSAFER{.setsafe}if}stopped pop/.preview-BP currentpagedevice/BeginPage get dup null eq{pop{pop}bind}if def<</BeginPage{currentpagedevice/PageSize get dup 0 get 1 ne exch 1 get 1 ne or{.preview-BP }{pop}ifelse}bind/PageSize[1 1]>>setpagedevice/preview-do{[count 3 roll save]3 1 roll dup length 0 eq{pop}{setpagedevice}{ifelse .runandhide}stopped{handleerror quit}if aload pop restore}bind def [(_region_.prv/tmp6465dBV/preview.ps)(r)file]aload exch dup 0 setfileposition 24344()/SubFileDecode filter cvx .runandhide aload pop dup dup 24344 setfileposition 98()/SubFileDecode filter cvx<<>>preview-do
Error: /invalidfileaccess in --file--
Operand stack:
--nostringval--   (_region_.prv/tmp6465dBV/preview.ps)   (r)
Execution stack:
%interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   %loop_continue   --nostringval--   --nostringval--   false   1   %stopped_push   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--
Dictionary stack:
--dict:1167/1684(ro)(G)--   --dict:0/20(G)--   --dict:79/200(L)--
Current allocation mode is local
Last OS error: 2
Current file position is 441
GS<3>

Using all my powers of logical deductive inference I presume the "gs" at the beginning of the error message indicates the problem has to something to do with ghostscript, but I'm not sure of what the rest means. I could pour through the ghostscipt docs but I was hoping perhaps I could get a helpful hint here to focus my efforts. Any helpful hints would be greatly appreciated :)

_______________________________________________
auctex mailing list
auctex <at> gnu.org
https://lists.gnu.org/mailman/listinfo/auctex

13 Jun 09:47 2012

### problem with RefTex


Hi,

Recently, I moved all my .bib file in a standard place of the LaTeX
hierarchy, namely my TEXMFLOCAL directory:

TEXMFLOCAL/bibtex/bib/subdirectories/*.bib

and now I specify, for example:

\bibliography{avionique,partitionnement,TR}

(these files being in the subdirectories of TEXMFLOCAL/bibtex/bib).

bibtex works fine, and during a while reftex worked fine too. But, for a
reason I can't understand, reftex suddently doesn't work anymore and I
get the message:

"No valid bibliography in this document, and no default available"

I work under Linux, with texlive and the latest version of AUCTeX, and I
tried several solutions:

- define BIBINPUTS to TEXMFLOCAL/bibtex/bib or TEXMFLOCAL/bibtex/bib/*
- define external file finders in order to have kpsewhich defined.

Nothing works but perhaps I don't do exactly the right thing.

Any idea ?

Regards/

-- Guy Durrieu.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Guy DURRIEU                 e-mail Guy.Durrieu <at> onera.fr
ONERA
Département Traitement de l'Information et Modélisation
CEntRe de Toulouse, 2, avenue Edouard Belin  B.P. 74025
31055 TOULOUSE CEDEX 4 FRANCE
tel    (33) 05.62.25.26.59   fax    (33) 05.62.25.25.93
avertissement http://www.onera.fr/onera-en/emails-terms
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


Gmane