mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 17:20:55 +00:00
small errors in previous patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_3_X@9883 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
667b46d4ec
commit
f8d127b3e9
@ -215,7 +215,7 @@ End
|
||||
|
||||
# AuthorRunning style definition
|
||||
Style Author_Running
|
||||
CopyStyle Running LaTeX_Title
|
||||
CopyStyle Running_LaTeX_Title
|
||||
LatexName authorrunning
|
||||
LeftMargin "Author Running:xxx"
|
||||
LabelString "Author Running: "
|
||||
|
@ -1,3 +1,8 @@
|
||||
2005-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
||||
|
||||
* lyxlayout.C (Read): transform underscores to spaces in CopyStyle
|
||||
argument.
|
||||
|
||||
2005-04-17 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* buffer.C (makeLaTeXFile): replace code to manipulate a path
|
||||
|
@ -180,7 +180,8 @@ bool LyXLayout::Read (LyXLex & lexrc, LyXTextClass const & tclass)
|
||||
|
||||
case LT_COPYSTYLE: // initialize with a known style
|
||||
if (lexrc.next()) {
|
||||
string const style = lexrc.getString();
|
||||
string const style = subst(lexrc.getString(),
|
||||
'_', ' ');
|
||||
|
||||
if (tclass.hasLayout(style)) {
|
||||
string const tmpname = name_;
|
||||
|
Loading…
Reference in New Issue
Block a user