Difference between revisions of "Concept Guide"

From GnuCash
Jump to: navigation, search
(Updated the submit part)
(Typos & refrasing &Number list)
Line 17: Line 17:
 
Please co-ordinate and inform of your intentions on gnucash-devel as well as on this wiki.
 
Please co-ordinate and inform of your intentions on gnucash-devel as well as on this wiki.
  
* Ensure you have the latest copy from subversion
+
# Ensure you have the latest copy from subversion
** svn update
+
#* svn update
* Update the Wiki, Move the chapter to Ongoing work
+
# Update the Wiki, Move the chapter to Ongoing work
* Adding the following to the top of the chapter .xml file, so external tools handles the xml file better.
+
# <nowiki>Possible add the following to the top of the chapter .xml file, so external tools handles the xml file better (like xmlto, xmlminder, xmllint).
<pre>
+
</nowiki><pre><nowiki>
 
  <?xml version="1.0" encoding="UTF-8"?>
 
  <?xml version="1.0" encoding="UTF-8"?>
 
  <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
 
  <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
 
  "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
 
  "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
</pre>
+
</nowiki></pre>
* Add revision and your name to the authors block. See sample below
+
# <nowiki>Add revision and your name to the authors block. See sample below
<pre>
+
</nowiki><pre><nowiki>
 
  <!--
 
  <!--
 
       (Do not remove this comment block.)
 
       (Do not remove this comment block.)
Line 43: Line 43:
 
               (translators put your name and email here)
 
               (translators put your name and email here)
 
-->
 
-->
</pre>
+
</nowiki></pre>
*Modify the xml file, and check the result with yelp
+
# Modify the xml file, and check the result with yelp
** I am using scite as my editor, a plain editor like gedit, but it can "compress" the various tag pairs.
+
#* I am using scite as my editor, a plain editor like gedit, but it can "compress" the various tag pairs. Or use emacs with docbook extension
** yelp ch_txns.xml
+
#* yelp ch_txns.xml
** The XMLmind XML editor for Windows is free for personal use, and works fine. It also validates as well as clean up the XML code.
+
#* The XMLmind XML editor for Windows is free for personal use, and works fine. It also validates as well as clean up the XML code.
*** www.xmlmind.com/xmleditor
+
#** www.xmlmind.com/xmleditor
*** xmlmind do not fix the /> ending tag though.
+
#** xmlmind do not fix the /> ending tag though.
*Spell Check the document.
+
# For screenshots
*Clean up docbook tags
+
#* Ensure you are using the default Gnome theme (ClearLooks)
** Ensure there is no "_" together with the id=" tag
+
#* Make the screenshots as small as possible
** Ensure that there is no "/>", but corresponding ending tag.
+
#* Use GIMP to take the screen shots (Aquire with delay)
<pre>
+
#* Use Gimp --> Image --> Scale to ensure the width is max 510 pixels.
 +
#* Save screenshot as a png file.
 +
#* Ensure you are using the standard C locale. LANG=C ./gnucash
 +
# Spell Check the document.
 +
# Clean up docbook tags
 +
#* Ensure there is no "_" together with the id=" tag
 +
#* <nowiki>Ensure that there is no "/>", but corresponding ending tag.
 +
</nowiki><pre><nowiki>
 
<para>Here is some text</para>
 
