[scribus] some fun with the Scribus manual

Gregory Pittman gpittman at iglou.com
Fri Dec 11 00:04:32 UTC 2015

Here is a repeat of the scribus-manual.xsl content, this time with some
embellishments, for a graphics bar at the top and some indentation.

<?xml version="1.0" encoding="utf-8"?>

<xsl:stylesheet version="1.0"
  <xsl:template match="/">
    <title>Scribus Online Manual</title>
<style type="text/css">
h2,h3,h4 { text-indent: 50px;}
ul { margin-left: 100px;}
<table border="0" cellspacing="0" cellpadding="0" width="100%"
bgcolor="#183867" >
		<td align="left"><img src="images/docheader1.png" width="222"
		<td align="right"><img src="images/docheader2.png" width="318"

    <body bgcolor="#ffffff">

      <xsl:for-each select="menu">
	<xsl:for-each select="area">
	  <h3><a href="{@file}" ><xsl:value-of select = "@text" /></a></h3>
	  <xsl:for-each select="submenuitem">
	    <h4><a href="{@file}" ><xsl:value-of select = "@text" /></a></h4>
		<xsl:for-each select="submenuitem">
		    <li><a href="{@file}" ><xsl:value-of select = "@text" /></a></li>

Incidentally, making these changes to your working copy of Scribus will
not adversely affect the manual as it operates inside Scribus.


More information about the scribus mailing list