]> git.lyx.org Git - lyx.git/blob - src/Literate.h
Small fixes notified by Angus and patch from Kayan!
[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         Literate(string const & cmd, string const & file, string const & path,
26                  string const & litfile,
27                  string const & literate_cmd, string const & literate_filter, 
28                  string const & build_cmd, string const & build_filter);
29         
30         /// runs literate and latex
31         int weave(TeXErrors &, MiniBuffer *);
32
33         /// runs literate and build
34         int build(TeXErrors &, MiniBuffer *);
35 private:
36         ///
37         string litfile;
38         
39         ///
40         string literate_cmd;
41  
42         ///
43         string literate_filter;
44  
45         ///
46         string build_cmd;
47  
48         ///
49         string build_filter;
50 };
51
52 #endif
53
54