<para>Here is some text</para>
</pre>
+
</nowiki></pre>
** xmllint --valid --noout <chapter xml file>
+
#* xmllint --valid --noout <chapter xml file>
*Possible prepare an easily readable diff
+
# <nowiki>Prepare a text diff (if new file, or major formatting changes)
** xmlto -o /tmp txt <Modified chapter xml>.xml
+
</nowiki><pre><nowiki>
** rename /tmp/<chapter xml>.txt to /tmp/<chapter xml>.1.9.txt
+
xmlto -o /tmp txt <Modified chapter xml>.xml
** xmlto -o /tmp txt <SVN chapter xml>.xml
+
rename /tmp/<chapter xml>.txt to /tmp/<chapter xml>.1.9.txt
** rename /tmp/<chapter xml>.txt to /tmp/<chapter xml>.svn.txt
+
xmlto -o /tmp txt <SVN chapter xml>.xml
** diff -u /tmp/<chapter xml>.svn.txt /tmp/<chapter xml>.1.9.txt
+
rename /tmp/<chapter xml>.txt to /tmp/<chapter xml>.svn.txt
*Prepare an subversion diff
+
diff -u /tmp/<chapter xml>.svn.txt /tmp/<chapter xml>.1.9.txt
** svn diff > MyChanges.diff
+
</nowiki></pre>
*Double check that the svn version has not been modified.
+
# If you added a DTD to the top of the chapter .xml file, then remove those line at this stage.
*Submit your contribution to the GnuCash team
+
#<nowiki>Prepare an subversion diff
** Send the text based diff file to the -devel list (if major formatting changes or new file)
+
</nowiki><pre><nowiki>svn diff > MyChanges.diff</nowiki></pre>
** Send the subversion diff file to -devel (if minor changes)
+
# Double check that the svn version has not been modified.
** Send the xml (if new major formatting changes) to -devel
+
# Submit your contribution to the GnuCash team
** Send the screenshots directly to Chris, and other interested parties after some time passed to let comments have a chance to filter back.
+
#* Send the text based diff file to the -devel list (if major formatting changes or new file)
*For screenshots
+
#* Send the subversion diff file to -devel (if minor changes)
** Ensure you are using the default Gnome theme (ClearLooks)
+
#* Send the xml (if new file or if you did major formatting changes) to -devel
** Make the screenshots as small as possible
+
#* Send the screenshots directly to Chris, and other interested parties after some time passed to let comments have a chance to filter back.
** Use GIMP to take the screen shots (Aquire with delay)
 
** Use Gimp --> Image --> Scale to ensure the width is max 510 pixels.
 
** Save screenshot as a png file.
 
** Ensure you are using the standard C locale. LANG=C ./gnucash
 
  
 
= Areas that need work =
 
= Areas that need work =

Revision as of 01:30, 21 April 2006

Road towards 2.0

This page is just a temporary page to keep track of the progress of the concept guide, as well as what needs to be done with it. Please feel free to add to it, with various thoughts and comments. Especially in things that needs to be clearer, or items that are missing etc.

Check out document

 svn checkout http://svn.gnucash.org/repo/gnucash-docs/trunk gnucash-docs

Review

Please read through the svn version of Conceptguide (on the web, or in SVN (se above)) and indicate on this wiki which areas need to be reworked, modified, deleted, added, or left unchanged.

We can use this wiki page to discuss what should be in the guide, and which examples. Later on, we can use the gnucash-devel list to send out the raw text for quick reviews

Updating the concept guide

Please co-ordinate and inform of your intentions on gnucash-devel as well as on this wiki.

  1. Ensure you have the latest copy from subversion
    • svn update
  2. Update the Wiki, Move the chapter to Ongoing work
  3. Possible add the following to the top of the chapter .xml file, so external tools handles the xml file better (like xmlto, xmlminder, xmllint).
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
  1. Add revision and your name to the authors block. See sample below
<!--
     (Do not remove this comment block.)
 Version: 1.9.x
 Last modified: April 16th 2006
 Version: 1.8.4
 Last modified: April 10th 2004
 Maintainers: 
              Chris Lyttle <chris@wilddev.net>
 Author:
 		Jon Lapham <lapham@extracta.com.br>
 	Updated	Bengt Thuree <bengt@thuree.com>
 Originally written by Carol Champagne.
 Translators:
              (translators put your name and email here)

-->

  1. Modify the xml file, and check the result with yelp
    • I am using scite as my editor, a plain editor like gedit, but it can "compress" the various tag pairs. Or use emacs with docbook extension
    • yelp ch_txns.xml
    • The XMLmind XML editor for Windows is free for personal use, and works fine. It also validates as well as clean up the XML code.
      • www.xmlmind.com/xmleditor
      • xmlmind do not fix the /> ending tag though.
  2. For screenshots
    • Ensure you are using the default Gnome theme (ClearLooks)
    • Make the screenshots as small as possible
    • Use GIMP to take the screen shots (Aquire with delay)
    • Use Gimp --> Image --> Scale to ensure the width is max 510 pixels.
    • Save screenshot as a png file.
    • Ensure you are using the standard C locale. LANG=C ./gnucash
  3. Spell Check the document.
  4. Clean up docbook tags
    • Ensure there is no "_" together with the id=" tag
    • Ensure that there is no "/>", but corresponding ending tag.
<para>Here is some text</para>
    • xmllint --valid --noout <chapter xml file>
  1. Prepare a text diff (if new file, or major formatting changes)
