From: Martin Mares Date: Mon, 15 Jan 2007 15:18:04 +0000 (+0100) Subject: \twofigures potrebuje trochu jine zpracovani cest. X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=9f42a24d90ff7239d44009a5cf8e4f15f086e83b;p=ga.git \twofigures potrebuje trochu jine zpracovani cest. --- diff --git a/all/preprocess b/all/preprocess index c78e176..60141a7 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|fig|twofigures|epsfbox){([^}]+)}@\\$1\{$d$2}@g; + s@\\(figure|fig|epsfbox){([^}]+)}@\\$1\{$d$2}@g; + s@\\(twofigures){([^}]+)}({[^}]+}{[^}]+}){([^}]+)}@\\$1\{$d$2}$3\{$d$4}@g; print; } close X;