l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2002 Sep 09 22:56

The following is an archive of a post made to our 'vox mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox] [oualline@ftp.oualline.com: Re: Typesetting Vi IMproved - Vim]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox] [oualline@ftp.oualline.com: Re: Typesetting Vi IMproved - Vim]


ok, this is only slightly less embarrasing than running a lugod meeting
with my fly open would be (which thankfully has never happened).

steve oualline must think i'm the biggest idiot alive.  i _swear_ the
fonts for his book really look like tex fonts!

oh well.  i never heard of quark; i assume it's a windows thingie.
guess i inadvertantly dissed latex with this email.  oof.


----- Forwarded message from Stephen Oualline <oualline@ftp.oualline.com> -----

Date: Mon, 9 Sep 2002 20:02:44 -0700 (PDT)
From: Stephen Oualline <oualline@ftp.oualline.com>
To: Peter Jay Salzman <p@dirac.org>
Subject: Re: Typesetting Vi IMproved - Vim

Created in Microsoft Word and imported into Quark Express.

On Mon, 9 Sep 2002, Peter Jay Salzman wrote:

> Dear Steve,
> I'm a big fan of your Vim and Practical C books.  I'm currently writing
> a good on debugging, and would like like to ask you a question about
> typesetting your Vim book.  The book looks like it was typeset using
> latex, which is what I'm using.
> One of the things I like best about your book are the arrows that show,
> for example, the path that the cursor follows for various cursor
> movement commands.
> Using pstricks, I've been able to implement arrows too, but it requires
> visual markup -- painful trial and error.  And lord forbid I change the
> font size of something; everything needs to be redone by hand.
> for instance:
>    \begin{figure}[H]
>    \begin{pspicture}(0,0)(3,3)
>    \psset{unit=.4cm}
>    \Put{6} {void swapper(int *a, int *b)}
>    \Put{5} {\{}
>    \PPut{4}{int c = *a;}
>    \PPut{3}{*a = *b;}
>    \PPut{2}{*b = c;}
>    \PPut{1}{printf("swapped!\Backslash{n}");}
>    \Put{0} {\}}
>    \rput[l](15.0,4.0){next 3}
>    \MyBezier{7.0}{4.0} {22.0}{3.5} {20.0}{2.5} {12.5}{1.0}
>    \end{pspicture}
>    \label{fig:next3}
>    \caption{\Next}
>    \end{figure}
> PPut and MyBezier are my own macro commands that "tidies" things up.
> You can imagine what kind of mess this would be otherwise!  But still,
> MyBezier requires that I use trial and error to compute the curved
> arrow.
> How did you do this for your book?  Please tell me if you have a macro
> that does this very thing!  It would make life so much more pleasant
> if I had a way to automate this...
> Thanks!  Pete

----- End forwarded message -----

Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D
vox mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.