mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 10:18:50 +00:00
159875f201
tex2lyx is no identical with the version in trunk (except for cosmetic changes and file formats > 413). The output of the test cases is either unchanged or improved. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40364 a592a061-630c-0410-9148-cb99ea01b6c8
42 lines
791 B
C++
42 lines
791 B
C++
// -*- C++ -*-
|
|
/**
|
|
* \file LaTeXPackages.h
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* \author Lars Gullik Bjønnes
|
|
* \author Jean-Marc Lasgouttes
|
|
*
|
|
* Full author contact details are available in file CREDITS.
|
|
*/
|
|
|
|
#ifndef LATEXPACKAGES_H
|
|
#define LATEXPACKAGES_H
|
|
|
|
#include <string>
|
|
#include <set>
|
|
|
|
|
|
namespace lyx {
|
|
|
|
|
|
/** The list of avilable LaTeX packages
|
|
*/
|
|
class LaTeXPackages {
|
|
public:
|
|
/// Which of the required packages are installed?
|
|
static void getAvailable();
|
|
/// Is the (required) package available?
|
|
static bool isAvailable(std::string const & name);
|
|
private:
|
|
/// The available (required) packages
|
|
typedef std::set<std::string> Packages;
|
|
///
|
|
static Packages packages_;
|
|
};
|
|
|
|
|
|
} // namespace lyx
|
|
|
|
#endif
|