Pjotr Kourzanov | 1 Feb 12:34 2010
Picon
Picon

[Fwd: Usage of Auctex in conjunction with Noweb and Preview]

Uwe, et.al.,

  Thanks a lot for your reply, however, I am not on this list, so 
please CC me personally... I have tried adding TeX-expand-list as
you proposed, but that doesn't help.

  I'd like to know if in your setup the previews do appear in the 
.nw buffer. For me, they only appear in the .tex buffers (the master
.tex and the .tex buffer that's generated by noweb from the .nw file).

  That is why I have tried to post-process the ".log" that's produced by
latex via this "nolatex" script. Thanks to noweb keeping the line 
numbers consistent across processing stages, I assumed that by a simple
replacement of ".nw.tex" to ".nw" and removal of noweb markup from the 
log, the Auctex could be tricked into putting previews directly into
the ".nw" buffer. But, it doesn't seem to work and being no Elisp 
expert, I am a bit stuck now.

  What I would like to achieve the having previews in the .nw buffer
directly. I have to say that the .nw buffer is having two major modes
(LaTeX and BEE) and one minor (Noweb), and I am trying to get previews
when I move into the LaTeX chunks inside the .nw buffer.

  BTW, everything else from Auctex seems to work in the .nw file, 
except the previews. I would really appreciate if somebody could confirm
the possibility of having previews inside buffers having 2 major modes
and/or having other extensions than ".tex".

Kind regards,

(Continue reading)

Pjotr Kourzanov | 1 Feb 13:29 2010
Picon
Picon

Success! [Fwd: Usage of Auctex in conjunction with Noweb and Preview]

Dear all,

  I probably should have read the manual better - a simple 
reconfiguration and recompilation of Auctex has put the problem 
to rest at last - I do get previews in Noweb mode now.

  For reference: I only needed to apply the "TeX-file-extensions"
and "TeX-expand-list" tricks to tex.el, and post-process the TeX
.log with "nolatex" script as described below. If anyone needs 
more info, feel free to contact me...

  Thanks again for great tools!

Pjotr

P.S. Here is the nolatex script I've conjured to make it all work:

#!/bin/bash
args=$ <at> 
while [[ -n $1 ]]; do
[[ "${1//.tex/}" != "$1" ]] && b=${1//.tex}
shift
done
latex $args |\
sed -e "s,$b.nw.tex,$b.nw,g;s, .*\\\\, \\\\,g;s,\\\\nw[a-z]*{[^{}]*},,g"

On Mon, 2010-02-01 at 12:34 +0100, Pjotr Kourzanov wrote: 
> Uwe, et.al.,
> 
>   Thanks a lot for your reply, however, I am not on this list, so 
(Continue reading)

Ralf Angeli | 1 Feb 21:25 2010
Picon

Re: AucTeX Outline Mode

* Falk Pollok (2010-01-31) writes:

> a) I'm new to Emacs and desperately trying to fold every List-Environment 
> (nested itemize and enumerate) of my document to be able to navigate to 
> certain sections as fast as possible.

Are you using RefTeX?  It provides a function to display a table of
contents which can also be used to jump to specific sections.  The key
binding is `C-c ='.  Perhaps that would be better than using outlining
or folding.

> If I enable folding and choose "Hide All 
> In Buffer", environments are not folded, whereas manual C-c C-o C-o achieves 
> the desired result, but is extremely tedious in huge files.

Per default only "comment" environments are folded when folding a
region.

> I selected environments in the Type List, but this didn't help either. I also 
> tried Emacs Outlining, which is (from what I understand) at least a close 
> approximation to what I'm trying to achieve, but this approach failed as well 
> (I just copied (setq outline-minor-mode-prefix "\C-c\C-o[ tried additional \C-x 
> - didn't help]") ; to the beginning of my .emacs file as suggested in the 
> manual).

What exactly did you try and what did you expect to happen?

--

-- 
Ralf
(Continue reading)

Nobuko Three | 2 Feb 20:08 2010
Picon

AUCTeX on MS Windows can't handle spaces in directories.


For a minimal example, I created the file "D:\hello world\nsif.tex" with the
following content

\documentclass{article}
\begin{document}
\lainoads
\end{document}

And I ran this through cmd:
emacs.exe -q --no-splash "d:/hello world/nsif.tex"

Compile the tex file with C-c C-c, and then press C-c ` (TeX-next-error), it
just opens a buffer named hello. I think it tries to locate the error in
"D:\hello". With my full dotemacs loaded, the error message is this:
PC-look-for-include-file: No such include file: `d:/hello.h'

Emacs version: GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) of 2009-07-30 on
SOFT-MJASON

AUCTeX version "11.85"   

--

-- 
View this message in context: http://old.nabble.com/AUCTeX-on-MS-Windows-can%27t-handle-spaces-in-directories.-tp27425735p27425735.html
Sent from the Gnu - AUCTeX - General mailing list archive at Nabble.com.
Ralf Angeli | 2 Feb 20:54 2010
Picon

Re: AUCTeX on MS Windows can't handle spaces in directories.

* Nobuko Three (2010-02-02) writes:

> emacs.exe -q --no-splash "d:/hello world/nsif.tex"
>
> Compile the tex file with C-c C-c, and then press C-c ` (TeX-next-error), it
> just opens a buffer named hello.

Does this also happen with the development version from CVS?

--

-- 
Ralf
Grant Rettke | 3 Feb 04:35 2010
Picon

Re: AUCTeX on MS Windows can't handle spaces in directories.

On Tue, Feb 2, 2010 at 1:08 PM, Nobuko Three <nbko3 <at> yahoo.com> wrote:
>
> For a minimal example, I created the file "D:\hello world\nsif.tex" with the
> following content

Does this happen when you compile files that you had opened via C-x C-f?
paul morgan | 4 Feb 00:47 2010
Picon

AUCTeX + context minimals

On a new OS X 10.6 machine, I recently installed Carbon emacs. Subsequently I installed ConTeXt minimals. The AucTEX (which comes bundled withe Carbon Emacs) is not behaving as I expect, no M-x context-mode for example. When I installed Emacs, there was no TeX installation on my system. There still is no distribution other than ConTeXt minimals.


What is the best way to solve this? Build AUCTex from scratch configured to find /Users/pm/context/tex/texmf-osx-64/bin as the tex dir?

Thank you for your help,

Paul
_______________________________________________
auctex mailing list
auctex <at> gnu.org
http://lists.gnu.org/mailman/listinfo/auctex
Dilip Warrier | 9 Feb 15:39 2010
Picon

Can't get AUCTeX to work with XEmacs on Windows Vista

Hello, I have an installation of XEmacs 21.4.21 on Windows Vista (binary 
installation from xemacs.org) and a compilation/installation from source 
code of AUCTeX 11.85 (using msys/MinGW). However, when I open a .tex 
file (like preview/circ.tex from the AUCTeX source distribution), I do 
not see the "LaTeX" and "Command" menus expected. In fact, it doesn't 
look like the AUCTeX mode is being used for the .tex file. Please let me 
know what I'm doing wrong. A screen shot of XEmacs with the .tex file 
and the result of "M-x describe-mode" is attached.

Thanks,
Dilip.
_______________________________________________
auctex mailing list
auctex <at> gnu.org
http://lists.gnu.org/mailman/listinfo/auctex
Ralf Angeli | 9 Feb 18:31 2010
Picon

Re: Can't get AUCTeX to work with XEmacs on Windows Vista

* Dilip Warrier (2010-02-09) writes:

> Hello, I have an installation of XEmacs 21.4.21 on Windows Vista (binary 
> installation from xemacs.org) and a compilation/installation from source 
> code of AUCTeX 11.85 (using msys/MinGW).

You can download a pre-compiled package of AUCTeX for XEmacs from the
AUCTeX web site.

--

-- 
Ralf
Dilip Warrier | 11 Feb 02:04 2010
Picon

Re: Can't get AUCTeX to work with XEmacs on Windows Vista

Ralf Angeli wrote:
> * Dilip Warrier (2010-02-09) writes:
> 
>> Hello, I have an installation of XEmacs 21.4.21 on Windows Vista (binary 
>> installation from xemacs.org) and a compilation/installation from source 
>> code of AUCTeX 11.85 (using msys/MinGW).
> 
> You can download a pre-compiled package of AUCTeX for XEmacs from the
> AUCTeX web site.
> 

Thanks, Ralf. Using the pre-compiled package seems to solve the problem.

Dilip.

Gmane