ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Sanjoy Mahajan <sanjoy@mrao.cam.ac.uk>
Subject: environment files and indenting
Date: Mon, 07 Aug 2006 14:55:14 -0400	[thread overview]
Message-ID: <E1GAAFu-0005KJ-NX@approximate.corpus.cam.ac.uk> (raw)

Not sure what I'm doing wrong here, but this is the minimal example I
could make.  The environment file ne.tex contains

\startenvironment ne
\setupindenting[medium,yes]
\stopenvironment

And the test file is

\environment ne
\starttext
\placeformula\startformula
x = 10
\stopformula
\stoptext

texexec'ing test.tex says:

Overfull \hbox (17.62474pt too wide) in paragraph at lines 4--4
[][] 

But if I inline the environment file, to get

\startenvironment ne
\setupindenting[medium,yes]
\stopenvironment
\starttext
\placeformula\startformula
x = 10
\stopformula
\stoptext

then texexec doesn't produce any overfull \hbox.

My guess is that the 17.6247pt overage is the amount of medium
indenting, and somehow the display math mode is getting confused and
trying to indent itself?

-Sanjoy

             reply	other threads:[~2006-08-07 18:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-07 18:55 Sanjoy Mahajan [this message]
2006-08-08  9:33 ` Taco Hoekwater
2006-08-08 11:53   ` Sanjoy Mahajan
2006-08-08 13:21     ` Taco Hoekwater
2006-08-08 16:23       ` Sanjoy Mahajan
2006-08-08 17:46         ` Taco Hoekwater

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=E1GAAFu-0005KJ-NX@approximate.corpus.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).