xmlto -o /tmp txt <Modified chapter xml>.xml rename /tmp/<chapter xml>.txt to /tmp/<chapter xml>.1.9.txt xmlto -o /tmp txt <SVN chapter xml>.xml rename /tmp/<chapter xml>.txt to /tmp/<chapter xml>.svn.txt diff -u /tmp/<chapter xml>.svn.txt /tmp/<chapter xml>.1.9.txt
  1. If you added a DTD to the top of the chapter .xml file, then remove those line at this stage.
  2. Prepare an subversion diff
    svn diff > MyChanges.diff
  3. Double check that the svn version has not been modified.
  4. Submit your contribution to the GnuCash team
    • Send the text based diff file to the -devel list (if major formatting changes or new file)
    • Send the subversion diff file to -devel (if minor changes)
    • Send the xml (if new file or if you did major formatting changes) to -devel
    • Send the screenshots directly to Chris, and other interested parties after some time passed to let comments have a chance to filter back.

Areas that need work

The following items have missing text in the existing guide, or just need more work

Ready for release

The following chapters have been review/modified and are ready for release

Ready for review

The following chapters have been modified and are ready for review

  • 1. Overview
  • 2. The Basics
  • 3. Accounts
  • 4. Transactions
  • 5. Checkbook
  • 6. Credit Cards
  • 8. Investments

Ongoing work

Remaining work

The below chapters have not been modified/checked since the 1.8 serie.

General

  • Add screenshots for the budget chapter

Personal

  • 9. Capital Gains
  • 10. Multiple Currencies

Business

  • 11. Depreciation
  • 12. Accounts Receivable
  • 13. Accounts Payable
  • 14. Payroll

Appendix

  • A. Migration Guide
  • B. Frequent Asked Questions (we need to update with the valid FQA)

Thoughts and comments

  • Reports -
    • Add a sub chapter in each chapter regarding to Reports valid to current chapter
    • Add a separate chapter with an overview of the current reports
  • Make examples with separate accounts for each stocks/brokearage income/expense, so we can track each stocks costs
  • Ensure the account structure and names follow the default convention (Change "Starting Values" to "Opening Balances" for instance)
  • One datafile per chapter, and the chapter has to explain how to create the datafile with all its entries.
  • If you have multiple bank accounts with one bank the following should be an example?
    • Asset:Bank:CitiBank:Saving
    • Asset:Bank:CitiBank:ATM
  • Multiple currencies
    • the business features are all currently single-currency reference
    • Equity:Opening Balance:USD
    • Equity:Opening Balance:AUD
    • Income:Saving:CitiBank:Interest (where CitiBank is all in USD)
    • Expenses:Bank:CitiBank:Interest (where CitiBank is all in USD)
    • Expenses:Bank:CitiBank:Charges (where CitiBank is all in USD)
    • Income:Saving:Boom:Interest:HKD (boom has one USD and one HKD account)
    • Income:Saving:Boom:Interest:USD (boom has one USD and one HKD account)
  • Investments
    • Verify Capital Gains/Dividens in reports. Details
    • When you create a commodity, you should also directly create the Dividend account
    • How to Add / Remove shares
    • How to move shares between brokerage accounts.
    • How to do imediate re-invest dividend
    • How to buy shares with NON-Default currency
      • Current workaround: Buy the shares from the BANK account, and right click on the stock purchase row and select "Edit Exchange Rate"
Default currency AUD (not HKD)
Commodity Stock_1
Assets:Banks:Boom:HKD
Assets:Brokerage Accounts:Boom:Stock_1
Expenses:Investments:Commission:Boom_HKD
Income:Investments:Dividend:Boom_HKD:Stock_1
Open Assets:Banks:Boom:HKD account
Buy Stocks 
                Assets:Banks:Boom:HKD                                   Withdrawal 10,000
                Expenses:Investments:Commission:Boom_HKD    Deposit 500
                Assets:Brokerage Accounts:Boom:Stock_1      Deposit 9,500
Right click on the last row, and select "Edit Exchange Data"
In the following pop up window, enter the actual number of stocks in the last entry box 
 (not the default entry box)
  • Assets
    • Personal loan to a friend (Assets:Money owed to you:<Friends name>)
    • Depreciation of private assets like Car and other items (house, horse etc)
  • QIF Import
    • Migrating from Quicken/Money
      • I think we need to come with more details on this area? (expand on 2.7. Importing QIF Files, and Appendix A)
    • Ensure that the numbers in the QIF file do not contain " " (http://bugzilla.gnome.org/show_bug.cgi?id=121443)
    • Sample of QIF file, and links to more samples