First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 125309
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: CJK Team <cjk@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Christian Apolloni <bsolar17@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 125309 depends on: Show dependency tree
Bug 125309 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-03-06 16:31 0000
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)
' TeX output 2006.03.07:0057' -> sort.ps
<tex.pro><texps.pro><special.pro>. <cmsy7.pfb><cmmi7.pfb><cmr7.pfb>
<cmsy10.pfb><cmr10.pfb><cmmi10.pfb>[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 -> postscript command in the lyx
configuration solves the problem:

dvips -R0 -o $$o $$i

------- Comment #1 From Martin Ehmsen (RETIRED) 2006-03-29 08:25:03 0000 -------
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!

------- Comment #2 From pavel sanda 2008-02-26 22:58:44 0000 -------
Christian, could you provide one image showing the problem?
I'm not able to reproduce the problem here and I'm wondering why I dont
see similar hacks on other distros.

------- Comment #3 From pavel sanda 2008-05-17 10:06:43 0000 -------
i see now, from dvips(k) 5.95b it doesn't accept absolute paths unless -R0 is
added.

First Last Prev Next    No search results available      Search page      Enter new bug