From 3da647eafd72f416054b744900d52e0a526c9538 Mon Sep 17 00:00:00 2001 From: Joseph Gmitter Date: Thu, 17 Aug 2017 11:12:28 -0400 Subject: [PATCH] LUDOC-372 build: Fix a condition issue with the PDF build This patch fixes an issue with the building of the PDF version of the manual where sections designated to use an "Introduced in Lustre 2.X" frame were not being processed and the entire section heading was missing. The technical issue that was occuring during the PDF processing is that the template in the PDF stylesheet, style/customstyle.fo, was dropping the content passed to it. This did not effect non-section tags, however, for section tags, this content included the section number and heading. It is resolved by capturing the content passed into the condition template and relaying it onto the textdecoration_1 template which makes the calls to render the decoration of the text. This fix matches what the html template uses for rendering. This patch does not affect the build for any other versions of the manual as a different stylesheet is used for each format. Signed-off-by: Joseph Gmitter Change-Id: I7ccae3e6f74ea2501f84ea224b20a8bb56b85894 Reviewed-on: https://review.whamcloud.com/28583 Reviewed-by: Andreas Dilger Tested-by: Jenkins --- style/customstyle_fo.xsl | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/style/customstyle_fo.xsl b/style/customstyle_fo.xsl index 6848ac2..7c4149f 100644 --- a/style/customstyle_fo.xsl +++ b/style/customstyle_fo.xsl @@ -20,34 +20,29 @@ so that is can be included in this file. Currently, this file duplicates customerstyle_common.xsl with some minor differences. --> - - - + - - + + + + - + - + + - @@ -143,6 +138,9 @@ + + + @@ -170,6 +168,7 @@ + -- 1.8.3.1