X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex2lyx%2Ftest%2Ftest-insets.lyx.lyx;h=1d6404a5fedde5d441cafe482af03512ad73a493;hb=0d6c64a4eb0a3b6f1e27ba7fd342bf5cff0314a8;hp=643f0cf3611c51a5591e253ef6b61105e8aa34cd;hpb=e15d3d35cba7266d8a1a22c7e4cd92d12599e103;p=lyx.git diff --git a/src/tex2lyx/test/test-insets.lyx.lyx b/src/tex2lyx/test/test-insets.lyx.lyx index 643f0cf361..1d6404a5fe 100644 --- a/src/tex2lyx/test/test-insets.lyx.lyx +++ b/src/tex2lyx/test/test-insets.lyx.lyx @@ -1,7 +1,9 @@ -#LyX file created by tex2lyx 2.2 -\lyxformat 479 +#LyX file created by tex2lyx 2.3 +\lyxformat 535 \begin_document \begin_header +\save_transient_properties true +\origin roundtrip \textclass article \begin_preamble @@ -21,16 +23,17 @@ \language_package none \inputencoding iso8859-15 \fontencoding T1 -\font_roman default -\font_sans default -\font_typewriter default -\font_math auto +\font_roman "default" "default" +\font_sans "default" "default" +\font_typewriter "default" "default" +\font_math "auto" "auto" \font_default_family default \use_non_tex_fonts false \font_sc false \font_osf false -\font_sf_scale 100 -\font_tt_scale 100 +\font_sf_scale 100 100 +\font_tt_scale 100 100 +\use_microtype 0 \graphics default \default_output_format default \output_sync 0 @@ -85,7 +88,7 @@ \tocdepth 3 \paragraph_separation indent \paragraph_indentation 3mm -\quotes_language english +\quotes_style english \papercolumns 1 \papersides 1 \paperpagestyle default @@ -111,6 +114,10 @@ status collapsed %stupid stuff \end_layout +\begin_layout Plain Layout + +\end_layout + \end_inset @@ -177,6 +184,9 @@ name "lab:test" \begin_inset CommandInset ref LatexCommand ref reference "lab:test" +plural "false" +caps "false" +noprefix "false" \end_inset @@ -201,6 +211,9 @@ Of course there are other kind of references, like page reference \begin_inset CommandInset ref LatexCommand pageref reference "lab:test" +plural "false" +caps "false" +noprefix "false" \end_inset @@ -213,6 +226,9 @@ reference "lab:test" \begin_inset CommandInset ref LatexCommand eqref reference "lab:test" +plural "false" +caps "false" +noprefix "false" \end_inset @@ -225,6 +241,9 @@ reference "lab:test" \begin_inset CommandInset ref LatexCommand vref reference "lab:test" +plural "false" +caps "false" +noprefix "false" \end_inset @@ -237,6 +256,9 @@ reference "lab:test" \begin_inset CommandInset ref LatexCommand vpageref reference "lab:test" +plural "false" +caps "false" +noprefix "false" \end_inset @@ -249,6 +271,9 @@ reference "lab:test" \begin_inset CommandInset ref LatexCommand formatted reference "lab:test" +plural "false" +caps "false" +noprefix "false" \end_inset @@ -261,6 +286,9 @@ reference "lab:test" \begin_inset CommandInset ref LatexCommand nameref reference "lab:test" +plural "false" +caps "false" +noprefix "false" \end_inset @@ -296,17 +324,7 @@ status collapsed \end_inset - will be parsed in ERT, since -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout -LyX -\end_layout - -\end_inset - - does not support refstyle and prettyref natively at the same time. + will be parsed in ERT, since LyX does not support refstyle and prettyref natively at the same time. \end_layout \begin_layout Section @@ -332,6 +350,7 @@ LatexCommand citep after "after" before "" key "article-crossref" +literal "true" \end_inset @@ -343,6 +362,7 @@ LatexCommand citep after "after" before "" key "whole-set,article-crossref" +literal "true" \end_inset @@ -362,6 +382,7 @@ LatexCommand citet after "after" before "before" key "article-crossref" +literal "true" \end_inset @@ -373,6 +394,7 @@ LatexCommand citet* after "after" before "before" key "article-crossref" +literal "true" \end_inset @@ -384,6 +406,7 @@ LatexCommand Citet after "after" before "before" key "article-crossref" +literal "true" \end_inset @@ -395,6 +418,7 @@ LatexCommand Citet* after "after" before "before" key "article-crossref" +literal "true" \end_inset @@ -410,6 +434,7 @@ LatexCommand citep after "after" before "before" key "article-crossref" +literal "true" \end_inset @@ -421,6 +446,7 @@ LatexCommand citep* after "after" before "before" key "article-crossref" +literal "true" \end_inset @@ -432,6 +458,7 @@ LatexCommand Citep after "after" before "before" key "article-crossref" +literal "true" \end_inset @@ -443,6 +470,7 @@ LatexCommand Citep* after "after" before "before" key "article-crossref" +literal "true" \end_inset @@ -458,6 +486,7 @@ LatexCommand citealt after "after" before "before" key "article-crossref" +literal "true" \end_inset @@ -469,6 +498,7 @@ LatexCommand citealt* after "after" before "before" key "article-crossref" +literal "true" \end_inset @@ -480,6 +510,7 @@ LatexCommand Citealt after "after" before "before" key "article-crossref" +literal "true" \end_inset @@ -491,6 +522,7 @@ LatexCommand Citealt* after "after" before "before" key "article-crossref" +literal "true" \end_inset @@ -506,6 +538,7 @@ LatexCommand citealp after "after" before "before" key "article-crossref" +literal "true" \end_inset @@ -517,6 +550,7 @@ LatexCommand citealp* after "after" before "before" key "article-crossref" +literal "true" \end_inset @@ -528,6 +562,7 @@ LatexCommand Citep after "after" before "before" key "article-crossref" +literal "true" \end_inset @@ -539,6 +574,7 @@ LatexCommand Citealp* after "after" before "before" key "article-crossref" +literal "true" \end_inset @@ -554,6 +590,7 @@ LatexCommand citeauthor after "after" before "before" key "article-crossref" +literal "true" \end_inset @@ -565,6 +602,7 @@ LatexCommand citeauthor* after "after" before "before" key "article-crossref" +literal "true" \end_inset @@ -576,6 +614,7 @@ LatexCommand Citeauthor after "after" before "before" key "article-crossref" +literal "true" \end_inset @@ -587,6 +626,7 @@ LatexCommand Citeauthor* after "after" before "before" key "article-crossref" +literal "true" \end_inset @@ -602,6 +642,7 @@ LatexCommand citeyear after "after" before "before" key "article-crossref" +literal "true" \end_inset @@ -617,6 +658,7 @@ LatexCommand citeyearpar after "after" before "before" key "article-crossref" +literal "true" \end_inset @@ -631,6 +673,7 @@ nocite: LatexCommand nocite after "" key "article-crossref" +literal "true" \end_inset @@ -648,6 +691,10 @@ status collapsed bibliography since LaTeX throws an error. \end_layout +\begin_layout Plain Layout + +\end_layout + \end_inset @@ -660,6 +707,10 @@ status collapsed bibliographystyle{unsrt} \end_layout +\begin_layout Plain Layout + +\end_layout + \end_inset @@ -699,6 +750,7 @@ LatexCommand citet after "" before "" key "gur+04" +literal "true" \end_inset @@ -707,10 +759,34 @@ key "gur+04" \begin_layout Bibliography +\begin_inset CommandInset bibitem +LatexCommand bibitem +label "Möstl et~al.(2010)" +key "Mostl2010" +literal "true" + +\end_inset + + Gürkan, M. +\begin_inset space ~ + +\end_inset + +A., Freitag, M., & Rasio, F. +\begin_inset space ~ + +\end_inset + +A. 2004, ApJ, 604, 632 +\end_layout + +\begin_layout Bibliography + \begin_inset CommandInset bibitem LatexCommand bibitem label "{{Gürkan et~al.}(2004)}" key "gur+04" +literal "true" \end_inset @@ -906,6 +982,7 @@ LatexCommand nomenclature prefix "www" symbol "URL" description "uniform resource locator" +literal "true" \end_inset @@ -928,6 +1005,7 @@ http://www.lyx.org LatexCommand nomenclature symbol "URL2" description "uniform resource locator" +literal "true" \end_inset @@ -953,6 +1031,7 @@ link: \begin_inset CommandInset href LatexCommand href target "www.test.test" +literal "true" \end_inset @@ -964,6 +1043,7 @@ link2: \begin_inset CommandInset href LatexCommand href target "http://www.test.test" +literal "true" \end_inset @@ -977,6 +1057,7 @@ LatexCommand href name "name" target "www.test.test" type "mailto:" +literal "true" \end_inset @@ -989,6 +1070,7 @@ file: LatexCommand href target "www.test.test" type "file:" +literal "true" \end_inset @@ -1000,6 +1082,7 @@ ftp: \begin_inset CommandInset href LatexCommand href target "ftp://www.test.test" +literal "true" \end_inset @@ -1012,6 +1095,7 @@ ftp2: LatexCommand href name "www.test.test" target "ftp://www.test.test" +literal "true" \end_inset @@ -1024,6 +1108,7 @@ parser test (stupid, but valid): LatexCommand href name "}" target "http://www.test.test" +literal "true" \end_inset @@ -1036,6 +1121,7 @@ parser test (escaped): LatexCommand href name "a brace } and another one { and something" target "http://www.test.test" +literal "true" \end_inset @@ -1414,7 +1500,7 @@ kill \begin_inset Caption Standard -\begin_layout Standard +\begin_layout Plain Layout \begin_inset Argument 1 status collapsed @@ -1496,7 +1582,7 @@ Second \begin_inset Caption Standard -\begin_layout Standard +\begin_layout Plain Layout \begin_inset Argument 1 status collapsed @@ -1570,9 +1656,9 @@ Second \begin_layout Standard -\begin_inset Caption LongTableNoNumber +\begin_inset Caption Unnumbered -\begin_layout Standard +\begin_layout Plain Layout standard foot \end_layout @@ -1615,9 +1701,9 @@ bottom. \begin_layout Standard -\begin_inset Caption LongTableNoNumber +\begin_inset Caption Unnumbered -\begin_layout Standard +\begin_layout Plain Layout (last foot) \end_layout @@ -3108,7 +3194,8 @@ row \begin_inset Quotes erd \end_inset - of the table can take up several lines. Note however that TeX + of the table can take up several lines. Note however that \SpecialChar TeX + \begin_inset space \space{} \end_inset @@ -3435,17 +3522,7 @@ like this. \end_layout \begin_layout Standard -From bug 7412 another example with more captions (can currently not produced in -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout -LyX -\end_layout - -\end_inset - -): +From bug 7412 another example with more captions (can currently not produced in LyX): \begin_inset Tabular @@ -3459,7 +3536,7 @@ LyX \begin_inset Caption Standard -\begin_layout Standard +\begin_layout Plain Layout A long table \end_layout @@ -3484,8 +3561,8 @@ A long table \begin_inset Caption Standard -\begin_layout Standard -A long table -- continued +\begin_layout Plain Layout +A long table – continued \end_layout \end_inset @@ -4397,6 +4474,10 @@ status collapsed % some comment \end_layout +\begin_layout Plain Layout + +\end_layout + \end_inset @@ -4465,7 +4546,7 @@ status open \begin_inset Caption Standard -\begin_layout Standard +\begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label @@ -4978,202 +5059,831 @@ in % of pixel size \end_layout -\begin_layout Section -Macros +\begin_layout Standard +A table using dcolumn: \end_layout \begin_layout Standard -\begin_inset ERT -status collapsed +\begin_inset Float table +wide false +sideways false +status open -\begin_layout Plain Layout -LyX -\end_layout -\end_inset +\begin_layout Standard - supports several kinds of macros: def -\begin_inset FormulaMacro -\def\macroa #1{a #1 a} -\end_inset +\begin_inset Tabular + + + + + + + + + +\begin_inset Text - global def -\begin_inset FormulaMacro -\def\macrob #1{b #1 b} -\end_inset +\begin_layout Standard +One +\end_layout - long def -\begin_inset FormulaMacro -\def\macroc #1{c #1 c} \end_inset + + +\begin_inset Text + +\begin_layout Standard +Two +\end_layout - global long def -\begin_inset FormulaMacro -\def\macrod #1{d #1 d} \end_inset + + +\begin_inset Text - providecommand -\begin_inset ERT -status collapsed +\begin_layout Standard -\begin_layout Plain Layout +\family roman +Three +\family default -\backslash -providecommand{ -\backslash -macroe}[1]{e #1 e} \end_layout \end_inset + + +\begin_inset Text - providecommand* -\begin_inset ERT -status collapsed +\begin_layout Standard -\begin_layout Plain Layout +\family roman +Four +\family default -\backslash -providecommand*{ -\backslash -macrof}[1]{f #1 f} \end_layout \end_inset + + +\begin_inset Text - newcommand -\begin_inset FormulaMacro -\newcommand{\macrog}[1]{g #1 g} -\end_inset - - renewcommand -\begin_inset FormulaMacro -\renewcommand{\macrog}[1]{h #1 h} -\end_inset - - newcommand* -\begin_inset ERT -status collapsed +\begin_layout Standard -\begin_layout Plain Layout +\family roman +Five +\family default -\backslash -newcommand*{ -\backslash -macroi}[1]{i #1 i} \end_layout \end_inset + + + + +\begin_inset Text - renewcommand* -\begin_inset ERT -status collapsed +\begin_layout Standard +one +\end_layout -\begin_layout Plain Layout +\end_inset + + +\begin_inset Text -\backslash -renewcommand*{ -\backslash -macroi}[1]{j #1 j} +\begin_layout Standard +two \end_layout \end_inset + + +\begin_inset Text - providecommandx -\begin_inset ERT -status collapsed +\begin_layout Standard -\begin_layout Plain Layout +\begin_inset Box Frameless +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +use_makebox 1 +width "" +special "none" +height "1in" +height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" +status open -\backslash -providecommandx{ -\backslash -macrok}[1]{k #1 k} + +\begin_layout Standard +three \end_layout \end_inset - providecommandx* -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout -\backslash -providecommandx*{ -\backslash -macrok}[1]{l #1 l} \end_layout \end_inset + + +\begin_inset Text - newcommandx -\begin_inset FormulaMacro -\newcommandx{\macrom}[1]{m #1 m} -\end_inset - - renewcommandx -\begin_inset FormulaMacro -\renewcommandx{\macrom}[1]{n #1 n} -\end_inset +\begin_layout Standard - newcommandx* -\begin_inset ERT -status collapsed +\begin_inset Box Frameless +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +use_makebox 1 +width "" +special "none" +height "1in" +height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" +status open -\begin_layout Plain Layout -\backslash -newcommandx*{ -\backslash -macroo}[1]{o #1 o} +\begin_layout Standard +four \end_layout \end_inset - renewcommandx* -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout -\backslash -renewcommandx*{ -\backslash -macroo}[1]{p #1 p} \end_layout \end_inset + + +\begin_inset Text - DeclareRobustCommand -\begin_inset ERT -status collapsed +\begin_layout Standard -\begin_layout Plain Layout +\begin_inset Box Frameless +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +use_makebox 1 +width "" +special "none" +height "1in" +height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" +status open -\backslash -DeclareRobustCommand{ -\backslash -macroq}[1]{q #1 q} + +\begin_layout Standard +five \end_layout \end_inset - DeclareRobustCommand* -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout -\backslash -DeclareRobustCommand*{ -\backslash -macror}[1]{r #1 r} \end_layout \end_inset + + + + +\begin_inset Text - DeclareRobustCommandx +\begin_layout Standard +He +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +2 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +2.77234 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +45672. +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +0.69 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +C +\begin_inset Foot +status collapsed + + +\begin_layout Standard +Some tables require footnotes. +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +C +\begin_inset Foot +status collapsed + + +\begin_layout Standard +Some tables need more than one footnote. +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +12537.64 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +37.66345 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +86.37 +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +A table using decimal alignment: +\end_layout + +\begin_layout Standard + +\begin_inset Float table +wide false +sideways false +status open + + +\begin_layout Standard + +\begin_inset Tabular + + + + + + + + + + + + +\begin_inset Text + +\begin_layout Standard +One +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Two +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Three +\end_layout + +\end_inset + + +\begin_inset Text + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Four +\end_layout + +\end_inset + + +\begin_inset Text + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Five +\end_layout + +\end_inset + + +\begin_inset Text + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +one +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +two +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +three +\end_layout + +\end_inset + + +\begin_inset Text + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +four +\end_layout + +\end_inset + + +\begin_inset Text + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +five +\end_layout + +\end_inset + + +\begin_inset Text + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +He +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +2 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +2 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +77234 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +45672 +\end_layout + +\end_inset + + +\begin_inset Text + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +0 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +69 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +C +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +C +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +12537 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +64 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +37 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +66345 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +86 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +37 +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Section +Macros +\end_layout + +\begin_layout Standard +LyX supports several kinds of macros: def +\begin_inset FormulaMacro +\def\macroa #1{a #1 a} +\end_inset + + global def +\begin_inset FormulaMacro +\def\macrob #1{b #1 b} +\end_inset + + long def +\begin_inset FormulaMacro +\def\macroc #1{c #1 c} +\end_inset + + global long def +\begin_inset FormulaMacro +\def\macrod #1{d #1 d} +\end_inset + + providecommand +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +\backslash +providecommand{ +\backslash +macroe}[1]{e #1 e} +\end_layout + +\end_inset + + providecommand* +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +\backslash +providecommand*{ +\backslash +macrof}[1]{f #1 f} +\end_layout + +\end_inset + + newcommand +\begin_inset FormulaMacro +\newcommand{\macrog}[1]{g #1 g} +\end_inset + + renewcommand +\begin_inset FormulaMacro +\renewcommand{\macrog}[1]{h #1 h} +\end_inset + + newcommand* +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +\backslash +newcommand*{ +\backslash +macroi}[1]{i #1 i} +\end_layout + +\end_inset + + renewcommand* +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +\backslash +renewcommand*{ +\backslash +macroi}[1]{j #1 j} +\end_layout + +\end_inset + + providecommandx +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +\backslash +providecommandx{ +\backslash +macrok}[1]{k #1 k} +\end_layout + +\end_inset + + providecommandx* +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +\backslash +providecommandx*{ +\backslash +macrok}[1]{l #1 l} +\end_layout + +\end_inset + + newcommandx +\begin_inset FormulaMacro +\newcommandx{\macrom}[1]{m #1 m} +\end_inset + + renewcommandx +\begin_inset FormulaMacro +\renewcommandx{\macrom}[1]{n #1 n} +\end_inset + + newcommandx* +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +\backslash +newcommandx*{ +\backslash +macroo}[1]{o #1 o} +\end_layout + +\end_inset + + renewcommandx* +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +\backslash +renewcommandx*{ +\backslash +macroo}[1]{p #1 p} +\end_layout + +\end_inset + + DeclareRobustCommand +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +\backslash +DeclareRobustCommand{ +\backslash +macroq}[1]{q #1 q} +\end_layout + +\end_inset + + DeclareRobustCommand* +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +\backslash +DeclareRobustCommand*{ +\backslash +macror}[1]{r #1 r} +\end_layout + +\end_inset + + DeclareRobustCommandx \begin_inset ERT status collapsed @@ -5563,17 +6273,7 @@ Special formattings \end_layout \begin_layout Subsection - -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout -LyX -\end_layout - -\end_inset - - line +LyX line \end_layout \begin_layout Standard @@ -5663,7 +6363,30 @@ height "1pt" \end_layout \begin_layout Subsection -rules +Rules +\end_layout + +\begin_layout Standard +test +\end_layout + +\begin_layout Standard + +\size tiny + +\begin_inset CommandInset line +LatexCommand rule +offset "0.5ex" +width "100line%" +height "1pt" + +\end_inset + + +\size default + +\size tiny + \end_layout \begin_layout Standard @@ -5761,7 +6484,7 @@ ow \begin_inset script superscript -\begin_layout Standard +\begin_layout Plain Layout Wow \end_layout @@ -5829,16 +6552,16 @@ TIPA e̥ e̊ e̬ e̤ ḛ e̼ e̪ e̺ e̻ e \begin_inset script superscript -\begin_layout Standard +\begin_layout Plain Layout h \end_layout \end_inset - e̹ e̜ e̟ e̠ e̠ ë e̽ e̩ e̩ e̯ e˞e + e̹ e̜ e̟ e̠ (don't mix up with e̱) ë e̽ e̩ e̩ e̯ e˞e \begin_inset script superscript -\begin_layout Standard +\begin_layout Plain Layout w \end_layout @@ -5847,7 +6570,7 @@ w e \begin_inset script superscript -\begin_layout Standard +\begin_layout Plain Layout j \end_layout @@ -5856,7 +6579,7 @@ j e \begin_inset script superscript -\begin_layout Standard +\begin_layout Plain Layout ɣ \end_layout @@ -5865,7 +6588,7 @@ j e \begin_inset script superscript -\begin_layout Standard +\begin_layout Plain Layout ʕ \end_layout @@ -5874,7 +6597,7 @@ j e̴ e̝ e̞ e̘ e̙ ẽ e \begin_inset script superscript -\begin_layout Standard +\begin_layout Plain Layout n \end_layout @@ -5883,7 +6606,7 @@ n e \begin_inset script superscript -\begin_layout Standard +\begin_layout Plain Layout l \end_layout @@ -6240,6 +6963,14 @@ TIPA code in math: \end_layout +\begin_layout Subsection +Other symbols +\end_layout + +\begin_layout Standard +All three should be converted to U+00C5: Å Å Å (not U+212B). All three should be converted to U+00E5: å å å. +\end_layout + \begin_layout Subsection Line breaks \begin_inset Index breaks @@ -6311,17 +7042,7 @@ linebreak[4] \end_layout \begin_layout Standard -There are even newlines with weird arguments, but these are not handled by -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout -LyX -\end_layout - -\end_inset - - +There are even newlines with weird arguments, but these are not handled by LyX \begin_inset ERT status collapsed @@ -6393,122 +7114,90 @@ Special characters \begin_layout Standard Then one has those macros with a long name for a short meaning, like ~, ^ or \backslash -, \SpecialChar \slash{} -, \SpecialChar \nobreakdash- - and the characters that -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout -LaTeX -\end_layout - -\end_inset - - wants to espace because they are active, like _&#${}%. +, \SpecialChar breakableslash +, \SpecialChar nobreakdash + and the characters that LaTeX wants to espace because they are active, like _&#${}%. \end_layout \begin_layout Standard -And what about special characters like hyphe\SpecialChar \- -nation mark, ellipsis\SpecialChar \ldots{} -, and end-of-sentence\SpecialChar \@. - -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout -LyX -\end_layout - -\end_inset - - also supports a menu separator\SpecialChar \menuseparator -and a spif\SpecialChar \textcompwordmark{} +And what about special characters like hyphe\SpecialChar softhyphen +nation mark, ellipsis\SpecialChar ldots +, and end-of-sentence\SpecialChar endofsentence + LyX also supports a menu separator\SpecialChar menuseparator +and a spif\SpecialChar ligaturebreak fy ligature break. \end_layout \begin_layout Standard - -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout -LyX -\end_layout - -\end_inset - - translates the phrases +There are dashes: endash in short form – and long form –, emdash is alike: — and —. If we really want several hyphens in a row, we need to separate them: - \begin_inset ERT status collapsed \begin_layout Plain Layout -LyX +{} \end_layout \end_inset -, +-, - \begin_inset ERT status collapsed \begin_layout Plain Layout -TeX +{} \end_layout \end_inset -, +- \begin_inset ERT status collapsed \begin_layout Plain Layout -LaTeX +{} \end_layout \end_inset -2e and +-, - \begin_inset ERT status collapsed \begin_layout Plain Layout -LaTeX +{} \end_layout \end_inset - to the commands LyX, TeX, LaTeX2e and LaTeX. If these phrases occur as part of other words (like 1 +- \begin_inset ERT status collapsed \begin_layout Plain Layout -LyX +{} \end_layout \end_inset - or a +- \begin_inset ERT status collapsed \begin_layout Plain Layout -TeX +{} \end_layout \end_inset - or -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout -LaTeX +- etc. \end_layout -\end_inset - -3) they should not be put into ERT. +\begin_layout Standard +LyX translates the phrases LyX, TeX, LaTeX2e and LaTeX to the commands \SpecialChar LyX +, \SpecialChar TeX +, \SpecialChar LaTeX2e + and \SpecialChar LaTeX +. If these phrases occur as part of other words (like 1LyX or aTeX or LaTeX3) they should not be put into ERT. \end_layout \begin_layout Standard @@ -6588,6 +7277,10 @@ status collapsed % and another \end_layout +\begin_layout Plain Layout + +\end_layout + \end_inset @@ -6607,7 +7300,7 @@ status collapsed A sub \begin_inset script subscript -\begin_layout Standard +\begin_layout Plain Layout sc \emph on ript @@ -6620,7 +7313,7 @@ ript and super \begin_inset script superscript -\begin_layout Standard +\begin_layout Plain Layout script with \begin_inset Formula $a^2+b^2=c^2$ \end_inset @@ -6667,6 +7360,19 @@ $ . \end_layout +\begin_layout Standard + +\begin_inset Formula \[ +\begin{array}{rclccc} +1 + 2 & = & 3 +\multicolumn{3}{c}{4 < 5 \leq 6 } +\end{array} +\] +\end_inset + + +\end_layout + \begin_layout Section Lists/Indices \end_layout @@ -6797,6 +7503,7 @@ undefined index: \begin_inset CommandInset index_print LatexCommand printindex type "idx" +literal "true" \end_inset @@ -6812,6 +7519,7 @@ index "idx": \begin_inset CommandInset index_print LatexCommand printindex type "idx" +literal "true" \end_inset @@ -6827,6 +7535,7 @@ index "new": \begin_inset CommandInset index_print LatexCommand printindex type "new" +literal "true" \end_inset @@ -6842,6 +7551,7 @@ subindex "new": \begin_inset CommandInset index_print LatexCommand printsubindex type "idx" +literal "true" \end_inset