[NTG-context] context to markdown/html

Aditya Mahajan adityam at umich.edu
Mon May 7 06:52:50 CEST 2012


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

> On Sun, 06 May 2012 16:37:18 -0600, Aditya Mahajan <adityam at 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


More information about the ntg-context mailing list