* Fw: side-effects
@ 2000-11-27 13:40 Christopher Tipper
0 siblings, 0 replies; only message in thread
From: Christopher Tipper @ 2000-11-27 13:40 UTC (permalink / raw)
----- Original Message -----
From: "Hans Hagen" <pragma@wxs.nl>
To: "Christopher Tipper" <chris.tipper@e-conomist.fsnet.co.uk>
Sent: Sunday, November 26, 2000 10:05 PM
Subject: Re: side-effects
> At 04:45 PM 11/26/00 -0000, Christopher Tipper wrote:
> >Hi Hans,
> >
> >This is a stupid problem, but I find colors still have side-effects in
> layout. I was hoping to demonstrate this, but then I discover that
> \showmakeup has the same effect as all my color switches, so maybe a
> different problem.
> >
> >Basically I'm trying to make my CV look nice, a good job for Context. The
> constraint is that it has to appear on exactly two pages, so little room
> for side-effects...
> >
> >So attached is the example tex file. Try uncommenting the \showmakeup and
> watch the body "separate" from the header. I get the same effects with the
> color switches in my output cv-test-col.pdf. Any thoughts on what my
> mistake is?
>
> \showmakup is a very dangerous thing, since it redefines low level tex
> primitives. Unless tex the program is changed there is no real
> compatibility in this so indeed some spacing can be messed up. If you want
> testing a another level, use \ruledhbox instead of \hbox, or \showboxes, or
> whatever.
>
> Actually, in your cv you reslly screw up spacing, i would go for (it
> probably shows a few tricks, go for \starttabulate instead of paragraphs).
> I didn't cc to the context list, since it is personal info, but it may be
> instructive for other users too, so i leave it up to you to post it.
>
> \setupoutput
> [pdftex]
>
> \setuppapersize
> [A4][A4]
>
> \setupbodyfont
> [pos,sans,10pt]
>
> \setupcolors
> [state=start]
>
> \setuplayout
> [backspace=1.75cm,width=middle,
> topspace=3cm,header=0cm,height=middle]
>
> \definecolor [DkGreenBlue] [r=.1,g=.5,b=.8]
> \definecolor [MediumBlue] [r=.2353,g=.6314,b=.91]
>
> \definecolor [myheadings] [DkGreenBlue]
> \definecolor [urlcolor] [MediumBlue]
>
> \setupinteraction
> [state=start,
> color=urlcolor,
> style=]
>
> \useURL
> [myemail]
> [mailto:chris.tipper@e-conomist.fsnet.co.uk]
> []
> [chris.tipper@e-conomist.fsnet.co.uk]
>
> \useURL
> [myhomepage]
> [http://www.e-conomist.fsnet.co.uk/ctipper.htm]
> []
> [http://www.e-conomist.fsnet.co.uk/ctipper.htm]
>
> \starttext
> \starttext
>
> \startstandardmakeup
>
> \midaligned{\bfd \myheadings CURRICULUM VITAE}
>
> \blank[2*big]
>
> \starttabulate[|Bl|l|i2Bl|l|]
> \NC Name \EQ Christopher G. D. Tipper \NC
> NI Number \EQ NX xx xx xx x \NC \NR
> \NC Nationality \EQ British Citizen \NC
> Marital Status \EQ xxxxxx \NC \NR
> \NC Home Address \EQ xxxxxxxxx \NC
> Telephone \EQ (xxxxx) xxx xxx \NC \NR
> \NC \NC xxxxxxxx \NC
> \NC \NC \NR
> \NC \NC xx xxxx xxxxxxx \NC
> \NC \NC \NR
> \NC \NC xxxxxxxxxx xxxx xxx \NC
> \NC \NC \NR
> \NC \NC United Kingdom. \NC
> E-mail \EQ \from[myemail] \NC \NR
> \NC Date of Birth \NC xxxxxxxxxxx xxxxxxx, 19xx \NC
> Homepage \EQ \from[myhomepage] \NC \NR
> \stoptabulate
>
> \vfill
>
> \stopstandardmakeup
>
> \stoptext
>
> -------------------------------------------------------------------------
> Hans Hagen | PRAGMA ADE
> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
> -------------------------------------------------------------------------
>
>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-11-27 13:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-27 13:40 Fw: side-effects Christopher Tipper
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).