I find it really lovely, that the so called community is so "eager" to help.
So the amateur as I am, I found some kind of solution myself, thanks to the helpful note of Herve Morillon (which was also left unanswered almost 3 years ago) here:
http://www.redmine.org/boards/2/topics/389
I will describe it here, in case somebody else stumbles upon that problem.
So you have to copy the parts regarding the Wiki from the /redmine/public/stylesheets/application.css
in to /redmine/app/views/wiki/export.rhtml
while removing the "div.wiki" clause from every statement. The part to copy (in the <style> clause) is the following:
table {
border: 1px solid #505050;
border-collapse: collapse;
margin-bottom: 1em;
}
table, td, th {
border: 1px solid #bbb;
padding: 4px;
}
.external {
background-position: 0% 60%;
background-repeat: no-repeat;
padding-left: 12px;
background-image: url(../images/external.png);
}
a.new {
color: #0C00AE;
}
pre {
margin: 1em 1em 1em 1.6em;
padding: 2px 2px 2px 0;
background-color: #fafafa;
border: 1px solid #dadada;
width:auto;
overflow-x: auto;
overflow-y: hidden;
}
ul.toc {
background-color: #ffffdd;
border: 1px solid #e4e4e4;
padding: 4px;
line-height: 1.2em;
margin-bottom: 12px;
margin-right: 12px;
margin-left: 0;
display: table
}
* html ul.toc { width: 50%; } /* IE6 doesn't autosize div */
ul.toc.right { float: right; margin-left: 12px; margin-right: 0; width: auto; }
ul.toc.left { float: left; margin-right: 12px; margin-left: 0; width: auto; }
ul.toc li { list-style-type:none;}
ul.toc li.heading2 { margin-left: 6px; }
ul.toc li.heading3 { margin-left: 12px; font-size: 0.8em; }
ul.toc a {
font-size: 0.9em;
font-weight: normal;
text-decoration: none;
color: #606060;
}
ul.toc a:hover { color: #c61a1a; text-decoration: underline;}
a.wiki-anchor { display: none; margin-left: 6px; text-decoration: none; }
a.wiki-anchor:hover { color: #aaa !important; text-decoration: none; }
h1:hover a.wiki-anchor, h2:hover a.wiki-anchor, h3:hover a.wiki-anchor { display: inline; color: #ddd; }
img { vertical-align: middle; }
This approach brings the html formatting back to the exported html files, so they look similar to the original one in the wiki. This includes table having borders, table of contents, code snippets (although I could not get the highlighting to work), inline images etc.
At the end you have to restart redmine (i.e. ctlscript.sh restart
)