Lines Matching refs:end_tag
16182 my $end_tag = $3;
16189 and ($end_tag eq $state->{'text_macro_stack'}->[-1]))
16193 if ((($end_tag eq 'menu') and $text_macros{'menu'}) or ($region_lines{$end_tag}) or $state->{'arg_expansion'})
16195 add_prev($text, $stack, "\@end${space}$end_tag");
16199 #print STDERR "End $end_tag\n";
16204 elsif ($text_macros{$end_tag})
16206 echo_error ("\@end $end_tag without corresponding element", $line_nr);
16210 add_prev($text, $stack, "\@end${space}$end_tag");
16797 my $end_tag = $2;
16798 #print STDERR "END STRUCTURE $end_tag\n";
16799 $state->{'detailmenu'}-- if ($end_tag eq 'detailmenu' and $state->{'detailmenu'});
16802 and ($end_tag eq $state->{'text_macro_stack'}->[-1]))
16805 if (exists($region_lines{$end_tag}))
16807 print STDERR "Bug: end_tag $end_tag ne $state->{'region_lines'}->{'format'}"
16808 if ( $end_tag ne $state->{'region_lines'}->{'format'});
16816 if ($end_tag eq 'menu')
16818 add_prev($text, $stack, "\@end $end_tag");
16823 #print STDERR "End $end_tag\n";
16828 elsif ($text_macros{$end_tag})
16830 echo_error ("\@end $end_tag without corresponding element", $line_nr);
16835 if ($end_tag eq 'float' and $state->{'float'})
16839 elsif ($end_tag eq $state->{'table_stack'}->[-1])
16845 add_prev($text, $stack, "\@end $end_tag");
17327 my $end_tag = $2;
17328 add_prev($text, $stack, $1 . "\@end $end_tag");
17341 my $end_tag = $2;
17342 #print STDERR "END_MACRO $end_tag\n";
17351 $state->{'detailmenu'}-- if ($end_tag eq 'detailmenu' and $state->{'detailmenu'});
17357 next if (defined($Texi2HTML::Config::misc_command{"end $end_tag"}));
17361 echo_error ("\@end $end_tag without corresponding opening", $line_nr);
17362 add_prev($text, $stack, "\@end $end_tag");
17366 if (!$format_type{$end_tag})
17368 echo_warn ("Unknown \@end $end_tag", $line_nr);
17369 #warn "$ERROR Unknown \@end $end_tag\n";
17370 add_prev($text, $stack, "\@end $end_tag");
17373 unless ($Texi2HTML::Config::format_in_paragraph{$end_tag})
17374 { # If the $end_tag is wrong we may be keeping paragraph
17382 echo_error ("\@end $end_tag without corresponding opening element", $line_nr);
17383 add_prev($text, $stack, "\@end $end_tag");
17390 ($top_stack->{'format'} eq $end_tag)
17393 ($format_type{$end_tag} eq 'menu') and
17401 ($end_tag eq 'multitable') and
17408 ($format_type{$end_tag} eq 'list' ) and
17413 ($format_type{$end_tag} eq 'table') and
17414 ($end_tag ne 'multitable')
17422 (defined($Texi2HTML::Config::def_map{$end_tag})) and
17426 ($end_tag eq 'row') and
17439 echo_error ("\@end $end_tag without corresponding opening element", $line_nr);
17440 add_prev($text, $stack, "\@end $end_tag");
17446 echo_error ("waiting for end of $waited_format, found \@end $end_tag", $line_nr);
17447 close_stack($text, $stack, $state, $line_nr, undef, $end_tag);
17454 next unless ($new_top_stack and defined($new_top_stack->{'format'}) and (($new_top_stack->{'format'} eq $end_tag)
17455 or (($format_type{$new_top_stack->{'format'}} eq 'fake') and ($fake_format{$new_top_stack->{'format'}} eq $format_type{$end_tag}))));
17458 if (defined($format_type{$end_tag}) and $format_type{$end_tag} ne 'fake')
17460 end_format($text, $stack, $state, $end_tag, $line_nr);
17461 begin_paragraph_after_command($state,$stack,$end_tag,$_);
17467 #print STDERR "FAKE \@end $end_tag\n";