mirror of https://github.com/python/cpython.git
&do_cmd_deprecated: New function.
Attempt to get \setindexsubitem{} handled at the right time under LaTeX2HTML 98.1; should still be fine under 97.1*.
This commit is contained in:
parent
05073e99ab
commit
ec9200a2fe
|
@ -150,6 +150,17 @@ sub do_cmd_strong{
|
||||||
$_;
|
$_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sub do_cmd_deprecated{
|
||||||
|
# two parameters: \deprecated{version}{whattodo}
|
||||||
|
local($_) = @_;
|
||||||
|
local($any_next_pair_pr_rx3) = "$OP(\\d+)$CP([\\s\\S]*)$OP\\3$CP";
|
||||||
|
local($release,$action) = ($2, $4);
|
||||||
|
s/$next_pair_pr_rx$any_next_pair_pr_rx3//;
|
||||||
|
"<b>Deprecated since release $release.</b>"
|
||||||
|
. "\n$action<p>"
|
||||||
|
. $_;
|
||||||
|
}
|
||||||
|
|
||||||
# file and samp are at the end of this file since they screw up fontlock.
|
# file and samp are at the end of this file since they screw up fontlock.
|
||||||
|
|
||||||
# index commands
|
# index commands
|
||||||
|
@ -166,6 +177,9 @@ sub do_cmd_setindexsubitem{
|
||||||
$INDEX_SUBITEM = $2;
|
$INDEX_SUBITEM = $2;
|
||||||
$_;
|
$_;
|
||||||
}
|
}
|
||||||
|
if (defined &process_commands_wrap_deferred) {
|
||||||
|
&process_commands_wrap_deferred("setindexsubitem \# {}\n");
|
||||||
|
}
|
||||||
|
|
||||||
sub do_cmd_indexii{
|
sub do_cmd_indexii{
|
||||||
local($_) = @_;
|
local($_) = @_;
|
||||||
|
|
Loading…
Reference in New Issue