shige 07/13 2018 ---------------- Ernesto Cuadros Vargas wrote: | I just have a new error trying to run latex2html: | | ;..,.Unescaped left brace in regex is illegal here in regex; marked by <-- | HERE in m/(\\labelitemi|"" . eval($enum{ <-- HERE "theenumi"})."\)")/ at | /usr/bin/latex2html line 11325. | | it is inside function sub do_env_enumerate | | I am using Ubuntu 18.04.
This is because of the change of handling of recent perl for braces in regular expression. Well, I think you are using enumerate package. Current l2h may have several problem for the handling of enumerate package. 1) Option 'A' of enumerate environment uses "alph", not "Alph" (it is a bug of sub Alph(): &falph -> &fAlph) 2) "eval($enum{..." string is included in regular expressions (we can avoid it to modify if ($standard_label) { $item =~ s/(\\labelitem$rlevel|$standard_label)/$enum_label/g to if ($standard_label && $standard_label !~ /eval\(/) { $item =~ s/(\\labelitem$rlevel|$standard_label)/$enum_label/g ) 3) The option are analyzed by the regex "$enum_label_rx", which includes braces { and }. But the braces in options string are modified to <<[n]>> before using "$enum_label_rx". Then, the escape by {, } are not recognized correctly. 4) The regex "$enum_label_rx" supposes that the option must have a character [AaIi1]. I will consider the solution for problems 3) and 4). +========================================================+ Shigeharu TAKENO NIigata Institute of Technology kashiwazaki,Niigata 945-1195 JAPAN sh...@iee.niit.ac.jp TEL(&FAX): +81-257-22-8161 +========================================================+ _______________________________________________ latex2html mailing list latex2html@tug.org http://tug.org/mailman/listinfo/latex2html