Hello everyboy!
             When I use sphix I come across a question on raw. The 
Environment is :
           Docutils 0.10
Then I edit the ~/.docutils file  add this :

*[restructuredtext parser]*
*raw_enabled: 1*




Affter install I write a rst.just like this:




*.. raw:: html*
* <a href="aa">a</a>*



the programe report a error:

*Running Sphinx v1.2pre*
*loading pickled environment... not yet created*
*loading intersphinx inventory from http://docs.python.org/objects.inv...*
*building [html]: targets for 3 source files that are out of date*
*updating environment: 3 added, 0 changed, 0 removed*
*reading sources... [100%] test                                             
                                                            *
*/home/lipp/test/source/getting_started.rst:186: ERROR: Content block 
expected for the "raw" directive; none found.*
*looking for now-outdated files... none found*
*pickling environment... done*
*checking consistency... done*
*preparing documents... done*
*writing output... [100%] test                                             
                                                             *
*writing additional files... (0 module code pages) genindex search*
*copying images... [100%] _static/basic_screenshot.png                     
                                                             *
*copying static files... done*
*dumping search index... done*
*dumping object inventory... done*
*build succeeded, 1 warning*


Could anyone tell me how to resolve this problem


Another question:

In my html result, there will be some script like this:

*
*
*<img src="../map/ko00051.png" usemap="#mapdata" border="0" />*
*<map name="mapdata">*
*<area shape=circle coords=233,103,4 
href="http://www.kegg.com/dbget-bin/www_bget?C00247"; title="C00247 
(L-Sorbose)" />*
*</map  >*
*
*
But the usemap attribure didn't in     ..  img:  and how to add it ?

could the <area> tag could be implemented  by sphinx? 


-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sphinx-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to