custom report documentation

Derek Atkins warlord at MIT.EDU
Wed Oct 4 17:24:42 EDT 2006


Quoting Karl Anderson <kra at monkey.org>:

> Derek Atkins <warlord at MIT.EDU> writes:
>
>> Karl Anderson <kra at monkey.org> writes:
>>
>>> Where does one put a custom report source file to be able to view/test it?
>>> I wasn't able to find this out in the above docs, or find a site-foo
>>> directory in my installation.
>>
>> It's a two-step process...  You need to get the report loaded
>> at runtime.  The best way to do that is to modify standard-reports.scm
>> to load your new report.
>
> Editing the source is not user customization :)

Who said anything about "user customization"?  The question was how
to load a new report...

>>  Another option (that's not been tested
>> properly) -- you MIGHT be able to get the report loaded from
>> ~/.gnucash/config.user -- but like I said that's not been tested.
>
> I was able to to at least add the toy report this way, thanks.  I
> copied hello-world.scm to my .gnucash directory, edited some strings,
> and commented out the define-module statement.
>
>  (display "start loading config.user")
>  (load "my-hello-world.scm")
>  (display "end loading config.user")

Glad to hear this actually works!

> Karl Anderson      kra at monkey.org      http://monkey.org/~kra/

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available



More information about the gnucash-user mailing list