Discussion:
LaTeX Error: File `subscript.sty\' not found.
Churilov Sergey
2011-10-28 20:30:02 UTC
Permalink
Hi Roel,

I came across this problem recently and I solved it like this:
1. download file subscript.sty from
http://ctan.org/tex-archive/macros/latex/contrib/fragments.
2. Create new folder 'Subscript' in your MiKTeX installation folder (e.g.
C:\Program Files\MiKTeX 2.9\tex\latex)
3. Copy the file subscript.sty to the folder 'Subscript.
4. Reconfigure LyX.

I am using MiKTeX 2.9 and LyX 2.9 on WinXP. This procedure solved my
problem.
I hope it can be useful in your case.

Regards,
Sergey
Roel Schipper - CITG
2011-11-01 08:59:12 UTC
Permalink
Hello Sergey,

I have tried this, and manually put the subscript.sty file in the latex folder as you described. After reconfiguring and looking in LyX under the menu Tools - TeX Information - LaTeX styles, subscript.sty is still not visible however. When I want to view the PDF it still comes back with the abovementioned error.

On my desktop, where the problem occurs, I run LyX and MikTeX 2.9 under Windows 7. On my small HP netbook, where I use XP, the problem does not occur... However, brewing a PDF on that small machine takes a long time. I remember having lots of difficulties with administrator/user rights when installing LyX 2.0 on both machines. Probably there is a slight difference between both installations.

I have a workaround by using math for subscripts now.

Kindly,
Roel

From: Churilov Sergey [mailto:***@gf.ukim.edu.mk]
Sent: vrijdag 28 oktober 2011 22:30
To: lyx-***@lists.lyx.org
Cc: H.R.Schipper@
Subject: LaTeX Error: File `subscript.sty\' not found.

Hi Roel,

I came across this problem recently and I solved it like this:
1. download file subscript.sty from http://ctan.org/tex-archive/macros/latex/contrib/fragments.
2. Create new folder 'Subscript' in your MiKTeX installation folder (e.g. C:\Program Files\MiKTeX 2.9\tex\latex)
3. Copy the file subscript.sty to the folder 'Subscript.
4. Reconfigure LyX.

I am using MiKTeX 2.9 and LyX 2.9 on WinXP. This procedure solved my problem.
I hope it can be useful in your case.

Regards,
Sergey
Murat Yildizoglu
2011-11-01 09:10:38 UTC
Permalink
Hi Roel,

A step is missing in Sergey's instructions : between 3 and 4 you must
refresh Latex's package lists, it is called texhash. If I remember well,
MikTex comes with a utility-configuration program in which you can refresh
the package list. Otherwise, the new package will not be known to Latex,
hence to Lyx, even if you reconfigure.

You can also do it manually : open a terminal as administrator and execute
the following line in it: mktexlsr. It should grind for some time and stop.
Then if you reconfigure, stop and start again Lyx, it should see the new
package.

Murat
Hello Sergey,****
** **
I have tried this, and manually put the subscript.sty file in the latex
folder as you described. After reconfiguring and looking in LyX under the
menu Tools - TeX Information - LaTeX styles, subscript.sty is still not
visible however. When I want to view the PDF it still comes back with the
abovementioned error. ****
** **
On my desktop, where the problem occurs, I run LyX and MikTeX 2.9 under
Windows 7. On my small HP netbook, where I use XP, the problem does not
occur… However, brewing a PDF on that small machine takes a long time. I
remember having lots of difficulties with administrator/user rights when
installing LyX 2.0 on both machines. Probably there is a slight difference
between both installations.****
** **
I have a workaround by using math for subscripts now.****
** **
Kindly,****
Roel****
** **
*Sent:* vrijdag 28 oktober 2011 22:30
*Subject:* LaTeX Error: File `subscript.sty\' not found. ****
** **
Hi Roel,****
****
I came across this problem recently and I solved it like this:****
1. download file subscript.sty from
http://ctan.org/tex-archive/macros/latex/contrib/fragments.****
2. Create new folder 'Subscript' in your MiKTeX installation folder (e.g.
C:\Program Files\MiKTeX 2.9\tex\latex)****
3. Copy the file subscript.sty to the folder 'Subscript.****
4. Reconfigure LyX.****
****
I am using MiKTeX 2.9 and LyX 2.9 on WinXP. This procedure solved my
problem.****
I hope it can be useful in your case.****
****
Regards,****
Sergey****
--
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

***@u-bordeaux4.fr

http://yildizoglu.info

http://www.twitter.com/yildizoglu
Rafa
2013-01-25 16:52:33 UTC
Permalink
I have done this 5 steps:

1. download file subscript.sty from
Post by Churilov Sergey
http://ctan.org/tex-archive/macros/latex/contrib/fragments.
2. Create new folder 'Subscript' in your MiKTeX installation folder (e.g.
C:\Program Files\MiKTeX 2.9\tex\latex)
Post by Churilov Sergey
3. Copy the file subscript.sty to the folder 'Subscript.
4. Execute as root this comand: mktexlsr
5. Reconfigure LyX.

I do not get succesful result.

Thank you at all.
Paul A. Rubin
2013-01-30 23:03:48 UTC
Permalink
If you need the \textsubscript command, I think you can get it by installing the
fixltx2e package, which I believe can be installed through the MiKTeX package
manager.

Paul

Loading...