Hi, I tried to fix this bug. It seems that eval is the problem inside the regex Instead of doing that I am evaluating that expresion vefore just to reduce the complexity of it.
my $std_label = "\"$label_fields[0]\"" . eval($enum{"theenum$rlevel"}). ".\"$label_fields[$#label_fields]\""; # print "$std_label\n"; if ($standard_label) { $item =~ s/(\\labelitem$rlevel|$std_label)/$enum_label/g; } else { $item =~ s/(\\labelitem$rlevel)/$enum_label/g; } Saludos er On Fri, Jul 6, 2018 at 4:20 PM, Ernesto Cuadros Vargas <ecuad...@utec.edu.pe > wrote: > Dear all, > > 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. > > My latex is compiling ok so I am sure it is not a problem in my side. > > Regards > Er > > -- *Ernesto Cuadros-Vargas. PhD* http://socios.spc.org.pe/ecuadros/ T:+(511) 2305000 <(01)%202305000> Ext 4281 Jr. Medrano Silva 165, Barranco www.utec.edu.pe <https://www.utec.edu.pe/carreras-de-ingenieria> -- La información contenida en este e-mail y sus anexos es confidencial, privilegiada y está dirigida exclusivamente a su destinatario, en consecuencia, solo puede ser utilizada por aquel. Si usted no es el destinatario original, no deberá examinar, usar, copiar o distribuir este mensaje o la información que contiene. Si lo recibe por error, por favor reenvíelo a la persona que se lo envió y elimínelo. Cualquier retención o uso total o parcial no autorizada de este mensaje está estrictamente prohibida y sancionada por ley.
_______________________________________________ latex2html mailing list latex2html@tug.org http://tug.org/mailman/listinfo/latex2html