On Sun, 6 May 2012, Idris Samawi Hamid ادريس   سماوي حامد wrote:

On Sun, 06 May 2012 16:37:18 -0600, Aditya Mahajan <adit...@umich.edu>
wrote:

If you set
\setupbackend
 [export=yes,
  xhtml=yes,
  css={context-export.css},
 ]
then the exported xhtml file should link to context-export.css file and most modern browsers render the xml correctly (at least opera, firefox, and chrome on Linux render it correctly).

For the attached test file, xml-bib.tex (also reproduced inline below), I
get in the output

xml-bib-images.css
xml-bib-styles.css

but no context-export.css, although the resultant xml-bib.xhtml does indeed mention all three css files. Opera will open xml-bib.xhtml without any formatting.

Am I still missing something? Thanks again, Aditya!


You need to provide context-export.css file! There is an sample css file in the distribution. See export-example.{tex,css}. You can tweak it to style the resultant xml as you want.

Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to