From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Newman Subject: Re: Colors for pre elem. on orgmode.org Date: Mon, 16 Nov 2009 08:17:19 -0500 Message-ID: <71454fac0911160517l3bf8031fn27a666e30c2623c9@mail.gmail.com> References: <873a4fvc59.fsf@gmx.de> <28BB9C80-9659-4551-AF90-F0F5D15906A2@gmail.com> <87hbsur4ow.fsf@gmx.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0255812119==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NA1Sk-00057U-2t for emacs-orgmode@gnu.org; Mon, 16 Nov 2009 08:17:46 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NA1Sf-00055C-7h for emacs-orgmode@gnu.org; Mon, 16 Nov 2009 08:17:45 -0500 Received: from [199.232.76.173] (port=45213 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NA1Se-000559-U6 for emacs-orgmode@gnu.org; Mon, 16 Nov 2009 08:17:40 -0500 Received: from mail-px0-f192.google.com ([209.85.216.192]:45330) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NA1Se-0001AD-Fd for emacs-orgmode@gnu.org; Mon, 16 Nov 2009 08:17:40 -0500 Received: by pxi30 with SMTP id 30so3590262pxi.14 for ; Mon, 16 Nov 2009 05:17:39 -0800 (PST) In-Reply-To: <87hbsur4ow.fsf@gmx.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sebastian Rose Cc: Emacs-orgmode mailing list , Carsten Dominik --===============0255812119== Content-Type: multipart/alternative; boundary=00504502f55271683004787cd511 --00504502f55271683004787cd511 Content-Type: text/plain; charset=UTF-8 On my calibrated monitor that's fine for readability On Mon, Nov 16, 2009 at 8:15 AM, Sebastian Rose wrote: > Carsten Dominik writes: > > Hi Sebastian, > > > > can you point to a page where you think the stuff is badly readable? > > > > - Carsten > > Yes - sorry. > > > http://orgmode.org/worg/org-contrib/org-protocol.php#open-source-rewritten-urls > > > > Sebsatian > > > > > > > On Nov 15, 2009, at 8:08 PM, Sebastian Rose wrote: > > > >> Hi, > >> > >> > >> the colors on orgmode.org are made from an Emacs setup with a dark > >> background. > >> > >> Because of the light background on the Web, code examples with syntax > >> highlighting are hard to read. I even avoid #+BEGIN_SRC and use > >> #+BEGIN_EXAMPLE instead. > >> > >> > >> I played a little locally, and found, that the following simple change > >> makes highlighted source code readable. Just put this in an exported > >> HTML file, just before the `' tag and keep the original styles in > >> place, to see the results: > >> > >> > >> > >> > >> > >> > >> What do you think? > >> > >> How is the font-size of code on Windows and MAC (Safari)? > >> > >> > >> > >> Sebastian > >> > >> > >> _______________________________________________ > >> 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 > > > > - Carsten > > > > > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Sebastian Rose Fachinformatiker / Anwendungsentwicklung > Viktoriastr. 22 Entwicklung von Anwendungen mit freien Werkzeugen > 30451 Hannover und Bibliotheken. > > 0173 83 93 417 sebastian_rose@gmx.de s.rose@emma-stil.de > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > _______________________________________________ > 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 > --00504502f55271683004787cd511 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On my calibrated monitor that's fine for readability

On Mon, Nov 16, 2009 at 8:15 AM, Sebastian Rose <sebastian_rose@gmx.de= > wrote:
Carsten Dominik <carsten.dominik@gmail.com> w= rites:
> Hi Sebastian,
>
> can you point to a page where you think the stuff is badly readable? >
> - Carsten

Yes - sorry.

http://orgmode.org/worg/org-contrib/org-= protocol.php#open-source-rewritten-urls



=C2=A0Sebsatian



>
> On Nov 15, 2009, at 8:08 PM, Sebastian Rose wrote:
>
>> Hi,
>>
>>
>> the colors on org= mode.org are made from an Emacs setup with a dark
>> background.
>>
>> Because of the light background on the Web, code examples with syn= tax
>> highlighting are hard to read. I even avoid #+BEGIN_SRC and use >> #+BEGIN_EXAMPLE instead.
>>
>>
>> I played a little locally, and found, that the following simple ch= ange
>> makes highlighted source code readable. Just put this in an export= ed
>> HTML file, just before the `</head>' tag and keep the or= iginal styles in
>> place, to see the results:
>>
>>
>> <style type=3D"text/css">
>> pre {
>> =C2=A0 =C2=A0background-color:#333333;
>> =C2=A0 =C2=A0color:white;
>> }
>> </pre>
>>
>> These are just the changed values.
>>
>>
>>
>> Unfortunately, this changes the appearance significantly. Dark
>> background for all code.
>>
>>
>>
>> As an alternative, we could change all foreground colors, in that = we
>> keep the tint, but reduce the brightness of each. That way we woul= d keep
>> the appearance and have readable code. I've changed the backgr= ound to be
>> slightly lighter. Just put this in an exported HTML file, just bef= ore
>> the `</head>' tag and keep the original styles in place,= to see the
>> results:
>>
>>
>> <style type=3D"text/css">
>>
>> pre {
>> =C2=A0 =C2=A0/* only the changed values for <pre> again */ >> =C2=A0 =C2=A0background-color:#fafafa;
>>
>> =C2=A0 =C2=A0/* Use bigger font? courier is soo small on my system= : */
>> =C2=A0 =C2=A0font-size:110%;
>> }
>>
>>
>> .org-string =C2=A0 { color:#BC2020; }
>> .org-builtin =C2=A0{ color:#5C2659; }
>> .org-keyword =C2=A0{ color:#5C128A; }
>> .org-doc =C2=A0 =C2=A0 =C2=A0{ color:#754C4C; }
>> .org-constant { color:#385D5E; }
>>
>> .org-variable-name { color:#805F11; }
>> .org-function-name { color:#0000CC; }
>>
>> </style>
>>
>>
>>
>> What do you think?
>>
>> How is the font-size of code on Windows and MAC (Safari)?
>>
>>
>>
>> =C2=A0Sebastian
>>
>>
>> _______________________________________________
>> 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
>
> - Carsten
>
>

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sebastian =C2=A0Rose =C2=A0 =C2=A0 =C2=A0Fachinformatiker / Anwendungsentwi= cklung
Viktoriastr. 22 =C2=A0 =C2=A0 =C2=A0Entwicklung von Anwendungen mit freien = Werkzeugen
30451 =C2=A0Hannover =C2=A0 =C2=A0 =C2=A0und Bibliotheken.

0173 =C2=A083 93 417 =C2=A0 =C2=A0 =C2=A0sebastian_rose@gmx.de =C2=A0 =C2=A0 =C2=A0 =C2=A0 s.rose@emma-stil.de
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


_______________________________________________
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

--00504502f55271683004787cd511-- --===============0255812119== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0255812119==--