Home

drupal.ls.net

Navigation

  • About
  • Blogs
  • Contact
  • Forums
  • Image galleries
  • Log in
  • Feed aggregator
Home Blogs webmaster's blog
    • Drupal
    • LSNet

Core security advisories

  • SA-CORE-2010-002 - Drupal core - Multiple vulnerabilities
more

Contrib security advisories

  • SA-CONTRIB-2010-089 - Simplenews Content Selection - Cross Site Scripting
  • SA-CONTRIB-2010-088 - Content Construction Kit (CCK) - Access Bypass
  • SA-CONTRIB-2010-087 - GovDelivery - Cross site scripting
  • SA-CONTRIB-2010-086 - Prepopulate - Access Bypass
  • SA-CONTRIB-2010-085 - Pathauto - Cross Site Scripting
more

Drupal security announcements

  • PSA-2010-002 - Views - Administer views permission
  • PSA-2010-001: Policy on release versions and permissions
more

Drupal.org jobs feed

  • Marketing Website Developer | Western Governors University
  • Coder | Fidoli Bilişim Teknolojileri
  • Drupal developer | ubergig
  • Javascript developer | ubergig
  • Web Developer | MIT
more

Visit our client's websites

  • http://bridle-creek.com
  • http://demo.mydllurth.com
  • http://downtowngalax.com
  • http://drupal.ls.net
  • http://crossleft.org/
  • http://cuttingedgelaw.com/
  • http://new-river.dixongarner.com/
  • http://import.mydllurth.com
  • http://lyceum.mydllurth.com
  • http://mtvaleumc.org
  • http://news.mydllurth.com
  • http://oldcranks.com
  • http://psychguides.com
  • http://starbuck.net
  • http://stewartfurniture.com
  • http://tarvid.org
  • http://ubercart.ls.net
  • http://wolfeservices.net

Events

« September 2010
SunMonTueWedThuFriSat
1234
567891011
12131415161718
19202122232425
2627282930

Kompozer+Prince+Boom = Book!

Submitted by webmaster on Mon, 01/19/2009 - 20:28

People who want a well-reasoned blog should write their own or look elsewhere. Sometimes I stumble across a process or practice that seems to work fairly well yet might not be obvious to the average reader. One such process is producing a book.

It may seem an over simplification but the easiest route to a book is a "pdf" file sent to a printer (either virtual or physical). To print to a physical printer (I recommend a cheap used laser printer as the lowest cost per page), I use a somewhat dated version of Adobe Reader. Email is the easiest way to send to a POD (Printer on Demand).

To produce a "book aware" "pdf", I used "prince" from http://www.princexml.com/. There is a GUI interface for Windows, others will have to get used to a command line. The task is fairly simple - match a document with a style sheet and send to a "pdf" file. The "book" style sheet is boom.css and can be found in somewhat different flavors. I used this one - http://people.opera.com/howcome/2005/ala/boom.css. 

I did modify the line - 

    content: "Cascading Style Sheets";

to the title of the book I was printing.

Connect to boom.css by linking the css file in the html file - http://people.opera.com/howcome/2005/ala/sample.html

<link rel="stylesheet" type="text/css" href="boom.css"/>

The HTML file is written with Kompozer - http://kompozer.net/ Kompozer is more and less than you would like for the task. I haven't mastered applying styles to text. It is tempting to grab some of the basic tools like "Center" instead of looking up the proper class. Two spaces, two "Tabs" (maybe only one) and two"Enter" are hints that a "style" is coming up.

I'd start with a chapter or two. Give the process a chance to work together. Let the style sheet inform your understanding of parts of the book. Practicing on someone else's manuscript has been fun. Feedback welcome.

  • webmaster's blog
  • Login or register to post comments
  • Printer-friendly version
  • Send to friend
  • PDF version
  • Delicious
  • Digg
  • StumbleUpon
  • Facebook
  • Google
  • Technorati

User login

What is OpenID?
  • Log in using OpenID
  • Cancel OpenID login
  • Create new account
  • Request new password
Powered by Drupal, an open source content management system
RoopleTheme