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: Rainer M Krug
Subject: Re: [Orgmode] Change color in fontified html export for strings
Date: Tue, 14 Sep 2010 10:29:40 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.10pre) Gecko/20100911 Lightning/1.0b2 Shredder/3.1.5pre

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 14/09/10 10:16, Eric S Fraga wrote:
> 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.

Agreed.

> 
> 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?

Exactly.

> 
> [...]
> 
>> <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.
> 

Me neither. Probably somebody can help?

Rainer

- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Tel:        +33 - (0)9 53 10 27 44
Cell:       +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:      address@hidden

Skype:      RMkrug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyPMnMACgkQoYgNqgF2egrbWwCgjI1cOQrUbg4othy6VLX+YJqf
JccAnAyo89M1BL5c+cQnMT43j/GnMsJp
=GLS1
-----END PGP SIGNATURE-----



reply via email to

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