#3 templates for contrib are missing

closed-fixed
XSL (122)
5
2001-07-05
2001-04-13
No

there is no template for othercontrib/contrib and
author/contrib

I think these are really missing, because there is poor
interest in inserting an othercontrib element without
specifying what the contrib is !

Proposal (for html) :
*** titlepage.xsl~ Thu Apr 12 18:17:26 2001
--- titlepage.xsl Thu Apr 12 20:36:30 2001
***************
*** 151,156 ****
--- 151,157 ----

<xsl:template match="author" mode="titlepage.mode">
<h3 class="{name(.)}"><xsl:call-template
name="person.name"/></h3>
+ <xsl:apply-templates mode="titlepage.mode"
select="./contrib"/>
<xsl:apply-templates mode="titlepage.mode"
select="./affiliation"/>
</xsl:template>

***************
*** 401,406 ****
--- 402,408 ----

<xsl:template match="othercredit" mode="titlepage.mode">
<h3 class="{name(.)}"><xsl:call-template
name="person.name"/></h3>
+ <xsl:apply-templates mode="titlepage.mode"
select="./contrib"/>
<xsl:apply-templates mode="titlepage.mode"
select="./affiliation"/>
</xsl:template>

************
I don't know wich of contrib or affiliation has to come
first.

Sylvain Amrani

Discussion

  • Norman Walsh

    Norman Walsh - 2001-04-18

    Logged In: YES
    user_id=81663

    I don't know. My fear is that these things are too
    presentation specific to put in the stock stylesheets. I
    think it might be better to let individuals provide local
    overrides for the order and presentation that they need for
    contributions.

     
  • Sylvain Amrani

    Sylvain Amrani - 2001-04-26

    Logged In: YES
    user_id=195461

    sure knowing wich has to be the first is too presentation
    specific, but I think there's no reason for a othercontrib
    element to be printed if the contrib isn't. Contrib is
    actually more important for othercontrib than affiliation
    is. As they are, the stylesheets do not handle the interest
    of the othercontrib element. (... and things are very funny
    here in France where each translator of a public document
    send his small customization of the stylesheets so his name
    is printed as the french translator...)
    contribs are basic tasks. I think they could be put in the
    stock stylesheets.
    Regards, Sylvain.

     
  • Norman Walsh

    Norman Walsh - 2001-07-05

    Logged In: YES
    user_id=81663

    Given that affiliation is already in there, I guess contrib
    should be ok.
    Fixed in CVS.

     
  • Norman Walsh

    Norman Walsh - 2001-07-05
    • status: open --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks