Pickaxe with pics?

Rasputins theorem: In the infinite universe of online versions of the
Pickaxe there exists one with illustrations.

Can anyone illustrate a proof to the above?

Dick Davies wrote:

Rasputins theorem: In the infinite universe of online versions of the
Pickaxe there exists one with illustrations.

Can anyone illustrate a proof to the above?

TIP: I’ve bought this book recently. I has all illustrations in it. :slight_smile:

/kent

I suspect not, unless they’re good with a pen… :slight_smile:

I never managed to convert the (somewhat arcane) illustrations into
bitmap images for online use: after spending almost 3 weeks converting
the Tex to HTML (no, the existing tools couldn’t do it) I ran out of
steam.

Cheers

Dave

···

On Mar 2, 2004, at 8:16, Dick Davies wrote:

Rasputins theorem: In the infinite universe of online versions of the
Pickaxe there exists one with illustrations.

Can anyone illustrate a proof to the above?

Check http://home.vr-web.de/juergen.katins/ruby/buch/
I don’t understand German but could download the figures and enhance my
local copy with them.

Hth.

···

On Tue, 02 Mar 2004 23:16:43 +0900, Dick Davies wrote:

Rasputins theorem: In the infinite universe of online versions of the
Pickaxe there exists one with illustrations.

Can anyone illustrate a proof to the above?

Dave Thomas wrote:

Rasputins theorem: In the infinite universe of online versions of the
Pickaxe there exists one with illustrations.

Can anyone illustrate a proof to the above?

I suspect not, unless they’re good with a pen… :slight_smile:

Or don’t have the emotional baggage connecting them to the TeX source
along with an automating mindset hindering them from ditching it in
favour of a non-automated quick hack. :slight_smile:

ruby.no

Unfortunately you didn’t specify that of the subset of infinite online
versions, you wanted an english one. :stuck_out_tongue:

I borrowed some of the images of the german version and have gradually
added my own versions using Dia, but I’m still not done (cause I’m lazy)
and the quality is questionable.

The dia-files are available at:

if anyone wants to modify them and chuck them into an english version.

···

On Mar 2, 2004, at 8:16, Dick Davies wrote:


