Re: [AUCTeX-devel] Copyright clean-up

2007-07-02 Thread Ralf Angeli
* David Kastrup (2007-07-01) writes:

 Ralf Angeli [EMAIL PROTECTED] writes:

 The release of GPLv3 is probably a good opportunity for looking at the
 copyright situation in AUCTeX.  I'd like to start with cleaning up some
 low-hanging fruits in the style directory.  So, I guess there are
 copyright assignments from Mark Trettin and Reiner Steib?

 Yes.

 If this is the case I can change the copyright notices in file
 headers mentioning them to mention the FSF instead.

 Please do so.

 There are quite some files authored by Carsten Dominik.  Have his papers
 arrived in the meantime?

 No.  Carsten, any word on this?

CCed, since I am not sure if he is reading auctex-devel.

Also, I compiled a list of all problematic files from the style
directory:

+++++--+
|File|Coypright   |Licence |Author  |Remarks   |
||notice  |||  |
+++++--+
|amsart.el   |no  |no  |no  |trivial   |
+++++--+
|amsbook.el  |no  |no  |no  |trivial   |
+++++--+
|amsbsy.el   |no  |no  |Carsten Dominik |  |
+++++--+
|amsmath.el  |2005 FSF|no  |Carsten Dominik |  |
||(incomplete)|||  |
+++++--+
|amsopn.el   |no  |no  |Carsten Dominik |  |
+++++--+
|amstext.el  |no  |no  |Carsten Dominik |  |
+++++--+
|amsthm.el   |no  |no  |Carsten Dominik |  |
+++++--+
|article.el  |no  |no  |no  |trivial   |
+++++--+
|book.el |no  |no  |no  |trivial   |
+++++--+
|czeck.el|no  |no  |no  |trivial   |
+++++--+
|danish.el   |no  |no  |no  |original  |
|||||trivial   |
+++++--+
|dinbrief.el |no  |no  |Werner Fink |  |
+++++--+
|dk.el   |no  |no  |no  |trivial   |
+++++--+
|dutch.el|no  |no  |no  |trivial   |
+++++--+
|epsf.el |no  |no  |Marc Gemis  |  |
+++++--+
|fancyref.el |no  |no  |Carsten Dominik |  |
+++++--+
|foils.el|no  |no  |no  |  |
+++++--+
|german.el   |no  |no  |no  |  |
+++++--+
|graphics.el |no  |no  |no  |trivial   |
+++++--+
|harvard.el  |1994, 1997  |GPLv2 or|Berwin Turlach  |  |
||Berwin  |later   ||  |
||Turlach;|||  |
||2005 FSF|||  |
+++++--+
|index.el|no  |no  |Carsten Dominik |  |
+++++--+
|j-article.el|no  |no  |no  |trivial   |
+++++--+
|jarticle.el |no  |no  |no  |trivial   |
+++++--+
|j-book.el   |no  |no  |no  |trivial   |
+++++--+
|jbook.el|no  |no  |no  |trivial   |
+++++--+
|j-report.el |no  |no  |no  |trivial   |
+++++--+
|jreport.el  |no  |no 

[AUCTeX-diffs] Grave Todas as Ligações da Sua Empresa - UPVISION Technology

2007-07-02 Thread Upvision Technology
Title: Controle e Segurança: Grave Suas Conversas ao Telefone - UPVISION
Technology







  
   
   
  

  
   
   
  
  
   
   
  
  
   
   
  
  
   
   
  
  
   
   
  
  
   
   
  
  
   
   
  
  
   
   
  
  
   
   
  
  
   
   
  
  
   
   
  

















___
auctex-diffs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/auctex-diffs


Re: [AUCTeX] debugging of multifile documents with TeX-next-error

2007-07-02 Thread Ralf Angeli
Please keep the mailing list copied.

* Stefan Vollmar (2007-07-02) writes:

 Am 01.07.2007 um 23:49 schrieb Ralf Angeli:

 Does the file contain a footer like the following?

 %%% Local Variables:
 %%% mode: latex
 %%% TeX-master: t
 %%% End:

 It did not - my fault. I have added it and can now observe a  
 different behaviour (having manually deleted the auto-dir and  
 the .aux files, then run latex): TeX-next-error will move the  
 cursor in one of the latex source files as if this is where the  
 reported error was. However, text positions have nothing to do with  
 the current error message (wrong file).

 Does it matter which buffer is active when calling TeX-next-error  
 or if the corrupt latex-files have already been loaded? -

AFAICT, no.

  This is working fine with vanilla Emacs and vanilla AUCTeX (both from
 CVS).

 So you might have a working example I could try? -
 Sorry for not having giving you a better bug report initially.

