Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125309 - lyx with app-text/tetex-3.0_p1-r2 fails to create ps files with graphic images since dvips now requires the -R0 flag
Summary: lyx with app-text/tetex-3.0_p1-r2 fails to create ps files with graphic image...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: CJK Team
URL: http://www.tug.org/pipermail/tex-live...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-06 16:31 UTC by Christian Apolloni
Modified: 2008-05-17 10:06 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Apolloni 2006-03-06 16:31:00 UTC
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 Martin Ehmsen (RETIRED) gentoo-dev 2006-03-29 08:25:03 UTC
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 pavel sanda 2008-02-26 22:58:44 UTC
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 pavel sanda 2008-05-17 10:06:43 UTC
i see now, from dvips(k) 5.95b it doesn't accept absolute paths unless -R0 is added.