summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSander Vesik <sander.vesik@sun.com>2002-08-05 19:35:52 +0000
committerSander Vesik <sander@src.gnome.org>2002-08-05 19:35:52 +0000
commit73707b2ed4e3a09c26999d947773244dd2c02714 (patch)
tree3a014963ccb7c210260e3eceeb11c7423588a938
parentb7295def4c551467adeb45d67fa0b138e4c58073 (diff)
downloadyelp-73707b2ed4e3a09c26999d947773244dd2c02714.tar.gz
- include quotes around stylesheet path so its correctly passed in
2002-08-05 Sander Vesik <sander.vesik@sun.com> * src/yelp-db2html.c: - include quotes around stylesheet path so its correctly passed in * stylesheets/yelp-custom.xsl: - move parameterisation of admonition graphics to yelp-customization.xsl * stylesheets/yelp-customization.xsl: - make <b> create a consistent result - make bulleted and numbered list items align consistently
-rw-r--r--ChangeLog11
-rw-r--r--src/yelp-db2html.c2
-rw-r--r--stylesheets/yelp-custom.xsl3
-rw-r--r--stylesheets/yelp-customization.xsl8
4 files changed, 19 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index eabb206d..4c9f6125 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2002-08-05 Sander Vesik <sander.vesik@sun.com>
+ * src/yelp-db2html.c:
+ - include quotes around stylesheet path so its correctly passed in
+
+ * stylesheets/yelp-custom.xsl:
+ - move parameterisation of admonition graphics to yelp-customization.xsl
+
+ * stylesheets/yelp-customization.xsl:
+ - make <b> create a consistent result
+ - make bulleted and numbered list items align consistently
+
2002-08-04 Mikael Hallendal <micke@codefactory.se>
* src/yelp-scrollkeeper.c (scrollkeeper_parse_index):
diff --git a/src/yelp-db2html.c b/src/yelp-db2html.c
index 01ff2578..b90fc77c 100644
--- a/src/yelp-db2html.c
+++ b/src/yelp-db2html.c
@@ -114,7 +114,7 @@ main (gint argc, gchar **argv)
params[2] = "gdb_pathname";
params[3] = g_strconcat("\"", pathname, "\"", NULL) ;
params[4] = "gdb_stylesheet_path";
- params[5] = DB_STYLESHEET_PATH;
+ params[5] = g_strconcat("\"", DB_STYLESHEET_PATH, "\"", NULL) ;
params[6] = "gdb_multichunk";
params[7] = "1";
params[8] = NULL;
diff --git a/stylesheets/yelp-custom.xsl b/stylesheets/yelp-custom.xsl
index c3b74140..edf31d28 100644
--- a/stylesheets/yelp-custom.xsl
+++ b/stylesheets/yelp-custom.xsl
@@ -14,9 +14,6 @@
<!-- Should graphics be included in admonitions? 0 or 1 -->
<xsl:param name="admon.graphics" select="1"/>
-<!-- Specifies the default path for admonition graphics -->
-<xsl:param name="admon.graphics.path"><xsl:text>file://</xsl:text><xsl:value-of select="$gdb_stylesheet_path"/><xsl:text>/images/</xsl:text></xsl:param>
-
<!-- Specifies the default graphic file if none is given. -->
<xsl:param name="graphic.default.extension" select="'png'" doc:type="string"/>
diff --git a/stylesheets/yelp-customization.xsl b/stylesheets/yelp-customization.xsl
index 45b7ea0b..75929801 100644
--- a/stylesheets/yelp-customization.xsl
+++ b/stylesheets/yelp-customization.xsl
@@ -15,6 +15,9 @@
<xsl:param name="gdb_stylesheet_path" select="'No Stylesheet'" />
+<!-- Specifies the default path for admonition graphics -->
+<xsl:param name="admon.graphics.path"><xsl:text>file://</xsl:text><xsl:value-of select="$gdb_stylesheet_path"/><xsl:text>/images/</xsl:text></xsl:param>
+
<xsl:output encoding="ISO-8859-1" />
<!-- direct parametrisation -->
@@ -137,7 +140,10 @@
<xsl:template name="user.head.content">
<style>
<xsl:text>
- LI {margin-left: 1em; margin-bottom: 0.66em;}
+ B {font-weight: 700}
+ LI {margin-bottom: 0.66em;}
+ UL LI {left-margin: 1em}
+ OL LI {left-margin: 1.5em}
LI P {margin-bottom: 0}
LI P {margin-top: 0}
P.header-title {text-align: center; margin-top: 0; margin-bottom: 0}