Commit 9f80f7b0 authored by bperraud's avatar bperraud

Basic img support

parent 38191260
......@@ -63,7 +63,8 @@ This parameter is optional. Your file has been converted, the result is in the o
Known bugs
----------
* Nested ul in ol are sometimes converted to ol and the list-style-type CSS rule isn't supported by the PDFRenderer, which prevent from using the european dash symbol for ul lists
* Nested ul in ol are sometimes converted to ol.
* It seems that FS doesn't support the max-width for img tags, which makes proper scaling harder.
Generic Todo
------------
......
......@@ -53,6 +53,7 @@ p {
text-align: justify;
text-indent: 2em;
hyphens: auto;
word-break: normal;
}
/* Global headings numbering */
......@@ -103,3 +104,17 @@ h1 {
p.authors {
text-align: center;
}
/* Images formatting */
img {
display: block;
position: relative;
width: 10cm;
margin: auto;
padding-top: 5mm;
padding-bottom: 5mm;
page-break-before: auto;
page-break-after: auto;
page-break-inside: avoid;
}
......@@ -26,5 +26,4 @@
<!-- Cleaning des footers vides -->
<xsl:template match="footer[not(node())]"/>
</xsl:stylesheet>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment