ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Kip Warner <kip@thevertigo.com>
To: Wolfgang Schuster <wolfgang.schuster@gmail.com>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Euler Constant and limit
Date: Tue, 27 Nov 2012 16:21:04 -0800	[thread overview]
Message-ID: <1354062064.25071.28.camel@rommel> (raw)
In-Reply-To: <2DB60702-480E-41EA-BECB-86323EE64668@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1932 bytes --]

On Tue, 2012-11-27 at 08:06 +0100, Wolfgang Schuster wrote:
> Better define a complete set which includes also serif and sans.
> Afterwards you have to enable it with \setupbodyfont[…].

Hey Wolfgang. The reason why I hadn't done that is I didn't want to
overwrite the selected typeface I was using already for the main body
font. Isn't that what \setupbodyfont[mainface] would do?

In any case, when I add the following to my environment file...

\definetypeface[mainface][rm][serif][modern] [default][designsize=auto]
\definetypeface[mainface][ss][sans] [modern] [default][designsize=auto]
\definetypeface[mainface][tt][mono] [modern] [default][designsize=auto]
\definetypeface[mainface][mm][math] [pagella]
\setupbodyfont[mainface]

...I end up with the following error which, as usual, I don't
understand:

Underfull \hbox (badness 10000) in paragraph at lines 62--64

! Math error: parameter \Umathfraction_rule\displaystyle is not set.
\stopdisplaymath ->\stopinnermath $$
                                    \par \afterdisplayspace \par
\egroup 
\strc_formulas_stop_formula ...native \v!formula }
                                                  \dostoptagged
\dostoptagge...
l.69 \stopformula
                 
E
? You want to edit file Terms_and_Concepts/Terms_and_Concepts.tex at
line 69

Here is the suspect file:

<https://bazaar.launchpad.net/~avaneya/avaneya/trunk/view/head:/Documentation/Contributors/Handbook/Terms_and_Concepts/Terms_and_Concepts.tex>

> \placeformula[formula:Limit of Verhulst equation]
> \startformula
> \lim_{t\to\infty} P(t) = K.
> \stopformula

So what you are saying is that there is no need for \math whenever the
formulas are bracketed with \start and \stopformula? I will give this a
try as soon as I can get the book to compile.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

      reply	other threads:[~2012-11-28  0:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-25  1:13 Kip Warner
2012-11-25  9:37 ` Wolfgang Schuster
2012-11-25 20:46   ` Kip Warner
2012-11-25 21:15     ` Wolfgang Schuster
2012-11-25 21:17     ` Wolfgang Schuster
2012-11-27  6:39       ` Kip Warner
2012-11-27  7:06         ` Wolfgang Schuster
2012-11-28  0:21           ` Kip Warner [this message]

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=1354062064.25071.28.camel@rommel \
    --to=kip@thevertigo.com \
    --cc=ntg-context@ntg.nl \
    --cc=wolfgang.schuster@gmail.com \
    /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).