Dear Ikumi,

On Fri, 08 Sep 2017 21:53:37 +0900, Ikumi Keita
<[email protected]> wrote:
> I suppose you are using a class file which is not supported in vanilla
> AUCTeX, i.e., no corresponding style file foo.el or quux.el is in
> AUCTeX's style directory, aren't you?

Yes, that's right.  The class files in question are either ones that
I've authored myself, or else are created by particular
publishers/conferences and not included in major TeX distributions.

> Then you can try generating style file on your own by the following
> procedure.  I suppose the LaTeX file foo.tex is using quux.cls as its
> documentclass.
> (1) M-x TeX-auto-generate RET
> (2) Select the class file "quux.cls".
> (3) Select the directory to store support style file.
>     Then AUCTeX parses "quux.cls" and saves the relavant information
> in "quux.el".
> (4) Open the file foo.tex.  (If it is opened already, try C-c C-n or
> C-x C-v in that buffer.)
> (5) Now you can try C-c [.  I hope it works as you expected.

Thanks -- that procedure worked for the toy quux.cls file, but not for
the more complicated class files I'm actually using.  TeX-auto-generate
still failed to detect biblatex.  However, from looking at the style
file generate for quux.cls, I am guessing I can just copy the following
lines into the style files for my real class files:

(TeX-add-to-alist 'LaTeX-provided-package-options
                  '(("biblatex" "backend=biber")))
(TeX-run-style-hooks 
    "biblatex"))

Regards,
Tristan

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
                  Tristan Miller
Free Software developer, ferret herder, logologist
             https://logological.org/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Attachment: pgpWA5WlsLIIA.pgp
Description: OpenPGP digital signature

_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to