Problem Note 10848: Generating graphs with ODS Graphics and the LaTex destination will not
compile correctly
When creating ODS LaTex output, and using non-default graphics formats,
the output will not compile correctly.
The destination pdfLaTeX does not recognize the extension ".jpeg". The
instructions below need to be added to the document.
\DeclareGraphicsExtensions{.jpeg}
\DeclareGraphicsRule{.jpeg}{jpg}{.jpeg}{}
There is also a sizing issue with non Postscript graphics in LaTeX (jpeg
and png). When compiling the ODS LaTex output, the graphics do not fit
on the page. You need to change the code to following whenever a graphic
is referred to in the LaTex destination
\sasgraph[width=\textwidth]{SelectionCriterionPlot20.png}
These statements can also be added programmatically using PROC TEMPLATE
to update the LaTex tagset.
Operating System and Release Information
| SAS System | Base SAS | Microsoft Windows XP Professional | 9.1 TS1M0 | 9.2 TS1M0 |
| Microsoft Windows NT Workstation | 9.1 TS1M0 | |
| Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M0 | 9.2 TS1M0 |
| Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M0 | 9.2 TS1M0 |
| Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M0 | 9.2 TS1M0 |
| Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M0 | 9.2 TS1M0 |
| Microsoft Windows 2000 Server | 9.1 TS1M0 | 9.2 TS1M0 |
| Microsoft Windows 2000 Datacenter Server | 9.1 TS1M0 | 9.2 TS1M0 |
| Microsoft Windows 2000 Professional | 9.1 TS1M0 | 9.2 TS1M0 |
| 64-bit Enabled Solaris | 9.1 TS1M0 | 9.2 TS1M0 |
| Microsoft Windows 2000 Advanced Server | 9.1 TS1M0 | 9.2 TS1M0 |
| z/OS | 9.1 TS1M0 | 9.2 TS1M0 |
| 64-bit Enabled AIX | 9.1 TS1M0 | 9.2 TS1M0 |
| OpenVMS Alpha | 9.1 TS1M0 | 9.2 TS1M0 |
| 64-bit Enabled HP-UX | 9.1 TS1M0 | 9.2 TS1M0 |
| HP-UX IPF | 9.1 TS1M0 | 9.2 TS1M0 |
| Linux | 9.1 TS1M0 | 9.2 TS1M0 |
| Tru64 UNIX | 9.1 TS1M0 | 9.2 TS1M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Problem Note |
| Priority: | medium |
| Topic: | SAS Reference ==> ODS (Output Delivery System)
|
| Date Modified: | 2008-01-21 15:12:16 |
| Date Created: | 2003-09-16 11:06:42 |