def tearDown(self): config.uopt = userOptions()
from fpgen import userOptions from time import gmtime, strftime uopt = userOptions() # 20140214 bugfix: handle mixed quotes in toc entry # added level='3' to headings for subsections # 20140216 lg.center to allow mt/b decimal value # 20140217 windows path bugfix; rend=block propogate error # 20140220 switch mobi generator from ebook-convert to kindlegen # 20140221 changes to OPT_PDF_ARGS # 20140226 allows specifying .8em in addition to 0.8em margins # 20140228 --disable-remove-fake-margins added to PDF and mobi # 20140304 TESTING. wide spaces as nbsp. mobi from epub. # 20140307 TESTING for Ross. XP compatibile build test. # 20140316 added lg rend='right' # 4.04 bugfix. illustration links. kindle added to !t. # --level1-toc "//h:h1" --level2-toc "//h:h2" added for epub # <br> in heading handled in text # 4.05/6 epub margin user option. Alex's "nobreak" option # 4.07 fractional thought breaks # 4.08 overline <ol>line over text</ol> # 4.09 tags in <lit> blocks # 4.10 alternate comment form "//" # 4.11 <br><br> converts to "—" in tablet versions # 4.12 meta line restrictions imposed for PGC # 4.13 <hang> tag (alex) # 4.14 allow <pn=''> anywhere on line # 4.15 used   instead of as leader for indented poetry lines # 4.16 drop cap property to use an image
def tearDown(self): config.uopt = userOptions() config.uopt.setGenType('h')