Ralf Angeli | 1 Jul 2007 11:55

Re: Re: 2007-05-25; \documentclass options like version=2.97a prevent parsing

* Christian Schlauer (2007-06-24) writes:

> I'd say the period has to be allowed in AUCTeX, because it is `valid
> LaTeX', as it seems.

Fixed in CVS.  Thanks for the report.

--

-- 
Ralf

georg grafendorfer | 1 Jul 2007 23:15
Picon
Favicon

Re: 11.84 syntax highlighting confuses with longline minor mode

Thank you,
you are right, actually it's an emacs problem, the behauviour in C-Mode is 
the same, i will report it to an appropriate list.
Georg

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

Holger Sparr | 9 Jul 2007 22:44
Picon

C-c C-v fails when using pst-pdf


Hi,

[pst-pdf: Produce an pdf-file with using postscript environments where
          you place pstricks pictures environments etc.]

When using pst-pdf, you are supposed to run the shell script ps4pdf to
produce a pdf-file, which I run by setting a local file variable.

When typing C-c C-v afterwards, AUCTeX opens ghostview to view the
results.

The process to find the right extension by scanning LaTeX's output for
viewing is not sufficient since a further run of ps2pdf was applied to
the result of last LaTeX run.

Maybe, one could check whether a newer pdf-file is present?

Something along:

(defun TeX-my-view ()
  "Select the viewer depending on local variables like
   `TeX-command-default' and `TeX-PDF-mode'."
  (interactive)
  (if (or (eq TeX-command-default "make pdf") (eq TeX-PDF-mode t))
      (TeX-command "Xpdf" 'TeX-master-file)
    ;; (message "%s" TeX-command-default)
    (if (file-newer-than-file-p (TeX-master-file "pdf" nil) (TeX-master-file "dvi" nil))
        (TeX-command "Xpdf" 'TeX-master-file)
      (if (file-newer-than-file-p (TeX-master-file "ps" nil) (TeX-master-file "dvi" nil))
(Continue reading)

David Kastrup | 11 Jul 2007 07:33
Picon
Picon

Re: C-c C-v fails when using pst-pdf

Holger Sparr <sparr+usenet <at> mfk.tu-dresden.de> writes:

> [pst-pdf: Produce an pdf-file with using postscript environments where
>           you place pstricks pictures environments etc.]
>
> When using pst-pdf, you are supposed to run the shell script ps4pdf to
> produce a pdf-file, which I run by setting a local file variable.
>
> When typing C-c C-v afterwards, AUCTeX opens ghostview to view the
> results.
>
> The process to find the right extension by scanning LaTeX's output for
> viewing is not sufficient since a further run of ps2pdf was applied to
> the result of last LaTeX run.
>
>
> Maybe, one could check whether a newer pdf-file is present?

Perhaps we should scrap the logic for viewing (and printing) and
always open the newest output file candidate independent of
PDF-TeX-mode?

--

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

Ralf Angeli | 11 Jul 2007 07:50

Re: C-c C-v fails when using pst-pdf

* David Kastrup (2007-07-11) writes:

> Perhaps we should scrap the logic for viewing (and printing) and
> always open the newest output file candidate independent of
> PDF-TeX-mode?

Sounds interesting.  Once we have toolchains we could also define the
viewer explicitely in a toolchain.

Nevertheless we need to fix the mode recognition.  The pst-pdf case
worked some time ago.  It probably stopped working when I added the
pstricks.el style file.  But I have to check this.

--

-- 
Ralf

Ralf Angeli | 11 Jul 2007 19:10
Face

Re: C-c C-v fails when using pst-pdf

* Ralf Angeli (2007-07-11) writes:

> Nevertheless we need to fix the mode recognition.  The pst-pdf case
> worked some time ago.  It probably stopped working when I added the
> pstricks.el style file.  But I have to check this.

It's fixed now.

--

-- 
Ralf

Pierre Lorenzon | 14 Jul 2007 22:14
Picon

11.84; LaTeX documents organized in a subdirectories tree


Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.

Be sure to consult the FAQ section in the manual before submitting
a bug report.  If the bug (or problem) is triggered by a specific
(La)TeX file, you should try to produce a minimal sample file
showing the problem and include it in your report.

Your bug report will be posted to the AUCTeX bug reporting list.
------------------------------------------------------------------------

Hi,

I like complexe LaTeX documents to be organized in directories
and subdirectories but it seem to generate problems with
auctex. Anyway I particularly like functionalities provided by
auctex that's why I am very disappointed that something goes
wrong in this case. The problems appear in style loading.

Let's take an example : The master directory (let's  name it
..../MyDoc) contains the master file MyDoc.tex. 

It contains as well a directory Chapter-1 containing all files
corresponding to chapter one of the document and in particular
a file Chapter-1.tex. Hence there is an input command
\input{Chapter-1/Chapter-1} in the MyDoc.tex file. 

In the subdirectory Chapter-1 lives a file Section-1-1.tex as
well. The latter is called by Chapter-1.tex by the input
(Continue reading)

Pierre Lorenzon | 16 Jul 2007 11:49
Picon

11.84; Loading style files


Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.

Be sure to consult the FAQ section in the manual before submitting
a bug report.  If the bug (or problem) is triggered by a specific
(La)TeX file, you should try to produce a minimal sample file
showing the problem and include it in your report.

Your bug report will be posted to the AUCTeX bug reporting list.
------------------------------------------------------------------------

Hi,

I already send a bug report a few days ago. Now investigating
the code more carefully I wonder why ther are this two lines of
code at line 1831 in the tex.el file :

		  (setq default-directory (expand-file-name
					   (file-name-directory
					   style))

It does semme consistant with the way the master-dir is set
(relatively) at line 1742 in the tex.el file :

		(master-dir (if (stringp TeX-master)
				(file-name-directory
				 (file-relative-name TeX-master))
			      "./"))

(Continue reading)

Pierre Lorenzon | 16 Jul 2007 14:08
Picon

11.84; Errors in files with long names


Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.

Be sure to consult the FAQ section in the manual before submitting
a bug report.  If the bug (or problem) is triggered by a specific
(La)TeX file, you should try to produce a minimal sample file
showing the problem and include it in your report.

Your bug report will be posted to the AUCTeX bug reporting list.
------------------------------------------------------------------------

Hi,

When I have an included file in my document whose name is to
long, erros cannot be retrieved correctly in it : 

When typing C-c `or M-g n, a truncated file is open. It means
the file name is note correctly read in the output buffer by
the parse method. It occurs when the file name in the output
buffer is splitt with a newline in it because it is to long. In
this case, the parse method only take the part being on the
first line and hence tries to open a file with truncated
truncated name which does not exist and where the error can
naturally not be found ! 

In my opinion, the problem is in file tex-buf.el at line 1370
in command :

	      (rplaca TeX-error-file (TeX-match-buffer 2))))
(Continue reading)

Ralf Angeli | 16 Jul 2007 20:13

Re: 11.84; Loading style files

* Pierre Lorenzon (2007-07-16) writes:

> I already send a bug report a few days ago. Now investigating
> the code more carefully I wonder why ther are this two lines of
> code at line 1831 in the tex.el file :
>
> 		  (setq default-directory (expand-file-name
> 					   (file-name-directory
> 					   style))

They were supposed to fix a bug.  See
<URL:http://thread.gmane.org/1121262217.11339.20.camel%40localhost.localdomain>.

--

-- 
Ralf


Gmane