PDF build relative path does not work with 16.04
Bug #1559783 reported by
Doug Smythies
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Server Guide |
Fix Released
|
Critical
|
Doug Smythies |
Bug Description
There are a great many errors and warnings when compiling the PDF version of the serverguide when using a 16.04 computer (a server in this case).
The main error seems to be that it doesn't seem to be able to find note and tip and warning png files, and therefore they do not end up in the PDF document.
Example:
[ERROR] FOUserAgent - Image not found. URI: libs/admon/
Many of the rest were also there before.
Related branches
summary: |
- PDF build problems when compiling with 16.04 + PDF build relative path does not work with 16.04 |
description: | updated |
Changed in serverguide: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
The image not found problem is very similar to bug 1559070.
If I do the following edits:
doug@s15: ~/sguide- trunk/z$ bzr diff graphics" select="1"/> textlabel" select="0"/> graphics. path" select= "'libs/ admon/' "/> graphics. path" select= "'/home/ doug/sguide- trunk/z/ libs/admon/ '"/> graphics. extension" select="'.png'"/>
=== modified file 'libs/fo-cust.xsl'
--- libs/fo-cust.xsl 2011-05-03 07:11:18 +0000
+++ libs/fo-cust.xsl 2016-03-21 21:42:00 +0000
@@ -25,7 +25,7 @@
<!-- Admon Graphics -->
<xsl:param name="admon.
<xsl:param name="admon.
- <xsl:param name="admon.
+ <xsl:param name="admon.
<xsl:param name="admon.
<!-- Callout Graphics -->
=== modified file 'libs/ubuntu- pdf.xsl' textlabel" select= "0"></xsl: param>
--- libs/ubuntu-pdf.xsl 2012-10-22 16:36:22 +0000
+++ libs/ubuntu-pdf.xsl 2016-03-21 21:44:32 +0000
@@ -183,7 +183,7 @@
<!-- If true (non-zero), admonitions are presented with a generated text label such as Note or Warning in the appropriate language. If zero, such labels are turned off, but any title children of the admonition element are still output. The default value is 1. -->
<xsl:param name="admon.
-<xsl:param name="admon. graphics. path" select= "'libs/ admon/' "/> graphics. path" select= "'/home/ doug/sguide- trunk/z/ libs/admon/ '"/> graphics. extension" select="'.png'"/>
+<xsl:param name="admon.
<xsl:param name="admon.
<xsl:template match="*" mode="admon. graphic. width">
then, at least in this respect, the PDF serverguide compiles O.K. and the various icons are present in the document.
Note 1: It is not practical to use absolute addressing in this case.
Note 2: This isn't a problem with yelp, because it is not installed on my server. It is likely the same problem but in yelp-tools and/or yelp-xsl.