ePub: rudimentary support for authorgroup in opf.metadata

View: New views
2 Messages — Rating Filter:   Alert me  

ePub: rudimentary support for authorgroup in opf.metadata

by Michael Wiedmann-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'd like to see at least rudimentary support for

  <bookinfo|articleinfo>
   <authorgroup>
    <author>
    ...
    </author>
   </authorgroup>

in OPF metadata of epub output.
This could be accomplished e.g. like

--- docbook.xsl.1.75.2 2009-06-16 04:59:35.000000000 +0200
+++ docbook.xsl 2009-10-23 09:48:11.000000000 +0200
@@ -605,6 +605,10 @@
      <!-- override if you care -->
    </xsl:template>

+  <xsl:template match="authorgroup" mode="opf.metadata">
+    <xsl:apply-templates select="author" mode="opf.metadata"/>
+  </xsl:template>
+
    <xsl:template match="author|corpauthor" mode="opf.metadata">
      <xsl:variable name="n">
        <xsl:call-template name="person.name">

Michael



---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@...
For additional commands, e-mail: docbook-apps-help@...


Re: ePub: rudimentary support for authorgroup in opf.metadata

by Keith Fahlgren-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Oct 23, 2009 at 1:14 AM, Michael Wiedmann <mw@...> wrote:

> I'd like to see at least rudimentary support for
>
>  <bookinfo|articleinfo>
>  <authorgroup>
>   <author>
>   ...
>   </author>
>  </authorgroup>
>
> in OPF metadata of epub output.
> This could be accomplished e.g. like

Done.

Thanks,
Keith

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@...
For additional commands, e-mail: docbook-apps-help@...