This is an update to a previous blog post where I described how I was able to use custom fonts in my docbook -> dblatex -> pdf toolchain by switching to the XeTeX backend.

I closed that blog post with a few caveats:

  • remark elements no longer appear in PDF output

  • The DRAFT watermark no longer appears

  • screen elements no longer show a ‘wrapping character’ in long lines

I’m pleased to say that I’ve recently revisited my publishing toolchain and two of those three caveats are no longer an issue.

Through a series of unexpected clicks on the dblatex releases page I found myself looking at links to download newer versions of dblatex than I was presently using. Though the updates are not scheduled for inclusion in Fedora 17, they are (going to be) available in Fedora 18 and Fedora 19. I quickly skimmed over the changelogs and found some interesting bug fixes. Such as:

dblatex 0.3.3:

  • Remove hard-coded paper size and add some parameters for page layout setup:

    • Parameters to define page sizes and margins.

    • Parameters to have crop marks for pre-press PDF output.

  • Fix Debian bug #629514 to have draft watermark with XeTeX backend.

Because I’m targeting smaller book dimensions for the Virtual Disk Guide I was most interested in the first fix mentioned: the removal of hard-coded paper sizes. Unfortunately, the documentation on the official dblatex site has not been updated in quite some time. It seems that they’re still displaying an early 0.3.x release of the docs.

Wouldn’t you know it… Some kind souls out there on the Internets have actually built and host the most recent version of the dblatex documentation online! Now I’m able to get a smaller page format which is suitable for the dimension options on lulu.com without having to directly hack any of the dblatex styles. All it takes now is: a5paper Header and footer content receive appropriate margins automatically, too. No more fussing around!

Other notes

  • The draft watermark works in PDF output once again.

  • Hyphenation in examples works correctly again.
https://blog.lnx.cx/2013/06/23/update-using-ttf-fonts-with-docbook-and-dblatex.html
blog.lnx.cx
CC-MAIN-2024-26
9196
application/http; msgtype=response
sha1:TXHOCEE2ZOGNLOSJTPTXNQODCRZV733L
<urn:uuid:920b5c3f-e522-46d1-846b-f3405aa4e7e5>
2024-06-15T21:15:57Z
96.126.107.54
text/html
sha1:A7336QOE2RW4F2NJMOC6S4CNV2MGH2YT
<urn:uuid:1fd6b839-88f5-4f7c-b118-bab9a40b6ace>
https://blog.lnx.cx/2013/06/23/update-using-ttf-fonts-with-docbook-and-dblatex.html
response
<urn:uuid:0a7a8011-3ce2-4f6f-ad65-8162724fe305>
isPartOf: CC-MAIN-2024-26
publisher: Common Crawl
description: Wide crawl of the web for June 2024
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-105
software: Apache Nutch 1.20 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.5-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/