2002-06-20 20:41:00 +00:00
|
|
|
/**
|
|
|
|
* \file tex_helpers.h
|
2002-09-05 15:14:23 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
2002-06-20 20:41:00 +00:00
|
|
|
*
|
2002-09-05 14:10:50 +00:00
|
|
|
* \author Herbert Voss
|
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS
|
2002-06-20 20:41:00 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef TEX_HELPERS_H
|
|
|
|
#define TEX_HELPERS_H
|
|
|
|
|
2002-08-14 19:19:47 +00:00
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
2002-06-21 16:35:29 +00:00
|
|
|
#include "LString.h"
|
|
|
|
|
2002-06-20 20:41:00 +00:00
|
|
|
// build filelists of all availabe bst/cls/sty-files. done through
|
|
|
|
// kpsewhich and an external script, saved in *Files.lst
|
|
|
|
void rescanTexStyles();
|
|
|
|
|
|
|
|
/// rebuild the textree
|
|
|
|
void texhash();
|
|
|
|
|
|
|
|
/// return one of the three texfiles
|
|
|
|
string const getTexFileList(string const & filename, bool withFullPath);
|
|
|
|
|
|
|
|
/// get the options of stylefile
|
2002-06-21 16:35:29 +00:00
|
|
|
string const getListOfOptions(string const & classname, string const & type);
|
2002-06-20 20:41:00 +00:00
|
|
|
|
|
|
|
/// get a class with full path from the list
|
2002-06-21 16:35:29 +00:00
|
|
|
string const getTexFileFromList(string const & classname, string const & type);
|
2002-06-20 20:41:00 +00:00
|
|
|
|
|
|
|
#endif // TEX_HELPERS_H
|