For finding the cause of a problem or bug it is usually better to
reproduce it, instead of not reproducing it.  So it would be better if
you could provide two minimal files exhibiting the problem as well as
the contents of the output buffer which resulted from running LaTeX on
the file set.

-- 
Ralf


___
auctex mailing list
auctex@gnu.org
http://lists.gnu.org/mailman/listinfo/auctex


[AUCTeX] AucTeX preview error: DviPS sentinel: Spawning child process: invalid argument

2007-07-02 Thread mirko.vukovic
Hello,

When trying to invoke the preview mode I get the error listed in the subject 
line.  

I am using emacs 22.1 and AucTeX 11.84.  I use the cygwin environment, and 
ghostscript for windows.  

When I try to generate a preview on a region (equation in this example)

\documentclass{article}
\begin{document}
\begin{equation}
a=b
\end{equation}
\end{document}

I get the following in my error buffer: 

Preview-LaTeX exited as expected with code 1 at Mon Jul 02 14:32:18
Running `Preview-DviPS' with ``dvips -Pwww _region_.dvi -o 
_region_.prv/tmp43288un/preview.ps''
This is dvips(k) 5.95b Copyright 2005 Radical Eye Software (www.radicaleye.com)
' TeX output 2007.07.02:1432' - _region_.prv/tmp43288un/preview.ps
tex.protexps.prospecial.pro. cmr10.pfbcmmi10.pfb[1] 

Preview-DviPS finished at Mon Jul 02 14:32:18
DviPS sentinel: Spawning child process: invalid argument

I think that auctex can see dvips and gswin32.exe:  It can generate a ps file 
and if I invoke the shell command gswin32, I get a gs window with a prompt.

Here is the AucTeX bug-info:


Emacs  : GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600)
 of 2007-06-02 on RELEASE
Package: 11.84

current state:
==
(setq
 AUCTeX-date 2007-01-12
 window-system 'w32
 LaTeX-version 2e
 TeX-style-path '(style auto d:/The-Works/Bibliographies/style
  d:/The-Works/Bibliographies/auto
  e:/program-files/emacs-22.1/site-lisp/auctex/style
  e:/program-files/emacs-22.1/var/auctex)
 TeX-auto-save t
 TeX-parse-self t
 TeX-master t
 TeX-command-list '((TeX %(PDF)%(tex) %`%S%(PDFout)%(mode)%' %t
 TeX-run-TeX nil
 (plain-tex-mode ams-tex-mode texinfo-mode) :help
 Run plain TeX)
(LaTeX %`%l%(mode)%' %t TeX-run-TeX nil
 (latex-mode doctex-mode) :help Run LaTeX)
(Makeinfo makeinfo %t TeX-run-compile nil
 (texinfo-mode) :help Run Makeinfo with Info output)
(Makeinfo HTML makeinfo --html %t TeX-run-compile nil
 (texinfo-mode) :help Run Makeinfo with HTML output)
(AmSTeX %(PDF)amstex %`%S%(PDFout)%(mode)%' %t
 TeX-run-TeX nil (ams-tex-mode) :help Run AMSTeX)
(ConTeXt texexec --once --texutil %(execopts)%t
 TeX-run-TeX nil (context-mode) :help Run ConTeXt once)
(ConTeXt Full texexec %(execopts)%t TeX-run-TeX nil
 (context-mode) :help Run ConTeXt until completion)
(BibTeX bibtex %s TeX-run-BibTeX nil t :help
 Run BibTeX)
(View %V TeX-run-discard t t :help Run Viewer)
(Print %p TeX-run-command t t :help Print the file)
(Queue %q TeX-run-background nil t :help
 View the printer queue :visible TeX-queue-command)
(File %(o?)dvips %d -o %f  TeX-run-command t t :help
 Generate PostScript file)
(Index makeindex %s TeX-run-command nil t :help
 Create index file)
(Check lacheck %s TeX-run-compile nil (latex-mode)
 :help Check LaTeX file for correctness)
(Spell (TeX-ispell-document \\) TeX-run-function nil
 t :help Spell-check the document)
(Clean TeX-clean TeX-run-function nil t :help
 Delete generated intermediate files)
(Clean All (TeX-clean t) TeX-run-function nil t :help
 Delete generated intermediate and output files)
(Other  TeX-run-command t t :help
 Run an arbitrary command)
)
 )


Thanks,

Mirko


___
auctex mailing list
auctex@gnu.org
http://lists.gnu.org/mailman/listinfo/auctex