([ Kent Dahl ]/)_ ~ [ http://www.pvv.org/~kentda/ ]/~
))_student_/(( _d L b_/ Master of Science in Technology )
( __õ|õ// ) ) Industrial economics and technology management (
_
/ö____/ (_engineering.discipline=Computer::Technology)

Kent S. wrote:

Dick Davies wrote:

Rasputins theorem: In the infinite universe of online versions of the
Pickaxe there exists one with illustrations.

Can anyone illustrate a proof to the above?

TIP: I’ve bought this book recently. I has all illustrations in it. :slight_smile:

I have one but its hard to instant message it to someone.

We’re in the middle of another highbrow programming language
point-counterpoint

( ‘Java is teh gay’ )

and I needed to explain that whole metaclass thing in the
‘Classes and Objects’ chapter. It makes a lot more sense with pics.

Thanks for the links everyone sent, they’ll do great.

Tomorrow I’ll bring in the dead tree version and start whapping
people round the head with it.

Xavier wrote:

···

On Tue, 02 Mar 2004 23:16:43 +0900, Dick Davies wrote:

Rasputins theorem: In the infinite universe of online versions of the
Pickaxe there exists one with illustrations.

Can anyone illustrate a proof to the above?

Check http://home.vr-web.de/juergen.katins/ruby/buch/
I don’t understand German but could download the figures and enhance my
local copy with them.

Hth.

There is an English version of it at the same site also, but you have to
download it.

http://home.vr-web.de/juergen.katins/ruby/downloads/index.html

Thien

Dave Thomas dave@pragprog.com wrote in message news:37B6B9D4-6C5C-11D8-8738-000A95676A62@pragprog.com

···

On Mar 2, 2004, at 8:16, Dick Davies wrote:

Rasputins theorem: In the infinite universe of online versions of the
Pickaxe there exists one with illustrations.

Can anyone illustrate a proof to the above?

I suspect not, unless they’re good with a pen… :slight_smile:

I never managed to convert the (somewhat arcane) illustrations into
bitmap images for online use: after spending almost 3 weeks converting
the Tex to HTML (no, the existing tools couldn’t do it) I ran out of
steam.

Cheers

Dave

Let’s commission Why the lucky stiff to do the illustrations for the
online version :wink:

Phil

Touché!

We’re moving away from pic/pstricks et al in the new books, which
should make easier. However, it’s still nice to be able to generate the
exception hierarchy diagram on the fly using reflection…

Cheers

Dave

···

On Mar 2, 2004, at 10:54, Kent Dahl wrote:

Dave Thomas wrote:

On Mar 2, 2004, at 8:16, Dick Davies wrote:

Rasputins theorem: In the infinite universe of online versions of
the Pickaxe there exists one with illustrations.

Can anyone illustrate a proof to the above?
I suspect not, unless they’re good with a pen… :slight_smile:

Or don’t have the emotional baggage connecting them to the TeX source
along with an automating mindset hindering them from ditching it in
favour of a non-automated quick hack. :slight_smile:

We’re moving away from pic/pstricks et al in the new books,

Just out of interest, what are you using instead?

H.

If the brand new books, the images are in external files and included
into the documents. They’re .eps’s, tiffs, or whatever, but the fact
that they’re independent of the document makes them easier to work
with.

Cheers

Dave

···

On Mar 2, 2004, at 18:26, Harry Ohlsen wrote:

We’re moving away from pic/pstricks et al in the new books,

Just out of interest, what are you using instead?

“Dave Thomas” dave@pragprog.com wrote in message
news:6EEABA19-6CB5-11D8-B411-

If the brand new books, the images are in external files and included
into the documents. They’re .eps’s, tiffs, or whatever, but the fact
that they’re independent of the document makes them easier to work
with.

If you don’t mind my asking, what else do you’ll use in your writing? Write
in something like XML or YAML? Reference live code from the text? Transform
into camera-ready or web versions? Use make/rake to track updates?

Books written for the Pragmatic Bookshelf now are written in XML, with
code inclusion. The XML is converted to PDFs using XSLT to generate
TeX, and then a set of macros in TeX to generate Postscript/PDF. We
still haven’t found anything that generates nicer typeset output.

The same XMLs can be transformed (again, using XSLT) to HTML.

The whole process is currently controlled using Make (although I’m
thinking of looking into rake, although the make stuff is working fine,
so that’s not a priority).

I’ve also come up with a scheme where each book can subclass our
standard XML markup, adding their specific elements. Similarly, the
XSLT and TeX is subclasses per-book, allowing book-specific layout.

The Ruby book uses a slightly different process (for historical
reasons). It’s written in LaTeX (with a boatload of specialized
markup). It’s code is 100% live, so the output you see in the book was
generated as the book is typeset.

Cheers

Dave

···

On Mar 3, 2004, at 20:59, Its Me wrote:

“Dave Thomas” dave@pragprog.com wrote in message
news:6EEABA19-6CB5-11D8-B411-

If the brand new books, the images are in external files and included
into the documents. They’re .eps’s, tiffs, or whatever, but the fact
that they’re independent of the document makes them easier to work
with.

If you don’t mind my asking, what else do you’ll use in your writing?
Write
in something like XML or YAML? Reference live code from the text?
Transform
into camera-ready or web versions? Use make/rake to track updates?

Excuse my ignorance, but is the XML transformation to via
XLST done with Ruby code? If so, is this something that ships
with Ruby or can be downloaded?

Also, do you have a small snippet of XML, XLST and code to show
the process in action?
[Dave, can you throw some crumbs to us poor peasants? :)]

···

On Thursday, 4 March 2004 at 12:36:19 +0900, Dave Thomas wrote:

On Mar 3, 2004, at 20:59, Its Me wrote:

“Dave Thomas” dave@pragprog.com wrote in message

Books written for the Pragmatic Bookshelf now are written in XML, with
code inclusion. The XML is converted to PDFs using XSLT to generate
TeX, and then a set of macros in TeX to generate Postscript/PDF. We
still haven’t found anything that generates nicer typeset output.

The same XMLs can be transformed (again, using XSLT) to HTML.


Jim Freeze

I was born because it was a habit in those days, people didn’t know
anything else … I was not a Child Prodigy, because a Child Prodigy is
a child who knows as much when it is a child as it does when it grows
up.
– Will Rogers

Books written for the Pragmatic Bookshelf now are written in XML, with
code inclusion. The XML is converted to PDFs using XSLT to generate
TeX, and then a set of macros in TeX to generate Postscript/PDF. We
still haven’t found anything that generates nicer typeset output.

The same XMLs can be transformed (again, using XSLT) to HTML.

Excuse my ignorance, but is the XML transformation to via
XLST done with Ruby code? If so, is this something that ships
with Ruby or can be downloaded?

Jim:

It’s just standard XSLT: we’re using xsltproc to do it at the moment,
but any XSLT process would do.

Also, do you have a small snippet of XML, XLST and code to show
the process in action?

It’s hard to show too much, but here’s some markup from the version
control book.


 <p>
   The second form of conflict resolution is often
   called <firstuse>optimistic locking</firstuse>,  although it
   really is no locking at all.<indexterm>
<i1>Locking</i1>
<i2>optimistic</i2>
   </indexterm><indexterm>
<i1>Optimistic locking</i1>
   </indexterm><indexterm>
<i1>Merge</i1>
<i2>automatic on update</i2>
   </indexterm>
   Here, every developer gets to edit any
   checked out file: the files are checked out in a read/write
   state. However, the repository will not allow you to check in a 

file
that has been updated in the repository since you last checked it
out.
Instead, it asks you to update your local copy of the file to
include
the latest repository changes before checking in. This is where
the
cleverness lies. Instead of simply overwriting all your hard work
with
the latest repository version of the file, the version control
system
attempts to merge the repository changes with your changes. For
example, let’s look at File1.java:

 <programlisting language="java" number="yes">
  public class File1 {
    public String getName() {
      return "Wibble";
    }
    public int getSize() {
      return 42;
    }
 }
 </programlisting>

 <p>
   Wilma and Fred both check this file out. Fred changes line 3:
 </p>

This isn’t strict XML: these files get fed through a preprocessor which
handles all the code markup and so on. It also gives us cross reference
and callout facilities into the code.

The XSLT is pretty straightforward, and generates LaTeX (for PDF
generation).

Cheers

Dave

···

On Mar 5, 2004, at 9:02, Jim Freeze wrote:

Thanks Dave.
Where can I get xsltproc? I need it to run on FreeBSD, Linux and
Sun. I saw a gnome installation, but I am not running gnome.
(Don’t know if that matters.)

···

On Saturday, 6 March 2004 at 1:55:25 +0900, Dave Thomas wrote:

It’s just standard XSLT: we’re using xsltproc to do it at the moment,
but any XSLT process would do.


Jim Freeze

Cheers

Google

···

On Mar 5, 2004, at 11:11, Jim Freeze wrote:

On Saturday, 6 March 2004 at 1:55:25 +0900, Dave Thomas wrote:

It’s just standard XSLT: we’re using xsltproc to do it at the moment,
but any XSLT process would do.

Thanks Dave.
Where can I get xsltproc? I need it to run on FreeBSD, Linux and
Sun. I saw a gnome installation, but I am not running gnome.
(Don’t know if that matters.)