LyXError message from LYX everynow and then

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
bossyu
Posts: 4
Joined: Sat Jul 13, 2013 7:43 pm

Error message from LYX everynow and then

Post by bossyu »

Hi all,
I have just start learning LyX and have no latex background. The document look very nice at first but there are some error message coming out every now and then.

I find then if I put this equation:

Code: Select all

c^{*}=\left(\cfrac[r]{\varepsilon_{f}}{\sqrt{2}}\right)^{\nicefrac{1}{3}}\sqrt{\dfrac{E_{f}}{\rho_{f}}}=\left(\cfrac[r]{\varepsilon_{f}}{\sqrt{2}\rho_{f}}\right)^{\nicefrac{2}{3}}\left(\cfrac{E_{f}}{\rho_{f}}\right)^{\nicefrac{-1}{6}}
then press preview, the document will open. But the second I change the document to 1.5 spacing. this error meassage come out:

Code: Select all

!pdfTeX error: pdflatex (file yrcmex10): Font yrcmex10 at 600 not found.
I read this online but since I will dun understand how LyX work very well.. I have not idea how to fix the problem. i.e. where do I download the seemingly missing file. and which folder do I need to put the file in?

Many thanks
Attachments
question.lyx
here is a minimal working example
(2.08 KiB) Downloaded 295 times
Last edited by bossyu on Tue Jul 16, 2013 12:34 pm, edited 2 times in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

bossyu
Posts: 4
Joined: Sat Jul 13, 2013 7:43 pm

Re: Error message from LYX everynow and then

Post by bossyu »

Also, this same message come out many time and then I need to fixed the difference equation. it is getting very annoying. if there is a way to fix the problem for permanently it would be great.
bossyu
Posts: 4
Joined: Sat Jul 13, 2013 7:43 pm

Error message from LYX everynow and then

Post by bossyu »

Anyone have any idea?

The error message come out also when I put square root, subscript, and fraction together in one formula. For example:

Code: Select all

\sqrt{E_{f}/\rho_{f}}
Last edited by cgnieder on Wed Jul 17, 2013 3:35 pm, edited 1 time in total.
scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

Re: Error message from LYX everynow and then

Post by scottkosty »

Hi bossyu,

Your LyX document uses the package yhmath. You either have to install the yhmath bundle (which contains fonts and the LaTeX package) or stop using it. To stop using it, just go to Document > Settings > LaTeX preamble and remove "\usepackage{yhmath}"

See here:
http://www.ctan.org/pkg/yhmath

By the way, your file compiles fine for me without modification on Ubuntu with an updated TeX Live 2013. If you would like to install yhmath and if you are using Ubuntu let me know if you need more help. Otherwise I won't be able to help you.
bossyu
Posts: 4
Joined: Sat Jul 13, 2013 7:43 pm

Error message from LYX everynow and then

Post by bossyu »

Thank you very much scottkosty,

I have remove \usepackage{yhmath} from the document and it work fine now.
Last edited by cgnieder on Wed Jul 17, 2013 3:39 pm, edited 1 time in total.
Post Reply