<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>125309</bug_id>
          
          <creation_ts>2006-03-06 16:31 0000</creation_ts>
          <short_desc>lyx with app-text/tetex-3.0_p1-r2 fails to create ps files with graphic images since dvips now requires the -R0 flag</short_desc>
          <delta_ts>2008-05-17 10:06:43 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://www.tug.org/pipermail/tex-live/2005-December/009585.html</bug_file_loc>
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>bsolar17@gmail.com</reporter>
          <assigned_to>cjk@gentoo.org</assigned_to>
          <cc>ps@twin.jikos.cz</cc>
    
    <cc>text-markup@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>bsolar17@gmail.com</who>
            <bug_when>2006-03-06 16:31:00 0000</bug_when>
            <thetext>Running lyx in a console and trying to create a ps from a document with images causes the following errors to be printed:

--
lyx sort.lyx
This is dvips(k) 5.95b Copyright 2005 Radical Eye Software (www.radicaleye.com)
&apos; TeX output 2006.03.07:0057&apos; -&gt; sort.ps
&lt;tex.pro&gt;&lt;texps.pro&gt;&lt;special.pro&gt;. &lt;cmsy7.pfb&gt;&lt;cmmi7.pfb&gt;&lt;cmr7.pfb&gt;
&lt;cmsy10.pfb&gt;&lt;cmr10.pfb&gt;&lt;cmmi10.pfb&gt;[1] [1] [2] [3] [4] [5] [6] [7] [8] [9] 
[10] [11] [12
dvips: Could not find figure file /tmp/lyx_tmpdir6663NoYfAZ/lyx_tmpbuf0/0_home_bsolar_supsi_svnwc_sort_sort_lyx_data_QuickSort_chart.epsi; continuing
] [13
dvips: Could not find figure file /tmp/lyx_tmpdir6663NoYfAZ/lyx_tmpbuf0/1_home_bsolar_supsi_svnwc_sort_sort_lyx_data_MergeSort_chart.epsi; continuing
dvips: Could not find figure file /tmp/lyx_tmpdir6663NoYfAZ/lyx_tmpbuf0/2_home_bsolar_supsi_svnwc_sort_sort_lyx_data_InsertionSort_chart.epsi; continuing
] [14
[...]
--

The generated ps does not contain the figures.

The problem seems caused by a change in the behaviour of dvips, as shown in the link provided. Adding -R0 in the DVI -&gt; postscript command in the lyx configuration solves the problem:

dvips -R0 -o $$o $$i</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ehmsen@gentoo.org</who>
            <bug_when>2006-03-29 08:25:03 0000</bug_when>
            <thetext>I have patched the lyx source so it by default should use -R0, so it is in CVS in lyx-1.4.0-r1.
Thanks for reporting and finding the fix!</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ps@twin.jikos.cz</who>
            <bug_when>2008-02-26 22:58:44 0000</bug_when>
            <thetext>Christian, could you provide one image showing the problem?
I&apos;m not able to reproduce the problem here and I&apos;m wondering why I dont
see similar hacks on other distros.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ps@twin.jikos.cz</who>
            <bug_when>2008-05-17 10:06:43 0000</bug_when>
            <thetext>i see now, from dvips(k) 5.95b it doesn&apos;t accept absolute paths unless -R0 is added.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>