Skip to content

Commit 3398d85

Browse files
committed
Help: Replace most <literallayout> by <screen>
1 parent 5edcc02 commit 3398d85

15 files changed

+478
-397
lines changed

help/C/Help_ch_Account-Actions.xml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,19 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!DOCTYPE chapter SYSTEM "gnc-docbookx.dtd">
3-
<!--
4-
(Do not remove this comment block.)
3+
<!-- (Do not remove this comment block.)
54
Version: 2.0.x
65
Last modified: December 7th 2009
76
modified: March 28th 2007
87
modified: August 12th 2006
98
modified: February 28th 2005
10-
119
Maintainers:
12-
Alex Aycinena <alex.aycinena@gmail.com>
13-
Chris Lyttle <chris@wilddev.net>
14-
Neil Williams <linux@codehelp.co.uk>
15-
10+
Alex Aycinena <alex.aycinena@gmail.com>
11+
Chris Lyttle <chris@wilddev.net>
12+
Neil Williams <linux@codehelp.co.uk>
1613
Author:
17-
Chris Lyttle <chris@wilddev.net>
14+
Chris Lyttle <chris@wilddev.net>
1815
Translators:
19-
(translators put your name and email here)
16+
(translators put your name and email here)
2017
-->
2118
<chapter id="setup-accounts"
2219
xmlns:xi="http://www.w3.org/2001/XInclude">
@@ -343,10 +340,9 @@
343340
the leaves of the tree denote individual bank accounts or expense categories. When a summary
344341
report is requested, typically only the main branches are shown in the report, rather than the
345342
individual accounts. For example, a chart of accounts might look like the following:
343+
<xi:include href="Help_chtacctseg.xml"/>
346344
</para>
347345

348-
<xi:include href="Help_chtacctseg.xml" />
349-
350346
<note id="accts-code">
351347
<title>Accounts codes</title>
352348

help/C/Help_ch_Business.xml

Lines changed: 37 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!DOCTYPE chapter SYSTEM "gnc-docbookx.dtd">
3-
<!--
4-
(Do not remove this comment block.)
3+
<!-- (Do not remove this comment block.)
54
Version: 2.0.0
65
Last modified: July 9th 2006
76
Maintainers:
8-
Chris Lyttle <chris@wilddev.net>
7+
Chris Lyttle <chris@wilddev.net>
98
Author:
10-
Jon Lapham <lapham@extracta.com.br>
11-
updated Patrick Schweiger <pks@spiffykitty.com>
9+
Jon Lapham <lapham@extracta.com.br>
10+
updated Patrick Schweiger <pks@spiffykitty.com>
1211
Originally designed by Carol Champagne.
1312
Translators:
14-
(translators put your name and email here)
13+
(translators put your name and email here)
1514
-->
1615
<chapter id="chapter_busnss">
1716
<title>Business Features</title>
@@ -69,18 +68,16 @@
6968
payable system, you must first setup an account of the <emphasis>A/Payable</emphasis>
7069
type. The <emphasis>A/Payable</emphasis> account is usually a sub-account
7170
under Liabilities. It is within this account that the integrated A/P system
72-
places transactions.</para>
73-
74-
<literallayout>
75-
Basic A/P Account Hierarchy:
71+
places transactions.
72+
<screen>Basic A/P Account Hierarchy:
7673
77-
-Assets
78-
-Bank
79-
-Liabilities
80-
-Accounts Payable
81-
-Expenses
82-
-AP Expenses
83-
</literallayout>
74+
-Assets
75+
-Bank
76+
-Liabilities
77+
-Accounts Payable
78+
-Expenses
79+
-AP Expenses</screen>
80+
</para>
8481
8582
<para>You need to add additional asset accounts and real expense accounts to make
8683
this hierarchy useful. The important aspects of this hierarchy are that you need
@@ -321,31 +318,36 @@
321318
<emphasis>Assets</emphasis> to accrue income you're owed. It is within this account that the
322319
integrated A/R system will place transactions, debiting it when you post bills and crediting
323320
it when you receive payments.
321+
<screen>Basic A/R Account Hierarchy:
322+
323+
-Assets
324+
-Accounts Receivable
325+
-Checking
326+
-Income
327+
-Sales
328+
-Liabilities
329+
-Tax
330+
-Tax on Purchases
331+
-Tax on Sales</screen>
324332
</para>
325-
<literallayout>
326-
Basic A/R Account Hierarchy:
327-
328-
-Assets
329-
-Accounts Receivable
330-
-Checking
331-
-Income
332-
-Sales
333-
-Liabilities
334-
-Tax
335-
-Tax on Purchases
336-
-Tax on Sales
337-
338-
</literallayout>
333+
334+
<important>
335+
<para>If you deal with customers in more than one currency you will need a separate <emphasis>Accounts
336+
Receivable</emphasis> account for each currency:
337+
<screen>-Assets
338+
-Accounts Receivable
339+
-CHF
340+
-EUR
341+
:</screen>
342+
</para>
343+
</important>
344+
339345
<note>
340346
<para>You need to add additional asset, expense, and income accounts to this hierarchy for it to be
341347
useful. The important aspects of this hierarchy are the use of an income account and the
342348
<emphasis>Accounts Receivable</emphasis> asset account, with account type set to
343349
<emphasis>A/Receivable</emphasis>.
344350
</para>
345-
346-
<para>If you deal with customers in more than one currency you will need a separate <emphasis>Accounts
347-
Receivable</emphasis> account for each currency.
348-
</para>
349351
</note>
350352

351353
<para>The transactions generated by the A/R system are recorded within the <emphasis>Accounts

help/C/Help_ch_Reports.xml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1852,15 +1852,14 @@
18521852
</para>
18531853

18541854
<para>For example given an account structure like
1855-
</para>
1856-
<literallayout>
1857-
Assets (type ASSET)
1855+
<screen>Assets (type ASSET)
18581856
Broker (type ASSET)
18591857
Widget Stock (type STOCK)
18601858
Income (type INCOME)
18611859
Dividends (type INCOME)
1862-
Widget Stock (type INCOME)
1863-
</literallayout>
1860+
Widget Stock (type INCOME)</screen>
1861+
</para>
1862+
18641863
<para>A transaction that debits the "Assets:Broker" account and credits the "Income:Dividends:Widget
18651864
Stock" account will count as income even though it doesn't have a split with
18661865
account "Assets:Broker:Widget Stock".

help/C/Help_chtacctseg.xml

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!DOCTYPE literallayout SYSTEM "gnc-docbookx.dtd">
3-
<literallayout>
4-
<literal> 300 Expenses
5-
|
6-
+--310 Living Expenses
7-
| |
8-
| +--311 Beer
9-
| |
10-
| +--312 Cable
11-
|
12-
+--320 Business Expenses
13-
| |
14-
| +--321 8-inch Floppies
15-
| |
16-
| +--322 Blue Ray RW DVDs
17-
| |
18-
: :</literal>
19-
</literallayout>
2+
<!DOCTYPE screen SYSTEM "gnc-docbookx.dtd">
3+
<screen>300 Expenses
4+
|
5+
+--310 Living Expenses
6+
| |
7+
| +--311 Beer
8+
| |
9+
| +--312 Cable
10+
|
11+
+--320 Business Expenses
12+
| |
13+
| +--321 8-inch Floppies
14+
| |
15+
| +--322 Blue Ray RW DVDs
16+
| |
17+
: :</screen>

0 commit comments

Comments
 (0)