[TxMt] Re: (Mulit)Markdown Convert to LaTeX problem

Pete Becker pete at versatilecoding.com
Mon Oct 6 20:36:20 UTC 2008


On Oct 6, 2008, at 4:25 PM, Gerd Knops wrote:

>
> On Oct 6, 2008, at 12:13 PM, Pete Becker wrote:
>
>> On Oct 6, 2008, at 12:26 PM, Gerd Knops wrote:
>>
>>> The conversion to LaTeX replaces any occurrences of '...' to /ldots.
>>> That causes problems if the dots are followed by text, such as
>>>
>>> 	...and then there were three.
>>>
>>> as we and up with '\ldotsand'. Not knowing much of TeX, what is the
>>> proper way to shield a variable from surrounding text?
>>>
>>
>> Just put a space after the macro: \ldots and
>
> Work, thanks. Seems the extra space has no bearing on the resulting
> typographie.
>


Right. Macros swallow whitespace that follows them. That's so you can  
tell them apart from the following text, as in your example. If you  
need the space you have to put in a backslash: '\ldots\ and' would put  
a space between the dots and the 'and'.

   -- Pete

Roundhouse Consulting, Ltd.





More information about the textmate mailing list