Dave LeCompte (really) (tsmaster) wrote,
Dave LeCompte (really)

Not that you asked...

Warning This is mostly a note from me to me, and perhaps to a random few robots who may be crawling around here, looking for keywords.

I've been playing around with DocBook for a little while now (after noticing that the Linux Documentation and O'Reilly support variants of it). And I decided to move a book idea that I've been noodling with over to it.

The nice thing is that DocBook can generate Web and PDF output with nearly equal ease. The not-so-nice thing is that the path from "source" to PDF is involved and isn't completely well documented.

Mac users have been derided as spending too much time on the appearance of their documents (darn that WYSIWYG), and I'll admit that much of my time of late has been in setting up the layout of the page so that it meets my expectations. Today's triumph is to get footnotes to appear at the bottom of the page instead of the end of the chapter.

Here's the stylesheet code that made it happen:

(define bop-footnotes ;; Make "bottom-of-page" footnotes? #t)

(define %two-side% #t) (define %default-quadding% 'justify) (define tex-backend ;; Are we using the TeX backend? #t)

(declare-flow-object-class page-footnote "UNREGISTERED::Sebastian Rahtz//Flow Object Class::page-footnote")

The last piece was hard-coding the tex-backend variable. Probably something I should be doing on the command line.

Sorry for all that code.

  • Living is Easy (With Eyes Closed)

    This is really primarily for Cassie, but I rarely post here, so it's also an exercise in "how does LJ work again? Or how does it work today?".…

  • No mudslides for me, thank you.

    Hey, is this thing on? I was just sending email to a mailing list (nothing exciting, don't feel insulted if you're not on it) that was thinking…

  • Trivial

    So, this past weekend, a bunch of my friends / acquaintences / teammates got together and competed in a local trivia competition. There are a few…

  • Post a new comment


    Comments allowed for friends only

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded