]> git.lyx.org Git - lyx.git/blob - src/Literate.h
Forgot to add this files.
[lyx.git] / src / Literate.h
1 // -*- C++ -*-
2 /* This file is part of
3  * ====================================================== 
4  * 
5  *           LyX, The Document Processor
6  *
7  *           Copyright 1995 Matthias Ettrich
8  *           Copyright 1995-2000 The LyX Team.
9  *
10  * ====================================================== 
11  */
12
13 #ifndef LITERATE_H
14 #define LITERATE_H
15
16 #ifdef __GNUG__
17 #pragma interface
18 #endif
19
20 class MiniBuffer;
21         
22 ///
23 class Literate : public LaTeX {
24 public:
25         ///
26         Literate(string const & cmd, string const & file, string const & path,
27                  string const & litfile,
28                  string const & literate_cmd, string const & literate_filter, 
29                  string const & build_cmd, string const & build_filter);
30         
31         /// runs literate and latex
32         int weave(TeXErrors &, MiniBuffer *);
33
34         /// runs literate and build
35         int build(TeXErrors &, MiniBuffer *);
36 private:
37         ///
38         string litfile;
39         
40         ///
41         string literate_cmd;
42  
43         ///
44         string literate_filter;
45  
46         ///
47         string build_cmd;
48  
49         ///
50         string build_filter;
51 };
52
53 #endif
54
55