[NTG-context] \dontleavehmode and indenting after section (was Re: Context 2006.08.04 released)
Sanjoy Mahajan
sanjoy at mrao.cam.ac.uk
Tue Aug 8 20:42:03 CEST 2006
Taco wrote:
> > Right in front of my nose (I was looking in the source files for a
> > line that needed a % at the end). Is it because tex is still in
> > horizontal mode thanks to the \dontleavehmode, and also because spaces
> > after } are not ignored automatically?
>
> The answer is yes (the new release has a patch for this by adding
> \ignorespaces at the end of the \section command).
In my plain-TeX days I used \ignorespaces all over in definitions of
\section and \subsection for that purpose. Eventually that and other
formatting code got too messy (the worst was after I hacked up a \url
macro). So rather than reinvent many wheels badly, I switched to
ConTeXt.
So thanks for the rapid fixes, to that one and to the overfull hbox
from the indented \strut.
-Sanjoy
`Never underestimate the evil of which men of power are capable.'
--Bertrand Russell, _War Crimes in Vietnam_, chapter 1.
More information about the ntg-context
mailing list