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" xsl:use-attribute-sets="verylarge-title-font"> |
27 <xsl:attribute-set name="section-title-font" xsl: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">8pt</xsl:attribute> |
30 <xsl:attribute name="space-after">6pt</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" xsl:use-attribute-sets="large-title-font"> |
35 <xsl:attribute-set name="knowledge-title-font" use-attribute-sets="large-title-font"> |
36 <xsl:attribute name="font-size">12pt</xsl:attribute> |
36 <xsl:attribute name="font-size">12pt</xsl:attribute> |
37 <xsl:attribute name="font-weight">bold</xsl:attribute> |
37 <xsl:attribute name="font-weight">bold</xsl:attribute> |
38 <xsl:attribute name="space-after">4pt</xsl:attribute> |
38 <xsl:attribute name="space-after">4pt</xsl:attribute> |
39 <xsl:attribute name="space-before">4pt</xsl:attribute> |
39 <xsl:attribute name="space-before">4pt</xsl:attribute> |
40 <xsl:attribute name="font-variant">small-caps</xsl:attribute> |
40 <xsl:attribute name="font-variant">small-caps</xsl:attribute> |
41 </xsl:attribute-set> |
41 </xsl:attribute-set> |
42 <xsl:attribute-set name="work-title-font" xsl: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">14pt</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">4pt</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" xsl: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">12pt</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">4pt</xsl:attribute> |
53 <xsl:attribute name="space-after">4pt</xsl:attribute> |
53 <xsl:attribute name="space-after">4pt</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" xsl: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> |
59 <xsl:attribute name="space-after">4pt</xsl:attribute> |
59 <xsl:attribute name="space-after">4pt</xsl:attribute> |
60 </xsl:attribute-set> |
60 </xsl:attribute-set> |
61 <xsl:attribute-set name="name-title-font" xsl:use-attribute-sets="verylarge-title-font"> |
61 <xsl:attribute-set name="name-title-font" use-attribute-sets="verylarge-title-font"> |
62 <xsl:attribute name="font-size">16pt</xsl:attribute> |
62 <xsl:attribute name="font-size">16pt</xsl:attribute> |
63 <xsl:attribute name="font-weight">bold</xsl:attribute> |
63 <xsl:attribute name="font-weight">bold</xsl:attribute> |
64 <xsl:attribute name="space-after">8pt</xsl:attribute> |
64 <xsl:attribute name="space-after">8pt</xsl:attribute> |
65 <!-- <xsl:attribute name="space-before">6pt</xsl:attribute> --> |
65 <!-- <xsl:attribute name="space-before">6pt</xsl:attribute> --> |
66 </xsl:attribute-set> |
66 </xsl:attribute-set> |
73 <xsl:attribute name="keep-together.within-page">always</xsl:attribute> |
73 <xsl:attribute name="keep-together.within-page">always</xsl:attribute> |
74 <!-- <xsl:attribute name="break-inside">avoid</xsl:attribute> --> |
74 <!-- <xsl:attribute name="break-inside">avoid</xsl:attribute> --> |
75 <!-- <xsl:attribute name="border-before-style">solid</xsl:attribute> --> |
75 <!-- <xsl:attribute name="border-before-style">solid</xsl:attribute> --> |
76 <!-- <xsl:attribute name="border-after-style">solid</xsl:attribute> --> |
76 <!-- <xsl:attribute name="border-after-style">solid</xsl:attribute> --> |
77 <!-- <xsl:attribute name="padding-before">5mm</xsl:attribute> --> |
77 <!-- <xsl:attribute name="padding-before">5mm</xsl:attribute> --> |
78 <xsl:attribute name="space-before">22pt</xsl:attribute> |
78 <xsl:attribute name="space-before">20pt</xsl:attribute> |
79 <xsl:attribute name="space-before.conditionality">discard</xsl:attribute> |
79 <xsl:attribute name="space-before.conditionality">discard</xsl:attribute> |
80 </xsl:attribute-set> |
80 </xsl:attribute-set> |
81 <!-- cv --> |
81 <!-- cv --> |
82 <xsl:template match="cv"> |
82 <xsl:template match="cv"> |
83 <xsl:variable name="fullname"> |
83 <xsl:variable name="fullname"> |
203 </block> |
203 </block> |
204 <list-block> |
204 <list-block> |
205 <xsl:apply-templates select="interest" mode="short"/> |
205 <xsl:apply-templates select="interest" mode="short"/> |
206 </list-block> |
206 </list-block> |
207 </block> |
207 </block> |
208 <block xsl:use-attribute-sets="section-block" |
208 <block xsl:use-attribute-sets="section-block"> |
209 xsl:space-before="0mm"> |
|
210 <block xsl:use-attribute-sets="section-title-font"> |
209 <block xsl:use-attribute-sets="section-title-font"> |
211 <xsl:call-template name="gentext"> |
210 <xsl:call-template name="gentext"> |
212 <xsl:with-param name="string">str-experience</xsl:with-param> |
211 <xsl:with-param name="string">str-experience</xsl:with-param> |
213 </xsl:call-template> |
212 </xsl:call-template> |
214 </block> |
213 </block> |
215 <xsl:apply-templates select="work"/> |
214 <xsl:apply-templates select="work[not(@role='stage')]"/> |
|
215 </block> |
|
216 <block xsl:use-attribute-sets="section-block"> |
|
217 <block xsl:use-attribute-sets="section-title-font"> |
|
218 <xsl:call-template name="gentext"> |
|
219 <xsl:with-param name="string">str-stage</xsl:with-param> |
|
220 </xsl:call-template> |
|
221 </block> |
|
222 <xsl:apply-templates select="work[@role='stage']" mode="short"/> |
216 </block> |
223 </block> |
217 <block visibility="hidden" id="xsl_cv_the_end"/> |
224 <block visibility="hidden" id="xsl_cv_the_end"/> |
218 </flow> |
225 </flow> |
219 </page-sequence> |
226 </page-sequence> |
220 </root> |
227 </root> |
221 </xsl:template> |
228 </xsl:template> |
222 |
229 |
223 <xsl:template match="knownlist[@level='learning']"/> |
230 <xsl:template match="knownlist[@level='learning']"/> |
224 <xsl:template match="item[@role='old']" mode="short"/> |
231 <xsl:template match="item[@role='old']" mode="short"/> |
225 <xsl:template match="work[@role='old']"> |
232 <xsl:template match="work[@role='old']"> |
226 <!-- xsl:apply-templates select="." mode="short"/ --> |
233 <xsl:apply-templates select="." mode="short"/> |
227 </xsl:template> |
234 </xsl:template> |
228 <xsl:template match="concours[@role='old']" mode="short"/> |
235 <xsl:template match="concours[@role='old']" mode="short"/> |
229 <xsl:template match="project[@role='old']" mode="short"/> |
236 <xsl:template match="project[@role='old']" mode="short"/> |
230 |
237 |
231 <!-- identification section --> |
238 <!-- identification section --> |
288 </block> |
295 </block> |
289 </xsl:template> |
296 </xsl:template> |
290 |
297 |
291 <!-- work --> |
298 <!-- work --> |
292 <xsl:template match="work"> |
299 <xsl:template match="work"> |
293 <block space-before="5pt" keep-together="always"> |
300 <block space-before="12pt" keep-together="always"> |
294 <xsl:apply-templates/> |
301 <xsl:apply-templates/> |
295 </block> |
302 </block> |
296 </xsl:template> |
303 </xsl:template> |
297 <xsl:template match="work/organism"> |
304 <xsl:template match="work/organism"> |
298 <block xsl:use-attribute-sets="work-title-font"><xsl:apply-templates select="." mode="short"/></block> |
305 <block xsl:use-attribute-sets="work-title-font"><xsl:apply-templates select="." mode="short"/></block> |
299 </xsl:template> |
306 </xsl:template> |
300 |
307 |
301 <xsl:template match="work" mode="short"> |
308 <xsl:template match="work" mode="short"> |
302 <block keep-together.within-page="always"> |
309 <block space-before="10pt" keep-together.within-page="always"> |
303 <block xsl:use-attribute-sets="work-short-font"><xsl:apply-templates select="organism" mode="short"/></block> |
310 <block xsl:use-attribute-sets="work-short-font"><xsl:apply-templates select="organism" mode="short"/></block> |
304 <list-block> |
311 <list-block> |
305 <xsl:apply-templates select="post" mode="short"/> |
312 <xsl:apply-templates select="post" mode="short"/> |
306 </list-block> |
313 </list-block> |
307 </block> |
314 </block> |