X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=all%2Fpreprocess;h=dd82da8b8bed081c84bacaf871624d317ca94a2f;hb=ab1d1433afea4db17aaaeb42e37c4523e1241673;hp=b93e56281adf28d9eae460cfc6f72545bf6aa33e;hpb=053fd5d167550549bea80a8d50418d7cf424e205;p=ga.git diff --git a/all/preprocess b/all/preprocess index b93e562..dd82da8 100755 --- a/all/preprocess +++ b/all/preprocess @@ -11,7 +11,8 @@ foreach my $f (@ARGV) { /^\\input .*sgr\.tex/ && next; /^\\references/ && next; /^\\bye/ && last; - s@\\(figure|epsfbox){([^}]+)}@\\$1\{$d$2}@g; + s@\\(figure|fig|inlinefig|epsfbox){([^}]+)}@\\$1\{$d$2}@g; + s@\\(twofigures){([^}]+)}({[^}]+}{[^}]+}){([^}]+)}@\\$1\{$d$2}$3\{$d$4}@g; print; } close X;