From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: I'd like to study...
Date: Tue, 04 Sep 2001 12:07:56 +0200 [thread overview]
Message-ID: <5.1.0.14.1.20010904120036.02be0e80@server-1> (raw)
In-Reply-To: <3.0.5.32.20010901153932.008939f0@mail.northcoast.com>
At 03:39 PM 9/1/2001 -0700, David Arnold wrote:
>Hans,
>
>I'd like to look at the source code for some of these mini manuals you've
>been writing, the ones with the cool covers. For example, mtexutil.pdf.
>
>Do you think I could see it so I could study your style definition?
So, do you really think that much code is involved to get something like that?
to start with:
\setupcolors
[state=start]
\setupbodyfont
[lbr,11pt]
\setuplayout
[footer=0cm,
width=middle,
height=middle]
\setupfloats
[ntop=100]
\definecolor [NopColor] [....]
\definecolor [AltColor] [....]
\definecolor [TheColor] [....]
\setupwhitespace
[big]
\setuptolerance
[tolerant]
\setupitemize
[each]
[color=TheColor]
\definedescription
[switch]
[headstyle=type,
headcolor=TheColor,
location=serried,
width=broad]
\defineenumeration
[topic]
[location=serried,
width=broad,
headstyle=,
headcolor=TheColor,
text=,
left={[},
right={]}]
\setuphead
[section]
[style=\ss\bfb,
color=TheColor]
\setuptype
[color=AltColor]
\setuptyping
[color=AltColor]
\setuptabulate
[rulethickness=.5pt,
rulecolor=AltColor]
\setuptables
[rulethickness=.5pt,
rulecolor=AltColor]
\setupframedtexts
[rulethickness=.5pt,
framecolor=TheColor,
width=\textwidth]
\setuplist
[section]
[alternative=c,
color=TheColor,
textcolor=black,
pagecolor=black]
The title page is something like (I admit that it's ugly code):
\def\TitlePage#1#2#3#4#5% nummer hoek titel auteur screen
{\defineoverlay
[logo]
[{\externalfigure
[somempfile.#1]
[width=\overlaywidth,height=\overlayheight]}]
\setupbackgrounds
[page]
[background=logo]
\definecolor[Gray][s=#5]
\startstandardmakeup
\BigFont \setupinterlinespace \vfill \setupalign[left] \let\\=\par
\noindent\color[Gray]{#3}\par
\stopstandardmakeup
\setupbackgrounds
[page]
[background=]}
and the colofonpage is a standard pragma thing
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
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
-------------------------------------------------------------------------
parent reply other threads:[~2001-09-04 10:07 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <3.0.5.32.20010901153932.008939f0@mail.northcoast.com>]
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=5.1.0.14.1.20010904120036.02be0e80@server-1 \
--to=pragma@wxs.nl \
--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).