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
3dd2d1d5
Commit
3dd2d1d5
authored
Mar 14, 2002
by
arjen@fred.bitbike.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge work.mysql.com:/home/bk/mysql-4.0
into fred.bitbike.com:/home/arjen/mysql-4.0
parents
a0dfa298
bcd8f333
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
Docs/Support/colspec-fix.pl
Docs/Support/colspec-fix.pl
+3
-1
No files found.
Docs/Support/colspec-fix.pl
View file @
3dd2d1d5
...
@@ -4,6 +4,8 @@
...
@@ -4,6 +4,8 @@
# Script to rewrite colspecs from relative values to absolute values
# Script to rewrite colspecs from relative values to absolute values
#
#
# arjen 2002-03-14 append "cm" specifier to colwidth field.
use
strict
;
use
strict
;
my
$table_width
=
12.75
;
# cm
my
$table_width
=
12.75
;
# cm
...
@@ -43,7 +45,7 @@ sub rel2abs {
...
@@ -43,7 +45,7 @@ sub rel2abs {
my
$unit
=
(
$table_width
-
(
$#widths
*
$gutter_width
))
/
(
$total
);
my
$unit
=
(
$table_width
-
(
$#widths
*
$gutter_width
))
/
(
$total
);
foreach
(
@widths
)
{
foreach
(
@widths
)
{
$output
.=
$ws
.
'
<colspec colwidth="
'
.
sprintf
("
%0.2f
",
$_
*
$unit
)
.
'
" />
'
.
"
\n
";
$output
.=
$ws
.
'
<colspec colwidth="
'
.
sprintf
("
%0.2f
",
$_
*
$unit
)
.
'
cm
" />
'
.
"
\n
";
}
}
return
$output
.
"
\n
$ws
";
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