Guess what...

I did a xmllint --valid --noout gnucash-guide.xml
and found some minor problems in three of my chapters as well :(

So, here is another diff for the whole gnucash-guide

/Bengt

$ more validate.diff
Index: ch_txns.xml
===================================================================
--- ch_txns.xml (revision 13814)
+++ ch_txns.xml (working copy)
@@ -680,7 +680,8 @@
               ledger</para>
             </caption>
           </mediaobject>
-        </screenshot></para>
+        </screenshot>
+      </para>

       <note>
         <para>Since we did not create the Expence:Internet account, GnuCash
@@ -1253,7 +1254,7 @@
         happy, therefore GnuCash comes with a large number of highly
customizable reports.
       </para>

-      <note>More details on the reports will be in the Report chapter</note>
+      <note><para>More details on the reports will be in the Report
chapter</para></note>

       <para>Lets have a look at a <guilabel>Cash Flow</guilabel>, and a
         <guilabel>Transaction</guilabel> Report.
Index: ch_invest.xml
===================================================================
--- ch_invest.xml       (revision 13814)
+++ ch_invest.xml       (working copy)
@@ -391,11 +391,11 @@
              IBM
              NST
  </literallayout>
- </sect2>

  <note>
  <para>If you want to track income (dividends/interest/capital gains) on
a per-stock or fund basis, you will need to create an
Income:Dividends:STOCKSYMBOL, Income:Cap Gain (Long):STOCKSYMBOL,
Income:Cap Gain (Short):STOCKSYMBOL and Income:Interest:STOCKSYMBOL
account for each stock you own that pays dividends or interest.</para>
  </note>
+ </sect2>

  <sect2 id="invest_setup_example2">
  <title>Example Stock Account</title>
@@ -683,7 +683,7 @@
                <phrase>Price Editor</phrase>
            </textobject>
            <caption>
-              The main price editor window, showing the list of all known
commodities.
+              <para>The main price editor window, showing the list of all
known commodities.</para>
            </caption>
           </mediaobject>
         </screenshot>
@@ -918,7 +918,7 @@
           </mediaobject>
         </screenshot>

-        <screenshot id="invest_sellstock">
+        <screenshot id="invest_sellstock2">
          <mediaobject>
            <imageobject>
              <imagedata fileref="figures/invest_sellstock2.png"
@@ -1012,7 +1012,7 @@
           </mediaobject>
         </screenshot>

- <screenshot id="invest_sellstockLoss">
+ <screenshot id="invest_sellstockLoss2">
          <mediaobject>
            <imageobject>
              <imagedata fileref="figures/invest_sellstockLoss2.png"
Index: ch_accts.xml
===================================================================
--- ch_accts.xml        (revision 13814)
+++ ch_accts.xml        (working copy)
@@ -38,7 +38,7 @@
     - Liabilities = Equity + (Income - Expenses)</emphasis>) again as a
     reminder, before we go deeper into each account type.</para>

-    <screenshot id="basics-AccountRelationships">
+    <screenshot id="accts-AccountRelationships">
       <mediaobject>
         <imageobject>
           <imagedata fileref="figures/basics_AccountRelationships.png"
Index: ch_cbook.xml
===================================================================
--- ch_cbook.xml        (revision 13814)
+++ ch_cbook.xml        (working copy)
@@ -565,14 +565,16 @@
         </listitem>

       </orderedlist>
+
+
+      <para>Notice that you have not yet used one of the accounts listed
in your
+        chart, the <guilabel>Credit Card</guilabel> account. Now that you
know how
+        to keep track of your bank and cash accounts in GnuCash, you may
want to
+        start tracking your credit cards as well. GnuCash provides a
special type
+        of account for credit cards, and this is discussed in the next
+        chapter.
+      </para>
     </sect2>

-
-    <para>Notice that you have not yet used one of the accounts listed in
your
-    chart, the <guilabel>Credit Card</guilabel> account. Now that you
know how
-    to keep track of your bank and cash accounts in GnuCash, you may want to
-    start tracking your credit cards as well. GnuCash provides a special
type
-    of account for credit cards, and this is discussed in the next
-    chapter.</para>
   </sect1>
 </chapter>
