How to set the font face in a scm

James McDonald james at jamesmcdonald.id.au
Tue Feb 26 04:37:07 EST 2008


hello-world.scm has the following

  ;; every HTML object has "styles" for markup and data.  the
      ;; style for an HTML tag such as "body" tells the HTML
      ;; document how to render the markup and content for tagged
      ;; elements.  For each tag, you can specify a font-face,
      ;; font-color, and font-size to render the contents of the
      ;; element, and any number of attributes to put in the
      ;; start-tag.  You can pass 'inheritable? #f if you wish the
      ;; style to apply only to markup in the object itself and not
      ;; to its components.  You can also override the tag itself if
      ;; you want to create your own custom markup (see
      ;; documentation).


Saying that you can set the font face. Is this correct? If so how?

I have been trying to play with the 'attribute and other such tags but 
am not having any success.

Has anyone else successfully managed to edit their scm invoice reports 
so that when they export they don't need to do  a lot of style changes?





More information about the gnucash-user mailing list