[Bug 461996] Re: In Karmic, LyX cannot find included pdf file (pdfpages)
Emanuele Gissi
emanuele.gissi at gmail.com
Sat Oct 31 11:29:54 UTC 2009
I worked on the bug.
1) I tracked the visualization problem to the LyX script convertDefault.py
The convert command from Imagemagick is called to convert the pdf image to ppm.
This is an example of convert command, that LyX script sends to
os.system() function:
convert -define pdf:use-cropbox=true -depth 8 -flatten
"pdf:/tmp/lyx_tmpdir.TJ3247/gconvert0.Ti3247.pdf"
"ppm:/tmp/lyx_tmpdir.TJ3247/CacheItem.kn3247.ppm"
If I modify it in (delete -define option):
convert -depth 8 -flatten
"pdf:/tmp/lyx_tmpdir.TJ3247/gconvert0.Ti3247.pdf"
"ppm:/tmp/lyx_tmpdir.TJ3247/CacheItem.kn3247.ppm"
then the pdf preview works.
2) The final PDF document is still not produced.
A latex error window is raised:
Package pdfpages Error: "Cannot find file '1_home_egissi_test'
Undefined control sequence
...
\includepdf{1_home_egissi_test}
...
3) Instead, if I export to tex and run pdflatex newfile1.tex from the
command line everything works well
--
In Karmic, LyX cannot find included pdf file (pdfpages)
https://bugs.launchpad.net/bugs/461996
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list