I'm getting Whitespace before punctuation mark in " ." when I'm trying to enter the word .Net with whitespace before it.
How can I fix that? What's the proper way of entering a . with whitespace preceding it?
I'm getting Whitespace before punctuation mark in " ." when I'm trying to enter the word .Net with whitespace before it.
How can I fix that? What's the proper way of entering a . with whitespace preceding it?
You're doing it right... as opposed to You're doing it wrong...
Depending on your workflow, it seems you're including lacheck. From the lacheck documentatation:
"...Sequences of whitespace followed by punctuation marks are also caught."
The output (warnings) from lacheck is filled with suggestions or guidelines to help improve typesetting and doesn't matter in this particular case. It's just a warning here and should not deter you from your typesetting adventures. In fact, the following is taken from the BUGS section of the documentation:
lacheckgets confused by advanced macros, is fooled by simple macros, can't figure out if you use a non-standard way to switch italic on or off, does not like TeX at all, does not provide any options to turn off specific warnings, and is at best a crude approximation.
So I'll stress again, you're doing it right when you consider dropping it from your regular workflow.
.is a normal character sothis is .NETwould have a word-space before.NETwhat problem did you get? – David Carlisle Oct 04 '13 at 18:05this is\space.Net– David Carlisle Oct 04 '13 at 20:23\newcommand{\dotnet}{.Net}would solve. As well as avoidingvim.;-)– egreg Oct 04 '13 at 20:37