tallforasmurf / PPQT

A post-processing tool for PGDP written in Python, PyQt4, and Qt
GNU General Public License v3.0
4 stars 2 forks source link

Need to support super/sub in HTML conversion #62

Closed tallforasmurf closed 11 years ago

tallforasmurf commented 12 years ago

Is it X^2 and Foo^{tm} and Z{_2_} ? Whatever the formatting guidelines say. This will be different from the other conversions in that it appears within the line, not on a line by itself.

tallforasmurf commented 11 years ago

On mature consideration, finding such things within the text does not fit at all into the framework of the pqFlow/pqTable architecture, which is oriented around whole lines and paragraphs in markup.

Page numbers are handled separately. This could be handled also with a set of loadable Find buttons, and there are undoubtedly other special forms that could be handled the same way, e.g. [Sidenote: text...] converted to what, <div class='sidenote'>text...</div> and some illustration conversions.

So at some point I will add extras/HTMLfix.utf with some canned conversions, assuming more will be added.