Bug 57226
Summary: | db2pdf and db2ps fail to compile docbook files to PDF/PS | ||
---|---|---|---|
Product: | [Retired] Red Hat Raw Hide | Reporter: | David Howells <dhowells> |
Component: | docbook-utils | Assignee: | Tim Waugh <twaugh> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 1.0 | CC: | dhowells |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2001-12-07 13:58:51 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
David Howells
2001-12-07 11:04:48 UTC
[tim@cyberelk tim]$ cd $(mktemp -d /tmp/XXXXXX) [tim@cyberelk aH5Ve1]$ cat > test.sgml <!DOCTYPE BOOK PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [ ]> <book id="linux-driverguide"> <beginpage> <title>Linux drivers</title> <subtitle>Document Version 1.0, November 2001</subtitle> </book> [tim@cyberelk aH5Ve1]$ db2ps test.sgml Using catalogs: /etc/sgml/sgml-docbook-3.1.cat Using stylesheet: /usr/share/sgml/docbook/utils-0.6.9/docbook-utils.dsl#print Working on: /tmp/aH5Ve1/test.sgml Done. [tim@cyberelk aH5Ve1]$ db2pdf test.sgml Using catalogs: /etc/sgml/sgml-docbook-3.1.cat Using stylesheet: /usr/share/sgml/docbook/utils-0.6.9/docbook-utils.dsl#print Working on: /tmp/aH5Ve1/test.sgml Done. [tim@cyberelk aH5Ve1]$ db2html test.sgml output is test Using catalogs: /etc/sgml/sgml-docbook-3.1.cat Using stylesheet: /usr/share/sgml/docbook/utils-0.6.9/docbook-utils.dsl#html Working on: /tmp/aH5Ve1/test.sgml Done. [tim@cyberelk aH5Ve1]$ rpm -q docbook-utils docbook-utils-pdf openjade docbook-utils-0.6.9-12 docbook-utils-pdf-0.6.9-12 openjade-1.3-21 [tim@cyberelk aH5Ve1]$ rpm -q jadetex tetex jadetex-3.11-3 tetex-1.0.7-37 What does 'rpm -V' say for those packages (I get no output, indicating that they are installed properly)? What you asked for: dhowells>echo `rpm -qa | grep "docbook\\\|jade\\\|tetex"` docbook-style-dsssl-1.73-3 jadetex-3.11-3 docbook-utils-0.6.9-12 tetex-fonts-1.0.7-37 tetex-dvips-1.0.7-37 docbook-dtd30-sgml-1.0-10 tetex-dvilj-1.0.7-37 tetex-latex-1.0.7-37 docbook-utils-pdf-0.6.9-12 tetex-doc-1.0.7-37 tetex-1.0.7-37 docbook-dtd31-sgml-1.0-10 openjade-1.3-21 tetex-afm-1.0.7-37 tetex-xdvi-1.0.7-37 dhowells>rpm -V `rpm -qa | grep "docbook\\\|jade\\\|tetex"` dhowells> I don't know what to suggest other than removing and re-installing those packages. What's the history of this installation? The box started off as RH7.1 but has been gradually upgraded towards RH7.2. Recently I've needed to produce PDF of documentation that's been done for a contract, and have tried to get db2pdf to do it, but unsuccessfully. So I've upgraded the packages to those in Rawhide and beyond. I've just tried removing them, but there are a number of dependencies preventing removal. I'm just going to run up2date to see if that can help with packages on which these depend. So long as you haven't added any TeX packages directly to the tree and you haven't modified the configuration (texmf.cnf), please try this: - remove those packages and their dependencies - rm -rf /usr/share/texmf - reinstall the 7.2 versions of the packages you removed, except: - For teTeX, use the skunkworks packages (1.0.7-37) - for 'noarch' packages, use the ones in rawhide If you have added TeX packages directly to the tree, perhaps that's the problem. :-) The problem turned out to be an erronious environment variable: TEXINPUTS=. Without a ':', this excludes the default search path from the input search path. Not ideal.. |