Skip to content

Commit f1f329a

Browse files
committed
[css2] Changed so that sample property can be inserted in document without including it in prop index or index
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%401319
1 parent 8f59ad8 commit f1f329a

5 files changed

Lines changed: 67 additions & 21 deletions

File tree

css2/Makefile

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
# Makefile to generate the CSS2 document based on its "source files"
22
# Arnaud Le Hors - lehors@w3.org
3-
# $Id: Makefile,v 2.20 1998-03-20 22:34:28 bbos Exp $
3+
# $Id: Makefile,v 2.21 1998-03-21 21:18:05 ijacobs Exp $
44

55
# what needs to be set for every new release:
66
# Note use of full year (1998) in identifier.
7-
THE_DATE = 16-Mar-1998
8-
THE_ID = WD-css2-19980316
9-
THIS_VERSION = http://www.w3.org/Style/Group/1998/03/$(THE_ID)
10-
THE_PREVIOUS_VERSION = http://www.w3.org/Style/Group/1998/02/WD-css2-19980220
11-
PERMANENT_NAME = WD-css2
12-
THE_LATEST_VERSION = http://www.w3.org/Style/Group/1998/03/$(THE_ID)
13-
TR_DIR = /afs/w3.org/pub/WWW/TR
7+
THE_DATE = 24-Mar-1998
8+
THE_ID = PR-CSS2-19980324
9+
THIS_VERSION = http://www.w3.org/TR/1998/$(THE_ID)
10+
THE_PREVIOUS_VERSION = http://www.w3.org/Style/Group/1998/03/WD-css2-19980316
11+
PERMANENT_NAME = PR-CSS2
12+
THE_LATEST_VERSION = http://www.w3.org/TR/1998/$(PERMANENT_NAME)
1413
CSSGROUPDIR = /afs/w3.org/pub/WWW/Style/Group
15-
INSTALLDIR = $(CSSGROUPDIR)/1998/03/WD-css2-19980316
14+
TR_DIR = /afs/w3.org/pub/WWW/TR
15+
INSTALLDIR = $(TR_DIR)/1998/$(THE_ID)
1616

1717
ROOT = .
1818

