Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6e31c3e

Browse files
committed
doc: Improve rendering of notes/cautions using XSL-FO
Center title and put a border around it, like the output that the DSSSLversion gave.
1 parentc4c5154 commit6e31c3e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

‎doc/src/sgml/stylesheet-fo.xsl

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,20 @@
1818
<xsl:attributename="wrap-option">wrap</xsl:attribute>
1919
</xsl:attribute-set>
2020

21+
<xsl:attribute-setname="nongraphical.admonition.properties">
22+
<xsl:attributename="border-style">solid</xsl:attribute>
23+
<xsl:attributename="border-width">1pt</xsl:attribute>
24+
<xsl:attributename="border-color">black</xsl:attribute>
25+
<xsl:attributename="padding-start">12pt</xsl:attribute>
26+
<xsl:attributename="padding-end">12pt</xsl:attribute>
27+
<xsl:attributename="padding-top">6pt</xsl:attribute>
28+
<xsl:attributename="padding-bottom">6pt</xsl:attribute>
29+
</xsl:attribute-set>
30+
31+
<xsl:attribute-setname="admonition.title.properties">
32+
<xsl:attributename="text-align">center</xsl:attribute>
33+
</xsl:attribute-set>
34+
2135
<!-- Change display of some elements-->
2236

2337
<xsl:templatematch="command">

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp