mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-09 18:52:46 +00:00
Took out too much in r35582.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35883 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1fbddcb149
commit
249fe0167e
@ -256,6 +256,14 @@ static docstring const ogonek_def = from_ascii(
|
|||||||
" \\mathchar\"0\\hexnumber@\\symtipasymb0C}{#2}}\n"
|
" \\mathchar\"0\\hexnumber@\\symtipasymb0C}{#2}}\n"
|
||||||
"\\newcommand{\\ogonek}[1]{\\mathpalette\\doogonek{#1}}\n");
|
"\\newcommand{\\ogonek}[1]{\\mathpalette\\doogonek{#1}}\n");
|
||||||
|
|
||||||
|
static docstring const lyxref_def = from_ascii(
|
||||||
|
"\\makeatletter\n"
|
||||||
|
"\\RS@ifundefined{\thmref}\n"
|
||||||
|
" {\\def\\RSthmtxt{theorem~}\\newref{thm}{name = \\RSthmtxt}}\n"
|
||||||
|
" {}\n"
|
||||||
|
"\\makeatother\n");
|
||||||
|
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////
|
||||||
//
|
//
|
||||||
// LaTeXFeatures
|
// LaTeXFeatures
|
||||||
@ -902,10 +910,13 @@ docstring const LaTeXFeatures::getMacros() const
|
|||||||
// floats
|
// floats
|
||||||
getFloatDefinitions(macros);
|
getFloatDefinitions(macros);
|
||||||
|
|
||||||
|
if (mustProvide("refstyle"))
|
||||||
|
macros << lyxref_def << '\n';
|
||||||
|
|
||||||
// change tracking
|
// change tracking
|
||||||
if (mustProvide("ct-dvipost"))
|
if (mustProvide("ct-dvipost"))
|
||||||
macros << changetracking_dvipost_def;
|
macros << changetracking_dvipost_def;
|
||||||
|
|
||||||
if (mustProvide("ct-xcolor-ulem")) {
|
if (mustProvide("ct-xcolor-ulem")) {
|
||||||
int const prec = macros.precision(2);
|
int const prec = macros.precision(2);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user