[tex4ht] unwanted non-breaking space after \
Beuthe, Thomas
beuthet at aecl.ca
Wed Sep 29 18:28:34 CEST 2010
UNRESTRICTED | ILLIMITÉ
You might want to have a look at what the xspace package can do for you.
-----Original Message-----
From: tex4ht-bounces at tug.org [mailto:tex4ht-bounces at tug.org] On Behalf Of Michael A. Allen
Sent: September-29-10 12:26 PM
To: Radhakrishnan CV
Cc: tex4ht at tug.org
Subject: Re: [tex4ht] unwanted non-breaking space after \
Thanks for the quick reply - but I think you are wrong about \ being
non-breaking. See http://www.ics.uci.edu/~pan/documents/latex/ltx-143.html
for example - it says \ and {} are equivalent. Sorry I couldn't come up
with a more authoritative reference. Anyway, using {} instead of \ with
tex4ht does result in an ordinary space in the html code.
The following example demonstrates that the space after \LaTeX\ is
breakable:
\documentclass{article}
\begin{document}
A \hspace{7cm} bla bla bla 20~km \LaTeX\ rules bla bla
\end{document}
> '\ ' is non-breaking space. You might use '\LaTeX{} ' instead of '\LaTeX\ '.
CONFIDENTIAL AND PRIVILEGED INFORMATION NOTICE
This e-mail, and any attachments, may contain information that
is confidential, subject to copyright, or exempt from disclosure.
Any unauthorized review, disclosure, retransmission,
dissemination or other use of or reliance on this information
may be unlawful and is strictly prohibited.
AVIS D'INFORMATION CONFIDENTIELLE ET PRIVILÉGIÉE
Le présent courriel, et toute pièce jointe, peut contenir de
l'information qui est confidentielle, régie par les droits
d'auteur, ou interdite de divulgation. Tout examen,
divulgation, retransmission, diffusion ou autres utilisations
non autorisées de l'information ou dépendance non autorisée
envers celle-ci peut être illégale et est strictement interdite.
More information about the tex4ht
mailing list