[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX-devel] «global.sty» include, master, subfiles
From: |
Uwe Brauer |
Subject: |
Re: [AUCTeX-devel] «global.sty» include, master, subfiles |
Date: |
Sun, 08 Mar 2015 18:42:27 +0100 |
User-agent: |
Gnus/5.13001 (Ma Gnus v0.10) XEmacs/21.5-b33 (linux) |
> 2015-03-08 18:19 GMT+01:00 Uwe Brauer <address@hidden>:
> Yes, it's correct. You can either add that directory to
> `TeX-style-private' or move/link the file in a directory present in
> `TeX-style-private', the decision is up to you.
It seems not to work.
Here is what I did:
create a file teststy.sty
,----
|
| \ProvidesPackage{estad}
| \makeatletter
|
| \usepackage{amssymb,amsfonts,amsmath,amsthm}
| \usepackage{graphics,graphicx}
|
|
| \makeatother
`----
Then a file testty.el is created in the auto subdirectory.
(/home/oub/tex/sty/auto) which is now in my TeX-style-private variable
This file looks as
,----
| (TeX-add-style-hook
| "teststy"
| (lambda ()
| (TeX-run-style-hooks
| "amssymb"
| "amsfonts"
| "amsmath"
| "amsthm"
| "graphics"
| "graphicx")))
|
`----
So I create a new file
\documentclass{article}
\usepackage{teststy}
\begin{document}
this is a test
\end{document}
and I run the command
LaTeX-environment it should now offer my say, align, which is a typical
amsmath environment, but it does not, only if I add explicitly
\usepackage{amsmath}
But the whole point was to avoid this.
I am puzzled. I will try this now with GNU emacs.
Uwe
smime.p7s
Description: S/MIME cryptographic signature
- [AUCTeX-devel] «global.sty» include, master, subfiles, Uwe Brauer, 2015/03/08
- Re: [AUCTeX-devel] «global.sty» include, master, subfiles, Mosè Giordano, 2015/03/08
- Re: [AUCTeX-devel] «global.sty» include, master, subfiles, Uwe Brauer, 2015/03/08
- Re: [AUCTeX-devel] «global.sty» include, master, subfiles, Mosè Giordano, 2015/03/08
- Re: [AUCTeX-devel] «global.sty» include, master, subfiles,
Uwe Brauer <=
- Re: [AUCTeX-devel] «global.sty» include, master, subfiles, Mosè Giordano, 2015/03/08
- Re: [AUCTeX-devel] «global.sty» include, master, subfiles, Uwe Brauer, 2015/03/08
- Re: [AUCTeX-devel] «global.sty» include, master, subfiles, Mosè Giordano, 2015/03/08
- Re: [AUCTeX-devel] «global.sty» include, master, subfiles, Uwe Brauer, 2015/03/08
- [AUCTeX-devel] [culprit] (was: «global.sty» include, master, subfiles), Uwe Brauer, 2015/03/08
- Re: [AUCTeX-devel] [culprit], Tassilo Horn, 2015/03/08
- Re: [AUCTeX-devel] [culprit], Mosè Giordano, 2015/03/09
- Re: [AUCTeX-devel] [culprit], Tassilo Horn, 2015/03/10
- Re: [AUCTeX-devel] [culprit], Mosè Giordano, 2015/03/10
- Re: [AUCTeX-devel] [culprit], Tassilo Horn, 2015/03/10