I have a problem with amsmath package. After an update this package was removed because it was obsolete. But what package can use instead of amsmath?
- 231,401
- 553
5 Answers
MiKTeX has reorganized the package amslatex. Therefore the update removes it:
The package amslatex is split in amsmath and amscls. (Also there is a new package amslatex-primer):
However, the update has not installed the new packages automatically. Therefore I have installed them manually. For AmSLaTeX you need at least amsmath. It contains the package file amsmath.sty. amscls contains the AMS classes (amsbook.cls, …).
Finally the local repository database is synchronized by calling the MiKTeX Package Manager, menu item Repository→Synchronize, see comment of Ulrike Fischer.
- 271,626
-
10When miktex rearranges packages one should synchronize the local repository database to get it up to date. The command is in "Repository" menu of the package manager. After the synchronization miktex will reinstall the files on-the-fly when you try to use them. – Ulrike Fischer Feb 05 '13 at 08:13
-
5@UlrikeFischer Thanks. It eludes me, why the synchronization is not already done by the update in the first place. – Heiko Oberdiek Feb 05 '13 at 09:07
-
Probably to save time and bandwidth. Normally everything works fine even without synchronization. – Ulrike Fischer Feb 05 '13 at 09:25
-
@UlrikeFischer When
miktex-etex-base-2,9(iirc) was renamed tomiktex-etex-base-2.9and I tried "Update Formats", I got an error. So even if runningpdflatexover some document and then installing packages on the fly was a solution in principle, the current way MiKTeX is implemented is not stable in the sense of it not having prevented this error. – Lover of Structure Apr 13 '13 at 23:18 -
@UlrikeFischer I was at some point prompted to reinstall something (I think it was
miktex-etex-base-2,9, but it's been a while) on the fly, and it might even have been the "Update Formats" process which did this immediately after the error (I forgot whether it was so), but only after I figured out to manually addmiktex-etex-base-2.9(with a period) via the package manager, everything started to work seamlessly again. – Lover of Structure Apr 13 '13 at 23:19
amsmath is definitely not obsolete! It may have some old and unrepaired bugs, but it still has the status "maintained" and AMS has every intention of keeping it that way.
Something else must have gone wrong with your update.
EDIT: amsmath and the AMS document classes + amsthm used to be combined on CTAN under the name amslatex. They have always been separate in TeX Live, and, although originally bundled together on the AMS server, were repackaged in mid-2010 to be distributed in two parts.
This split was implemented in late January on CTAN, concurrent with a minor update (version 2.14) "to provide more fluid interoperability with stix.sty. It should be fully compatible with version 2.13."
The consequences of this change (and the ensuing confusion) eluded me when i first answered this question, a fact for which i apologize.
- 88,848
-
16
-
5@egreg -- hmmmmph. it's after quitting time. (okay, i did it anyhow.) – barbara beeton Feb 04 '13 at 22:10
You can use mathtools instead (you should it instead of amsmath because it fixes a bug).
- 55
-
16
mathtoolsrequiresamsmathso this wouldn't work ifamsmathwere missing! – cgnieder Feb 04 '13 at 22:01
I had a similar problem today. I ran the update a second time, and that eliminated the error message.
-
-
In my case amsmath was already installed. Updating miktex solved the issue. – chelder Apr 21 '14 at 22:57
After manually installing package amsmath, amscls and amslatex-primer, you might have an error about etex.sty not found.
You can fix it by using "Package Manager (Admin)" from MiKTeX 2.9.
Choose Repository > Synchronize
- 7,206
- 319



amsmathis still there. Anotheramspackage was removed though, with the mention 'obsolete', as you say, but I really don't remember which...:/– Count Zero Feb 04 '13 at 21:41