added footnote support

This commit is contained in:
Alexander Bocken 2020-08-13 18:54:39 +02:00
parent 7b46797656
commit dfc754985c

View File

@ -199,7 +199,12 @@ function processline() {
print $1 print $1
last_book_printed = $2 last_book_printed = $2
} }
if ($4 == 0){ if ($5 == "*") {
for ( i=0; i <= MAX_WIDTH - length($6) - 1; i++){
printf(" ")
}
printf("*%s\n", $6)}
else if ($4 == 0){
printf("\t") printf("\t")
printintroductionpar($6) printintroductionpar($6)
} }