X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBufferParams.h;h=5c80670a8a87332868b372cca9590295527f2547;hb=1e519d1115f41f71c253cb9e2fbb7803e9a583a9;hp=aa8385582f42e5b6b047664ef1d54729d8d7f04b;hpb=ecb2427f4165a678304591cd38891873f1ad84a7;p=lyx.git diff --git a/src/BufferParams.h b/src/BufferParams.h index aa8385582f..5c80670a8a 100644 --- a/src/BufferParams.h +++ b/src/BufferParams.h @@ -509,6 +509,10 @@ public: void setBibEncoding(std::string const & s) { bib_encoding = s; } /// Get the bib file encoding (for biblatex) std::string const & bibEncoding() const { return bib_encoding; } + /// Set encoding for individual bib file (for biblatex) + void setBibFileEncoding(std::string const & file, std::string const & enc); + /// + std::string const bibFileEncoding(std::string const & file) const; /// options for pdf output PDFOptions & pdfoptions(); @@ -586,11 +590,10 @@ private: CiteEngineType cite_engine_type_; /// the default BibTeX style file for the document std::string biblio_style; - /// The encoding of the bib files, for Biblatex - /// (only one supported currently) - // FIXME: biblatex 3.12 introduces per-file - // encoding options. Update once that's spread. + /// The main encoding of the bib files, for Biblatex std::string bib_encoding; + /// Individual file encodings, for Biblatex + std::map bib_encodings; /// Split bibliography? bool use_bibtopic; ///