emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastian Rose <sebastian_rose@gmx.de>
To: Rainer M Krug <r.m.krug@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Change color in fontified html export for strings
Date: Tue, 14 Sep 2010 18:25:07 +0200	[thread overview]
Message-ID: <87tyls2syk.fsf@gmx.de> (raw)
In-Reply-To: <4C8F6273.8090406@gmail.com> (Rainer M. Krug's message of "Tue, 14 Sep 2010 13:54:27 +0200")

Rainer M Krug <r.m.krug@gmail.com> writes:
> On 14/09/10 13:41, Sebastian Rose wrote:
>> Eric S Fraga <ucecesf@ucl.ac.uk> writes:
>>> Thanks Sebastian.  I think that will definitely help the OP.  However,
>>> at least on my system, I believe the variable is actually
>>> org-export-htmlize-output-type (type, not style).
>> 
>> 
>> Yes, sorry Eric, right: org-export-htmlize-output-type
>
> I found the variable - but then all the highlighting is gone. I assume,
> I have to use CSS sylesheet for that. That is an overkill for me at the
> moment.
>
> Is there really no way, just to change the color of one entity in the
> htmlization of code?


Ahhh, sorry, yes, there is one:

   M-x customize-variable RET org-export-html-style RET

You should leave your `org-export-htmlize-output-type' setting as
discussed before.

Set `org-export-html-style' to, e.g., 

  <style> .string { color:#006600; } </style>



HTH

   Sebastian

  reply	other threads:[~2010-09-14 16:36 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-13 13:06 Change color in fontified html export for strings Rainer M Krug
2010-09-14  0:36 ` Sebastian Rose
2010-09-14  7:11   ` Rainer M Krug
2010-09-14  7:41     ` Eric S Fraga
2010-09-14  8:05       ` Rainer M Krug
2010-09-14  8:16         ` Eric S Fraga
2010-09-14  8:29           ` Rainer M Krug
2010-09-14 10:13             ` Sebastian Rose
2010-09-14 10:39               ` Eric S Fraga
2010-09-14 11:41                 ` Sebastian Rose
2010-09-14 11:54                   ` Rainer M Krug
2010-09-14 16:25                     ` Sebastian Rose [this message]
2010-09-14 18:56                       ` Rainer M Krug

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tyls2syk.fsf@gmx.de \
    --to=sebastian_rose@gmx.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=r.m.krug@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).