mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +00:00
tex2lyx: properly import \tikzset
This commit is contained in:
parent
a600ca5389
commit
9a3fe51474
@ -5580,6 +5580,16 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (t.cs() == "tikzset") {
|
||||||
|
context.check_layout(os);
|
||||||
|
// we catch the argument and output it verbatim in an ERT
|
||||||
|
string const arg = p.getArg('{', '}');
|
||||||
|
output_ert_inset(os,
|
||||||
|
"\\tikzset{" + arg + "}",
|
||||||
|
context);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
else if (t.cs() == "bibliography") {
|
else if (t.cs() == "bibliography") {
|
||||||
context.check_layout(os);
|
context.check_layout(os);
|
||||||
string BibOpts;
|
string BibOpts;
|
||||||
|
Loading…
Reference in New Issue
Block a user