From: Sanjoy Mahajan <sanjoy@mrao.cam.ac.uk>
Subject: Re: \dontleavehmode and indenting after section (was Re: Context 2006.08.04 released)
Date: Tue, 08 Aug 2006 19:42:03 +0100 [thread overview]
Message-ID: <E1GAWWh-0004VF-00@skye.ra.phy.cam.ac.uk> (raw)
In-Reply-To: Your message of "Tue, 08 Aug 2006 19:47:22 +0200." <44D8CE2A.3030600@elvenkind.com>
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.
next prev parent reply other threads:[~2006-08-08 18:42 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-07 9:07 Context 2006.08.04 released Taco Hoekwater
2006-08-07 9:28 ` Renaud AUBIN
2006-08-08 10:59 ` Hans Hagen
2006-08-08 12:10 ` Renaud AUBIN
2006-08-08 12:22 ` Hans Hagen
2006-08-08 12:51 ` Renaud AUBIN
2006-08-07 11:13 ` Nicolas Grilly
2006-08-07 11:47 ` Taco Hoekwater
2006-08-07 13:56 ` Nicolas Grilly
2006-08-07 14:07 ` Taco Hoekwater
2006-08-07 14:22 ` Nicolas Grilly
2006-08-07 14:25 ` Renaud AUBIN
2006-08-07 14:36 ` Taco Hoekwater
2006-08-07 14:23 ` Renaud AUBIN
2006-08-07 15:33 ` Taco Hoekwater
2006-08-07 16:36 ` Nicolas Grilly
2006-08-07 16:46 ` Taco Hoekwater
2006-08-07 18:16 ` Nicolas Grilly
2006-08-08 9:27 ` Taco Hoekwater
2006-08-08 11:00 ` Nicolas Grilly
2006-08-07 11:40 ` Sanjoy Mahajan
2006-08-07 11:46 ` Taco Hoekwater
2006-08-07 11:47 ` Taco Hoekwater
2006-08-07 20:59 ` Hans Hagen
2006-08-07 21:41 ` Sanjoy Mahajan
2006-08-08 9:12 ` Hans Hagen
2006-08-08 12:34 ` \dontleavehmode and indenting after section (was Re: Context 2006.08.04 released) Sanjoy Mahajan
2006-08-08 12:54 ` Taco Hoekwater
2006-08-08 16:24 ` Sanjoy Mahajan
2006-08-08 17:47 ` Taco Hoekwater
2006-08-08 18:42 ` Sanjoy Mahajan [this message]
2006-08-07 19:49 ` Context 2006.08.04 released Idris Samawi Hamid
2006-08-07 20:53 ` Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1GAWWh-0004VF-00@skye.ra.phy.cam.ac.uk \
--to=sanjoy@mrao.cam.ac.uk \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).