mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-12 08:41:46 +00:00
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:
parent
728f1e8cca
commit
06a0315a3e
11
ChangeLog
11
ChangeLog
@ -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>
|
2000-08-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||||
|
|
||||||
* src/bmtable.c (fl_set_bmtable_pixmap_file): use C-style
|
* src/bmtable.c (fl_set_bmtable_pixmap_file): use C-style
|
||||||
@ -11,7 +20,7 @@
|
|||||||
|
|
||||||
2000-07-31 Matej Cepl <CeplM@seznam.cz>
|
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.
|
on usual typewriter.
|
||||||
|
|
||||||
* lib/kbd/czech-prg.kmap: simpler czech kmap (which was the
|
* lib/kbd/czech-prg.kmap: simpler czech kmap (which was the
|
||||||
|
@ -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>
|
2000-09-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||||
|
|
||||||
* fr.po: update from Jean-Pierre
|
* fr.po: update from Jean-Pierre
|
||||||
|
@ -98,7 +98,7 @@ string Spacing::writeEnvirBegin() const
|
|||||||
char tmp[512];
|
char tmp[512];
|
||||||
ostrstream ost(tmp, 512);
|
ostrstream ost(tmp, 512);
|
||||||
ost << "\\begin{spacing}{"
|
ost << "\\begin{spacing}{"
|
||||||
<< getValue() << "}";
|
<< getValue() << "}" << '\0';
|
||||||
return ost.str();
|
return ost.str();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -77,7 +77,7 @@ int InsetFormulaMacro::Latex(ostream & os, bool /*fragile*/,
|
|||||||
bool /*free_spacing*/) const
|
bool /*free_spacing*/) const
|
||||||
{
|
{
|
||||||
tmacro->WriteDef(os, true); // or false?
|
tmacro->WriteDef(os, true); // or false?
|
||||||
return 1;
|
return 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -113,6 +113,7 @@ void MathMacro::Metrics()
|
|||||||
{
|
{
|
||||||
if (nargs > 0)
|
if (nargs > 0)
|
||||||
tmplate->update(this);
|
tmplate->update(this);
|
||||||
|
tmplate->SetStyle(size);
|
||||||
tmplate->Metrics();
|
tmplate->Metrics();
|
||||||
width = tmplate->Width();
|
width = tmplate->Width();
|
||||||
ascent = tmplate->Ascent();
|
ascent = tmplate->Ascent();
|
||||||
|
Loading…
Reference in New Issue
Block a user