ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: David Arnold <darnold@northcoast.com>
Subject: Nasty!
Date: Mon, 31 Jul 2000 16:58:30 -0700	[thread overview]
Message-ID: <3.0.5.32.20000731165830.009b8ae0@mail.northcoast.com> (raw)

All,

I've gotten hung up on this one big time at least twice in the last week.
One would expect that the following file would put the text on a light gray
background. It does not occur as predicted. Now, comment out the \showframe
command and voila! Light gray background for the text!

Nasty!

\setuppapersize[S6][S6]

\setuplayout
[header=0cm,
 topspace=.5cm,
 backspace=2cm,
 margindistance=0.5cm, %0.5cm
 margin=1cm,
 rightmargin=0.0cm, %0.0cm
 rightedge=2.0cm, %rightedge=2.0cm
 edgedistance=0.5cm, %edgedistance=0.5cm
 width=fit,
 footer=1cm,
 height=middle]

\setupbodyfont[lbr]

\setuphead
 [chapter]
 [alternative=inmargin,
  number=no,
  ownnumber=yes,
  after={\blank[3*medium]}]

\setupfootertexts
 [text]
 [chapter][chapternumber]

\setupcolors[state=start]

\setuptyping
 [option=tex]

\setupinteraction
 [state=start,
  style=,
  color=,
  contrastcolor=,
  menu=on,
  title=ConTeXt Demo Suite,
  author=Hans Hagen]

\definecolor[DarkGray][s=0.6]
\definecolor[MediumGray][s=0.8]
\definecolor[LightGray][s=0.9]

\setupinteractionmenu
 [right]
 [background=color,
  backgroundcolor=LightGray,
  frame=on,
  state=start]

\startinteractionmenu[right]
 \but [content] Contents \\
 \but [sample] Sample \\
 \but [PreviousJump] Back \\
 \but [CloseDocument] Exit \\
 \vfill
\stopinteractionmenu

\setupbackgrounds[page]
 [background=color,
  backgroundcolor=MediumGray]

\setupbackgrounds
 [text][text]
 [background=color,
  backgroundcolor=LightGray,
  backgroundoffset=1.25mm]

\showframe

\starttext

\chapter{One}
\starttyping
\showframe
\stoptyping

\dorecurse{5}{\input tufte\par}

\chapter{Two}
\dorecurse{5}{\input tufte\par}

\chapter{Three}
\dorecurse{5}{\input tufte\par}

\stoptext

-
David Arnold
College of the Redwoods
Mathematics Department
7351 Tompkins Hill Road
Eureka, CA 95501
(707) 476-4222

My Home Page
http://online.redwoods.cc.ca.us/instruct/darnold/index.htm

Ordinary Differential Equations Using Matlab
http://www.prenhall.com/books/esm_0130113816.html


             reply	other threads:[~2000-07-31 23:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-31 23:58 David Arnold [this message]
2000-08-01  6:56 ` Nasty! 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=3.0.5.32.20000731165830.009b8ae0@mail.northcoast.com \
    --to=darnold@northcoast.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).