emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Change color in fontified html export for strings


From: Eric S Fraga
Subject: Re: [Orgmode] Change color in fontified html export for strings
Date: Tue, 14 Sep 2010 09:16:43 +0100
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.2 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

On Tue, 14 Sep 2010 10:05:32 +0200, Rainer M Krug <address@hidden> wrote:

[...]

> The string
> 
> <style> .string {color: #ff4500;}</style>
> 
> is in the html file, but it is not used - the color is hardcoded as
> #ffff00:

so this has nothing to do with CSS as style specifications can only
affect specific tags, not hard-coded style information.

The question then becomes one of which particular tool in the chain is
generating hard-coded colours and can that tool be configured to do
this in a different more general manner?

[...]

> <pre class="src src-R"><span style="color: #4186be;">plot</span>(
>      res,
>      <span style="color: #00ff00;">stages</span>=<span style="color:
> #4186be;">c</span>(
>        <span style="color: #ffff00;">"flower"</span>,
>        <span style="color: #ffff00;">"parFlower"</span>,
>        <span style="color: #ffff00;">"gall"</span>,
>        <span style="color: #ffff00;">"midgeAdult"</span>,
>        <span style="color: #ffff00;">"grePod"</span>,
>        <span style="color: #ffff00;">"weavilAdult"</span>,
>        <span style="color: #ffff00;">"seed"</span>
>        ),
>      <span style="color: #00ff00;">plot.type</span>=<span style="color:
> #ffff00;">"multiple"</span>
>      )
> </pre>

Which tool generates this pre-formatted code snippet?  I'm not up to
speed on the whole export tool chain for org unfortunately.
-- 
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D

reply via email to

[Prev in Thread] Current Thread [Next in Thread]