From: Eric S Fraga <ucecesf@ucl.ac.uk>
To: Rick Moynihan <rick.moynihan@gmail.com>
Cc: list <emacs-orgmode@gnu.org>,
Emacs-orgmode, Carsten Dominik <carsten.dominik@gmail.com>
Subject: Re: Colors for pre elem. on orgmode.org
Date: Tue, 17 Nov 2009 17:31:04 +0000 [thread overview]
Message-ID: <877htp2h47.wl%ucecesf@ucl.ac.uk> (raw)
In-Reply-To: <e85471e30911161433g2b4a365amab292fcc61f5a0d2@mail.gmail.com>
At Mon, 16 Nov 2009 22:33:25 +0000,
Rick Moynihan wrote:
> For what it's worth I find the lack of contrast here a problem too.
> Though I can read the text, it's not especially pleasant. I've also
> found something similar in my exports (with a non default colour
> theme), which has led me to use the following STYLE option for source
> code blocks etc...
>
> #+STYLE: <style> pre { background-color: #191919 } pre { color:
> #FFFFFF } </style>
I have a similar problem. The following org-mode snippet:
--8<---------------cut here---------------start------------->8---
#+begin_src sh
echo <<EOF
This is some input
EOF
#+end_src
--8<---------------cut here---------------end--------------->8---
generates, upon HTML export, the following code:
--8<---------------cut here---------------start------------->8---
<pre class="src src-sh"><span style="color: #b0c4de;">echo</span> <<EOF<span style="color: #ffff00; font-weight: bold;">
This is some input
EOF
</span></pre>
--8<---------------cut here---------------end--------------->8---
The problem with this is that I find the yellow (ffff00 colour)
illegible on almost every monitor I use. However, there is no class
nor id that I can adjust a style for the relevant span elements. Even
if I define some CSS for the src or src-sh classes, these will be
overridden in the spans. The HTML styles for the spans are hard-coded
in, it would appear. Or maybe there is something I can configure
somewhere?
I will have a look at the export code later when I get a chance...
next prev parent reply other threads:[~2009-11-17 17:31 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-15 19:08 Colors for pre elem. on orgmode.org Sebastian Rose
2009-11-16 13:04 ` Carsten Dominik
2009-11-16 13:15 ` Sebastian Rose
2009-11-16 13:17 ` Greg Newman
2009-11-16 16:43 ` Sebastian Rose
2009-11-16 22:33 ` Rick Moynihan
2009-11-17 17:31 ` Eric S Fraga [this message]
2009-11-17 18:17 ` Sebastian Rose
2009-11-17 19:03 ` Eric S Fraga
2009-11-17 19:16 ` Rick Moynihan
2009-11-16 15:56 ` Carsten Dominik
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=877htp2h47.wl%ucecesf@ucl.ac.uk \
--to=ucecesf@ucl.ac.uk \
--cc=carsten.dominik@gmail.com \
--cc=e.fraga@ucl.ac.uk \
--cc=emacs-orgmode@gnu.org \
--cc=rick.moynihan@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).