mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-22 07:42:02 +00:00
d02a3f2679
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@878 a592a061-630c-0410-9148-cb99ea01b6c8
55 lines
1.1 KiB
C++
55 lines
1.1 KiB
C++
// -*- C++ -*-
|
|
/* This file is part of
|
|
* ======================================================
|
|
*
|
|
* LyX, The Document Processor
|
|
*
|
|
* Copyright 1995 Matthias Ettrich
|
|
* Copyright 1995-2000 The LyX Team.
|
|
*
|
|
* ======================================================
|
|
*/
|
|
|
|
#ifndef LITERATE_H
|
|
#define LITERATE_H
|
|
|
|
#ifdef __GNUG__
|
|
#pragma interface
|
|
#endif
|
|
|
|
class MiniBuffer;
|
|
|
|
///
|
|
class Literate : public LaTeX {
|
|
public:
|
|
Literate(string const & cmd, string const & file, string const & path,
|
|
string const & litfile,
|
|
string const & literate_cmd, string const & literate_filter,
|
|
string const & build_cmd, string const & build_filter);
|
|
|
|
/// runs literate and latex
|
|
int weave(TeXErrors &, MiniBuffer *);
|
|
|
|
/// runs literate and build
|
|
int build(TeXErrors &, MiniBuffer *);
|
|
private:
|
|
///
|
|
string litfile;
|
|
|
|
///
|
|
string literate_cmd;
|
|
|
|
///
|
|
string literate_filter;
|
|
|
|
///
|
|
string build_cmd;
|
|
|
|
///
|
|
string build_filter;
|
|
};
|
|
|
|
#endif
|
|
|
|
|