25 <xsl:param name="cv-uri"/> |
25 <xsl:param name="cv-uri"/> |
26 <xsl:param name="date"/> |
26 <xsl:param name="date"/> |
27 <xsl:attribute-set name="section-title-font" use-attribute-sets="verylarge-title-font"> |
27 <xsl:attribute-set name="section-title-font" use-attribute-sets="verylarge-title-font"> |
28 <xsl:attribute name="font-size">12pt</xsl:attribute> |
28 <xsl:attribute name="font-size">12pt</xsl:attribute> |
29 <xsl:attribute name="font-weight">bold</xsl:attribute> |
29 <xsl:attribute name="font-weight">bold</xsl:attribute> |
30 <xsl:attribute name="space-after">6pt</xsl:attribute> |
30 <xsl:attribute name="space-after">4pt</xsl:attribute> |
31 <xsl:attribute name="text-decoration">underline</xsl:attribute> |
31 <xsl:attribute name="text-decoration">underline</xsl:attribute> |
32 <xsl:attribute name="score-spaces">true</xsl:attribute> |
32 <xsl:attribute name="score-spaces">true</xsl:attribute> |
33 <xsl:attribute name="keep-with-next.within-page">always</xsl:attribute> |
33 <xsl:attribute name="keep-with-next.within-page">always</xsl:attribute> |
34 </xsl:attribute-set> |
34 </xsl:attribute-set> |
35 <xsl:attribute-set name="knowledge-title-font" use-attribute-sets="large-title-font"> |
35 <xsl:attribute-set name="knowledge-title-font" use-attribute-sets="large-title-font"> |
41 </xsl:attribute-set> |
41 </xsl:attribute-set> |
42 <xsl:attribute-set name="work-title-font" use-attribute-sets="large-title-font"> |
42 <xsl:attribute-set name="work-title-font" use-attribute-sets="large-title-font"> |
43 <xsl:attribute name="font-size">16pt</xsl:attribute> |
43 <xsl:attribute name="font-size">16pt</xsl:attribute> |
44 <xsl:attribute name="font-weight">bold</xsl:attribute> |
44 <xsl:attribute name="font-weight">bold</xsl:attribute> |
45 <xsl:attribute name="space-after">4pt</xsl:attribute> |
45 <xsl:attribute name="space-after">4pt</xsl:attribute> |
46 <xsl:attribute name="space-before">4pt</xsl:attribute> |
46 <xsl:attribute name="space-before">2pt</xsl:attribute> |
47 <xsl:attribute name="font-variant">small-caps</xsl:attribute> |
47 <xsl:attribute name="font-variant">small-caps</xsl:attribute> |
48 </xsl:attribute-set> |
48 </xsl:attribute-set> |
49 <xsl:attribute-set name="work-short-font" use-attribute-sets="large-title-font"> |
49 <xsl:attribute-set name="work-short-font" use-attribute-sets="large-title-font"> |
50 <xsl:attribute name="font-size">12pt</xsl:attribute> |
50 <xsl:attribute name="font-size">10pt</xsl:attribute> |
51 <xsl:attribute name="font-weight">bold</xsl:attribute> |
51 <xsl:attribute name="font-weight">bold</xsl:attribute> |
52 <xsl:attribute name="space-before">4pt</xsl:attribute> |
52 <xsl:attribute name="space-before">2pt</xsl:attribute> |
53 <xsl:attribute name="space-after">4pt</xsl:attribute> |
53 <xsl:attribute name="space-after">2pt</xsl:attribute> |
54 <xsl:attribute name="font-variant">small-caps</xsl:attribute> |
54 <xsl:attribute name="font-variant">small-caps</xsl:attribute> |
55 </xsl:attribute-set> |
55 </xsl:attribute-set> |
56 <xsl:attribute-set name="post-title-font" use-attribute-sets="medium-title-font"> |
56 <xsl:attribute-set name="post-title-font" use-attribute-sets="medium-title-font"> |
57 <xsl:attribute name="font-size">10pt</xsl:attribute> |
57 <xsl:attribute name="font-size">10pt</xsl:attribute> |
58 <xsl:attribute name="font-weight">bold</xsl:attribute> |
58 <xsl:attribute name="font-weight">bold</xsl:attribute> |
209 <block xsl:use-attribute-sets="section-title-font"> |
209 <block xsl:use-attribute-sets="section-title-font"> |
210 <xsl:call-template name="gentext"> |
210 <xsl:call-template name="gentext"> |
211 <xsl:with-param name="string">str-experience</xsl:with-param> |
211 <xsl:with-param name="string">str-experience</xsl:with-param> |
212 </xsl:call-template> |
212 </xsl:call-template> |
213 </block> |
213 </block> |
214 <xsl:apply-templates select="work[not(@role='stage' or @role='minor')]"/> |
214 <xsl:apply-templates select="work[not(@role='stage' or @role='minor' or @role='old')]"/> |
215 </block> |
215 </block> |
216 <block xsl:use-attribute-sets="section-block"> |
216 <block xsl:use-attribute-sets="section-block"> |
217 <block xsl:use-attribute-sets="section-title-font"> |
217 <block xsl:use-attribute-sets="section-title-font"> |
218 <xsl:call-template name="gentext"> |
218 <xsl:call-template name="gentext"> |
219 <xsl:with-param name="string">str-otherexperience</xsl:with-param> |
219 <xsl:with-param name="string">str-otherexperience</xsl:with-param> |
220 </xsl:call-template> |
220 </xsl:call-template> |
221 </block> |
221 </block> |
222 <xsl:apply-templates select="work[@role='minor']" mode="short"/> |
222 <table table-layout="fixed" |
|
223 border-collapse="separate" border-separation="5pt"> |
|
224 <table-column column-width="50%"/> |
|
225 <table-column column-width="50%"/> |
|
226 <table-body> |
|
227 <xsl:apply-templates select="work[@role='minor' or @role='old']" mode="short"/> |
|
228 </table-body> |
|
229 </table> |
223 </block> |
230 </block> |
224 <!-- |
231 <!-- |
225 <block xsl:use-attribute-sets="section-block"> |
232 <block xsl:use-attribute-sets="section-block"> |
226 <block xsl:use-attribute-sets="section-title-font"> |
233 <block xsl:use-attribute-sets="section-title-font"> |
227 <xsl:call-template name="gentext"> |
234 <xsl:call-template name="gentext"> |
313 </xsl:template> |
320 </xsl:template> |
314 <xsl:template match="work/organism"> |
321 <xsl:template match="work/organism"> |
315 <block xsl:use-attribute-sets="work-title-font"><xsl:apply-templates select="." mode="short"/></block> |
322 <block xsl:use-attribute-sets="work-title-font"><xsl:apply-templates select="." mode="short"/></block> |
316 </xsl:template> |
323 </xsl:template> |
317 |
324 |
318 <xsl:template match="work" mode="short"> |
325 <!--xsl:template match="work" mode="short"> |
319 <block space-before="10pt" keep-together.within-page="always"> |
326 <block space-before="10pt" keep-together.within-page="always"> |
320 <block xsl:use-attribute-sets="work-short-font"><xsl:apply-templates select="organism" mode="short"/></block> |
327 <block xsl:use-attribute-sets="work-short-font"><xsl:apply-templates select="organism" mode="short"/></block> |
321 <list-block> |
328 <list-block> |
322 <xsl:apply-templates select="post" mode="short"/> |
329 <xsl:apply-templates select="post" mode="short"/> |
323 </list-block> |
330 </list-block> |
324 </block> |
331 </block> |
|
332 </xsl:template--> |
|
333 <xsl:template match="work" mode="short"> |
|
334 <table-row keep-together.within-page="always"> |
|
335 <table-cell> |
|
336 <block xsl:use-attribute-sets="work-short-font"><xsl:apply-templates select="organism" mode="short"/></block> |
|
337 </table-cell> |
|
338 <table-cell keep-together.within-page="always"> |
|
339 <list-block> |
|
340 <xsl:apply-templates select="post" mode="short"/> |
|
341 </list-block> |
|
342 </table-cell> |
|
343 </table-row> |
325 </xsl:template> |
344 </xsl:template> |
326 <xsl:template match="post" mode="short"> |
345 <xsl:template match="post" mode="short"> |
327 <list-item> |
346 <list-item> |
328 <xsl:call-template name="list-label"/> |
347 <xsl:call-template name="list-label"/> |
329 <list-item-body start-indent="body-start()"> |
348 <list-item-body start-indent="body-start()"> |
330 <block> |
|
331 <xsl:if test="title"> |
349 <xsl:if test="title"> |
|
350 <block> |
332 <xsl:apply-templates select="title" mode="short"/> |
351 <xsl:apply-templates select="title" mode="short"/> |
333 <xsl:text>; </xsl:text> |
352 <xsl:text>; </xsl:text> |
|
353 </block> |
334 </xsl:if> |
354 </xsl:if> |
335 <xsl:apply-templates select="duration" mode="short"/> |
355 <block> |
336 <xsl:text>.</xsl:text> |
356 <xsl:apply-templates select="duration" mode="short"/> |
|
357 <xsl:text>.</xsl:text> |
337 </block> |
358 </block> |
338 </list-item-body> |
359 </list-item-body> |
339 </list-item> |
360 </list-item> |
340 </xsl:template> |
361 </xsl:template> |
341 |
362 |
376 </xsl:template> |
397 </xsl:template> |
377 <xsl:template match="post/duration" mode="title"> |
398 <xsl:template match="post/duration" mode="title"> |
378 <block><xsl:apply-templates/></block> |
399 <block><xsl:apply-templates/></block> |
379 </xsl:template> |
400 </xsl:template> |
380 |
401 |
|
402 <!-- work/description --> |
|
403 <!-- post --> |
|
404 <xsl:template match="work/description"> |
|
405 <block keep-together.within-page="always" space-before="6pt"> |
|
406 <xsl:apply-templates/> |
|
407 </block> |
|
408 </xsl:template> |
|
409 |
381 <!-- study --> |
410 <!-- study --> |
382 <xsl:template match="study" mode="short"> |
411 <xsl:template match="study" mode="short"> |
383 <list-item> |
412 <list-item> |
384 <xsl:call-template name="list-label"/> |
413 <xsl:call-template name="list-label"/> |
385 <list-item-body start-indent="body-start()"> |
414 <list-item-body start-indent="body-start()"> |