The goal of this package is to integrate some existing Emacs packages as it was previously done in the pln-auctex file. This integration require a supplementary layer for certain tasks. These layer were previously dispatched in independent systems. Anyway we come to the conclusion that an upper layer containing in particular utilities and settings used by all the packages should integrate these packages. However they still remain independents so that one of them might be used without using the other ones.
This package is an attempt to reimplement the AUCTeX TeX Style System. Indeed I noticed that there were problems especially with very large documents sharing many files. Thus if you are used to have your document source in a single big TEX file, you’ll probably not be interested in this system.
The known problems were in particular a non one to one correspondance between TEX files and their associated so called AUCTeX styles. Indeed styles were not fully featured objects allowing a good correspondance. They are replaced by objects without saying at this point what these objects are.
Anyway, the crucial point for the one who will try to use this new system, is that it is compatible in ONE WAY ONLY with the original AUCTeX TeX Style System. It means that Tss will be abel to understand your old .el files (in auto of style subdirectories). But if new information about the TEX file need to be recorded, a new .el file will be created. The latter won’t be compatible with the old TeX Style System. Hence if you plan to go back to the old system, you’d beter find a way to save your .el files somewhere.
I would greatly appreciate any suggestion or comment. You can checkout the code
without any restriction. If you want to contribute and checkin write to devel to obtain a password.
These implementation of the TeX Style System requires emacs 24.0.50 since objects are implemented using eieio which is part of this emacs version. Anyway if you can use eieio with previous versions of emacs it should work.
Tss is known to work well with latter cvs version of AUCTeX.
Since this code is still a work in progress, there’s no tarball neither deb rpm or whatever packagin available. Hence if you want to use this package, you must be able to checkout from the svn repository :
Then simply enter the directory created by checking out and type
Finally add following lines in your .emacs file (replacing
“/usr/local/share/emacs/site-lisp/Tss” by the location of
the code :
;;; – – Tss
(add-to-list ’load-path "/usr/local/share/emacs/site-lisp/Tss")
’("tex.el" . ((require ’Tss-TeX-remap))))
’("latex.el" . ((require ’Tss-LaTeX-remap))))
(add-hook ’LaTeX-mode-hook (lambda ()
;;; – – End Tss
Restart your emacs. All parsing and style loading will be done automatically. Anyway if you want to force your auto/file.el files to be regenerated simply type
within the file.tex file.
Tracking the project history will help to highlight the main functionality and features. This section will probably serve as technical notes as well hence is probably not really a user section but more a developer section.
Tss is now implemented as a PlnLTX subpackage. It was before an independent project whose history might be tracked through the svn repository at http://pollock-nageoire.net/emacs/Tss. It was developed until revision 69 but will probably no longer be maintained. In place we will develop the PlnLTX embedded version. But it will be strictly compatible with the prvious implementation since this new packaging is only a new packaging but not a new implementation philosophy. In particular all the previously created .el files should be usable with the newly packaged project.
In fact I think that, according to the place where it is found, it should correspond to different thinkgs. More precisely a style package or a document. In particular when looking for the .el file corresponding to a document or a piece of document should it be searched in TeX-style-private or not. Default AUCTeX behavior is yes and Tss behavior is no. For document or pieces of document Tss only searches .el files in TeX-auto-loacl and TeX-style-local. Anyway we certainly should allow user to customize this behavior.
For instance if you name a document or document part import.tex AUCTeX will look for the import.elc file in TeX-style-private even if you do not want to activate import support.
|Apache/2.4.38 (Unix) PHP/7.3.2 SVN/1.11.1|