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-001 - Drupal core - Multiple vulnerabilities
  • SA-CORE-2009-009 - Drupal Core - Cross site scripting
more

Contrib security advisories

  • SA-CONTRIB-2010-029: Keys - Cross-site Request Forgery
  • SA-CONTRIB-2010-028 - Tag Order - Cross Site Scripting
  • SA-CONTRIB-2010-027: Email Input Filter - Arbitrary code execution
  • SA-CONTRIB-2010-026 - Monthly Archive by Node Type - Access Bypass
  • SA-CONTRIB-2010-025 - TinyMCE - Cross Site Scripting (XSS)
more

Drupal.org jobs feed

  • Drupal Expert | sound ideas
  • Freelancer Drupal Module and Theme Developers at Noida | OSSCube
  • WebLex | Drupal Web Project Development
  • Drupal web programmer & user interface integrator | National Renewable Energy Laboratory (contract)
  • Drupal, PHP, MySQL, AJAX developer | Brillient Corporation
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

« March 2010 »
SunMonTueWedThuFriSat
123456
78910111213
14151617181920
21222324252627
28293031

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