Re: Problem with parsing in 11.55

Ralf Angeli <[email protected]> Tue, 15 Mar 2005 18:29:08 +0100
Newsgroups gmane.emacs.auc-tex
Message-ID <[email protected]>
[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.]

* [email protected] (2005-03-15) writes:

> [email protected] wrote:
>> 
>> Ralf Angeli wrote:
>> 
>>> * [email protected] (2005-03-15) writes:
>>>
>>>> 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 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.
>> 
>> After your hints I tried it with "a4paper" - but this doesn't work too:
>> 
>> 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"
>> is in the regexp:
>> ("^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