Article View: comp.text.tex
Article #12147Re: wanted: latex2e doc (ltxdoc) emacs major mode
From: Matthew Swift
Date: Mon, 14 Nov 1994 13:48
Date: Mon, 14 Nov 1994 13:48
17 lines
1796 bytes
1796 bytes
Thanks for the recommendation. What I need, however, as my subject line says, is a major mode for producing "doc" or "ltxdoc" documents, which are not normal latex2e, but the variant used to document latex macros with a latex document, such that both are contained in the same source file. You may look at one of the .dtx files in the base distribution for an example. A good major mode for this kind of document should recognize that there is latex code behind most of the comments. There need to be new filling functions, and a new list of parseps and parstarts. auctex seems to have some interesting filling and indenting, but nothing general enough to be adapted (without coding) to doc documents. (I like auctex for these, and the etags interface, but i don't use the mode since I feel it eats too many resources for what amounts to simply ways to save typing.)
Technical Details
Message-ID:
<SWIFT.94Nov14084843@acs3.bu.edu>Path:
arc1-ca.pugleaf.net!nntp.gmd.de!xlink.net!howland.reston.ans.net!gatech!bloom-beacon.mit.edu!news.bu.edu!nntp.bu.edu!swiftReferences:
<SWIFT.94Nov5162243@acs4.bu.edu> <39nuu0$8ni@news.uni-c.dk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f9e16,35cd6a61fcac81e2 X-Google-Attributes: gidf9e16,public X-Google-Thread: 103b8b,35cd6a61fcac81e2 X-Google-Attributes: gid103b8b,public X-Google-ArrivalTime: 1994-11-14 06:56:18 PST Path: arc1-ca.pugleaf.net!nntp.gmd.de!xlink.net!howland.reston.ans.net!gatech!bloom-beacon.mit.edu!news.bu.edu!nntp.bu.edu!swift From: swift@bu.edu (Matthew Swift) Newsgroups: comp.text.tex,gnu.emacs.help Subject: Re: wanted: latex2e doc (ltxdoc) emacs major mode Followup-To: comp.text.tex,gnu.emacs.help Date: 14 Nov 1994 13:48:43 GMT Organization: The University Professors, Boston University, Boston MA USA Lines: 20 Message-ID: <SWIFT.94Nov14084843@acs3.bu.edu> References: <SWIFT.94Nov5162243@acs4.bu.edu> <39nuu0$8ni@news.uni-c.dk> Reply-To: swift@bu.edu NNTP-Posting-Host: acs3.bu.edu In-reply-to: schiotz@oersted's message of 8 Nov 1994 13:37:04 GMT