Refstyle doesn't (yet) provide a default "subsection" reference. Nor,

actually, does prettyref, but we should do something here.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36212 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2010-11-08 17:52:43 +00:00
parent 19aa16756c
commit 1b46ff6989

View File

@ -257,6 +257,9 @@ static docstring const ogonek_def = from_ascii(
"\\newcommand{\\ogonek}[1]{\\mathpalette\\doogonek{#1}}\n"); "\\newcommand{\\ogonek}[1]{\\mathpalette\\doogonek{#1}}\n");
static docstring const lyxref_def = from_ascii( static docstring const lyxref_def = from_ascii(
"\\RS@ifundefined{subref}\n"
" {\\def\\RSsubtxt{section~}\\newref{sub}{name = \\RSsubtxt}}\n"
" {}\n"
"\\RS@ifundefined{thmref}\n" "\\RS@ifundefined{thmref}\n"
" {\\def\\RSthmtxt{theorem~}\\newref{thm}{name = \\RSthmtxt}}\n" " {\\def\\RSthmtxt{theorem~}\\newref{thm}{name = \\RSthmtxt}}\n"
" {}\n" " {}\n"