mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
make \lyxadded and \lyxdeleted robust (#8435)
This commit is contained in:
parent
f8df33c2fd
commit
39ec866f68
@ -184,19 +184,19 @@ static docstring const changetracking_dvipost_def = from_ascii(
|
||||
"\\dvipost{osend color pop}\n"
|
||||
"\\dvipost{cbstart color push Blue}\n"
|
||||
"\\dvipost{cbend color pop}\n"
|
||||
"\\newcommand{\\lyxadded}[3]{\\changestart#3\\changeend}\n"
|
||||
"\\newcommand{\\lyxdeleted}[3]{%\n"
|
||||
"\\DeclareRobustCommand{\\lyxadded}[3]{\\changestart#3\\changeend}\n"
|
||||
"\\DeclareRobustCommand{\\lyxdeleted}[3]{%\n"
|
||||
"\\changestart\\overstrikeon#3\\overstrikeoff\\changeend}\n");
|
||||
|
||||
static docstring const changetracking_xcolor_ulem_def = from_ascii(
|
||||
"%% Change tracking with ulem\n"
|
||||
"\\newcommand{\\lyxadded}[3]{{\\color{lyxadded}{}#3}}\n"
|
||||
"\\newcommand{\\lyxdeleted}[3]{{\\color{lyxdeleted}\\sout{#3}}}\n");
|
||||
"\\DeclareRobustCommand{\\lyxadded}[3]{{\\color{lyxadded}{}#3}}\n"
|
||||
"\\DeclareRobustCommand{\\lyxdeleted}[3]{{\\color{lyxdeleted}\\sout{#3}}}\n");
|
||||
|
||||
static docstring const changetracking_xcolor_ulem_hyperref_def = from_ascii(
|
||||
"%% Change tracking with ulem\n"
|
||||
"\\newcommand{\\lyxadded}[3]{{\\texorpdfstring{\\color{lyxadded}{}}{}#3}}\n"
|
||||
"\\newcommand{\\lyxdeleted}[3]{{\\texorpdfstring{\\color{lyxdeleted}\\sout{#3}}{}}}\n");
|
||||
"\\DeclareRobustCommand{\\lyxadded}[3]{{\\texorpdfstring{\\color{lyxadded}{}}{}#3}}\n"
|
||||
"\\DeclareRobustCommand{\\lyxdeleted}[3]{{\\texorpdfstring{\\color{lyxdeleted}\\sout{#3}}{}}}\n");
|
||||
|
||||
static docstring const changetracking_none_def = from_ascii(
|
||||
"\\newcommand{\\lyxadded}[3]{#3}\n"
|
||||
|
Loading…
Reference in New Issue
Block a user