#!/usr/bin/perl use strict; use warnings; print <<'.';
| page $page->{num} | |||
|---|---|---|---|
| $text->{text} | |||
| ";
$cur_text = '';
} elsif (defined $cur_col) {
if ($text->{col} == $cur_col) {
print " \n"; if (length $cur_text > 10 and $cur_col == 1) { die "error on page $page->{num}"; } } if ($text->{col} != 0 and $cur_col != $text->{col}) { print " | \n"; $cur_text = ''; } } $text->{text} =~ s/&/&/g; print $text->{text}; $cur_text .= $text->{text}; $cur_col = $text->{col}; } if (defined $cur_table) { print " | ||