#!/usr/bin/perl -i

while (<>) {
 print "\n" if /^\s+/;
 s/^\s+//;
 while (/[À-ß]-$/) {
   chop;chop;
   $_ .= <>;
 }
 s/^- ?/--- /;
 s/ +- +/~--- /g;
 s/ +-$/~---/g;
 s/\.\.\./\\ldots/g;
 print;
} 
