Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
e247e514
Commit
e247e514
authored
May 01, 2002
by
arjen@fred.bitbike.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bundle of O'Reilly-related fixups, mostly table column-width related.
parent
4328a8cf
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
245 additions
and
150 deletions
+245
-150
Docs/Support/docbook-fixup.pl
Docs/Support/docbook-fixup.pl
+5
-5
Docs/Support/update-reserved-words.pl
Docs/Support/update-reserved-words.pl
+7
-5
Docs/manual.texi
Docs/manual.texi
+233
-140
No files found.
Docs/Support/docbook-fixup.pl
View file @
e247e514
...
@@ -68,6 +68,11 @@ msg ("Adding closing / to XREF and COLSPEC tags...");
...
@@ -68,6 +68,11 @@ msg ("Adding closing / to XREF and COLSPEC tags...");
$data
=~
s{<(xref|colspec) (.+?)>}
$data
=~
s{<(xref|colspec) (.+?)>}
{<$1 $2 />}gs
;
{<$1 $2 />}gs
;
# arjen 2002-04-26
msg
("
Removing separate target titles from LINKs and make them XREFs...
");
$data
=~
s{<link (linkend=.+?)>.+?</link>}
{<xref $1 />}gs
;
# Probably need to strip these
# Probably need to strip these
msg
('
Adding "See " to XREFs that used to be @xref...
');
msg
('
Adding "See " to XREFs that used to be @xref...
');
$data
=~
s{([.'!)])\s*<xref }
$data
=~
s{([.'!)])\s*<xref }
...
@@ -77,11 +82,6 @@ msg ('Adding "see " to (XREFs) that used to be (@pxref)...');
...
@@ -77,11 +82,6 @@ msg ('Adding "see " to (XREFs) that used to be (@pxref)...');
$data
=~
s{([([,;])(\s*)<xref }
$data
=~
s{([([,;])(\s*)<xref }
{$1$2see <xref }gs
;
{$1$2see <xref }gs
;
# arjen 2002-04-26
msg
("
Removing separate target titles from LINKs and make them XREFs...
");
$data
=~
s{<link (linkend=.+?)>.+?</link>}
{<xref $1 />}gs
;
msg
("
Making first row in table THEAD...
");
msg
("
Making first row in table THEAD...
");
$data
=~
s{( *)<tbody>(\s*<row>.+?</row>)}
$data
=~
s{( *)<tbody>(\s*<row>.+?</row>)}
{$1<thead>$2\n$1</thead>\n$1<tbody>}gs
;
{$1<thead>$2\n$1</thead>\n$1<tbody>}gs
;
...
...
Docs/Support/update-reserved-words.pl
View file @
e247e514
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
# Implemented in Perl by jeremy@mysql.com
# Implemented in Perl by jeremy@mysql.com
# 2001-11-20 Fixups by arjen@mysql.com, 2 keywords and 15 synonyms were missing
# 2001-11-20 Fixups by arjen@mysql.com, 2 keywords and 15 synonyms were missing
# 2001-12-07 Fixup by arjen@mysql.com, add column headings for multitable.
# 2001-12-07 Fixup by arjen@mysql.com, add column headings for multitable.
# 2002-05-01 Fixup by arjen@mysql.com, use 3 columns instead of 4.
print
STDERR
"
Scanning lex.h for symbols..
\n
";
print
STDERR
"
Scanning lex.h for symbols..
\n
";
open
LEX
,
"
<../sql/lex.h
";
open
LEX
,
"
<../sql/lex.h
";
...
@@ -40,11 +41,11 @@ print STDERR "Sorting array...\n";
...
@@ -40,11 +41,11 @@ print STDERR "Sorting array...\n";
printf
STDERR
"
There are %i reserved words.
\n
",
scalar
@words
;
printf
STDERR
"
There are %i reserved words.
\n
",
scalar
@words
;
@pre
=
("
\
@item
",
"
\
@tab
",
"
\
@tab
",
"
\
@tab
");
@pre
=
("
\
@item
",
"
\
@tab
",
"
\
@tab
");
@post
=
("
",
"
\n
",
"
",
"
\n
");
@post
=
("
\n
",
"
\n
",
"
\n
");
for
(
$i
=
0
;
$word
=
shift
(
@words
);
$i
++
)
{
for
(
$i
=
0
;
$word
=
shift
(
@words
);
$i
++
)
{
$list
.=
sprintf
"
%s %-30s %s
",
$pre
[
$i
%
4
],
"
\
@code
\
{
$word
\
}
",
$post
[
$i
%
4
];
$list
.=
sprintf
"
%s %-30s %s
",
$pre
[
$i
%
3
],
"
\
@code
\
{
$word
\
}
",
$post
[
$i
%
3
];
};
$list
.=
"
\n
";
};
$list
.=
"
\n
";
open
OLD
,
"
<manual.texi
";
open
OLD
,
"
<manual.texi
";
...
@@ -54,8 +55,9 @@ print STDERR "Copying beginning of manual.texi...\n";
...
@@ -54,8 +55,9 @@ print STDERR "Copying beginning of manual.texi...\n";
while
((
$line
=
<
OLD
>
)
!~
/START_OF_RESERVED_WORDS/
)
{
print
NEW
$line
;
};
while
((
$line
=
<
OLD
>
)
!~
/START_OF_RESERVED_WORDS/
)
{
print
NEW
$line
;
};
print
NEW
"
\
@c
START_OF_RESERVED_WORDS
\n\n
";
print
NEW
"
\
@c
START_OF_RESERVED_WORDS
\n\n
";
print
STDERR
"
Inserting list of reserved words...
\n
";
print
STDERR
"
Inserting list of reserved words...
\n
";
print
NEW
"
\
@multitable
\
@columnfractions
.25 .25 .25 .25
\n
";
# Ensure the fractions add up to 100% otherwise it looks funny in print:
print
NEW
"
\
@item
\
@strong
{Word}
\
@tab
\
@strong
{Word}
\
@tab
\
@strong
{Word}
\
@tab
\
@strong
{Word}
\n
";
print
NEW
"
\
@multitable
\
@columnfractions
.33 .33 .34
\n
";
print
NEW
"
\
@item
\
@strong
{Word}
\
@tab
\
@strong
{Word}
\
@tab
\
@strong
{Word}
\n
";
print
NEW
$list
;
print
NEW
$list
;
print
NEW
"
\
@end
multitable
\n
";
print
NEW
"
\
@end
multitable
\n
";
print
STDERR
"
Skipping over old list...
\n
";
print
STDERR
"
Skipping over old list...
\n
";
...
...
Docs/manual.texi
View file @
e247e514
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment