Ralf Angeli | 1 Mar 2009 17:51

Re: xpdf -remote %s -raise %o %(outpage) not functioning properly

* amr (2009-02-28) writes:

> When I execute C-c C-v, xpdf opens with the updated file,
> but it is not raised, and it always shows page 1.
>
> This is very frustrating.

Does a command like
xpdf -remote foo -raise file.pdf 2
work if you issue it from the command line?

> I am using the pdfsync package.

Do you have parsing enabled as mentioned on the first page of the AUCTeX
manual?

--

-- 
Ralf
amr1986 | 1 Mar 2009 19:24
Picon

Re: xpdf -remote %s -raise %o %(outpage) not functioning properly


I enabled parsing and it now works. Thank you.
However, there is now a new issue.
After editing a file, compiling, and viewing, I am always asked:

"File foo.pdfsync changed on disk.
Reread from disk? (yes or no)"

I have edited auctex/style/pdfsync.el as described here:
http://www.mail-archive.com/auctex-devel <at> gnu.org/msg05817.html

(replaced lines prefixed with - with those prefixed with +)

However, nothing has changed.

I apologize for the questions. I am brand new to emacs.

Thank you.

Ralf Angeli-3 wrote:
> 
> 
> Do you have parsing enabled as mentioned on the first page of the AUCTeX
> manual?
> 
> -- 
> Ralf
> 
> 
> _______________________________________________
(Continue reading)

Ralf Angeli | 1 Mar 2009 23:11

Re: xpdf -remote %s -raise %o %(outpage) not functioning properly

* amr (2009-03-01) writes:

> I enabled parsing and it now works. Thank you.
> However, there is now a new issue.
> After editing a file, compiling, and viewing, I am always asked:
>
> "File foo.pdfsync changed on disk.
> Reread from disk? (yes or no)"
>
> I have edited auctex/style/pdfsync.el as described here:
> http://www.mail-archive.com/auctex-devel <at> gnu.org/msg05817.html

Note that this was solved differently in the CVS repository of AUCTeX.
So it might be better to get a CVS checkout (with the disadvantage that
it does not provide a stable user interface).

> However, nothing has changed.

You have to recompile the .el file or at least delete the old .elc file.

--

-- 
Ralf
J. McKenzie Alexander | 3 Mar 2009 19:08
Picon
Favicon

Making preview-latex output darker

Is it possible to make the output from preview-latex darker, without  
turning off the anti-aliasing? I ask because even if I define preview- 
scale-function to a value like 1.25, so as to make the output bigger,  
I still find it hard to read as it is quite light.

Many thanks,

Jason

--
Dr J. McKenzie Alexander
Department of Philosophy, Logic and Scientific Method
London School of Economics and Political Science
Houghton Street, London WC2A 2AE

Please access the attached hyperlink for an important electronic communications disclaimer: http://www.lse.ac.uk/collections/secretariat/legal/disclaimer.htm
Daniele Tampieri | 5 Mar 2009 13:46
Picon

Re: A proposal for an extension of AucTeX functionalities

Ralf,
     I used flyspell and it indicates repeated words: thank you.
Then I tried to load automatically flyspell by inserting the following
line in my .emacs file (I saw it in the Learning GNU Emacs O'Reilly
book)
(setq-default flyspell-mode t)
Well, it does not charge the default (American) dictionary: is it due
to the fact that I also have the Italian dictionary installed?
Thank you for your attention and best regards
Daniele Tampieri

2009/2/13 Ralf Angeli <angeli <at> caeruleus.net>:
> * Daniele Tampieri (2009-02-12) writes:
>
>> 1) While writing long documents, I sometimes use a cut and paste
>>    approach. Sometimes I forgot to cancel groups of words, therefore
>>    the same word or group of words are repeated in near places: the
>>    words are formally correct so the spell checker does not gives any
>>    error, but the text is syntactically incorrect. Is it possible to instruct
>>    AucTeX to highlight this mistakes?
>
> At least repeated words are indicated by Flyspell mode.
>
> --
> Ralf
>
Hoang Trong Minh Tuan | 5 Mar 2009 19:04
Picon
Gravatar

