[GNC] Add a Line-Feed to Report Title

Richard Marmor Richard at Arbour.cc
Sun Jan 27 10:21:19 EST 2019


In Gnucash 2.6.21, the standard report title for an Income Statement reads:

     (Company Name)(Report Title) For Period Covering (start date) to 
(end date)

which for my purposes is too lengthy.

In the report's generator file, income-statement.scm, I found this:

(gnc:html-document-set-title!
  doc (sprintf #f
          (string-append "%s %s "
                   (_ "For Period Covering %s to %s"))
          company-name report-title
                (gnc-print-date start-date-printable)
                (gnc-print-date end-date-tp)))

Can someone tell me how to modify it so as to insert a line feed so the report
title will appear on two lines as:

     (Company Name)(Report Title)
     For Period Covering (start date) to (end date)

I am not a programmer.  I tried reading some of the help information among the
SCM files, but frankly it was all Greek to me.

Help...

Thanks!



More information about the gnucash-user mailing list