Arbitrary css in a report

Macho Philipovich macho.p at riseup.net
Wed Aug 30 17:31:11 EDT 2017


Hi there,

The tax invoice report has an extremely helpful option that allows you
to specify the name of an arbitrary css file to invoke in the resulting
report.

I'd love to be able to do this in other reports but I can't just steal
the tax invoice code because it uses eguile, which the others don't, so
the structure is different.

Can anyone say what code fragment to add at what point to just get the
resulting report so that  "<link rel="stylesheet" [etc.]" is spit out at
the appropriate spot? I don't need it added to the options menu,
hardcoded is fine for me.

I'm particularly interested in adding this to a customized version that
I've concocted of the transaction report (transaction.scm).

Thanks so much!

Macho




More information about the gnucash-user mailing list