| <!DOCTYPE html> |
| <html> |
| <head> |
| <link href="../generic.css" rel="stylesheet"/> |
| <script type="text/javascript" src="OutlineTest.js"></script> |
| <script> |
| function performTest() |
| { |
| Outline_init(); |
| if (Outline_detectSectionNumbering()) |
| setupOutlineNumbering(); |
| PostponedActions_perform(); |
| |
| Outline_insertTableOfContents(); |
| PostponedActions_perform(); |
| Outline_insertListOfFigures(); |
| PostponedActions_perform(); |
| // showSelection(); |
| Outline_insertListOfTables(); |
| PostponedActions_perform(); |
| |
| simplifyTOCs(); |
| } |
| </script> |
| </head> |
| <body> |
| Before[]After |
| <h1>4 Section 1</h1> |
| <h1>4 Section 2</h1> |
| <figure> |
| (figure content) |
| <figcaption>Figure 9: Test figure A</figcaption> |
| </figure> |
| <figure> |
| (figure content) |
| <figcaption>Figure 9: Test figure B</figcaption> |
| </figure> |
| <table id="item1" style="width: 100%"> |
| <caption>Table 9: Test table A</caption> |
| <col width="100%"/> |
| <tr><td><p><br/></p></td></tr> |
| </table> |
| <table id="item2" style="width: 100%"> |
| <caption>Table 9: Test table B</caption> |
| <col width="100%"/> |
| <tr><td><p><br/></p></td></tr> |
| </table> |
| </body> |
| </html> |