Changeset 0890871 in sasmodels


Ignore:
Timestamp:
Oct 25, 2016 7:20:46 PM (7 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
fef353f
Parents:
999c87f
Message:

display stand alone rst file in html

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/rst2html.py

    rb217c71 r0890871  
    155155    assert replace_dollar(u"a (again $in parens$) a") == u"a (again :math:`in parens`) a" 
    156156 
     157def view_rst_app(filename): 
     158    import wx  # type: ignore 
     159    app = wx.App() 
     160    view_rst(filename) 
     161    app.MainLoop() 
     162 
     163 
    157164if __name__ == "__main__": 
    158     test_dollar() 
     165    import sys 
     166    view_rst_app(sys.argv[1]) 
     167 
Note: See TracChangeset for help on using the changeset viewer.