docbook-apps

  • 1.  AH Formatter initial-letters Drop Cap Customization

    Posted 06-14-2021 03:37
    The learning curve for transitioning from dsssl to xsl has not been as steep as I had imagined. I had been using the lettrine package in my dsssl-jadetex customization. I now have an xsl customization that calls the AH Formatter initial-letters extension, with all the functionality I had come to expect of lettrine. In particular, it can use a different (fancy) font for the drop cap than for the body-font, it can shape the margins to the contours of different drop cap letters, and it can present the remainder of the of the first word in small-caps, if desired. That's everything I want it to do, so I don't really have a question. If anyone is interested, I would be happy to share the customization.

    Next stop: xrefs that render page numbers, e.g., "For more information, see Appendix A (page 127)."




  • 2.  Re: [docbook-apps] AH Formatter initial-letters Drop Cap Customization

    Posted 06-14-2021 06:26
    Hi Kevin,

    For your next stop, see Customizing cross references
    <http://www.sagehill.net/docbookxsl/CustomXrefs.html>in my online book.

    Bob Stayton
    bobs@sagehill.net

    On 6/13/2021 8:37 PM, Kevin Dunn wrote:
    > The learning curve for transitioning from dsssl to xsl has not been as
    > steep as I had imagined. I had been using the lettrine package in my
    > dsssl-jadetex customization. I now have an xsl customization that
    > calls the AH Formatter initial-letters extension, with all the
    > functionality I had come to expect of lettrine. In particular, it can
    > use a different (fancy) font for the drop cap than for the body-font,
    > it can shape the margins to the contours of different drop cap
    > letters, and it can present the remainder of the of the first word in
    > small-caps, if desired. That's everything I want it to do, so I don't
    > really have a question. If anyone is interested, I would be happy to
    > share the customization.
    >
    > Next stop: xrefs that render page numbers, e.g., "For more
    > information, see Appendix A (page 127)."
    >