cv_print.xsl
branchstyles
changeset 23 8445a48b1679
parent 13 a1ec4d6963d7
equal deleted inserted replaced
14:6b2069bde265 23:8445a48b1679
   313 </xsl:template>
   313 </xsl:template>
   314 
   314 
   315 <!-- work -->
   315 <!-- work -->
   316 <xsl:template match="work">
   316 <xsl:template match="work">
   317   <block space-before="12pt" keep-together="always">
   317   <block space-before="12pt" keep-together="always">
   318     <xsl:apply-templates/>
   318     <xsl:apply-templates select="organism"/>
       
   319     <xsl:apply-templates select="post[not(@role='minor')]"/>
       
   320     <xsl:if test="post[@role='minor']">
       
   321       <xsl:apply-templates select="post[@role='minor']"/>
       
   322     </xsl:if>
       
   323     <xsl:apply-templates select="description"/>
   319   </block>
   324   </block>
   320 </xsl:template>
   325 </xsl:template>
   321 <xsl:template match="work/organism">
   326 <xsl:template match="work/organism">
   322   <block xsl:use-attribute-sets="work-title-font"><xsl:apply-templates select="." mode="short"/></block>
   327   <block xsl:use-attribute-sets="work-title-font"><xsl:apply-templates select="." mode="short"/></block>
   323 </xsl:template>
   328 </xsl:template>
   375             <xsl:apply-templates select="supervisor|duration" mode="title"/>
   380             <xsl:apply-templates select="supervisor|duration" mode="title"/>
   376           </table-cell>
   381           </table-cell>
   377         </table-row>
   382         </table-row>
   378       </table-body>
   383       </table-body>
   379     </table>
   384     </table>
   380     <block margin-left="24pt" space-before="5pt">
   385     <xsl:if test="not(@role='minor')">
   381       <xsl:apply-templates/>
   386       <block margin-left="24pt" space-before="5pt">
   382     </block>
   387         <xsl:apply-templates/>
       
   388       </block>
       
   389     </xsl:if>
   383   </block>
   390   </block>
   384 </xsl:template>
   391 </xsl:template>
   385 <xsl:template match="post/supervisor|post/duration|post/title"/>
   392 <xsl:template match="post/supervisor|post/duration|post/title"/>
   386 <xsl:template match="post/title" mode="title">
   393 <xsl:template match="post/title" mode="title">
   387   <block xsl:use-attribute-sets="post-title-font"><xsl:apply-templates/></block>
   394   <block xsl:use-attribute-sets="post-title-font"><xsl:apply-templates/></block>