On 29 January 2014 22:50, Dan Allen <[email protected]> wrote:

> Arun,
>
> Gotcha.
>
> In the DocBook toolchain (XSL FO), this change is incredibly painful. I've
> been doing XSLT for over a decade and I feel completely lost in the DocBook
> XSL stylesheets. I'd rather clean houses for a living. If you enjoy the
> pain, then you need to figure out which XSL stylesheet to copy into your
> own workspace and what you have to change in the convoluted mess of the XML
> that's there. It's not easy, and I don't think you should bother with it.
>

Until Dan's toolset is released,
http://sagehill.net/docbookxsl/HTMLTitlePage.html provides a guide on FOP
configuring.

I can't see how to do it in dblatex, but I may have missed it here
http://dblatex.sourceforge.net/doc/manual/index.html.

Cheers
Lex


>
> ...that's why I created Asciidoctor PDF [1] (currently in pre-alpha). I've
> long wanted a way that we can make modifications either in regular
> programming code (in this case, Ruby or Java) or by configuration. The
> configuration would be something we would need to accommodate for in
> Asciidoctor PDF out of the box.
>
> Right now, there isn't yet a formal extension point for overriding the
> title page...but it *is* extensible. You would have to create a Ruby class
> that extends the Asciidoctor PDF renderer class and overrides the
> render_title_page method. Something like:
>
> class MyPdfRenderer < Asciidoctor::PdfRenderer
>   def render_title_page
>     # do whatever you want here
>   end
> end
>
> You'd have to understand the Prawn (PDF Writer) API a bit, but it's quite
> straightforward.
>
> I'm not expecting you to be able to do this just yet. Simply put, it's not
> ready yet. But we're headed towards something that is very hackable in the
> very near future.
>
> ...for things that we can image as built-in behavior, we can pick up the
> configuration from the AsciiDoc attributes or from the YAML-like theme
> configuration file. We have some experimenting to do to sort out what works
> best.
>
> Stay tuned!
>
> -Dan
>
> [1] https://github.com/opendevise/asciidoctor-pdf
>
>
>
> On Wed, Jan 29, 2014 at 3:00 AM, Arun Gupta <[email protected]> wrote:
>
>> Dan,
>>
>> The primary purpose is PDF to begin with, but something more generic
>> would be useful.
>>
>> Arun
>>
>>
>> On Wednesday, January 29, 2014 1:55:37 PM UTC+5:30, Dan Allen wrote:
>>
>>> Arun,
>>>
>>> You need to be specific about what rendering engine you wish to
>>> configure. I'm assuming you are talking about the PDF. What you need to
>>> change depends on whether you are using DocBook (XSL-FO), dblatex or
>>> Asciidoctor PDF.
>>>
>>> -Dan
>>>
>>>
>>> On Wed, Jan 29, 2014 at 12:46 AM, Arun Gupta <[email protected]> wrote:
>>>
>>>> I'd like to add some more metadata on the title page, such as:
>>>>
>>>> Twitter Handle
>>>> Background Image
>>>> Company Name
>>>>
>>>> Any tips on how to author it ?
>>>>
>>>> Arun
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "asciidoc" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> To post to this group, send email to [email protected].
>>>>
>>>> Visit this group at http://groups.google.com/group/asciidoc.
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>
>>>
>>>
>>>
>>> --
>>> Dan Allen | http://google.com/profiles/dan.j.allen
>>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "asciidoc" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/asciidoc.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> --
> Dan Allen | http://google.com/profiles/dan.j.allen
>
> --
> You received this message because you are subscribed to the Google Groups
> "asciidoc" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/asciidoc.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to