auctex-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX-devel] Small patch for subfiles.el


From: Uwe Brauer
Subject: Re: [AUCTeX-devel] Small patch for subfiles.el
Date: Mon, 20 Feb 2017 15:27:04 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

>>> "Arash" == Arash Esbati <address@hidden> writes:

   > Uwe Brauer <address@hidden> writes:
   >> I just did. I restarted emacs, entered a subfiles with that path
   >> structure, the style subfiles.el was not loaded.
   >> 
   >> I evaluated your lisp code and voila: it works like charm, subfiles.el
   >> is loaded and supports the editing as it should.

   > Thanks for checking.  I have a question, though: What do you mean with
   > `subfiles.el is loaded'?  That specific style from AUCTeX should be
   > loaded anyway since you have \documentclass{subfiles} in your sub file
   > document.  The idea was that the parsed style file for your master
   > document "../../main-file.tex", e.g. "../../auto/main-file.el", is
   > loaded and consequently all style files for the packages you have
   > specified there.  Does this happen for you?

Sorry I wrote that too fast. What I meant was the master file (subfile)
uses the exam class. With the old auctex code the slave file did not
know that the underlying class is the exam class. With your code it
does.



   > Best, Arash



reply via email to

[Prev in Thread] Current Thread [Next in Thread]