7

I would like to use the function of TeXnicCenter 1.0, where is automatically downloads missing packages used. The problem is, that the repository it wants to download from does not exist anymore (the one on piotrkosoft.net).

How do I get TeXnicCenter to try with another repository?

4
  • 2
    Hi imzs, Welcome to tex exchange! I think you might be a little confused- TeXnicCenter does not manage the packages; if you're on Windows then it will be handled by either MiKTeX or TeXlive, depending on which distribution you installed. Can you update us with which distribution you are using?
    – cmhughes
    Apr 24, 2012 at 11:40
  • Hi! Sure I am confused. :) I have just started with LaTeX. I'm using MiKTeX 2.9.
    – imzs
    Apr 24, 2012 at 11:47
  • 2
    You can change the repository in the miktex package manager. But you should be aware that texniccenter often disturbs the on-the-fly-installation. Apr 24, 2012 at 12:20
  • In TXC 1.0 there is a bug regarding on-the-fly-installation from MiKex. It is fixed in TXC 2.0, which is officially in alpha status, but works for me with some small problems not relevant for TeX output routine (I would consider it in beta status …).
    – Speravir
    Apr 24, 2012 at 16:47

2 Answers 2

11

Use the "packages shall be installed from a directory" option instead.

Download the packages you want from https://www.ctan.org/tex-archive/systems/win32/miktex/tm/packages to a directory on your own system.

Also download the files

miktex-zzdb1-2.9.tar.lzma
miktex-zzdb2-2.9.tar.lzma

so that the directory is recognized as a package repository (change 2.9 to the relevant version number, presumably).

3
  • 1
    This worked perfectly 2 years later (note the CTAN mirror path listed didn't work, but this did).
    – jedwards
    Apr 19, 2016 at 7:57
  • @jedwards many thanks - I fixed the URL Apr 19, 2016 at 11:09
  • 3 years later: worked like a charm!
    – Wizzerad
    Jan 26, 2019 at 22:45
7

To change the repository in MiKTeX you need to open the package manager. Then go to Repository > Change Package Repository.

enter image description here

Then you have to choose the option "Packages shall be installed from the Internet".

enter image description here

After this you should be able to choose a new repository.

enter image description here

4
  • 2
    I don't know why this answer got and upvoted. If the repository is down, then the 3rd picture would only say repository is down and wouldn't be able to retrieve other repositories(at least this is the problem that I am getting)
    – Sarp Kaya
    May 22, 2014 at 11:52
  • @SarpKaya It seems that at the moment no repository can be reached through the MiKTeX package manager ("The MiKTeX package repository is down for maintenance.").
    – Thorsten
    May 22, 2014 at 12:02
  • Yes I know, but I think the question is asking, how to change the repository for the moments like this, rather than other times when it is actually working.
    – Sarp Kaya
    May 22, 2014 at 12:04
  • @SarpKaya No, the question is about a specific repository, i.e. piotrkosoft.net.
    – Thorsten
    May 22, 2014 at 12:05

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .