From: ian Date: Mon, 2 Feb 2004 00:45:10 +0000 (+0000) Subject: all layers, feature V in layersel X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=commitdiff_plain;h=bf4dad1fac15b7f71768ef71c7fb50a5d1ba91ce;p=trains.git all layers, feature V in layersel --- diff --git a/.cvsignore b/.cvsignore index 258a92a..c7c524f 100644 --- a/.cvsignore +++ b/.cvsignore @@ -5,3 +5,4 @@ u testjoin *.ps *.d4 +*.new diff --git a/layout/informat.txt b/layout/informat.txt index 80bf23c..fb1c959 100644 --- a/layout/informat.txt +++ b/layout/informat.txt @@ -157,15 +157,18 @@ Command-line options specified -l layer. Then all -e/-E options are scanned, in order, and each one that matches modifies the drawing element set. - is GN[D][C]. It matches `layer KL' iff the glob pattern G - (which may be empty) matches the whole of K, and layer restriction - N[D]C matches L. C is several identical `=', `+' or `-'; D+ matches - L iff L>=D; D++ iff L>D; D+++ iff L>D+1 and so on; D- matches L iff - L<=D; D-- iff L=D; D++ iff L>D; D+++ iff L>D+1 and so on; D- + matches L iff L<=D; D-- iff L 1; + $c= $c x $v; + } if ($c =~ m/^[-+]/) { $sense= ($c.'1') + 0; $limit= ($sense * $d) + length($c) - 1; $lfn= sub { $_[0] * $sense >= $limit xor $invert }; } else { $limit= length($c) - 1; - $limit=0 if $limit<0; $lfn= sub { abs($_[0] - $d) <= $limit xor $invert }; } $ccc= ''; diff --git a/pcb/Makefile b/pcb/Makefile index 41e08b2..42b6e05 100644 --- a/pcb/Makefile +++ b/pcb/Makefile @@ -12,6 +12,9 @@ o=>$@.new && mv -f $@.new $@ %.d4: %.m4 $(M4INCS) m4 -s <$< $o +%-a.ps: %.d4 layout + ./layout <$< -E10=100ArC $o + ours-l%.ps: ours.d4 layout ./layout <$< $(LAYOUTOPTS) $o diff --git a/pic.make b/pic.make index 41e08b2..42b6e05 100644 --- a/pic.make +++ b/pic.make @@ -12,6 +12,9 @@ o=>$@.new && mv -f $@.new $@ %.d4: %.m4 $(M4INCS) m4 -s <$< $o +%-a.ps: %.d4 layout + ./layout <$< -E10=100ArC $o + ours-l%.ps: ours.d4 layout ./layout <$< $(LAYOUTOPTS) $o diff --git a/spice/Makefile b/spice/Makefile index 41e08b2..42b6e05 100644 --- a/spice/Makefile +++ b/spice/Makefile @@ -12,6 +12,9 @@ o=>$@.new && mv -f $@.new $@ %.d4: %.m4 $(M4INCS) m4 -s <$< $o +%-a.ps: %.d4 layout + ./layout <$< -E10=100ArC $o + ours-l%.ps: ours.d4 layout ./layout <$< $(LAYOUTOPTS) $o