background color experimentation...

Paul Flint <[email protected]>
Newsgroups gmane.text.docutils.user
Message-ID <[email protected]>
Greetings Earthlings (and anyone else :^),

The nice documentation page indicated that I should write to this list 
when I am using the "raw" command too much.  I have needed it twice so 
here goes:

1. Easy one - make the background color of your choice:

.. raw:: html

    <body style="background-color:#E6E6FA;">


2. Less easy one - Postprocessing the html to get the image to open in a 
new 
tab:

sphinx-build -b html ./ test ;
sed -i 's/><img/ target="_blank" ><img/g' test/index.html

Note sphinx is a lot of fun...

Kindest Regards,

☮ Paul Flint
(802) 479-2360
(802) 595-9365 Cell

/************************************
Based upon email reliability concerns,
please send an acknowledgment in response to this note.

Paul Flint, Director
Barre Open Systems Institute
17 Averill Street
Barre, VT
05641

http://www.bosivt.org
http://family.flint.com/flint
skype: flintinfotech
Work: (202) 537-0480

Consilium                                       _ 
gratuitum        .~.     ASCII ribbon campaign ( )
valet            /V\      against HTML e-mail   X
quanti          /( )\     www.asciiribbon.org  / \ 
numerantur      ^^-^^

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.