cerr << "Ignoring unkown refesection value '"
<< opt << "'.";
}
+ opt = process_keyval_opt(options, "bibencoding");
+ if (!opt.empty())
+ bibencoding = opt;
if (!options.empty()) {
h_biblio_options = join(options, ",");
options.clear();
static const char * const coded_polyglossia_languages[];
///
std::vector<std::string> biblatex_bibliographies;
+ ///
+ std::string bibencoding;
+ ///
+ std::string docencoding;
private:
///
\begin{landscape}...\end{landscape} \begin_inset Flex Landscape
with longtable content: <features rotate ="90"...>
555 V column type (varwidth package) Automatically detected with newlines, paragraph breaks and environment content in cells of rows
-556 Bib files encoding
- \begin_inset CommandInset bibtex Biblatex: bibencoding=<encoding> [latex name]
- encoding=<encoding> [lyx name] BibTeX: \bgroup\inputencoding{<encoding>}...\egroup
563 InsetArgument listpreamble:<nr> All content between \begin{env} and first \item of a list
bibliographystyle.clear();
}
os << "options " << '"' << BibOpts << '"' << "\n";
+ if (p.getEncoding() != preamble.docencoding) {
+ Encoding const * const enc = encodings.fromIconvName(
+ p.getEncoding(), Encoding::inputenc, true);
+ if (!enc) {
+ cerr << "Unknown bib encoding " << p.getEncoding()
+ << ". Ignoring." << std::endl;
+ } else
+ os << "encoding " << '"' << enc->name() << '"' << "\n";
+ }
end_inset(os);
continue;
}
os << "options " << '"' << BibOpts << '"' << "\n";
if (!bbloptions.empty())
os << "biblatexopts " << '"' << bbloptions << '"' << "\n";
+ if (!preamble.bibencoding.empty()) {
+ Encoding const * const enc = encodings.fromLaTeXName(
+ preamble.bibencoding, Encoding::inputenc, true);
+ if (!enc) {
+ cerr << "Unknown bib encoding " << preamble.bibencoding
+ << ". Ignoring." << std::endl;
+ } else
+ os << "encoding " << '"' << enc->name() << '"' << "\n";
+ }
end_inset(os);
need_commentbib = false;
continue;