jed-users mailing list

[2011 Date Index] [2011 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: [Jed-users-l] [PATCH] TeX mode: Replace three dots by \ldots instead of {\ldots}


On Thu, 12 May 2011 at 22:33:02 +0200, Guenter Milde wrote:
> On 12.05.11, Carlos R. Mafra wrote:
> 
> > So change the automatic replacement of ... from {\ldots} to \ldots
> > in jed's TeX mode to fix this problem.
> 
> Unfortunately, this will lead to gobbled spaces in TeX' text mode:
> 
> 
> \documentclass{minimal}
> \frenchspacing
> \begin{document}

...

> \end{document}
>  

Oh, 'plain TeX' does not allow \ldots in text mode, only in math mode.

I didn't know 'latex' allowed that, so I wasn't even thinking about
math x text modes. Thanks for pointing this out.

> so we might need to distinguish text and math mode (unless you prefer
> the "dense" variant).

Given this difference between plain TeX and LaTeX, this would be preferred.
I use plain TeX and mostly in math mode, so having {\ldots} really causes
me troubles and that motivated the patch.

But I'm not capable of refining the logic of texcom.sl to distinguish 
between math and text modes, so I'll simply use my patch here.
_______________________________________________
Jed-users-l mailing list
Jed-users-l@xxxxxxxx
http://mailman.jtan.com/mailman/listinfo/jed-users-l


[2011 date index] [2011 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]