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 | [EMAIL PROTECTED]
                       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
-------------------------------------------------------------------------

Reply via email to