LaTeX forum ⇒ LyXLyX "LaTeX Error: File `subscript.sty' not found."

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
ndorloff
Posts: 3
Joined: Tue May 17, 2011 7:06 pm

LyX "LaTeX Error: File `subscript.sty' not found."

Postby ndorloff » Tue May 17, 2011 7:11 pm

Hi All,

I have seen several bug reports about this for LyX. I have searched for a while but I have not actually found a clear solution.

When I try to make subscripts in my windows XP version of LyX I get the following error "LaTeX Error: File `subscript.sty' not found.". In description, it says "*** (cannot \read from terminal in nonstop modes)". It works fine on my mac, but it is driving me crazy on my PC.

I have uninstalled both MiKTeX and LyX multiple times, and still it does not work.

Please help.

User avatar
Stefan Kottwitz
Site Admin
Posts: 9156
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Tue May 17, 2011 7:33 pm

Hi,

you can install the subscript package from CTAN.

For information regarding the installation have a look at: How can I manually install a package on MiKTeX (Windows).

Stefan
Site admin

ndorloff
Posts: 3
Joined: Tue May 17, 2011 7:06 pm

Postby ndorloff » Tue May 17, 2011 8:38 pm

Hi Stefan,

Thanks for replying. I am not sure I can follow your instructions. Forgive me for my ignorance, but it is not clear how I download anything from the link you attached.

Thanks. I appreciate your patience.

Nate

User avatar
Stefan Kottwitz
Site Admin
Posts: 9156
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Tue May 17, 2011 8:50 pm

Hi Nate,

no problem, the direct download link from that page is this: http://ctan.org/tex-archive/macros/latex/contrib/fragments. There's subscript.sty. If you would like to do it quickly or for testing, download subscript.sty there and put it into the same folder like your main document.

Stefan
Site admin

ndorloff
Posts: 3
Joined: Tue May 17, 2011 7:06 pm

Postby ndorloff » Wed May 18, 2011 2:48 am

This is a good solution. Thanks.

nickiswright
Posts: 1
Joined: Tue Aug 16, 2011 12:25 pm

Postby nickiswright » Tue Aug 16, 2011 12:28 pm

Please help. I have a similar problem. I get the subscript.sty file not found and the description say \onehalflinepacing.

I recently started using the lyx 2.0 and have just done my first preview and getting this error. The problem is I have no idea how to enter that code to solve this. I am pretty new on lyx and just using it to write my thesis, which is basically finished and due in on Monday! I just need to get to a printable format

alleyoopster
Posts: 1
Joined: Wed Oct 26, 2011 8:33 am

Postby alleyoopster » Wed Oct 26, 2011 9:11 am

This post is a little old, but for anyone that comes across this I found the answer was to install the texlive-latexextra package in my distribution (Arch linux). After this installed I had not further problems.

MaryamJaved539
Posts: 1
Joined: Fri Jun 29, 2018 11:13 am

Postby MaryamJaved539 » Fri Jun 29, 2018 11:21 am

Hello!! I know this is an old post, I was also getting subscript.sty not found error. I am going to write how i fixed it,
1) You can download the file subscript.sty from https://ctan.org/tex-archive/macros/latex/contrib/fragments.
2)Go to the folder C:\Users\USERNAME\AppData\Local\Programs\MiKTeX 2.9\tex\latex, create a folder named Subscript , add the file subscript.sty in that folder.
3) Next, you have to refresh the file taxhash.exe , you can simply run it by double clicking on it. After that you have to restart lyx and run the file that was having this error, SEE!! The error is gone.
Pointers: There might be another folder MikeTex 2.9 in your C:\Program Files , dont go to that folder.
Thank You!
Regards
Maryam Javed

User avatar
Johannes_B
Site Moderator
Posts: 3883
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Fri Jun 29, 2018 11:41 am

You shouldn't need that package. Subscripts are defined in the kernel for years.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.


Return to “LyX”

Who is online

Users browsing this forum: No registered users and 5 guests