class LyXRC;
class TeXErrors;
class LaTeXFeatures;
-
-extern void updateAllVisibleBufferRelatedPopups();
+class auto_mem_buffer;
///
struct DEPCLEAN {
/// Maybe we know the function already by number...
bool Dispatch(int ac, string const & argument);
+ /// and have an xtl buffer to work with.
+ bool Dispatch(int, auto_mem_buffer &);
+
/// should be changed to work for a list.
- void resize() {
- if (users) {
- users->resize();
- }
- }
+ void resize();
/// Update window titles of all users
void updateTitles() const;
// if endpar == 0 then to the end
//
void latexParagraphs(std::ostream & os, LyXParagraph *par,
- LyXParagraph *endpar, TexRow & texrow);
+ LyXParagraph *endpar, TexRow & texrow) const;
///
int runLaTeX();
///
bool isLyxClean() const { return lyx_clean; }
- /// changed Heinrich Bauer, 23/03/98
- bool isDviClean() const;
-
///
bool isNwClean() const { return nw_clean; }
bak_clean = true;
}
- /// changed Heinrich Bauer, 23/03/98
- void markDviClean();
-
///
void markNwClean() { nw_clean = true; }
///
void markDepClean(string const & name);
- ///
- void markDviDirty();
-
///
void markNwDirty() { nw_clean = false; }
lyx_clean = false;
updateTitles();
}
- dvi_clean_tmpd = false;
- dvi_clean_orgd = false;
- nw_clean = false;
+ nw_clean = false;
bak_clean = false;
DEPCLEAN * tmp = dep_clean;
while (tmp) {
///
string getIncludeonlyList(char delim = ',');
///
- string getBibkeyList(char delim = '|');
+ std::vector<std::pair<string,string> > getBibkeyList();
///
struct TocItem {
- LyXParagraph *par;
+ LyXParagraph * par;
int depth;
string str;
};
void pop_tag(std::ostream & os, char const * tag,
int & pos, char stack[5][3]);
-#if 0
- ///
- void RoffAsciiTable(std::ostream &, LyXParagraph * par);
-#endif
-
/// is save needed
mutable bool lyx_clean;
/// is autosave needed
mutable bool bak_clean;
- /** do we need to run LaTeX, changed 23/03/98, Heinrich Bauer
- We have to distinguish between TeX-runs executed in the original
- directory (in which the original LyX-file resides) and TeX-runs
- executed in a temporary directory. The first situation is valid
- for a dvi-export, the latter one for printing or previewing. */
- bool dvi_clean_orgd;
- bool dvi_clean_tmpd;
-
/// do we need to run weave/tangle
bool nw_clean;