Re: [AUCTeX] AucTeX preview error: DviPS sentinel: Spawning child process: invalid argument

2007-07-02 Thread David Kastrup
[EMAIL PROTECTED] writes:

 When trying to invoke the preview mode I get the error listed in the subject 
 line.  

 I am using emacs 22.1 and AucTeX 11.84.  I use the cygwin environment, and 
 ghostscript for windows.  

 When I try to generate a preview on a region (equation in this example)

 \documentclass{article}
 \begin{document}
 \begin{equation}
 a=b
 \end{equation}
 \end{document}

 I get the following in my error buffer: 

Try reporting your problem with
M-x preview-report-bug RET
since the AUCTeX report contains too little information for diagnosis.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


___
auctex mailing list
auctex@gnu.org
http://lists.gnu.org/mailman/listinfo/auctex


RE: [AUCTeX] AucTeX preview error: DviPS sentinel: Spawning child process: invalid argument

2007-07-02 Thread mirko.vukovic


Mirko Vukovic, Ph.D.
Technology Development Center, US
Tokyo Electron America, US Holdings, Inc.
255 Fuller Road, Suite 244
Albany, New York 12203
(518) 320-1948 (office)
(518) 320-1983 (fax)
[EMAIL PROTECTED]
 

 -Original Message-
 From: David Kastrup [mailto:[EMAIL PROTECTED] 
 Sent: Monday, July 02, 2007 4:12 PM
 To: TTCA Vukovic, Mirko
 Cc: auctex@gnu.org
 Subject: Re: [AUCTeX] AucTeX preview error: DviPS sentinel: 
 Spawning child process: invalid argument
 
 [EMAIL PROTECTED] writes:
 
  When trying to invoke the preview mode I get the error 
 listed in the subject line.  
 
  I am using emacs 22.1 and AucTeX 11.84.  I use the cygwin 
 environment, and ghostscript for windows.  
 
  When I try to generate a preview on a region (equation in this 
  example)
 
  \documentclass{article}
  \begin{document}
  \begin{equation}
  a=b
  \end{equation}
  \end{document}
 
  I get the following in my error buffer: 
 
 Try reporting your problem with
 M-x preview-report-bug RET
 since the AUCTeX report contains too little information for diagnosis.
 
 --
 David Kastrup, Kriemhildstr. 15, 44793 Bochum
 

Something interesting shows up:  Preview's bug report tries to invoke 
/gswin32c.exe and reports that it cannot find it.  (Why the forward slash? 
Maybe something in one of my path specs?)

I have to run home now.  I'll look into this some more tomorrow and also try to 
answer Ralf's questions.


Emacs  : GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600)
 of 2007-06-02 on RELEASE
Package: 11.84

current state:
==
(setq
 AUC-TeX-version 11.84
 LaTeX-command-style '(( %(PDF)%(latex) %S%(PDFout)))
 image-types '(png gif tiff jpeg xpm xbm pbm)
 preview-image-type 'png
 preview-image-creators '((dvipng (open preview-gs-open 
preview-dvipng-process-setup)
   (place preview-gs-place) (close 
preview-dvipng-close))
  (png (open preview-gs-open) (place preview-gs-place) 
(close preview-gs-close))
  (jpeg (open preview-gs-open) (place preview-gs-place)
   (close preview-gs-close))
  (pnm (open preview-gs-open) (place preview-gs-place) 
(close preview-gs-close))
  (tiff (open preview-gs-open) (place preview-gs-place)
   (close preview-gs-close))
  )
 preview-dvipng-image-type 'png
 preview-dvipng-command dvipng -picky -noghostscript %d -o 
\%m/prev%%03d.png\
 preview-pdf2dsc-command pdf2dsc %s.pdf %m/preview.dsc
 preview-gs-command /gswin32c.exe
 preview-gs-options '(-q -dSAFER -dNOPAUSE -DNOPLATFONTS -dPrinted 
-dTextAlphaBits=4
  -dGraphicsAlphaBits=4)
 preview-gs-image-type-alist '((png png -sDEVICE=png16m) (dvipng png 
-sDEVICE=png16m)
   (jpeg jpeg -sDEVICE=jpeg) (pnm pbm 
-sDEVICE=pnmraw)
   (tiff tiff -sDEVICE=tiff12nc))
 preview-fast-conversion t
 preview-prefer-TeX-bb nil
 preview-dvips-command dvips -Pwww -i -E %d -o %m/preview.000
 preview-fast-dvips-command dvips -Pwww %d -o %m/preview.ps
 preview-scale-function 'preview-scale-from-face
 preview-LaTeX-command '(%`%l \\\nonstopmode\\nofiles\\PassOptionsToPackage{
 (, . preview-required-option-list)
 
}{preview}\\AtBeginDocument{\\ifx\\ifPreview\\undefined
 preview-default-preamble \\fi}\%' %t)
 preview-required-option-list '(active tightpage auctex 
