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