Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] LyX and the Memoir Class
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Danuvius
Guru
Guru


Joined: 18 Sep 2004
Posts: 375
Location: Toronto

PostPosted: Fri Oct 22, 2004 6:07 am    Post subject: [SOLVED] LyX and the Memoir Class Reply with quote

I cannot seem to be able to get the Memoir Class working with LyX.

I *believe* I have it installed correctly... though, admittedly, I am not familiar enough with TeX / LaTeX to be able to verify that it is installed correctly.

Essentially, after having installed the Memoir Class, LyX continues to list (under "Layout > Document...") it as "Unavailable: Memoir" and I do not have the regular export options (such as PDF), only ASCII and Custom.

To ensure this is not a user error... or rather to diagnose it as such, as it probably is; I installed the memoir class like so:

1. Download all memoir files from CTAN:

Code:

README   25-May-2004 18:23   9k
memhfixc.sty   25-May-2004 18:22   6k
memman.ist   05-Feb-2004 21:36   1k
memman.pdf   05-Feb-2004 21:37   1.8M
memman.tex   09-Feb-2004 20:26   685k
memoir.dtx   07-Apr-2004 23:12   756k
memoir.ins   05-Feb-2004 21:43   3k
mempatch.sty   25-May-2004 18:22   4k


and placed it into

Code:

/usr/share/texmf/source/memoir/


2. As per the README file and a Gentoo forum thread, I entered the following:

Code:

# cd /usr/share/texmf/source/memoir/
# latex memoir.ins
# latex memoir.dtx
# latex memoir.dtx
# latex memoir.dtx

# mkdir /usr/share/texmf/tex/latex/memoir/
# cd /usr/share/texmf/tex/latex/memoir/
# cp /usr/share/texmf/source/memoir/*.sty .
# cp /usr/share/texmf/source/memoir/*.cls .
# cp /usr/share/texmf/source/memoir/*.clo .

# mkdir /usr/share/texmf/doc/latex/memoir/
# cd /usr/share/texmf/doc/latex/memoir/
# cp /usr/share/texmf/source/memoir/*.pdf .
# cp /usr/share/texmf/source/memoir/*.dvi .
# cp /usr/share/texmf/source/memoir/*.tex .

# mktexlsr


I do not get any obvious error messages at any point. You might be wondering about
Code:
latex memoir.dtx
being run 3 times--even on the second time it output a warning asking that latex be rerun (on the third time it was fine though).

In LyX, by going to "View > TeX Information", memoir.cls is listed under "LaTeX Classes". Still, when I go to "Layout > Document...", under "Document Class", the only listing for memoir I get is still "Unavailable: Memoir".

I would appreciate any help!!


Last edited by Danuvius on Fri Oct 22, 2004 6:31 am; edited 1 time in total
Back to top
View user's profile Send private message
Danuvius
Guru
Guru


Joined: 18 Sep 2004
Posts: 375
Location: Toronto

PostPosted: Fri Oct 22, 2004 6:31 am    Post subject: Solved Reply with quote

I was missing one step...

In LyX: "Edit > Reconfigure". This enabled the memoir class in LyX for me.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum