summaryrefslogtreecommitdiff
path: root/macros/texinfo/texinfo/tp/Texinfo/Convert/IXIN.pm
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-12-02 03:04:31 +0000
committerNorbert Preining <norbert@preining.info>2022-12-02 03:04:31 +0000
commit42cda2ed3fa7472e6c064fdbf998d636556343db (patch)
tree0995420f9b6b31ad8bef5b0e61f35bc7338bab42 /macros/texinfo/texinfo/tp/Texinfo/Convert/IXIN.pm
parent77362f5f4b083c21c2044b0c54d228da42804c72 (diff)
CTAN sync 202212020304
Diffstat (limited to 'macros/texinfo/texinfo/tp/Texinfo/Convert/IXIN.pm')
-rw-r--r--macros/texinfo/texinfo/tp/Texinfo/Convert/IXIN.pm16
1 files changed, 10 insertions, 6 deletions
diff --git a/macros/texinfo/texinfo/tp/Texinfo/Convert/IXIN.pm b/macros/texinfo/texinfo/tp/Texinfo/Convert/IXIN.pm
index 6fec314a8f..5325478d0c 100644
--- a/macros/texinfo/texinfo/tp/Texinfo/Convert/IXIN.pm
+++ b/macros/texinfo/texinfo/tp/Texinfo/Convert/IXIN.pm
@@ -78,7 +78,7 @@ use Texinfo::Convert::TexinfoSXML;
use vars qw($VERSION @ISA);
@ISA = qw(Texinfo::Convert::Converter);
-$VERSION = '7.0';
+$VERSION = '7.0.1';
my $ixin_version = 1;
@@ -783,13 +783,17 @@ sub output_ixin($$)
foreach my $command (@{$self->{'global_commands'}->{'listoffloats'}}) {
my $associated_node_id = $self->_associated_node_id($command,
\%node_label_number);
- my $type = $command->{'extra'}->{'type'}->{'normalized'};
- if ($command->{'extra'}->{'type'}->{'content'}) {
- $floats_information{$type}->{'type'}
- = $self->convert_tree({'contents'
+ if ($command->{'extra'}
+ and $command->{'extra'}->{'type'}
+ and defined($command->{'extra'}->{'type'}->{'normalized'})) {
+ my $type = $command->{'extra'}->{'type'}->{'normalized'};
+ if ($command->{'extra'}->{'type'}->{'content'}) {
+ $floats_information{$type}->{'type'}
+ = $self->convert_tree({'contents'
=> $command->{'extra'}->{'type'}->{'content'}});
+ }
+ push @{$floats_information{$type}->{'node_id'}}, $associated_node_id;
}
- push @{$floats_information{$type}->{'node_id'}}, $associated_node_id;
}
}