(preview-preserve-counters counters))
 preview-preserve-counters nil
 preview-default-option-list '(displaymath floats graphics textmath 
sections footnotes)
 preview-default-preamble '(\\RequirePackage[ (, . 
preview-default-option-list)
]{preview}[2004/11/05])
 preview-LaTeX-command-replacements nil
 preview-dump-replacements '(preview-LaTeX-command-replacements
 (\\`\\([^ ]+\\)\\(\\( +-\\([^ 
\]\\|\\.\\|\[^\]*\\\)*\\)*\\)\\(.*\\)\\' \\1 -ini 
-interaction=nonstopmode \\\1\  preview-format-name .ini \\5)
 )
 preview-undump-replacements '((\\`\\([^ ]+\\) .*? \input\ \\(.*\\)\\'
\\1 -interaction=nonstopmode \ 
preview-format-name \ \\2)
   )
 preview-auto-cache-preamble 'ask
 preview-TeX-style-dir nil
 )

Output from running `/gswin32c.exe -h':


___
auctex mailing list
auctex@gnu.org
http://lists.gnu.org/mailman/listinfo/auctex


[AUCTeX] debugging of multifile documents with TeX-next-error (2)

2007-07-02 Thread Stefan Vollmar

Dear Ralf,

I have assembled a little collection of TeX-files (emtest.tar.gz,  
attached) that demonstrate the problems I have reported earlier: when  
debugging a multifile document (which now has correct settings for %% 
% TeX-master, etc. at the end of each file), TeX-next-error does  
not show the offending TeX lines corresponding to the log's error  
messages in all cases.


This time, I have included a TeX-submit-bug-report. It appears that  
I can observe the same behaviour of Emacs/Auctex on Linux (attached  
in the bugreport) and the current Aquamax on MacOS:


I provoke two identical errors in two different files of this  
multifile document:


in file vhist_intro.tex:
\rwar{this-is-an-undefined-macro-into}

in file vhist_spec0.tex:
\rwar{this-is-an-undefined-macro-spec0}

only the second one is displayed correctly by TeX-submit-bug-report.

Many thanks in advance,
 Stefan
--
Dr. Stefan Vollmar, Dipl.-Phys.
Max-Planck-Institut für neurologische Forschung
Gleuelerstr. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213  FAX +49-221-4726-298
Tel.: +49-221-478-5713  Mobile: 0173-5340707
Email: [EMAIL PROTECTED]   http://www.nf.mpg.de
To: [EMAIL PROTECTED]
Subject: 11.84; TeX-next-error does not jump to next error
--text follows this line--

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.


when running latex on vhist_spec0.tex (one file in the attached zip-archive), 
the master file vhist.tex is displayed, a pdf-file get written. Using 
TeX-next-error I expected to Emacs to open the appropriate file and show the 
offending TeX lines, one after the other. However, only the last (provoked) 
error \rwar{this-is-an-undefined-macro-spec0} will be displayed in this 
manner - all other errors are listed (correctly) but not displayed in another 
buffer.


Emacs  : GNU Emacs 21.4.1 (x86_64-redhat-linux-gnu, X toolkit, Xaw3d scroll 
bars)
 of 2007-02-12 on hs20-bc1-6.build.redhat.com
Package: 11.84

current state:
==
(setq
 AUCTeX-date 2007-01-12
 window-system nil
 LaTeX-version 2e
 TeX-style-path '(style auto /usr/share/emacs/site-lisp/auctex/style 
/var/auctex)
 TeX-auto-save t
 TeX-parse-self t
 TeX-master vhist
 TeX-command-list '((TeX %(PDF)%(tex) %`%S%(PDFout)%(mode)%' %t TeX-run-TeX 
nil
 (plain-tex-mode ams-tex-mode texinfo-mode) :help Run 
plain TeX)
(LaTeX %`%l%(mode)%' %t TeX-run-TeX nil (latex-mode 
doctex-mode) :help Run LaTeX)
(Makeinfo makeinfo %t TeX-run-compile nil 
(texinfo-mode) :help
 Run Makeinfo with Info output)
(Makeinfo HTML makeinfo --html %t TeX-run-compile nil 
(texinfo-mode) :help
 Run Makeinfo with HTML output)
(AmSTeX %(PDF)amstex %`%S%(PDFout)%(mode)%' %t 
TeX-run-TeX nil (ams-tex-mode) :help
 Run AMSTeX)
