From 8f037c8e91343f22464865cca100e22b1ddcfd50 Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Mon, 27 Dec 2010 18:19:19 +0000 Subject: [PATCH] Increase tex2lyx output format to 345 (LyX 1.6.x). 344: Remove pdf_pagebackref header flag 345: Nothing to do (this is a docbook-only change) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37015 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/tex2lyx/preamble.cpp | 4 +--- src/tex2lyx/tex2lyx.h | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/tex2lyx/preamble.cpp b/src/tex2lyx/preamble.cpp index ef0de6574b..42f9d33cb2 100644 --- a/src/tex2lyx/preamble.cpp +++ b/src/tex2lyx/preamble.cpp @@ -167,8 +167,7 @@ string h_pdf_bookmarksopenlevel = "1"; 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; @@ -592,7 +591,6 @@ void end_preamble(ostream & os, TextClass const & /*textclass*/) "\\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'; diff --git a/src/tex2lyx/tex2lyx.h b/src/tex2lyx/tex2lyx.h index 4bd24155f1..77de1879f8 100644 --- a/src/tex2lyx/tex2lyx.h +++ b/src/tex2lyx/tex2lyx.h @@ -114,7 +114,7 @@ extern CommandMap known_math_environments; /// extern bool noweb_mode; /// LyX format that is created by tex2lyx -int const LYX_FORMAT = 343; +int const LYX_FORMAT = 345; /// path of the master .tex file extern std::string getMasterFilePath(); -- 2.39.2