$doc->appendParagraph(text => $p, style => 'Abstract');
}
- $doc->appendParagraph(text => "\nTheme: " . $abstract->{Theme}->[0], style => 'Theme');
+# $doc->appendParagraph(text => "\nTheme: " . $abstract->{Theme}->[0], style => 'Theme');
- $doc->appendParagraph(text => "\nContributionType: " . $abstract->{ContributionType}->[0], style => 'Quotations');
+# $doc->appendParagraph(text => "\nContributionType: " . $abstract->{ContributionType}->[0], style => 'Quotations');
$doc->appendParagraph(text => "\nID: " . $abstract->{Id}->[0], style => 'Abstract');
}
+my $last_html = '';
open(my $authors_fh, '>', 'authors.html');
foreach my $a ( sort { $a->{FamilyName} cmp $b->{FamilyName} } @authors ) {
- print $authors_fh qq{
+ my $html = qq{
<li>
<b>$a->{FamilyName}, $a->{FirstName}</b><br>
$a->{Affiliation}<br>
<em>$a->{Email}</em>
</li>};
+ print $authors_fh $html eq $last_html ? '<!-- dup -->' : $html;
+ $last_html = $html;
}
close $authors_fh;