// default settings
ostringstream h_preamble;
string h_textclass = "article";
+string h_use_default_options = "false";
string h_options = string();
string h_language = "english";
string h_inputencoding = "auto";
string h_pdf_breaklinks = "0";
string h_pdf_pdfborder = "0";
string h_pdf_colorlinks = "0";
-string h_pdf_backref = "0";
-string h_pdf_pagebackref = "0";
+string h_pdf_backref = "section";
string h_pdf_pdfusetitle = "1";
string h_pdf_pagemode;
string h_pdf_quoted_options;
os << "\\begin_preamble\n" << h_preamble.str() << "\n\\end_preamble\n";
if (!h_options.empty())
os << "\\options " << h_options << "\n";
- os << "\\language " << h_language << "\n"
+ os << "\\use_default_options " << h_use_default_options << "\n"
+ << "\\language " << h_language << "\n"
<< "\\inputencoding " << h_inputencoding << "\n"
<< "\\font_roman " << h_font_roman << "\n"
<< "\\font_sans " << h_font_sans << "\n"
"\\pdf_pdfborder " << h_pdf_pdfborder << "\n"
"\\pdf_colorlinks " << h_pdf_colorlinks << "\n"
"\\pdf_backref " << h_pdf_backref << "\n"
- "\\pdf_pagebackref " << h_pdf_pagebackref << "\n"
"\\pdf_pdfusetitle " << h_pdf_pdfusetitle << '\n';
if (!h_pdf_pagemode.empty())
os << "\\pdf_pagemode " << h_pdf_pagemode << '\n';