@@ -106,6 +106,7 @@ STYLESHEETS= style/*.css
106106
ALLOBJS= $(SPECOBJS) $(INDEXES) $(IMAGES) $(STYLESHEETS) translations.html
107107

108108
PROPSRC= properties/properties.db
109+
PROPSAMPLE= properties/sample.db
109110
DESCSRC= properties/descriptors.db
110111
PROPBLKSDIR= build/properties
111112
DESCBLKSDIR= build/descriptors
@@ -320,6 +321,7 @@ build/blocks.ok: $(PROPBLKSDIR)/blocks.ok $(DESCBLKSDIR)/blocks.ok
320321
$(PROPBLKSDIR)/blocks.ok: $(PROPSRC)
321322
@if [ ! -d $(PROPBLKSDIR) ]; then mkdir -p $(PROPBLKSDIR);fi
322323
$(PEXTR) $(PROPSRC) $(PROPBLKSDIR)
324+
$(PEXTR) -n $(PROPSAMPLE) $(PROPBLKSDIR)
323325
touch $@
324326

325327
$(DESCBLKSDIR)/blocks.ok: $(DESCSRC)

css2/bin/Attic/dextr

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,22 @@
1212
# <span class="propinst-name">&lt;'name'&gt;</span>
1313
#
1414
# Ian Jacobs - ij@w3.org (Based on work by Arnaud Le Hors)
15-
# $Id: dextr,v 1.14 1998-03-17 08:13:38 ijacobs Exp $
15+
# $Id: dextr,v 1.15 1998-03-21 21:18:13 ijacobs Exp $
1616

1717
$PROGNAME = substr($0, rindex($0, "/") + 1);
1818

1919
if (!$ARGV[0]) {
20-
print "Usage: $PROGNAME file [tgt_dir]\n";
20+
print "Usage: $PROGNAME [-n] file [tgt_dir]\n";
2121
exit 1;
2222
}
2323

24+
if ($ARGV[0] eq "-n") {
25+
$noindex = 1;
26+
shift;
27+
} else {
28+
$noindex = 0;
29+
}
30+
2431
# copy file in memory
2532
if (!open(input, $ARGV[0])) {
2633
print "$PROGNAME Error: Cannot open file: $ARGV[0]\n";
@@ -49,7 +56,11 @@ $values = $_[1];
4956
$init = $_[2];
5057
$media = $_[3];
5158
print output "<DIV class=\"descdef\">\n";
52-
print output "<P><span class=\"index-def\" title=\"'$_[0]' (descriptor)\"></span><a name=\"descdef-$name\" class=\"descdef-title\"><strong>'$name'</strong> (Descriptor)</a></P>\n";
59+
if ($noindex) {
60+
print output "<P><a name=\"descdef-$name\" class=\"descdef-title\"><strong>'$name'</strong> (Descriptor)</a></P>\n";
61+
} else {
62+
print output "<P><span class=\"index-def\" title=\"'$_[0]' (descriptor)\"><a name=\"descdef-$name\" class=\"descdef-title\"><strong>'$name'</strong> (Descriptor)</a></span></P>\n";
63+
}
5364
# We use cellspacing/cellpadding until more browsers
5465
# handle tables correctly.
5566
print output "<TABLE class=\"descinfo\" cellpadding=0 cellspacing=0>\n";

css2/bin/Attic/pextr

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,22 @@
1313
# <span class="propinst-name">&lt;'name'&gt;</span>
1414
#
1515
# Ian Jacobs - ij@w3.org (Based on work by Arnaud Le Hors)
16-
# $Id: pextr,v 1.14 1998-03-16 14:53:06 ijacobs Exp $
16+
# $Id: pextr,v 1.15 1998-03-21 21:18:11 ijacobs Exp $
1717

1818
$PROGNAME = substr($0, rindex($0, "/") + 1);
1919

2020
if (!$ARGV[0]) {
21-
print "Usage: $PROGNAME file [tgt_dir]\n";
21+
print "Usage: $PROGNAME [-n] file [tgt_dir]\n";
2222
exit 1;
2323
}
2424

25+
if ($ARGV[0] eq "-n") {
26+
$noindex = 1;
27+
shift;
28+
} else {
29+
$noindex = 0;
30+
}
31+
2532
# copy file in memory
2633
if (!open(input, $ARGV[0])) {
2734
print "$PROGNAME Error: Cannot open file: $ARGV[0]\n";
@@ -54,7 +61,11 @@ $percentages = $_[5];
5461
$media = $_[6];
5562
#Do next three lines in src files to get headings right.
5663
print output "<DIV class=\"propdef\">\n";
57-
print output "<P><span class=\"index-def\" title=\"'$_[0]'\"><a name=\"propdef-$name\" class=\"propdef-title\"><strong>'$name'</strong></a></span></P>\n";
64+
if ($noindex) {
65+
print output "<P><a name=\"propdef-$name\" class=\"propdef-title\"><strong>'$name'</strong></a></P>\n";
66+
} else {
67+
print output "<P><span class=\"index-def\" title=\"'$_[0]'\"><a name=\"propdef-$name\" class=\"propdef-title\"><strong>'$name'</strong></a></span></P>\n";
68+
}
5869
# Sorry, we use cellspacing/cellpadding until tables
5970
# handled better in user agents.
6071
print output "<TABLE class=\"propinfo\" cellspacing=0 cellpadding=0>\n";

css2/bin/dextr

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,22 @@
1212
# <span class="propinst-name">&lt;'name'&gt;</span>
1313
#
1414
# Ian Jacobs - ij@w3.org (Based on work by Arnaud Le Hors)
15-
# $Id: dextr,v 1.14 1998-03-17 08:13:38 ijacobs Exp $
15+
# $Id: dextr,v 1.15 1998-03-21 21:18:13 ijacobs Exp $
1616

1717
$PROGNAME = substr($0, rindex($0, "/") + 1);
1818

1919
if (!$ARGV[0]) {
20-
print "Usage: $PROGNAME file [tgt_dir]\n";
20+
print "Usage: $PROGNAME [-n] file [tgt_dir]\n";
2121
exit 1;
2222
}
2323

24+
if ($ARGV[0] eq "-n") {
25+
$noindex = 1;
26+
shift;
27+
} else {
28+
$noindex = 0;
29+
}
30+
2431
# copy file in memory
2532
if (!open(input, $ARGV[0])) {
2633
print "$PROGNAME Error: Cannot open file: $ARGV[0]\n";
@@ -49,7 +56,11 @@ $values = $_[1];
4956
$init = $_[2];
5057
$media = $_[3];
5158
print output "<DIV class=\"descdef\">\n";
52-
print output "<P><span class=\"index-def\" title=\"'$_[0]' (descriptor)\"></span><a name=\"descdef-$name\" class=\"descdef-title\"><strong>'$name'</strong> (Descriptor)</a></P>\n";
59+
if ($noindex) {
60+
print output "<P><a name=\"descdef-$name\" class=\"descdef-title\"><strong>'$name'</strong> (Descriptor)</a></P>\n";
61+
} else {
62+
print output "<P><span class=\"index-def\" title=\"'$_[0]' (descriptor)\"><a name=\"descdef-$name\" class=\"descdef-title\"><strong>'$name'</strong> (Descriptor)</a></span></P>\n";
63+
}
5364
# We use cellspacing/cellpadding until more browsers
5465
# handle tables correctly.
5566
print output "<TABLE class=\"descinfo\" cellpadding=0 cellspacing=0>\n";

css2/bin/pextr

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,22 @@
1313
# <span class="propinst-name">&lt;'name'&gt;</span>
1414
#
1515
# Ian Jacobs - ij@w3.org (Based on work by Arnaud Le Hors)
16-
# $Id: pextr,v 1.14 1998-03-16 14:53:06 ijacobs Exp $
16+
# $Id: pextr,v 1.15 1998-03-21 21:18:11 ijacobs Exp $
1717

1818
$PROGNAME = substr($0, rindex($0, "/") + 1);
1919

2020
if (!$ARGV[0]) {
21-
print "Usage: $PROGNAME file [tgt_dir]\n";
21+
print "Usage: $PROGNAME [-n] file [tgt_dir]\n";
2222
exit 1;
2323
}
2424

25+
if ($ARGV[0] eq "-n") {
26+
$noindex = 1;
27+
shift;
28+
} else {
29+
$noindex = 0;
30+
}
31+
2532
# copy file in memory
2633
if (!open(input, $ARGV[0])) {
2734
print "$PROGNAME Error: Cannot open file: $ARGV[0]\n";
@@ -54,7 +61,11 @@ $percentages = $_[5];
5461
$media = $_[6];
5562
#Do next three lines in src files to get headings right.
5663
print output "<DIV class=\"propdef\">\n";
57-
print output "<P><span class=\"index-def\" title=\"'$_[0]'\"><a name=\"propdef-$name\" class=\"propdef-title\"><strong>'$name'</strong></a></span></P>\n";
64+
if ($noindex) {
65+
print output "<P><a name=\"propdef-$name\" class=\"propdef-title\"><strong>'$name'</strong></a></P>\n";
66+
} else {
67+
print output "<P><span class=\"index-def\" title=\"'$_[0]'\"><a name=\"propdef-$name\" class=\"propdef-title\"><strong>'$name'</strong></a></span></P>\n";
68+
}
5869
# Sorry, we use cellspacing/cellpadding until tables
5970
# handled better in user agents.
6071
print output "<TABLE class=\"propinfo\" cellspacing=0 cellpadding=0>\n";

0 commit comments

Comments
 (0)