On Wednesday 24 July 2013 15:56:21 Richard Heck wrote:
>  def convert_IEEEtran(document):
> @@ -1656,13 +1654,11 @@ def revert_AASTeX(document):
>    if document.textclass == "aastex":
>      i = 0
>      while True:
> -      if i != -1:
> -        i = find_token(document.body, "\\begin_layout Altaffilation", i)
> -      if i != -1:
> -        revert_Argument_to_TeX_brace(document, i, 0, 1, 1, False, False)
> -        i = i + 1
> +      i = find_token(document.body, "\\begin_layout Altaffilation", i)
>        if i == -1:
>          return
> +      revert_Argument_to_TeX_brace(document, i, 0, 1, 1, False, False)
> +      i += i + 1

Hi Richard,
        the last line is clearly a mistake, according to the previous code, and 
in line with your changes, it should be

i += 1

Regards, 
-- 
José Abílio

Reply via email to