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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
fcdf3ac0
Commit
fcdf3ac0
authored
Mar 14, 2002
by
unknown
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
bc49942f
2b400a5a
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 @
fcdf3ac0
...
@@ -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