Bug 149588
| Summary: | [PATCH] Bad condition in mapping for latex2e | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jindrich Novy <jnovy> | ||||||||
| Component: | linuxdoc-tools | Assignee: | Ondrej Vasik <ovasik> | ||||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||||||
| Severity: | medium | Docs Contact: | |||||||||
| Priority: | medium | ||||||||||
| Version: | rawhide | CC: | pknirsch, rvokal, sgrubb, tmraz | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | All | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | 0.9.21-4 | Doc Type: | Bug Fix | ||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2007-07-23 12:45:40 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: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Jindrich Novy
2005-02-24 09:32:18 UTC
Created attachment 111368 [details]
Patch to "mapping" file that fixes the issue.
This blocks correct rebuild of pam in RAWHIDE. This fix is incomplete. \ifpdf is used elsewhere in that file. I've checked in a more complete fix -- please try 0.9.21-2. Tim, I just noticed that when testing it on pam. I've done a more complete fix. I'll attach it also here. Created attachment 111382 [details]
Complete fix for all document classes in "mapping" and also for "tr-mapping"
Applied and built as 0.9.21-3. This is not right. The \ifx\pdfoutput\defined doesn't test for definition of \pdfoutput, it's actually exactly the same as \ifx\pdfoutput\undefined. You've just simply inverted the if condition and thus it will not generate pdf output correctly. It will generate it but the conditions will not be evaluated as true so the output will be different. Created attachment 111388 [details]
Better patch
This patch will work with both old and new tetex versions.
Thanks. Okay, built as 0.9.21-4. Fixes my problem with iproute build. Thanks Tim, this problem is well known in upstream as well an they suggest the
following solution to this issue:
\ifx\pdfoutput\undefined
<not running PDFTeX>
\else
\ifx\pdfoutput\relax
<not running PDFTeX>
\else
<running PDFTeX, with...>
\ifnum\pdfoutput>0
<...PDF output>
\else
<...DVI output>
\fi
\fi
\fi
Closing as CURRENTRELEASE. |