Index: ch_txns.xml
===================================================================
--- ch_txns.xml	(revision 13814)
+++ ch_txns.xml	(working copy)
@@ -680,7 +680,8 @@
               ledger</para>
             </caption>
           </mediaobject>
-        </screenshot></para>
+        </screenshot>
+      </para>
 
       <note>
         <para>Since we did not create the Expence:Internet account, GnuCash
@@ -1253,7 +1254,7 @@
         happy, therefore GnuCash comes with a large number of highly customizable reports.
       </para>
       
-      <note>More details on the reports will be in the Report chapter</note>
+      <note><para>More details on the reports will be in the Report chapter</para></note>
       
       <para>Lets have a look at a <guilabel>Cash Flow</guilabel>, and a 
         <guilabel>Transaction</guilabel> Report.
Index: ch_invest.xml
===================================================================
--- ch_invest.xml	(revision 13814)
+++ ch_invest.xml	(working copy)
@@ -391,11 +391,11 @@
              IBM
              NST
  </literallayout>
- </sect2>
 
  <note>
  <para>If you want to track income (dividends/interest/capital gains) on a per-stock or fund basis, you will need to create an Income:Dividends:STOCKSYMBOL, Income:Cap Gain (Long):STOCKSYMBOL, Income:Cap Gain (Short):STOCKSYMBOL and Income:Interest:STOCKSYMBOL account for each stock you own that pays dividends or interest.</para>
  </note>
+ </sect2>
 
  <sect2 id="invest_setup_example2">
  <title>Example Stock Account</title>
@@ -683,7 +683,7 @@
 	        <phrase>Price Editor</phrase>
 	    </textobject>
 	    <caption>
-	       The main price editor window, showing the list of all known commodities.
+	       <para>The main price editor window, showing the list of all known commodities.</para>
 	    </caption>
           </mediaobject>
         </screenshot>
@@ -918,7 +918,7 @@
           </mediaobject>
         </screenshot>
 
-        <screenshot id="invest_sellstock">
+        <screenshot id="invest_sellstock2">
 	  <mediaobject>
 	    <imageobject>
 	      <imagedata fileref="figures/invest_sellstock2.png" 
@@ -1012,7 +1012,7 @@
           </mediaobject>
         </screenshot>
 
- <screenshot id="invest_sellstockLoss">
+ <screenshot id="invest_sellstockLoss2">
 	  <mediaobject>
 	    <imageobject>
 	      <imagedata fileref="figures/invest_sellstockLoss2.png" 
Index: ch_accts.xml
===================================================================
--- ch_accts.xml	(revision 13814)
+++ ch_accts.xml	(working copy)
@@ -38,7 +38,7 @@
     - Liabilities = Equity + (Income - Expenses)</emphasis>) again as a
     reminder, before we go deeper into each account type.</para>
 
-    <screenshot id="basics-AccountRelationships">
+    <screenshot id="accts-AccountRelationships">
       <mediaobject>
         <imageobject>
           <imagedata fileref="figures/basics_AccountRelationships.png"
Index: ch_cbook.xml
===================================================================
--- ch_cbook.xml	(revision 13814)
+++ ch_cbook.xml	(working copy)
@@ -565,14 +565,16 @@
         </listitem>
         
       </orderedlist>
+ 
+
+      <para>Notice that you have not yet used one of the accounts listed in your
+        chart, the <guilabel>Credit Card</guilabel> account. Now that you know how
+        to keep track of your bank and cash accounts in GnuCash, you may want to
+        start tracking your credit cards as well. GnuCash provides a special type
+        of account for credit cards, and this is discussed in the next
+        chapter.
+      </para>
     </sect2>
 
-
-    <para>Notice that you have not yet used one of the accounts listed in your
-    chart, the <guilabel>Credit Card</guilabel> account. Now that you know how
-    to keep track of your bank and cash accounts in GnuCash, you may want to
-    start tracking your credit cards as well. GnuCash provides a special type
-    of account for credit cards, and this is discussed in the next
-    chapter.</para>
   </sect1>
 </chapter>
_______________________________________________
gnucash-devel mailing list
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to