[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] Colors, PowerPoint and PDFs

From: Robert Marks
Subject: Re: [Groff] Colors, PowerPoint and PDFs
Date: Fri, 21 Oct 2005 12:17:57 +1000 (EST)

Dear Clarke,

Look at my teaching overheads, at, say,

To get full screen viewing, save the file to disk and open with Acrobat
If the full-screen viewing mode doesn't kick in, choose Full Screen from the
Windows menu.

This file and many others was produced using vi and groff.
Specifically the shell script was
echo "groff -sGpet  -mm -mpresent $2 $1  > $"
groff -sGpet  -mm -mpresent $2  $1 > $
echo "presentps -l <$ >$"
presentps -l <$ >$
echo "ps2pdf $"
ps2pdf $

where mpresent is a presentation macro that I donwloaded from
and ps2pdf is one of many PS to PDF tools.  Note the presentps executable --
can't just output PDF from the groff source to get the effects (such as
revelation) that gpresent allows.  Note too that gpresent is fine-tuned for
the mm macros pakage.

The top of the file looks like this:
.tr ~
.fam H
.ft HB
.BACKGROUND GradY blue8 blue
.DEFCOLOR lblue 0 0 0.9
.defcolor cyn rgb #63BDB5
.defcolor green rgb #52B552
.COLOR white
.ft H
.sp .4i
.\".PSPIC -L X.eps .5i
.\".sp -.1i
.mk R1
.sp -.4i
.tl '\s+5Agent-Based Market Design'R.E. Marks \(co 2005'Page \\nP\s-5'
.sp |\\n(R1u
.\".ft HR
.\".tl 'Agent-Based Market Design'7 July 2005'page \\nP'
.\"Agent-Based Market Design          7 July 2005
Page \\nP
.ti '''%'
delim ``
define CO2 # roman {CO sub 2} #
define SO2 # roman {SO sub 2} #
define NOx # roman {NO sub x} #
.ad l
.S 25
.sp  -2
.ds HF 3 3 3 2
.ds HP +7 +5 +1 +1
.nr H1 1
.TITLE "Agent-Based Market Design"
.S -4
.ce 7
Robert Marks

Australian Graduate School of Management

The commands in CAPS are gpresent commands.
Good luck,

>From: Clarke Echols <address@hidden>
>Subject: [Groff] Colors, PowerPoint and PDFs
>To: address@hidden
>Message-ID: <address@hidden>
>Content-Type: text/plain; charset=us-ascii
>My what talent and experience!  Some real veterans hanging around
>All the tossing of ideas has opened some new ideas for me.
>I'd like to create the equivalent of a PowerPoint presentation
>using PDF or other reasonable display.  It would be nice to
>be able to use the entire screen instead of a window, like
>PowerPoint does.  It has to run on Windows 98 and newer machines.
>[I have trouble justifying the cost of Microsoft Office to get
>a PowerPoint composer.]
>Also, I'd like to control the background color on the entire
>page.  I haven't found a way to do that with groff yet.  I can
>get colored print and fill on drawn spaces using \D... sequences.
>Does groff allow background color control with colored type
>on top (such as yellow print on a blue background?
>Suggestions anyone?

Robert MARKS, Australian Graduate School of Management,
              UNSW SYDNEY, NSW 2052, Australia
Home page:    <>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]