Hot answers tagged miktex
9
While in MiKTeX an installation process is automatically triggered if you have, say, \usepackage{beamer} in a document preamble without the corresponding package installed, there is no such feature on TeX Live.
The last statement is not true actually, as pointed out by wasteofspace in the comments there is the texliveonfly package that implements the on ...
6
I had to experiment for a while before I found a solution that worked for me. Here it is:
Log in to your restricted user account.
In the Start Menu, go to MiKTeX 2.9 --> Maintenance (Admin)
Right-click on Settings (Admin) and choose Run as...
Open the program as an Administrator (the Admin will have to type in
his Admin password)
Click Refresh FNDB and ...
6
There is a lonely \closein\@inputcheck\relax in minitoc.sty which imho belongs in the definition above it:
\documentclass{report}
\usepackage{lipsum}
\usepackage[tight]{minitoc}
\makeatletter
\def\mtc@CkFile#1{%
\@mtc@LItrue\@mtc@FEtrue
\if@mtc@checkfiles
\IfFileExists{#1}{%
\immediate\openin\@inputcheck #1\relax
...
4
the documentclass minimal doesn't know anything about fontsize macros. Use article instead. However, \small has no argument, it is a switch. Use
{\sz Test x}
And, by the way, the error message comes from LaTeX not Gnuplot
4
You should never manipulate the standard texmf tree of portable MiKTeX. Create and use instead a local TeXMF tree.
Let drive f: be the drive with your portable MiKTeX. Now create a new directory like f:\local-texmf. Now you can create inside it new folders depending on what you want to use. Let's say you want to use a class miracle. Then create the folder ...
4
Yes, it is default behaviour of MiKTeX to install missing packages “on-the-fly”, but this can be changed in the Options dialogue. All in this way installed packages go into %APPDATA%\MiKTeX\<version>\ (<version> is 2.9 at time of writing), the MiKTeX variable is UserInstall. Since Windows Vista %APPDATA% resolves to ...
3
You can't use \left in one line of a split and \right in another one. You should also use an align* environment (and don't use redundant \left and \right); the big delimiters must be set by hand.
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align*}
F'&=\delta m\biggl\{f\frac{M_1l}{r^3}\bigl[3\cos^2\phi\cos^2(\lambda-D)-1\bigr]
...
3
The file amsthm.sty is part of MiKTeX's amscls package. Using the MiKTeX Package Manager, you should install amscls. You will probably want to install the amsmath package as well, for any mathematical typesetting.
In general, you can find out which MiKTeX package any file is in, by typing the full file name (such as in this case amsthm.sty) into the box ...
3
In addition to any package archive you store in any directory, at least these two other files need to be present:
miktex-zzdb1-2.9.tar.lzma
miktex-zzdb2-2.9.tar.lzma
These two contain the complete package list. Once those archives are present, the directory/folder can be specified as local package repository
3
Third version in reaction to comment (actually off-topic for TeX.SX in my opinion):
For selective connection settings you can install a local proxy server. I never needed one, so I cannot say anything about these, but well-known, renowned examples are Squid and Proxomitron (if you are by any chance German: Der Proxomitron - Deutsche Distribution).
Second ...
2
(This answer shall be Windows-7-and-MiKTeX-centric, and for on-the-fly installing. I work under the assumed belief/model that packages are in one of 3 states, not on the computer, on the computer and not installed, and installed. )
Here are steps that contributed to a solution to my problem:
Check that mirror site that I was having problem with is in ...
1
I cannot solve your problem, BUT... If you need MikTeX immediately, then try using the portable version instead. If you are the only user (others at work do not need it), then you might consider placing it in a location where you can take full ownership rights (your user home directory?), if that is the problem.
As far as I can tell, the portable version ...
1
You don't need to install everything by hand. Create a local repository. You need the two miktex-zz...-files and the miktex packages you want to install. Put everything in some folder and then use this folder. For details see e.g.
MiKTeX: [...] does not seem to be a local package repository.
Ignore the message about a .cfg file. maketfm is looking for it as ...
1
You can obtain ulem.sty here: http://ctan.mackichan.com/macros/plain/contrib/misc/ulem.sty
If you put it into the catalogue (folder) with your files, it should be enough to compile your work.
1
I had the same problem - the sollution above didn't work for me, but what worked can be found at http://comments.gmane.org/gmane.editors.lyx.general/69152. The sollution is:
Problem solved. PDFLatex doesn't die after a problematic run due to an
uninstalled package. It was blocking some files which, I guess, needed
to be modified by the Package ...
Only top voted, non community-wiki answers of a minimum length are eligible




