mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
Increase tex2lyx output format to 356.
352: New syntax for InsetIndex and printindex command inset 353: Nothing to do (empty lyx2lyx conversion) 354: Nothing to do (empty lyx2lyx conversion) 355: Nothing to do (empty lyx2lyx conversion) 356: Nothing to do (empty lyx2lyx conversion) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39897 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ac166e196d
commit
024bd206af
@ -56,4 +56,8 @@ Format LaTeX feature LyX feature
|
|||||||
349 XeTeX \use_xetex
|
349 XeTeX \use_xetex
|
||||||
350 ? \default_output_format
|
350 ? \default_output_format
|
||||||
351 ? \backgroundcolor
|
351 ? \backgroundcolor
|
||||||
|
353 \printsubindex InsetIndex
|
||||||
|
354 \printindex*, \printsubindex* InsetIndex
|
||||||
|
355 \sout InsetIndex
|
||||||
|
356 \uuline, \uwave InsetIndex
|
||||||
|
|
||||||
|
@ -165,7 +165,7 @@ extern bool noweb_mode;
|
|||||||
/// Did we recognize any pdflatex-only construct?
|
/// Did we recognize any pdflatex-only construct?
|
||||||
extern bool pdflatex;
|
extern bool pdflatex;
|
||||||
/// LyX format that is created by tex2lyx
|
/// LyX format that is created by tex2lyx
|
||||||
int const LYX_FORMAT = 351;
|
int const LYX_FORMAT = 356;
|
||||||
|
|
||||||
/// path of the master .tex file
|
/// path of the master .tex file
|
||||||
extern std::string getMasterFilePath();
|
extern std::string getMasterFilePath();
|
||||||
|
@ -2583,7 +2583,7 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
|
|||||||
|
|
||||||
else if (t.cs() == "index") {
|
else if (t.cs() == "index") {
|
||||||
context.check_layout(os);
|
context.check_layout(os);
|
||||||
begin_inset(os, "Index\n");
|
begin_inset(os, "Index idx\n");
|
||||||
os << "status collapsed\n";
|
os << "status collapsed\n";
|
||||||
parse_text_in_inset(p, os, FLAG_ITEM, false, context, "Index");
|
parse_text_in_inset(p, os, FLAG_ITEM, false, context, "Index");
|
||||||
end_inset(os);
|
end_inset(os);
|
||||||
@ -2615,6 +2615,7 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
|
|||||||
else if (t.cs() == "printindex") {
|
else if (t.cs() == "printindex") {
|
||||||
context.check_layout(os);
|
context.check_layout(os);
|
||||||
begin_command_inset(os, "index_print", "printindex");
|
begin_command_inset(os, "index_print", "printindex");
|
||||||
|
os << "type \"idx\"\n";
|
||||||
end_inset(os);
|
end_inset(os);
|
||||||
skip_spaces_braces(p);
|
skip_spaces_braces(p);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user