Showing posts with label windows. Show all posts
Showing posts with label windows. Show all posts

Thursday, July 2, 2015

[Latex][MikTex][windows] Fixing the error that mathtools.sty package is not found

These are the steps I took on windows OS to fix the package error in MikTex.

Go to the console and type "cmd"

Now go to the directory where MikTex was installed on your machine.

>> cd C:\Program Files (x86)\MiKTeX 2.9

>> cd miktex\bin

And then with the administrator settings open the package console using this command:

>> mpm_mfc_admin

This prompts a gui where you can see different packages available. Simply search for the "mathtools" package and install it by clicking + symbol on the top-left side of this GUI. Hope this helps!


Tuesday, May 19, 2015

[Latex] Installing packages like mathtools, enumitem, etc on Windows 8 using MikTek 2.9

You can directly download a .sty file and refer it in your .tex file but not always this works as sometimes a single package may require other sub-packages to be installed.

Inorder to install a new package using MikTex on Windows 8, it is very simple. Here are the steps:

1. Search for cmd in the applications search option
2. And right click this option and choose 'Run as administrator'
3. Then go to the folder where MikTex 2.9 is installed. For me it is: 'C:\Program Files (x86)\MikTex 2.9'
4. Further go to the subdirectory: 'C:\Program Files (x86)\MiKTeX 2.9\miktex\bin'
5. Once you are in this folder, type the command mpm_mfc_admin on command prompt which pops out a MikTex Package Manager console showing the different packages available.
6. From here choose whatever package you want to install by selecting that and pressing the '+' option on the top.

Thats all folks! 

Friday, July 2, 2010

Add a folder to the windows path

Modifying the path statement will enable an MS-DOS window as well as older programs to locate files that may be required to run the program.

TO set the path, follow these steps:

1. From the desktop, right-click "My Computer" and click "Properties".
2. In the System Properties window, click on the "Advanced" tab.
3. In the "Advanced" section, click the "Environment Variables" button.
4. Finally, in the Environment Variables window, highlight the Path variable in the Systems Variable section and click the Edit button.
5. Add or modify the path lines with the paths you wish the computer to access.
6. Each different directory is separated with a semicolon as shown as:-
C:\Program Files\MiKTeX2.7\miktex\bin;C:\Python25\PyQt4\bin;

You can now able to run your program.

Monday, June 28, 2010

View, Start, Stop, Pause, Restart a service in Windows

Hi here I am giving you the commands which you should use them from the command line prompt in windows.

There are many a times when you want to know what are the services running while you have logged in to your computer.

Use this command which display a list of services that are running on your computer:

net start

To start a new service, use:

net start

To stop a running service, use:

net stop

To pause a service, use:

net pause

To restart a service, use:

net continue

Hope this is helpful :-)

Saturday, June 19, 2010

Installing gnuplot on windows

You can install gnuplot on windows easily to plot the graphs.

Download gnuplot from this

There is no need to run any exe file but directly copy them to some directory on your system and then make a shortcut to wgnuplot.

It is also useful to install ghostview which allows you to view postscript graphs made with gnuplot. You need gs860w32.exe and gs49w32.exe (or higher?).

Instructions for installing ghostview can be found here;

http://pages.cs.wisc.edu/~ghost/gsview/