3 * \file LaTeXPackages.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Lars Gullik Bjønnes
8 * \author Jean-Marc Lasgouttes
10 * Full author contact details are available in file CREDITS.
13 #ifndef LATEXPACKAGES_H
14 #define LATEXPACKAGES_H
23 /** The list of avilable LaTeX packages
27 /// Which of the required packages are installed?
28 static void getAvailable();
29 /// Is the (required) package available?
30 static bool isAvailable(std::string const & name);
31 /// Is the (required) package available at least as of
33 static bool isAvailableAtLeastFrom(std::string const & name,
34 int const y, int const m, int const d = 1);
36 /// The available (required) packages
37 typedef std::set<std::pair<std::string,std::string>> Packages;
39 static Packages packages_;