On 20/10/2016 18:11, Scott Kostyshak wrote:
I have no idea. If you don't figure out the problem/fix, I can probably
take a look at this next week.

For me, this [1] fixes the issue: commit d5495caa in tommaso/master

FYI, with this patch, I can finally have a proper patch for gnuplot scripts: 
a6053cf9

    T.

[1]
tommaso@tommylap:~/lyx-trunk-ws/lyx$ git show d5495caa
commit d5495caa
Author: Tommaso Cucinotta <tomm...@lyx.org>
Date:   Sun Oct 23 21:35:56 2016 +0200

    Fix bug in replacement of "$$s/" in converter commands, introduced in 
8b66f9ce.

diff --git a/src/graphics/GraphicsConverter.cpp 
b/src/graphics/GraphicsConverter.cpp
index ebb074cb..67b1580f 100644
--- a/src/graphics/GraphicsConverter.cpp
+++ b/src/graphics/GraphicsConverter.cpp
@@ -229,7 +229,7 @@ static string const move_file(string const & from_file, string 
const & to_file)
 static void build_conversion_command(string const & command, ostream & script)
 {
        // Store in the python script
-       script << "\nif os.system(r'" << command << "') != 0:\n";
+       script << "\nif os.system(r'" << commandPrep(command) << "') != 0:\n";

        // Test that this was successful. If not, remove
        // ${outfile} and exit the python script

Reply via email to