Try:

Edit > Style Sheets > New > Template = CSS, give it a name,

then copy/paste your CSS code.

I'm not sure how to go about it via config.user or outside of the GUI.

The above method should allow you to select it in reports. If you set a particular invoice template to use it, you can then set that template as a default for easy future use. (without resorting to a Saved Report Configuration)

Regards,
Adrien

On 7/2/23 2:54 PM, Robert Heller wrote:
OK, I have created a new stylesheet renderer, but how to I get it into the
menus?

I have this in ~/.local/share/gnucash/config.user:

;; Hacked from: 
/usr/local/share/guile/site/3.0/gnucash/report/stylesheets/footer.scm
(load "/home/heller/gnucash/dws-stylesheet.scm")

;; copied and hacked from ~/.local/share/gnucash/stylesheets-2.0
(let ((template (gnc:html-style-sheet-template-find "DWS")))
   (if template
     (let ((options ((gnc:html-style-sheet-template-options-generator 
template))))

  (gnc:restore-html-style-sheet "Deepwoods Software Stylesheet" "DWS" 
options))))

But my stylesheet is not showing up anywhere... not getting any errors or
messages (other then telling me about finding Finance::Quote version 1.51).

(Is ~/.local/share/gnucash/config.user the correct file to put the load in?)

_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to