mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
tex2lyx: support tipa \t*{} macro.
(cherry picked from commit cc6f2dae82
)
This commit is contained in:
parent
fff6d35cff
commit
59449063df
@ -50,7 +50,6 @@ Format LaTeX feature LyX feature
|
|||||||
407 vertical offset for multirows InsetTabular
|
407 vertical offset for multirows InsetTabular
|
||||||
411 support for polyglossia \language_package (the cases of no package, of babel and of custom package is supported)
|
411 support for polyglossia \language_package (the cases of no package, of babel and of custom package is supported)
|
||||||
415 automatic undertilde loading \use_package undertilde
|
415 automatic undertilde loading \use_package undertilde
|
||||||
438 \t*{ } InsetTIPA
|
|
||||||
443 unicode-math.sty InsetMath*
|
443 unicode-math.sty InsetMath*
|
||||||
448
|
448
|
||||||
451 beamer overlay arguments InsetArgument
|
451 beamer overlay arguments InsetArgument
|
||||||
|
@ -3681,9 +3681,14 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (t.cs() == "texttoptiebar" || t.cs() == "textbottomtiebar") {
|
if ((preamble.isPackageUsed("tipa") && t.cs() == "t" && p.next_token().asInput() == "*")
|
||||||
|
|| t.cs() == "texttoptiebar" || t.cs() == "textbottomtiebar") {
|
||||||
context.check_layout(os);
|
context.check_layout(os);
|
||||||
begin_inset(os, "IPADeco " + t.cs().substr(4) + "\n");
|
if (t.cs() == "t")
|
||||||
|
// swallow star
|
||||||
|
p.get_token();
|
||||||
|
string const type = (t.cs() == "t") ? "bottomtiebar" : t.cs().substr(4);
|
||||||
|
begin_inset(os, "IPADeco " + type + "\n");
|
||||||
os << "status open\n";
|
os << "status open\n";
|
||||||
parse_text_in_inset(p, os, FLAG_ITEM, outer, context);
|
parse_text_in_inset(p, os, FLAG_ITEM, outer, context);
|
||||||
end_inset(os);
|
end_inset(os);
|
||||||
|
@ -29,6 +29,8 @@ What's new
|
|||||||
|
|
||||||
- Add support for URW Classico, MinionPro and the new Libertine fonts.
|
- Add support for URW Classico, MinionPro and the new Libertine fonts.
|
||||||
|
|
||||||
|
- Add support for the \t*{} (bottomtiebar) macro of TIPA.
|
||||||
|
|
||||||
- Implement better parsing of some command options (via "literate"
|
- Implement better parsing of some command options (via "literate"
|
||||||
function of some insets) (bug 9563).
|
function of some insets) (bug 9563).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user