]> git.lyx.org Git - features.git/commitdiff
* src/tex2lyx/text.cpp:
authorJürgen Spitzmüller <spitz@lyx.org>
Tue, 11 Dec 2007 17:14:01 +0000 (17:14 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Tue, 11 Dec 2007 17:14:01 +0000 (17:14 +0000)
- add space between bounding box arguments (bug 4418).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22086 a592a061-630c-0410-9148-cb99ea01b6c8

src/tex2lyx/text.cpp

index bed88329bd38edd4b4c7c4d97b5ac9de67e4fd6a..c0d1258e63debe84f6196de45ddfeb1725981ef1 100644 (file)
@@ -1671,8 +1671,8 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
                                numberOfbbOptions++;
                        if (numberOfbbOptions == 4)
                                os << "\tBoundingBox "
-                                  << opts["bbllx"] << opts["bblly"]
-                                  << opts["bburx"] << opts["bbury"] << '\n';
+                                  << opts["bbllx"] << " " << opts["bblly"] << " "
+                                  << opts["bburx"] << " " << opts["bbury"] << '\n';
                        else if (numberOfbbOptions > 0)
                                cerr << "Warning: Ignoring incomplete includegraphics boundingbox arguments.\n";
                        numberOfbbOptions = 0;
@@ -1682,7 +1682,7 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
                                numberOfbbOptions++;
                        if (numberOfbbOptions == 2)
                                os << "\tBoundingBox 0bp 0bp "
-                                  << opts["natwidth"] << opts["natheight"] << '\n';
+                                  << opts["natwidth"] << " " << opts["natheight"] << '\n';
                        else if (numberOfbbOptions > 0)
                                cerr << "Warning: Ignoring incomplete includegraphics boundingbox arguments.\n";
                        ostringstream special;