This release is to fix an issue with web sites containing a mix of books built with Publican 3.0 and Publican 3.1.

The HTML structure of admonitions was changed for Publican 3.1 and the menu.css file was updated to match the new structure. The fix is to re-add the P3.0 elements to menu.css allowing books built with both versions to display correctly.

Full Tar at: https://fedorahosted.org/releases/p/u/publican/Publican-v3.1.1.tar.gz

Patch:

$ git show datadir/Common_Content/common/en-US/css/menu.css
commit 660a3aea1dc919eb2a7a6a280439ed8705865f05
Author: Jeff Fearn <[email protected]>
Date:   Thu Feb 7 14:58:21 2013 +1000

    Fix web site CSS for admonitions. BZ #908539

diff --git a/publican/datadir/Common_Content/common/en-US/css/menu.css b/publican/datadir/Common_Content/common/en-US/
index e13897c..5c3a2d5 100644
--- a/publican/datadir/Common_Content/common/en-US/css/menu.css
+++ b/publican/datadir/Common_Content/common/en-US/css/menu.css
@@ -859,6 +859,7 @@ div.warning, div.note, div.important {
        page-break-inside: avoid;
 }

+div.warning h2, div.note h2,div.important h2,
 div.admonition_header p {
        margin: 0px;
        padding: 0px;

Cheers, Jeff.

--
Jeff Fearn <[email protected]>
Senior Software Engineer
Infrastructure Engineering & Development (AEU)
Red Hat Asia Pacific Pty Ltd
GPG: 0x0357E8F0

_______________________________________________
publican-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/publican-list
Wiki: https://fedorahosted.org/publican

Reply via email to