[OS X TeX] avoid space when pasting in TeXShop

Justin C. Walker justin at mac.com
Fri Mar 31 11:36:54 EST 2006


On Mar 31, 2006, at 07:08 , Charilaos Skiadas wrote:

> On Mar 31, 2006, at 8:36 AM, Jan Hegewald wrote:
>
>> Hello all,
>> when I paste a word in TeXShop's editor there is sometimes a space  
>> character (" ") inserted before or behind the word. This is kind  
>> of a feature when one inserts a new word into a sentence. But is  
>> really annoying when the space is inserted where none should be.
>> Example:
>> - copy the word "TEST" so you can paste it later
>> - pasting into "foo bar" gives "foo TEST bar"  % great, I don't  
>> need to add the additional space myself
>> - pasting into "\ref{fig:foo}" gives "\ref{fig: TEST foo}"  % this  
>> is bad and really time consuming to fix
>
> I am not seeing this feature, in fact I don't think I've ever seen  
> anything like that. But what I have noticed very often, and what is  
> kind of a known issue, is that whenever you select some text with  
> the mouse, an extra space is often selected, especially when you  
> select from left to right. Maybe this is what you are noticing?
>
> If you really are selecting the word TEST with the keyboard and you  
> still get an extra space, then perhaps you have some special input  
> managers installed?

FWIW, here is what I see:
  - if you carefully select TEST by clicking on the first (say)  
letter and dragging to the last, pasting will *not* include spaces.
  - if you double-click TEST, and TEST is a word by itself (spaces/ 
newlines surround it), then pasting *will* include the spaces.

Regards,

Justin

--
Justin C. Walker, Curmudgeon at Large
Institute for the Absorption of Federal Funds
-----------
I'm beginning to like the cut of his jibberish.
-----------



------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the MacOSX-TeX mailing list