MiKTeX and proTeXtproblem with installing package

Information and discussion about MikTeX distribution for Windows and the related proTeXt: Installing, updating, configuring
Post Reply
marijana123456
Posts: 5
Joined: Thu Aug 19, 2010 9:05 am

problem with installing package

Post by marijana123456 »

I have problem with adding package floatrow in MikiTeX. I have downloaded it from CTAN, run the ins file, copied sty files I've got in folder
C:\Program Files\MiKTeX 2.7\tex\latex\floatrow.
Then I've refreshed database in MikiTeX options, but the floatrow package doesn't show up in the list of packages in Package Manager, so I don't know how to install it.

Can anyone please help me with this?

When I try to run the dtx file from the package, shows up error
Undefined control sequence
\reserved@a...}strut }fancyheadoffset
[L]{\marginparwith +\margi...

As I understood dtx file is only for creating the documentation, but maybe the error shows that I miss some other packages needed for floatrow? I have the old version, MikiTeX 2.7, can this be a problem. But the same problem I have when I try to install subfig package, so I don't know what to do.

code example:

Code: Select all

\documentclass{article} 
\usepackage{floatrow}
\begin{document}
\end{document} 
gives error File 'floatrow.sty' not found.

Thanks
Last edited by marijana123456 on Tue Sep 21, 2010 3:28 pm, edited 3 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.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

problem with installing package

Post by localghost »

Just start the MiKTeX Package Manager (MPM) and install the package. This detour is not necessary. Consult either the Forum Search or the MiKTeX Manual.


Thorsten
marijana123456
Posts: 5
Joined: Thu Aug 19, 2010 9:05 am

Re: problem with installing package

Post by marijana123456 »

I normally install packages by selecting them from the list of available packages in Package Manager, and click at the + icon, but how to do it if the package is not at the list?

Sorry for the code environment, I have put it in the tags, and I don't know why it doesn't work now.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

problem with installing package

Post by localghost »

marijana123456 wrote:I normally install packages by selecting them from the list of available packages in Package Manager, and click at the + icon, but how to do it if the package is not at the list? […]
I'm a little bit surprised because on my machine the package is listed (see attachment). Perhaps you need to synchronize the package database and try again (see attachment).
marijana123456 wrote:[…] Sorry for the code environment, I have put it in the tags, and I don't know why it doesn't work now.
Replace the backslash with a slash in the end tag. But you don't need to insert that manually. Use the »Code« button in the list right above the input window.
Attachments
The package list of the MiKTeX 2.8 Package Manager (Admin).
The package list of the MiKTeX 2.8 Package Manager (Admin).
MPM(Admin)-Repository-Synchronize.png (80.58 KiB) Viewed 6921 times
marijana123456
Posts: 5
Joined: Thu Aug 19, 2010 9:05 am

Re: problem with installing package

Post by marijana123456 »

I have downloaded MikTeX 2.8 and now it works fine. Still don't know what was the problem with the old version. Thanks for help
Post Reply