Well, it depends on which distribution you use:
1) TeX Live 2012: Just update via Package Manager, arara
is part of TeX Live 2012.
2) MikTeX: Under the assumption that MikTeX does not provide arara
(I only use TeX Live) do
a) Get the installer from BinTray, under the Downloads section (at the time of this writing, the current version is 3.0
)
b) Run the installer. After the installation open a command line window and type arara
If you get the following, the installation was successful:
C:\Users\Uwe>arara
__ _ _ __ __ _ _ __ __ _
/ _` | '__/ _` | '__/ _` |
| (_| | | | (_| | | | (_| |
\__,_|_| \__,_|_| \__,_|
arara 3.0 - The cool TeX automation tool
Copyright (c) 2012, Paulo Roberto Massa Cereda
All rights reserved.
usage: arara [file [--log] [--verbose] [--timeout N] [--language L] |
--help | --version]
-h,--help print the help message
-L,--language <arg> set the application language
-l,--log generate a log output
-t,--timeout <arg> set the execution timeout (in milliseconds)
-v,--verbose print the command output
-V,--version print the application version
Note that java
needs to be installed, you can check with java -version
on the commandline. IIRC arara
adds itself to the PATH, if however you get a 'command not found' error, add arara's directory to the Windows path. More information can be found also in the arara manual
PS: I'll show arara
also next week on the DANTE spring meeting in Gießen.
Seems that ProTeXt is based (or you have choosed it while installation) on basic MiKTeX, which has KOMA-Script not installed by default. So you have to download and install it.
In my opinion it is better to install the complete MiKTeX, tooks more time, but you can work offline the internet.
The installation can freeze on windows for several reasons. So what the reason is in your case is hard to say without more informations.
In your case, after new installation of MiKTeX, I would suggest to
- reboot windows,
- restart MiKTeX package management,
- check very carefully your internet connection and
- start installing of KOMA-Script again.
It is possible that you lose the internet connection, then just restart MiKTeX package management. Usually MiKTeX recognize this and completes the downloading and installing ...
Best Answer
Firstly, check README files, available documentation of the package, perhaps the beginning of the
.dtx
file to get installation information.Installing a package available as dtx/ins bundle:
Download the content of the package directory.
dtx
is the extension of a documented source file,ins
is the extension of an installation file. Put this in a temporary directory.If there's nothing differently written in a README file run LaTeX (or TeX) on the
.ins
file. This is best done using the command prompt (latex packagename.ins
), but you may use your TeX editor in LaTeX/DVI-LaTeX mode or what it is called there. This would usually produce one or more files ending with.sty
, perhaps some additional files. As you now have cls or sty files or the like, the remaining steps are the same like in the next alternative way:Installing sty or cls files:
Create a new directory with the package name in your local texmf directory structure, see also Create a local texmf tree in MiKTeX. Why not to choose the main MiKTeX texmf tree see in Purpose of local texmf trees.
Copy the package files (
*.sty
,*.cls
etc.) into this directory.Make the new package known to MiKTeX: refresh the MiKTeX filename database. To do this, click "Start/ Programs/ MiKTeX 2.x/ Maintenance/ Settings" (or similar) to get to the MiKTeX options, click the button "Refresh FNDB". The installation is complete.
If you did not download the documentation already, you could get it by running pdfLaTeX or LaTeX on the
.dtx
file. Compile twice to get correct references.Obtaining and installing packaged universal archives:
Perhaps you could get a file with the extension
.tds.zip
. Such files are archives fitting to your TeX directory structure. Open it, check the content structure. You could extract it to the right place. Also here, as after any installation, refresh the MiKTeX filename database.Installing a font package
Installing a font package, especially for Type1 fonts, requires additonal steps. See Manual font installation.
Links with further information:
Integrating Local Additions on MiKTeX.org
What are documented LaTeX sources (.dtx files) in the UK TeX FAQ
Installing things on a (La)TeX system with detailed general instructions in the UK TeX FAQ
Downloading and Installing Packages by Nicola L. C. Talbot
The dtx format by Joseph Wright
A different and very effective way, using a local repository:
(works only for all in the MiKTeX package repository available packages)
Use the MiKTeX net installer to download the complete MiKTeX repository to a USB drive.
On a MiKTeX system, choose this directory as the local package repository in the package manager.
Use this local repository for installation and updates.
You may update that local repository later using the net installer: it loads the database from the server, compares and downloads new or updated packages.