* src/tex2lyx/text.cpp:

- 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
This commit is contained in:
Jürgen Spitzmüller 2007-12-11 17:14:01 +00:00
parent 8994f4f46f
commit 49497a6803

View File

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