* autofill for tex modes
@ 2005-04-15 16:32 Joe Corneli
0 siblings, 0 replies; 4+ messages in thread
From: Joe Corneli @ 2005-04-15 16:32 UTC (permalink / raw)
Does anyone know of an autofill (or `fill-individual-paragraphs' type
of function, alternatively & maybe preferably) that works in LaTeX
modes? I might have written a question about this a couple years ago.
The issue is to avoid messing up the formatting of e.g. large arrays,
while still having "most" lines be 70 characters long or less. I
think I can write this pretty easily, but if it exists already, that's
even easier.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: autofill for tex modes
[not found] <mailman.1660.1113582894.2895.help-gnu-emacs@gnu.org>
@ 2005-04-15 16:44 ` David Kastrup
2005-04-15 17:31 ` Joe Corneli
0 siblings, 1 reply; 4+ messages in thread
From: David Kastrup @ 2005-04-15 16:44 UTC (permalink / raw)
Joe Corneli <jcorneli@math.utexas.edu> writes:
> Does anyone know of an autofill (or `fill-individual-paragraphs' type
> of function, alternatively & maybe preferably) that works in LaTeX
> modes? I might have written a question about this a couple years ago.
> The issue is to avoid messing up the formatting of e.g. large arrays,
> while still having "most" lines be 70 characters long or less. I
> think I can write this pretty easily, but if it exists already, that's
> even easier.
AUCTeX <URL:http://www.gnu.org/software/auctex>
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: autofill for tex modes
2005-04-15 16:44 ` autofill for tex modes David Kastrup
@ 2005-04-15 17:31 ` Joe Corneli
2005-04-15 17:54 ` Joe Corneli
0 siblings, 1 reply; 4+ messages in thread
From: Joe Corneli @ 2005-04-15 17:31 UTC (permalink / raw)
Joe Corneli <jcorneli@math.utexas.edu> writes:
> Does anyone know of an autofill (or `fill-individual-paragraphs' type
> of function, alternatively & maybe preferably) that works in LaTeX
> modes? I might have written a question about this a couple years ago.
> The issue is to avoid messing up the formatting of e.g. large arrays,
> while still having "most" lines be 70 characters long or less. I
> think I can write this pretty easily, but if it exists already, that's
> even easier.
AUCTeX <URL:http://www.gnu.org/software/auctex>
Is there an easy way to get LaTeX-fill-buffer from AUCTeX to ignore
comment blocks whenever they are encountered?
Currently, running it on a file with this header:
%%% This file is part of PlanetMath snapshot of 2005-02-15
%%% Primary Title: order of operations
%%% Primary Category Code: 00A99
%%% Filename: OrderOfOperations.tex
%%% Version: 3
%%% Owner: akrowne
%%% Author(s): akrowne
%%% PlanetMath is released under the GNU Free Documentation License.
%%% You should have received a file called fdl.txt along with this file.
%%% If not, please write to gnu@gnu.org.
Gave me a file with _this_ header:
%%% This file is part of PlanetMath snapshot of 2005-02-15 Primary Title: order
%%% of operations Primary Category Code: 00A99 Filename: OrderOfOperations.tex
%%% Version: 3 Owner: akrowne Author(s): akrowne PlanetMath is released under
%%% the GNU Free Documentation License. You should have received a file called
%%% fdl.txt along with this file. If not, please write to gnu@gnu.org.
The rest of this function's behavior seems to be just what I want.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: autofill for tex modes
2005-04-15 17:31 ` Joe Corneli
@ 2005-04-15 17:54 ` Joe Corneli
0 siblings, 0 replies; 4+ messages in thread
From: Joe Corneli @ 2005-04-15 17:54 UTC (permalink / raw)
The rest of this function's behavior seems to be just what I want.
Or close, anyway. I also noticed that it maps
\documentclass[12pt]{article}
\begin{document}
to
\documentclass[12pt]{article} \begin{document}
which isn't quite ideal.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-04-15 17:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.1660.1113582894.2895.help-gnu-emacs@gnu.org>
2005-04-15 16:44 ` autofill for tex modes David Kastrup
2005-04-15 17:31 ` Joe Corneli
2005-04-15 17:54 ` Joe Corneli
2005-04-15 16:32 Joe Corneli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).