How to tell LaTeX-fill-buffer not to reindent the verbatim regions.

How to tell LaTeX-fill-buffer not to reindent some predefined regions . 
  I have defined <code> as a verbatim environment so that anything between 
\begin{code}  
 line1   
 line2  
 line3
 line4
\end{code}  
     will be treated as verbatim text.   The problem is that whenever I use LaTeX-fill-buffer command, it automatically re-indent everything inside, and change the structure that I want to keep in the verbatim region, e.g.
\begin{code} 
  line1 line2 
  line3 line4
\end{code} 
  Can someone give me a solution to avoid this problem? Thanks.

Tuan

_______________________________________________
auctex mailing list
auctex <at> gnu.org
http://lists.gnu.org/mailman/listinfo/auctex
Ralf Angeli | 6 Mar 2009 19:34

Re: Making preview-latex output darker

* J. McKenzie Alexander (2009-03-03) writes:

> Is it possible to make the output from preview-latex darker, without  
> turning off the anti-aliasing? I ask because even if I define preview- 
> scale-function to a value like 1.25, so as to make the output bigger,  
> I still find it hard to read as it is quite light.

Is this with TeX PDF mode on or off?

--

-- 
Ralf
J. McKenzie Alexander | 6 Mar 2009 19:47
Picon
Favicon

Re: Making preview-latex output darker

>> Is it possible to make the output from preview-latex darker, without
>> turning off the anti-aliasing? I ask because even if I define  
>> preview-
>> scale-function to a value like 1.25, so as to make the output bigger,
>> I still find it hard to read as it is quite light.
>
> Is this with TeX PDF mode on or off?

It's with PDF mode on.

Jason

Please access the attached hyperlink for an important electronic communications disclaimer: http://www.lse.ac.uk/collections/secretariat/legal/disclaimer.htm
Ralf Angeli | 6 Mar 2009 19:55

Activating and configuring Flyspell (was: A proposal for an extension of AucTeX functionalities)

* Daniele Tampieri (2009-03-05) writes:

>      I used flyspell and it indicates repeated words: thank you.
> Then I tried to load automatically flyspell by inserting the following
> line in my .emacs file (I saw it in the Learning GNU Emacs O'Reilly
> book)
> (setq-default flyspell-mode t)

In my case this does not work and you probably don't want Flyspell mode
active in every buffer.  If you only use it in LaTeX mode, you can use
something like
(add-hook 'LaTeX-mode-hook (lambda() (flyspell-mode 1)))
for activation.

> Well, it does not charge the default (American) dictionary: is it due
> to the fact that I also have the Italian dictionary installed?

I have no idea which dictionary is picked by Ispell (which might be used
as a backend for Flyspell in your case) per default, but this can be
controlled by the variable `ispell-dictionary'.  I'm no expert in spell
checking in Emacs, so if you have trouble you best start by reading up
on Ispell in the Emacs manual (See (info "(emacs)Spelling") <-- Type
`C-x C-e' here.) and if that does not help you ask in the gnu.emacs.help
newsgroup/mailing list.

--

-- 
Ralf
Ralf Angeli | 6 Mar 2009 19:57

Re: How to tell LaTeX-fill-buffer not to reindent the verbatim regions.

* Hoang Trong Minh Tuan (2009-03-05) writes:

> How to tell LaTeX-fill-buffer not to reindent some predefined regions .
>   I have defined <code> as a verbatim environment so that anything between
> \begin{code}
>  line1
>  line2
>  line3
>  line4
> \end{code}
>      will be treated as verbatim text.   The problem is that whenever I use
> LaTeX-fill-buffer command, it automatically re-indent everything inside, and
> change the structure that I want to keep in the verbatim region, e.g.
> \begin{code}
>   line1 line2
>   line3 line4
> \end{code}
>   Can someone give me a solution to avoid this problem? Thanks.

Read up on `LaTeX-indent-environment-list' in the AUCTeX manual.

--

-- 
Ralf

Gmane