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
9a6cd145
Commit
9a6cd145
authored
Mar 16, 2002
by
zak@balfor.local
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor changes to allow colspec numbering
parent
672e42ca
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
BitKeeper/etc/logging_ok
BitKeeper/etc/logging_ok
+1
-0
Docs/Support/colspec-fix.pl
Docs/Support/colspec-fix.pl
+4
-2
No files found.
BitKeeper/etc/logging_ok
View file @
9a6cd145
...
...
@@ -48,3 +48,4 @@ venu@work.mysql.com
zak@linux.local
jcole@mugatu.spaceapes.com
arjen@fred.bitbike.com
zak@balfor.local
Docs/Support/colspec-fix.pl
View file @
9a6cd145
...
...
@@ -29,7 +29,8 @@ sub msg {
sub
rel2abs
{
my
$str
=
shift
;
my
$colnum
=
1
;
my
@widths
=
();
my
$total
=
0
;
my
$output
=
'';
...
...
@@ -45,7 +46,8 @@ sub rel2abs {
my
$unit
=
(
$table_width
-
(
$#widths
*
$gutter_width
))
/
(
$total
);
foreach
(
@widths
)
{
$output
.=
$ws
.
'
<colspec colwidth="
'
.
sprintf
("
%0.2f
",
$_
*
$unit
)
.
'
cm" />
'
.
"
\n
";
$output
.=
$ws
.
'
<colspec colnum="
'
.
$colnum
.
'
" colwidth="
'
.
sprintf
("
%0.2f
",
$_
*
$unit
)
.
'
cm" />
'
.
"
\n
";
++
$colnum
;
}
return
$output
.
"
\n
$ws
";
...
...
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