Re: Planner xml field additions



On Tue, 2009-04-07 at 18:51 +0200, Maurice van der Pot wrote:
> On Fri, Apr 03, 2009 at 10:38:59PM -0400, Kurt Maute wrote:
> > I believe it was something like:
> > 
> > On linux, use xmlto html planner.xml
> > 
> > then move the resultant files to windows, and use microsoft's htmlhelp
> > workshop to convert them to .chm files.
> 
> I've used xsltproc in msys on Windows to generate the HTML, followed by
> htmlhelp to create the chm:
> 
>   xsltproc /home/Administrator/docbook-xsl-.74.3/htmlhelp/htmlhelp.xsl planner.xml
>   hhc htmlhelp.hhp
> 
> There is a problem with the first step in that the text flows along the
> side of the images instead of starting after the image. Should I be
> using a different set of xsl stylesheets and if so, where can I find
> them? I used the ones at
> http://sourceforge.net/project/showfiles.php?group_id=21935&package_id=16608

Somewhere along the line I must have gotten the idea that this would
look better.  It doesn't of course, and the fix is to remove the
float="1" from the image declarations.

The attached patch should do the trick.



-- 
Kurt Maute <kurt maute us>
Index: C/planner.xml
===================================================================
--- C/planner.xml	(revision 952)
+++ C/planner.xml	(working copy)
@@ -305,7 +305,7 @@
 	  more detail for each task.
         </para>
         <para>
-          <figure id="task-view" float="1">
+          <figure id="task-view">
             <title>&app; Task View</title>
             <screenshot>
               <graphic fileref="figures/task-view.png" format="PNG"></graphic>
@@ -352,7 +352,7 @@
 	  allows the user to see the project data.
         </para>
         <para>
-          <figure id="gantt-view" float="1">
+          <figure id="gantt-view">
             <title>&app; Gantt View</title>
             <screenshot>
               <graphic fileref="figures/gantt-view.png" format="PNG"></graphic>
@@ -386,7 +386,7 @@
     </sect2>
     <sect2 id="mrp-resource-view">
 	<title>Resource View</title> 
-          <figure id="resource-view" float="1">
+          <figure id="resource-view">
             <title>&app; Resource View</title>
             <screenshot>
               <graphic fileref="figures/resource-editor.png" format="PNG"></graphic>
@@ -409,7 +409,7 @@
     </sect2>
     <sect2 id="mrp-resource-usage-view">
 	<title>Resource Usage View</title> 
-          <figure id="resource-usage-view" float="1">
+          <figure id="resource-usage-view">
             <title>&app; Resource Usage View</title>
             <screenshot>
               <graphic fileref="figures/resource-usage-view.png" format="PNG"></graphic>
@@ -557,7 +557,7 @@
 	  <xref linkend="several-projects"/>.
       </para>
       <para>
-       <figure float="1" id="several-projects">
+       <figure id="several-projects">
        <title>Several projects at the same time</title>
         <screenshot>
 	  <mediaobject> 
@@ -849,7 +849,7 @@
 	  information on calendars.
         </para>
         <para>
-          <figure id="project-properties" float="1">
+          <figure id="project-properties">
             <title>Project Properties</title>
             <screenshot>
               <graphic fileref="figures/project-properties.png" format="PNG" ></graphic>
@@ -863,7 +863,7 @@
 	  </guibutton> button.
 	</para>
 	<para>
-          <figure id="project-properties-custom" float="1">
+          <figure id="project-properties-custom">
             <title>Custom Project Properties</title>
             <screenshot>
               <graphic fileref="figures/project-properties-custom.png" format="PNG" ></graphic>
@@ -876,7 +876,7 @@
 	  value field of the Custom project properties dialog.
 	</para>
 	<para>
-          <figure id="project-properties-custom-add" float="1">
+          <figure id="project-properties-custom-add">
             <title>Custom Project Properties Add Dialog</title>
             <screenshot>
               <graphic fileref="figures/project-properties-custom-add.png" format="PNG" ></graphic>
@@ -933,7 +933,7 @@
 	  </itemizedlist>
         </para>
         <para>
-          <figure id="calendar" float="1">
+          <figure id="calendar">
             <title>Project Calendar Editor</title>
             <screenshot>
               <graphic fileref="figures/calendar.png" format="PNG" ></graphic>
@@ -974,7 +974,7 @@
 	  </itemizedlist>
 	  </para>
 	  <para>
-          <figure id="calendar-new" float="1">
+          <figure id="calendar-new">
             <title>New Calendar Dialog</title>
             <screenshot>
               <graphic fileref="figures/calendar-new.png" format="PNG" ></graphic>
@@ -994,7 +994,7 @@
 	    </guibutton> to save your changes.
 	  </para>
 	  <para>
-          <figure id="calendar-week" float="1">
+          <figure id="calendar-week">
             <title>Default Week Dialog</title>
             <screenshot>
               <graphic fileref="figures/calendar-week.png" format="PNG" ></graphic>
@@ -1014,7 +1014,7 @@
 	    would be entered as 17:00).
 	  </para>
 	  <para>
-          <figure id="calendar-working-time" float="1">
+          <figure id="calendar-working-time">
             <title>Working Time Dialog</title>
             <screenshot>
               <graphic fileref="figures/calendar-working-time.png" format="PNG" ></graphic>
@@ -1033,7 +1033,7 @@
 	    "Working" and "Nonworking".
 	  </para>
 	  <para>
-          <figure id="day-types" float="1">
+          <figure id="day-types">
             <title>Day Types Dialog</title>
             <screenshot>
               <graphic fileref="figures/day-types.png" format="PNG" ></graphic>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]