From 039554371930af4680e3feb913ba6e164a60ef2b Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Thu, 26 Jan 2017 14:19:23 -0800 Subject: [PATCH] doc: journal: market price doc tweak --- hledger-lib/doc/hledger_journal.5 | 3 +- hledger-lib/doc/hledger_journal.5.info | 75 ++++++++++++------------- hledger-lib/doc/hledger_journal.5.m4.md | 2 +- hledger-lib/doc/hledger_journal.5.txt | 8 +-- 4 files changed, 43 insertions(+), 45 deletions(-) diff --git a/hledger-lib/doc/hledger_journal.5 b/hledger-lib/doc/hledger_journal.5 index cbf3919df..8d76d5c0b 100644 --- a/hledger-lib/doc/hledger_journal.5 +++ b/hledger-lib/doc/hledger_journal.5 @@ -554,8 +554,7 @@ P\ DATE\ COMMODITYBEINGPRICED\ UNITPRICE .fi .PP DATE is a simple date as usual. -COMMODITYBEINGPRICED is the symbol of the commodity being priced (just -the symbol, no quantity). +COMMODITYBEINGPRICED is the symbol of the commodity being priced. UNITPRICE is an ordinary amount (symbol and quantity) in a second commodity, specifying the unit price or conversion rate for the first commodity in terms of the second, on the given date. diff --git a/hledger-lib/doc/hledger_journal.5.info b/hledger-lib/doc/hledger_journal.5.info index 65e013cdf..466a90176 100644 --- a/hledger-lib/doc/hledger_journal.5.info +++ b/hledger-lib/doc/hledger_journal.5.info @@ -579,10 +579,9 @@ an included file. Their format is: P DATE COMMODITYBEINGPRICED UNITPRICE DATE is a simple date as usual. COMMODITYBEINGPRICED is the symbol of -the commodity being priced (just the symbol, no quantity). UNITPRICE is -an ordinary amount (symbol and quantity) in a second commodity, -specifying the unit price or conversion rate for the first commodity in -terms of the second, on the given date. +the commodity being priced. UNITPRICE is an ordinary amount (symbol and +quantity) in a second commodity, specifying the unit price or conversion +rate for the first commodity in terms of the second, on the given date. For example, the following directives say that one euro was worth 1.35 US dollars during 2009, and $1.40 from 2010 onward: @@ -1067,39 +1066,39 @@ Node: Transaction prices18225 Ref: #transaction-prices18370 Node: Market prices19950 Ref: #market-prices20085 -Node: Comments21085 -Ref: #comments21207 -Node: Tags22319 -Ref: #tags22439 -Node: Implicit tags23874 -Ref: #implicit-tags23982 -Node: Directives24501 -Ref: #directives24616 -Node: Account aliases24809 -Ref: #account-aliases24955 -Node: Basic aliases25557 -Ref: #basic-aliases25702 -Node: Regex aliases26390 -Ref: #regex-aliases26560 -Node: Multiple aliases27330 -Ref: #multiple-aliases27504 -Node: end aliases28000 -Ref: #end-aliases28142 -Node: account directive28244 -Ref: #account-directive28426 -Node: apply account directive28722 -Ref: #apply-account-directive28920 -Node: Multi-line comments29580 -Ref: #multi-line-comments29772 -Node: commodity directive29899 -Ref: #commodity-directive30085 -Node: Default commodity30958 -Ref: #default-commodity31133 -Node: Default year31669 -Ref: #default-year31836 -Node: Including other files32259 -Ref: #including-other-files32418 -Node: EDITOR SUPPORT32814 -Ref: #editor-support32934 +Node: Comments21054 +Ref: #comments21176 +Node: Tags22288 +Ref: #tags22408 +Node: Implicit tags23843 +Ref: #implicit-tags23951 +Node: Directives24470 +Ref: #directives24585 +Node: Account aliases24778 +Ref: #account-aliases24924 +Node: Basic aliases25526 +Ref: #basic-aliases25671 +Node: Regex aliases26359 +Ref: #regex-aliases26529 +Node: Multiple aliases27299 +Ref: #multiple-aliases27473 +Node: end aliases27969 +Ref: #end-aliases28111 +Node: account directive28213 +Ref: #account-directive28395 +Node: apply account directive28691 +Ref: #apply-account-directive28889 +Node: Multi-line comments29549 +Ref: #multi-line-comments29741 +Node: commodity directive29868 +Ref: #commodity-directive30054 +Node: Default commodity30927 +Ref: #default-commodity31102 +Node: Default year31638 +Ref: #default-year31805 +Node: Including other files32228 +Ref: #including-other-files32387 +Node: EDITOR SUPPORT32783 +Ref: #editor-support32903  End Tag Table diff --git a/hledger-lib/doc/hledger_journal.5.m4.md b/hledger-lib/doc/hledger_journal.5.m4.md index 28a971c81..c102fd0e4 100644 --- a/hledger-lib/doc/hledger_journal.5.m4.md +++ b/hledger-lib/doc/hledger_journal.5.m4.md @@ -451,7 +451,7 @@ P DATE COMMODITYBEINGPRICED UNITPRICE ``` DATE is a [simple date](#simple-dates) as usual. -COMMODITYBEINGPRICED is the symbol of the commodity being priced (just the symbol, no quantity). +COMMODITYBEINGPRICED is the symbol of the commodity being priced. UNITPRICE is an ordinary [amount](#amounts) (symbol and quantity) in a second commodity, specifying the unit price or conversion rate for the first commodity in terms of the second, on the given date. diff --git a/hledger-lib/doc/hledger_journal.5.txt b/hledger-lib/doc/hledger_journal.5.txt index e0ee3f43a..3c0bbaadb 100644 --- a/hledger-lib/doc/hledger_journal.5.txt +++ b/hledger-lib/doc/hledger_journal.5.txt @@ -421,10 +421,10 @@ FILE FORMAT P DATE COMMODITYBEINGPRICED UNITPRICE DATE is a simple date as usual. COMMODITYBEINGPRICED is the symbol of - the commodity being priced (just the symbol, no quantity). UNITPRICE - is an ordinary amount (symbol and quantity) in a second commodity, - specifying the unit price or conversion rate for the first commodity in - terms of the second, on the given date. + the commodity being priced. UNITPRICE is an ordinary amount (symbol + and quantity) in a second commodity, specifying the unit price or con- + version rate for the first commodity in terms of the second, on the + given date. For example, the following directives say that one euro was worth 1.35 US dollars during 2009, and $1.40 from 2010 onward: