public:
/// Fill in the ErrorList with the TeXErrors
void bufferErrors(TeXErrors const &, ErrorList &) const;
+ /// Fill in the Citation/Reference ErrorList from the TeXErrors
+ void bufferRefs(TeXErrors const &, ErrorList &) const;
enum OutputWhat {
FullSource,
OutputParams const &,
OutputWhat output = FullSource) const;
/** Export the buffer to LaTeX.
- If \p os is a file stream, and params().inputenc is "auto" or
- "default", and the buffer contains text in different languages
+ If \p os is a file stream, and params().inputenc is "auto-legacy" or
+ "auto-legacy-plain", and the buffer contains text in different languages
with more than one encoding, then this method will change the
encoding associated to \p os. Therefore you must not call this
method with a string stream if the output is supposed to go to a
std::string const &, bool nice) const;
/** Returns a vector of bibliography (*.bib) file paths suitable for the
- * output in the respective BibTeX/Biblatex macro
+ * output in the respective BibTeX/Biblatex macro and potential individual encoding
*/
- std::vector<docstring> const prepareBibFilePaths(OutputParams const &,
+ std::vector<std::pair<docstring, std::string>> const prepareBibFilePaths(OutputParams const &,
const docstring_list & bibfilelist,
bool const extension = true) const;
/// the children appear.
ListOfBuffers getChildren() const;
- /// \return a list of all descendents of this Buffer (children,
+ /// \return a list of all descendants of this Buffer (children,
/// grandchildren, etc). this list has no duplicates and is in
/// the order in which the children appear.
- ListOfBuffers getDescendents() const;
+ ListOfBuffers getDescendants() const;
/// Collect all relative buffers, in the order in which they appear.
/// I.e., the "root" Buffer is first, then its first child, then any
ExportStatus preview(std::string const & format) const;
/// true if there was a previous preview this session of this buffer and
/// there was an error on the previous preview of this buffer.
- bool lastPreviewError() const;
+ bool freshStartRequired() const;
+ ///
+ void requireFreshStart(bool const b) const;
private:
///