Changeset 489018
- Timestamp:
- 01/12/2012 09:23:57 PM (14 years ago)
- Location:
- latex-everything/trunk
- Files:
-
- 2 edited
-
article-to-latex.php (modified) (1 diff)
-
html-to-latex.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
latex-everything/trunk/article-to-latex.php
r489017 r489018 39 39 function __destruct () { 40 40 // Unlink temporary files 41 /*42 41 unlink( $this->latex_file ); 43 42 unlink( $this->pdf_file ); 44 43 unlink( $this->latex_file . '.aux' ); 45 44 unlink( $this->latex_file . '.log' ); 46 */47 45 } 48 46 -
latex-everything/trunk/html-to-latex.php
r489017 r489018 303 303 $text ); 304 304 } 305 306 // Run on <img> and <table> nodes before output 307 function float_filter ( $latex, $element ) { 308 return "\\begin{figure}[htbp]\n{$latex}\n\\end{figure}\n"; 309 } 305 310 } 306 311 … … 317 322 318 323 // Register filters 324 add_filter('a2l_img_element', array('A2l_Html_To_Latex', 'float_filter'), 98); 325 add_filter('a2l_table_element', array('A2l_Html_To_Latex', 'float_filter'), 98); 319 326 add_filter('a2l_text', array('A2l_Html_To_Latex', 'urlify_filter'), 98); 320 327 add_filter('a2l_text', array('A2l_Html_To_Latex', 'quote_expansion_filter'), 99);
Note: See TracChangeset
for help on using the changeset viewer.