On the bottom of page 61 of the Org Mode 4.57 manual
there is an example of including a style sheet for
HTML export.

Each of the lines is prefixed with # but I found it
is necessary to remove these for the style sheet to
work. The documentation needs to be corrected!

My style sheet section looks like this:


* COMMENT HTML style specifications

# Local Variables:
# org-export-html-style: " <style type=\"text/css\">
 html {
     font-family: Verdana, Times, serif;
     font-size: 10pt;
     margin-left: 20pt;
     margin-right: 50pt;
   }
 pre {
       border: 1pt solid #AEBDCC;
       background-color: #F3F5F7;
       padding: 5pt;
       font-family: courier, monospace;
      font-size: 10pt;
      margin-left: 45pt;
      margin-right: 45pt;
   }
 p,li {
     margin-left: 1.5 cm;
     margin-right: 1.5 cm;
    }
 .author, .date {
      font-size: 8pt;
      margin-left: 0pt;
    }
   h1 {color: darkblue;
       margin-top: 3.0 cm;
      }

  </style>"
# End:



Charles


_______________________________________________
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to