Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!nic.MR.NET!xanth!uunet!steinmetz!phecda!halvers From: halvers@phecda.steinmetz (Pete Halverson) Newsgroups: gnu.emacs Subject: Re: Fill-paragraph with TeX. Message-ID: <13226@steinmetz.ge.com> Date: 23 Feb 89 14:11:39 GMT References: <8902221933.AA23116@prep.ai.mit.edu> Sender: news@steinmetz.ge.com Reply-To: halvers@phecda.steinmetz.ge.com (Pete Halverson) Lines: 19 In article sps@magoo.mcnc.org (Stephen P. Schaefer) writes: > If I remember my TeX correctly, you could keep the \'s of word > entities (things that should be embedded in a paragraph, and not start > it) from starting a line by surrounding the construct with a no-op > pair of braces, e.g., {\my-abrev}. Almost. Note that braces define a dynamic scoping environment which might otherwise hide the effects of your command---something like {\bf} is thus effectively a no-op in TeX, and is probably not what the user wanted. A better way is to precede the "word" commands with an empty group, e.g. {}\my-abrev, which should be sufficient to placate the paragraph fill routines while preserving environment scope. > A nuisance, yes, but normally infrequent enough that the price is low > in return for the ability to recognize paragraph beginnings. Good point, though. Thanks for suggesting it. > Stephen P. Schaefer, Postmaster MCNC