commit a6843078afc88568b8be5d938adb149a4e46ae84
Author: Enrico Forestieri <[email protected]>
Date:   Sun May 17 01:09:23 2015 +0200

    Also take into account bibtex bst files when saving-as.
    
    No status line needed as this is an addition to [4543bf28/lyxgit].

diff --git a/src/insets/InsetCommandParams.cpp 
b/src/insets/InsetCommandParams.cpp
index 074bd3a..4b12a1e 100644
--- a/src/insets/InsetCommandParams.cpp
+++ b/src/insets/InsetCommandParams.cpp
@@ -353,6 +353,8 @@ void InsetCommandParams::Write(ostream & os, Buffer const * 
buffer) const
                                        bib = token(data, ',', ++i);
                                }
                                data = newdata;
+                       } else if (buffer && name == "options") {
+                               data = buffer->includedFilePath(data, "bst");
                        }
                        os << name << ' '
                           << Lexer::quoteString(data)

Reply via email to