Discussion:
Problem with parsing in 11.55
i***@aarnolds.de
2005-03-15 07:59:46 UTC
Permalink
Hi all,

I have a problem with parsing (or using the parsed information) of my
TeX documents with auchtex 11.55. It worked fine with 10.0g. Emacs used
is 21.3.

The situation:

I use "\usepackage{...,a4}" in my documents. This should give me a "View
command" like "xdvi -paper a4 ..." according to the rexexp in TeX-view-style
in tex.el. But I only get "xdvi test.dvi" as view commend.

"TeX-parse-self" and "TeX-auto-save" are set. The "auto/test.el"
file shows that the "a4" string was parsed correctly:
(TeX-add-style-hook "ttt"
(lambda ()
(TeX-run-style-hooks
"a4"
...

Do you have any idea what I have done wrong? Do you need more information?

Thanks a lot for your help

Ado
Ralf Angeli
2005-03-15 08:17:14 UTC
Permalink
Post by i***@aarnolds.de
I have a problem with parsing (or using the parsed information) of my
TeX documents with auchtex 11.55. It worked fine with 10.0g. Emacs used
is 21.3.
I use "\usepackage{...,a4}" in my documents.
This package should not be used anymore, see
<CTAN:info/l2tabu/english/l2tabuen.pdf> (there is a German version as
well). Because of that and because we got reports of this clashing
with file names like a4.tex or a5.tex we removed support for
recognizing the package.
Post by i***@aarnolds.de
This should give me a "View
command" like "xdvi -paper a4 ..." according to the rexexp in TeX-view-style
in tex.el. But I only get "xdvi test.dvi" as view commend.
For viewing the variable `TeX-view-output-style' takes precedence over
`TeX-view-style'. This variable does not contain "a4" anymore. The
fact that `TeX-view-style' still contains it is a bug. I will remove
it there as well.
--
Ralf
Ralf Angeli
2005-03-15 17:29:08 UTC
Permalink
[Redirecting to the mailing list. Please keep the mailing list in Cc.
Other people might have similar problems and might be interested in a
solution as well. In addition you are limiting yourself to only one
person who will be able to answer your questions.

I rearranged quoted text so that it is easier for others to read.]
Post by Ralf Angeli
Post by i***@aarnolds.de
I have a problem with parsing (or using the parsed information) of my
TeX documents with auchtex 11.55. It worked fine with 10.0g. Emacs used
is 21.3.
I use "\usepackage{...,a4}" in my documents.
This package should not be used anymore, see
<CTAN:info/l2tabu/english/l2tabuen.pdf> (there is a German version as
well). Because of that and because we got reports of this clashing
with file names like a4.tex or a5.tex we removed support for
recognizing the package.
thanks a lot for your fast response! I really don't use the a4 package.
It only was an example. I'm using my own package "dina4" and extend the
auctex variables with each new release for using this package. So the
"a4" only was a starting point.
test.tex contains "\usepackage{array,longtable,a4paper}"
Is that your own package again? Normally "a4paper" is an option of
the document class. You'd write it like
"\documentclass[a4paper]{article}".
and the "View command" offers "xdvi ttt.dvi", no "-paper a4". The auto
file contains
(TeX-add-style-hook "ttt"
(lambda ()
(TeX-run-style-hooks
"a4paper"
...
and "Describe variable: TeX-output-view-style" shows that "a4paper"
("^dvi$" "^a4\\(?:dutch\\|paper\\|wide\\)\\|sem-a4$" "%(o?)xdvi %dS
-paper a4 -s 5 %d")
Do you have another idea what I might doing wrong?
Good news,
I had restarted emacs but not unloaded and reloaded the document. Now it
works.
Okay. When I received your last mail I was about to write a message
asking for more information, especially if parsing is enabled. If you
had used `M-x TeX-submit-bug-report RET' this information would have
been included in the original message. Just as a hint in case you
have another inquiry. (c;
--
Ralf
Ralf Angeli
2005-03-15 17:58:33 UTC
Permalink
Post by Ralf Angeli
Okay. When I received your last mail I was about to write a message
asking for more information, especially if parsing is enabled.
Duh. Looking at this sentence again makes me wonder where I left my
brain today.
--
Ralf
Loading...