Sebastian Rose wrote:
Bernt Hansen <be...@norang.ca> writes:
Mark,
Sorry about the yellow I hadn't noticed it. I am trying to fix it, but
it seems to be defeating my very limited css skills. The css generated
by org is:
<pre class="src src-emacs-shell">
*~
</pre>
<pre class="src src-emacs-shell">
bzr add *.org
</pre>
In my stylesheet I am trying things like:
pre.src {
font-style: bold;
color: black;
}
span.src-emacs-shell {color: black;}
However, I can't get the span (which should affect the quoted text) to
work. I would appreciate it if someone could point me in the righ
direction.
Once I have sorted this I will generate a PDF version.
The span has a hardcoded style element which specifies the colour
<span style="color: rgb(255, 255, 85);">"Imported sources."</span>
I don't think you will be able to override that with CSS. You need to
somehow remove the embedded style from the exported source.
M-x customize-variable RET htmlize-output-type
and set it to `css' or `inline-css'.
Your setting is `font'
Thanks Sebastien - my setting was already inline-css. I tried switching
to css and that has fixed the problem.
Ian.
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode