Math and spacing fixes from Dekel

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/lyx-1_1_5@1004 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2000-09-06 16:20:42 +00:00
parent 728f1e8cca
commit 06a0315a3e
6 changed files with 1288 additions and 1403 deletions

View File

@ -1,3 +1,12 @@
2000-09-05 Dekel Tsur <dekel@math.tau.ac.il>
* src/mathed/math_macro.C (Metrics): Set the size of the template
* src/mathed/formulamacro.C (Latex): Fixed the returned value
* src/Spacing.C (writeEnvirBegin): avoid crash with old-style
streams.
2000-08-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* src/bmtable.c (fl_set_bmtable_pixmap_file): use C-style
@ -11,7 +20,7 @@
2000-07-31 Matej Cepl <CeplM@seznam.cz>
* lib/kbd/czech.kmap: new file. standard Czech keyboard as found
* lib/kbd/czech.kmap: new file. Standard Czech keyboard as found
on usual typewriter.
* lib/kbd/czech-prg.kmap: simpler czech kmap (which was the

View File

@ -1,3 +1,7 @@
2000-09-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* he.po: update from Tzafrir Cohen
2000-09-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* fr.po: update from Jean-Pierre

2671
po/he.po

File diff suppressed because it is too large Load Diff

View File

@ -98,7 +98,7 @@ string Spacing::writeEnvirBegin() const
char tmp[512];
ostrstream ost(tmp, 512);
ost << "\\begin{spacing}{"
<< getValue() << "}";
<< getValue() << "}" << '\0';
return ost.str();
}
#endif

View File

@ -77,7 +77,7 @@ int InsetFormulaMacro::Latex(ostream & os, bool /*fragile*/,
bool /*free_spacing*/) const
{
tmacro->WriteDef(os, true); // or false?
return 1;
return 2;
}

View File

@ -113,6 +113,7 @@ void MathMacro::Metrics()
{
if (nargs > 0)
tmplate->update(this);
tmplate->SetStyle(size);
tmplate->Metrics();
width = tmplate->Width();
ascent = tmplate->Ascent();