(ConTeXt texexec --once --texutil %(execopts)%t 
TeX-run-TeX nil (context-mode) :help
 Run ConTeXt once)
(ConTeXt Full texexec %(execopts)%t TeX-run-TeX nil 
(context-mode) :help
 Run ConTeXt until completion)
(BibTeX bibtex %s TeX-run-BibTeX nil t :help Run 
BibTeX)
(View dvi2tty -q -w 132 %s TeX-run-command t t :help 
Run Text viewer)
(Print %p TeX-run-command t t :help Print the file)
(Queue %q TeX-run-background nil t :help View the 
printer queue :visible
 TeX-queue-command)
(File %(o?)dvips %d -o %f  TeX-run-command t t :help 
Generate PostScript file)
(Index makeindex %s TeX-run-command nil t :help Create 
index file)
(Check lacheck %s TeX-run-compile nil (latex-mode) :help
 Check LaTeX file for correctness)
(Spell (TeX-ispell-document \\) TeX-run-function nil 
t :help
 Spell-check the document)
(Clean TeX-clean TeX-run-function nil t :help Delete 
generated intermediate files)
(Clean All (TeX-clean t) TeX-run-function nil t :help
 Delete generated intermediate and output files)
(Other  TeX-run-command t t :help Run an arbitrary 
command))
 )


emtest.tar.gz
Description: GNU Zip compressed data




___
auctex mailing list
auctex@gnu.org
http://lists.gnu.org/mailman/listinfo/auctex


Re: [AUCTeX] AucTeX preview error: DviPS sentinel: Spawning child process: invalid argument

2007-07-02 Thread David Kastrup
Ralf Angeli [EMAIL PROTECTED] writes:

 * mirko vukovic (2007-07-02) writes:

 I am using emacs 22.1 and AucTeX 11.84.  I use the cygwin environment,
 and ghostscript for windows.
 [...]
 Running `Preview-DviPS' with ``dvips -Pwww _region_.dvi -o 
 _region_.prv/tmp43288un/preview.ps''
 This is dvips(k) 5.95b Copyright 2005 Radical Eye Software 
 (www.radicaleye.com)
 ' TeX output 2007.07.02:1432' - _region_.prv/tmp43288un/preview.ps
 tex.protexps.prospecial.pro. cmr10.pfbcmmi10.pfb[1] 

 Preview-DviPS finished at Mon Jul 02 14:32:18
 DviPS sentinel: Spawning child process: invalid argument

 What happens if you call dvips with the command above from a terminal?

Dvips is not the problem: it is called fine, completes, and the
sentinel is called afterwards.  The problem is in the sentinel, when
it tries calling GhostScript.

M-x preview-report-bug RET

should give enough of a clue to diagnose why this fails.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


___
auctex mailing list
auctex@gnu.org
http://lists.gnu.org/mailman/listinfo/auctex


Re: [AUCTeX] AucTeX preview error: DviPS sentinel: Spawning child process: invalid argument

2007-07-02 Thread David Kastrup
[EMAIL PROTECTED] writes:

 Package: 11.84
 ==
 (setq

[...]

  preview-gs-command /gswin32c.exe

Could you check whether this is set in your .emacs file (in which case
it is your own fault) or in preview-latex.el?  If it is the latter,
you might want to give us the contents of preview/config.log to figure
out what went wrong.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


___
auctex mailing list
auctex@gnu.org
http://lists.gnu.org/mailman/listinfo/auctex


Re: [AUCTeX] debugging of multifile documents with TeX-next-error (2)

2007-07-02 Thread Ralf Angeli
* Stefan Vollmar (2007-07-02) writes:

 I provoke two identical errors in two different files of this  
 multifile document:

 in file vhist_intro.tex:
 \rwar{this-is-an-undefined-macro-into}

 in file vhist_spec0.tex:
 \rwar{this-is-an-undefined-macro-spec0}

 only the second one is displayed correctly by TeX-submit-bug-report.

If I open vhist_spec0.tex in Emacs, execute `C-c C-c LaTeX RET' and then
jump to the first error with `C-c `', the file vhist_intro.tex will be
opened in the top window with point at the offending macro.  The bottom
window will display the corresponding help text of the error.  If I
execute `C-c `' again, the analogous action happens for vhist_spec0.tex.
So in my case this works flawlessly.

If you had included the output buffer contents as requested, I probably
could have found out more.

-- 
Ralf


___
auctex mailing list
auctex@gnu.org
http://lists.gnu.org/mailman/listinfo/auctex