First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 91108
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Text-Markup Team <text-markup@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Pupeno <pupeno@pupeno.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
diff diff for lyx-1.3.5-r1.ebuild patch Andrew Roberts 2005-05-08 14:56 0000 505 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

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

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







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


Description:   Opened: 2005-05-01 21:29 0000
There is a class for LyX/LaTeX to write Curriculum Vitaes, the fiels that
specify that class/layout are these:
/usr/share/lyx/layouts/cv.layout
/usr/share/lyx/tex/cv.cls
and there's an example of the usage of that class:
/usr/share/lyx/examples/cv.lyx
If you try to open that file you'll see that LyX can't finde the cv class and
it's not able to produce any output.
I believe that's because some PATHs where not set rightly. It would be nice if
you could make the ebuild set those PATHs in whatever way is needed.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Andrew Roberts 2005-05-08 10:47:53 0000 -------
There are a number of files in /usr/share/lyx/examples that produce the same
error, for example chessgame.lyx can't find the chess class.

This issue can be fixed by adding a symlink to /usr/share/texmf/tex/latex

# cd /usr/share/texmf/tex/latex
# ln -s ../../../lyx/tex lyx

then open lyx and run Edit>Reconfigure.

Whilst this appears to fix the issue, I am uncertain whether it is the
'correct' solution.

------- Comment #2 From Pupeno 2005-05-08 11:35:17 0000 -------
I've tried your fix, but it didn't work, opening cv.lyx and chessgame.lyx still
produced the same error as before, may I be missing some other package ?
Thank you.

------- Comment #3 From Andrew Roberts 2005-05-08 12:15:37 0000 -------
Try running texhash as root, then do the Reconfigure step.

------- Comment #4 From Pupeno 2005-05-08 12:26:44 0000 -------
That made it work, thanks.
Maybe then the LyX ebuild should make the symlink and run texhash.

------- Comment #5 From Andrew Roberts 2005-05-08 14:56:25 0000 -------
Created an attachment (id=58412) [edit]
diff for lyx-1.3.5-r1.ebuild

This needs to be checked as I haven't got a vanilla installation of tetex/lyx
to play with anymore and reinstallation takes far too long ;).

------- Comment #6 From Mamoru KOMACHI (RETIRED) 2005-05-22 05:28:22 0000 -------
Thanks for the bug report. I applied the patch to lyx-1.3.5-r2.ebuild
with little modification. Please test it if you have some spare time ;)

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