version 1.2, 2002/07/08 20:47:41
|
version 1.3, 2002/07/26 19:58:52
|
Line 90 sub render
|
Line 90 sub render
|
'\\end{html}' |
'\\end{html}' |
|gxe; |
|gxe; |
|
|
|
# Backslashes |
|
$tex =~ s|\\textbackslash|###BACKSLASH###|g; |
|
|
# Figures leftover without captions |
# Figures leftover without captions |
$tex =~ s| \\includegraphics(\[[^]]*\])*\{([^}]*)\} |
$tex =~ s| \\includegraphics(\[[^]]*\])*\{([^}]*)\} |
| '\\begin{html}<img src="http://' . $serverroot . '/adm/help/gif/' . $2 . '.gif" border="2"'. |
| '\\begin{html}<img src="http://' . $serverroot . '/adm/help/gif/' . $2 . '.gif" border="2"'. |
Line 98 sub render
|
Line 101 sub render
|
|
|
$tex = tth::tth($tex); |
$tex = tth::tth($tex); |
|
|
|
# Finish backslashes |
|
$tex =~ s/###BACKSLASH###/'\\'/ge; |
|
|
|
# Fix the pretty quotes |
|
$tex =~ s/('')|(``)/"/g; #" to get emacs syntax highlighter happy |
|
|
# For some reason all captions come out as "Figure 0:", so |
# For some reason all captions come out as "Figure 0:", so |
# just duck the issue... |
# just duck the issue... |
|
|