sudo apt-get install lyx texlive \
    texlive-latex-extra       \
    texlive-math-extra        \
    texlive-science           \
    texlive-fonts-recommended \
    texlive-publishers
And if you like confirm the required files are in the correct locations:
~/# find /usr/share/ | grep -i ieeetr
/usr/share/lyx/layouts/IEEEtran.layout
/usr/share/lyx/templates/IEEEtran.lyx
/usr/share/texmf-texlive/bibtex/bst/base/ieeetr.bst
...
/usr/share/texmf-texlive/tex/latex/IEEEtran/IEEEtran.clsThen in the Lyx editor:
- Tools>Reconfigure
- Restart Lyx
 
- File>New from template
- choose the template /usr/local/share/lyx/templates/IEEEtran.lyx
 
Thanks a lot. This post save me a lot of time!
ReplyDeleteGood one.. really simplified.. Like what LyX gave to the LaTeX users.. :)
ReplyDelete