]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/test/test-insets.lyx.lyx
tex2lyx/text.cpp: bring back a comment as discussed
[lyx.git] / src / tex2lyx / test / test-insets.lyx.lyx
index 25942811c296c9747cee0e37728a62f344d38a34..0cb836fe93506f91a3b837dbc99ebecdec5cf4cd 100644 (file)
@@ -1,10 +1,16 @@
-#LyX file created by tex2lyx 2.1.0dev
-\lyxformat 452
+#LyX file created by tex2lyx 2.2
+\lyxformat 479
 \begin_document
 \begin_header
 \textclass article
 \begin_preamble
 
+% Load refstyle before prettyref so that prettyref wins.
+% The real refstyle tests are in test-refstyle-theorems.tex.
+\usepackage{refstyle}
+\AtBeginDocument{\providecommand\secref[1]{\ref{sec:#1}}}
+
+
 \def\mycommand{\textquestiondown}
 
 
@@ -13,7 +19,7 @@
 \maintain_unincluded_children false
 \language english
 \language_package none
-\inputencoding latin9
+\inputencoding iso8859-15
 \fontencoding T1
 \font_roman default
 \font_sans default
@@ -33,7 +39,7 @@
 \paperfontsize 12
 \spacing onehalf
 \use_hyperref true
-\pdf_bookmarks 1
+\pdf_bookmarks 0
 \pdf_bookmarksnumbered 0
 \pdf_bookmarksopen 0
 \pdf_bookmarksopenlevel 1
 \pdf_pdfborder 0
 \pdf_colorlinks 0
 \pdf_backref section
-\pdf_pdfusetitle 1
+\pdf_pdfusetitle 0
 \papersize a4paper
 \use_geometry false
 \use_package amsmath 2
 \use_package amssymb 2
+\use_package cancel 0
 \use_package esint 1
 \use_package mathdots 0
 \use_package mathtools 0
 \use_package mhchem 0
+\use_package stackrel 0
+\use_package stmaryrd 0
 \use_package undertilde 0
 \cite_engine natbib
 \cite_engine_type numerical
 \shortcut idx
 \color #008000
 \end_index
+\index new
+\shortcut new
+\color #008000
+\end_index
+\index test
+\shortcut test
+\color #008000
+\end_index
 \secnumdepth 3
 \tocdepth 3
 \paragraph_separation indent
@@ -90,14 +107,10 @@ Title
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 %stupid stuff
 \end_layout
 
-\begin_layout Standard
-
-\end_layout
-
 \end_inset
 
 
@@ -239,7 +252,61 @@ reference "lab:test"
 
 \end_inset
 
-.
+ as well as textual references like
+\begin_inset space ~
+
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand nameref
+reference "lab:test"
+
+\end_inset
+
+. The command 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+secref
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+{
+\end_layout
+
+\end_inset
+
+lab:test
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+}
+\end_layout
+
+\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.
 \end_layout
 
 \begin_layout Section
@@ -575,48 +642,36 @@ key "article-crossref"
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 % Remove duplicate call of 
 \backslash
 bibliography since LaTeX throws an error.
 \end_layout
 
-\begin_layout Standard
-
-\end_layout
-
 \end_inset
 
 
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 %
 \backslash
 bibliographystyle{unsrt}
 \end_layout
 
-\begin_layout Standard
-
-\end_layout
-
 \end_inset
 
 
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 % 
 \backslash
 bibliography{xampl}
 \end_layout
 
-\begin_layout Standard
-
-\end_layout
-
 \end_inset
 
 
@@ -691,29 +746,47 @@ We can input files too, like this
 \begin_inset CommandInset include
 LatexCommand input
 preview false
-filename "DummyDocument.lyx"
+filename "DummyDocument.lyx.lyx"
 
 \end_inset
 
-, or with the include variant 
+, or with the include variant (tests quoting as well): 
 \begin_inset CommandInset include
 LatexCommand include
 preview false
-filename "DummyDocument.lyx"
+filename "Dummy Document.tex"
 
 \end_inset
 
  
-\begin_inset ERT
-status collapsed
+\begin_inset CommandInset include
+LatexCommand include
+preview false
+filename "Dummy Document.tex"
 
-\begin_layout Standard
-% unfortunately, including the doc twice generates a multiply defined label
-\end_layout
+\end_inset
 
-\begin_layout Standard
+\begin_inset CommandInset include
+LatexCommand include
+preview false
+filename "Dummy~Document.lyx.lyx"
 
-\end_layout
+\end_inset
+
+\begin_inset CommandInset include
+LatexCommand include
+preview false
+filename "Dummy~Document.lyx.lyx"
+
+\end_inset
+
+ File names containg double quotes are not legal on windows, so no test file is provided. Nevertheless, they are legal on unix, so we test at least the parsing. File names containing spaces can not be handled by automake (make dist would fail), so no test file is provided as well. Since the files do not exist, the variants without extension would not work (tex2lyx can't deduce the correct extension of nonexisting files). 
+\begin_inset CommandInset include
+LatexCommand include
+preview false
+filename "Dummy\"Document.tex"
 
 \end_inset
 
@@ -859,6 +932,20 @@ description "uniform resource locator"
 \end_inset
 
 
+\end_layout
+
+\begin_layout Standard
+An URL with strange characters: 
+\begin_inset Flex Flex:URL
+status collapsed
+
+\begin_layout Plain Layout
+http://www.lyx.org/percent%dollar$
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -1228,7 +1315,7 @@ textbackslash etc.
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 let
@@ -1244,7 +1331,7 @@ textsf
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 let
@@ -1260,7 +1347,7 @@ textsf
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 let
@@ -1276,7 +1363,7 @@ texttt
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 providecommand{
@@ -1294,7 +1381,7 @@ clearpage}
 \begin_layout Standard
 
 \begin_inset Tabular 
-<lyxtabular version="3" rows="64" columns="2">
+<lyxtabular version="3" rows="66" columns="2">
 <features rotate="0" islongtable="true">
 <column alignment="none" valignment="top" special="@{*}r">
 <column alignment="none" valignment="top" special="|p{1in}@{*}">
@@ -1316,7 +1403,7 @@ LINE!!!!
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 kill
@@ -1325,7 +1412,7 @@ kill
 \end_inset
 
  
-\begin_inset Caption
+\begin_inset Caption Standard
 
 \begin_layout Standard
 
@@ -1406,7 +1493,7 @@ Second
 
 \begin_layout Standard
 
-\begin_inset Caption
+\begin_inset Caption Standard
 
 \begin_layout Standard
 
@@ -1472,11 +1559,36 @@ Second
 
 \end_layout
 
+\end_inset
+</cell>
+</row>
+<row endfoot="true" caption="true">
+<cell multicolumn="1" alignment="none" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+\begin_inset Caption LongTableNoNumber
+
+\begin_layout Standard
+standard foot
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="none" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
 \end_inset
 </cell>
 </row>
 <row endfoot="true">
-<cell alignment="none" valignment="top" topline="true" bottomline="true" usebox="none">
+<cell alignment="none" valignment="top" topline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Standard
@@ -1485,13 +1597,38 @@ This goes at the
 
 \end_inset
 </cell>
-<cell alignment="none" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="none" valignment="top" topline="true" leftline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Standard
 bottom.
 \end_layout
 
+\end_inset
+</cell>
+</row>
+<row endlastfoot="true" caption="true">
+<cell multicolumn="1" alignment="none" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+\begin_inset Caption LongTableNoNumber
+
+\begin_layout Standard
+(last foot)
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="none" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
 \end_inset
 </cell>
 </row>
@@ -1564,7 +1701,7 @@ of the table
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 env
@@ -1576,7 +1713,7 @@ env
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -1586,7 +1723,7 @@ longtable
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -1616,7 +1753,7 @@ same way as in the
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 env
@@ -1628,7 +1765,7 @@ env
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -1638,7 +1775,7 @@ tabular
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -1668,7 +1805,7 @@ environment.
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 code
@@ -1680,7 +1817,7 @@ code
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -1690,7 +1827,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -1729,7 +1866,7 @@ Each row ends with a
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 code
@@ -1741,7 +1878,7 @@ code
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -1755,7 +1892,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -1776,7 +1913,7 @@ The
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 code
@@ -1788,7 +1925,7 @@ code
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -1802,7 +1939,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -1852,7 +1989,7 @@ the
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 env
@@ -1864,7 +2001,7 @@ env
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -1874,7 +2011,7 @@ tabular
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -1904,7 +2041,7 @@ environment.
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 code
@@ -1916,7 +2053,7 @@ code
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -1930,7 +2067,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -2040,7 +2177,7 @@ Also
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 code
@@ -2052,7 +2189,7 @@ code
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -2064,7 +2201,7 @@ hline
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -2083,7 +2220,7 @@ as in
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 env
@@ -2095,7 +2232,7 @@ env
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -2105,7 +2242,7 @@ tabular
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -2126,7 +2263,7 @@ That was a
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 code
@@ -2138,7 +2275,7 @@ code
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -2150,7 +2287,7 @@ hline
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -2180,7 +2317,7 @@ That was
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 code
@@ -2192,7 +2329,7 @@ code
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -2206,7 +2343,7 @@ hline
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -2236,7 +2373,7 @@ This is a
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 code
@@ -2248,7 +2385,7 @@ code
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -2260,7 +2397,7 @@ multicolumn{2}{||c||}
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -2286,7 +2423,7 @@ If a page break occurs at a
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 code
@@ -2298,7 +2435,7 @@ code
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -2310,7 +2447,7 @@ hline
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -2360,7 +2497,7 @@ The
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 code
@@ -2372,7 +2509,7 @@ code
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -2382,7 +2519,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -2392,7 +2529,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 env
@@ -2404,7 +2541,7 @@ env
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -2414,7 +2551,7 @@ tabular
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -2453,7 +2590,7 @@ The optional argument may be one of
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 code
@@ -2465,7 +2602,7 @@ code
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -2475,7 +2612,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -2945,7 +3082,7 @@ Some lines may take up a lot of space, like this:
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 raggedleft
@@ -2978,7 +3115,7 @@ will never break a page within such a row. Page breaks only occur between rows o
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 code
@@ -2990,7 +3127,7 @@ code
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -3002,7 +3139,7 @@ hline
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -3209,7 +3346,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 env
@@ -3221,7 +3358,7 @@ env
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -3231,7 +3368,7 @@ longtable
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -3300,7 +3437,7 @@ From bug 7412 another example with more captions (can currently not produced in
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 LyX
 \end_layout
 
@@ -3318,7 +3455,7 @@ LyX
 
 \begin_layout Standard
 
-\begin_inset Caption
+\begin_inset Caption Standard
 
 \begin_layout Standard
 A long table
@@ -3343,7 +3480,7 @@ A long table
 
 \begin_layout Standard
 
-\begin_inset Caption
+\begin_inset Caption Standard
 
 \begin_layout Standard
 A long table -- continued
@@ -3371,7 +3508,7 @@ A long table -- continued
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -3381,7 +3518,7 @@ Continued on next page
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -4254,14 +4391,10 @@ A table*:
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 % some comment
 \end_layout
 
-\begin_layout Standard
-
-\end_layout
-
 \end_inset
 
 
@@ -4328,7 +4461,7 @@ status open
 
 \begin_layout Standard
 
-\begin_inset Caption
+\begin_inset Caption Standard
 
 \begin_layout Standard
 
@@ -4351,7 +4484,7 @@ Special booktabs-table
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 centering
@@ -4363,7 +4496,7 @@ centering
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 {}
 \end_layout
 
@@ -4430,7 +4563,7 @@ Chip
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 cmidrule
@@ -4442,7 +4575,7 @@ cmidrule
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -4452,7 +4585,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -4462,7 +4595,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 cmidrule
@@ -4474,7 +4607,7 @@ cmidrule
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -4484,7 +4617,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -4494,7 +4627,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 morecmidrules
@@ -4506,7 +4639,7 @@ morecmidrules
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 cmidrule
@@ -4518,7 +4651,7 @@ cmidrule
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -4528,7 +4661,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -4694,7 +4827,7 @@ MTF at
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 morecmidrules
@@ -4706,7 +4839,7 @@ morecmidrules
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 cmidrule
@@ -4718,7 +4851,7 @@ cmidrule
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -4728,7 +4861,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -4852,7 +4985,7 @@ Macros
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 LyX
 \end_layout
 
@@ -4882,7 +5015,7 @@ LyX
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 providecommand{
@@ -4896,7 +5029,7 @@ macroe}[1]{e #1 e}
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 providecommand*{
@@ -4920,7 +5053,7 @@ macrof}[1]{f #1 f}
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 newcommand*{
@@ -4934,7 +5067,7 @@ macroi}[1]{i #1 i}
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 renewcommand*{
@@ -4948,7 +5081,7 @@ macroi}[1]{j #1 j}
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 providecommandx{
@@ -4962,7 +5095,7 @@ macrok}[1]{k #1 k}
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 providecommandx*{
@@ -4986,7 +5119,7 @@ macrok}[1]{l #1 l}
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 newcommandx*{
@@ -5000,7 +5133,7 @@ macroo}[1]{o #1 o}
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 renewcommandx*{
@@ -5014,7 +5147,7 @@ macroo}[1]{p #1 p}
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 DeclareRobustCommand{
@@ -5028,7 +5161,7 @@ macroq}[1]{q #1 q}
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 DeclareRobustCommand*{
@@ -5042,7 +5175,7 @@ macror}[1]{r #1 r}
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 DeclareRobustCommandx{
@@ -5056,7 +5189,7 @@ macros}[1]{s #1 s}
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 DeclareRobustCommandx*{
@@ -5074,7 +5207,7 @@ Now use them all:
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 macroa
@@ -5086,7 +5219,7 @@ macroa
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -5096,7 +5229,7 @@ x
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -5106,7 +5239,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 macrob
@@ -5118,7 +5251,7 @@ macrob
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -5128,7 +5261,7 @@ x
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -5138,7 +5271,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 macroc
@@ -5150,7 +5283,7 @@ macroc
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -5160,7 +5293,7 @@ x
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -5170,7 +5303,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 macrod
@@ -5182,7 +5315,7 @@ macrod
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -5192,7 +5325,7 @@ x
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -5202,7 +5335,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 macroe{
@@ -5214,7 +5347,7 @@ x
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -5224,7 +5357,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 macrof{
@@ -5236,7 +5369,7 @@ x
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -5246,7 +5379,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 macrog{
@@ -5258,7 +5391,7 @@ x
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -5268,7 +5401,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 macroi{
@@ -5280,7 +5413,7 @@ x
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -5290,7 +5423,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 macrok{
@@ -5302,7 +5435,7 @@ x
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -5312,7 +5445,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 macrom{
@@ -5324,7 +5457,7 @@ x
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -5334,7 +5467,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 macroo{
@@ -5346,7 +5479,7 @@ x
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -5356,7 +5489,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 macroq{
@@ -5368,7 +5501,7 @@ x
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -5378,7 +5511,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 macror{
@@ -5390,7 +5523,7 @@ x
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -5400,7 +5533,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 %
 \backslash
 macros{x} 
@@ -5408,10 +5541,6 @@ macros{x}
 macrot{x}
 \end_layout
 
-\begin_layout Standard
-
-\end_layout
-
 \end_inset
 
 
@@ -5436,7 +5565,7 @@ Special formattings
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 LyX
 \end_layout
 
@@ -5687,68 +5816,82 @@ test\phantom{\textcolor{green}{W}\mathbf{ow}\textsuperscript{Wow}}test
 \end_layout
 
 \begin_layout Subsection
-Line breaks
-\begin_inset Index breaks
-status collapsed
+TIPA
+\end_layout
 
-\begin_layout Plain Layout
-Line breaks
+\begin_layout Standard
+
+\begin_inset IPA
+
+\begin_layout Standard
+e̥ e̊ e̬ e̤ ḛ e̼ e̪ e̺ e̻ e
+\begin_inset script superscript
+
+\begin_layout Standard
+h
 \end_layout
 
 \end_inset
 
+ e̹ e̜ e̟ e̠ e̠ ë e̽ e̩ e̩ e̯ e˞e
+\begin_inset script superscript
 
+\begin_layout Standard
+w
 \end_layout
 
-\begin_layout Standard
-They can also or be broken by a newline
-\begin_inset Newline newline
 \end_inset
 
- or by a starred newline 
-\begin_inset ERT
-status collapsed
+ e
+\begin_inset script superscript
 
 \begin_layout Standard
+j
+\end_layout
 
-\backslash
+\end_inset
 
-\backslash
-*
+ e
+\begin_inset script superscript
+
+\begin_layout Standard
 \end_layout
 
 \end_inset
 
-or by a newline with space, comment and argument 
-\begin_inset ERT
-status collapsed
+ e
+\begin_inset script superscript
 
 \begin_layout Standard
+\end_layout
 
-\backslash
+\end_inset
 
-\backslash
-[3cm]
+ e̴ e̝ e̞ e̘ e̙ ẽ e
+\begin_inset script superscript
+
+\begin_layout Standard
+n
 \end_layout
 
 \end_inset
 
- or by a newline command 
-\begin_inset Newline newline
-\end_inset
+ e
+\begin_inset script superscript
+
+\begin_layout Standard
+l
+\end_layout
 
-or by a line break 
-\begin_inset Newline linebreak
 \end_inset
 
-or by a defined line break 
-\begin_inset ERT
-status collapsed
+ e˺ e̋
+\end_layout
 
 \begin_layout Standard
-
-\backslash
-linebreak[4]
+è ē é ȅ ě ê e᷄ e᷅ e᷈ ĕ 
 \end_layout
 
 \end_inset
@@ -5757,61 +5900,470 @@ linebreak[4]
 \end_layout
 
 \begin_layout Standard
-There are even newlines with weird arguments, but these are not handled by 
+
+\begin_inset IPA
+
+\begin_layout Standard
+pbtd
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-LyX
+\begin_layout Plain Layout
+
+\backslash
+:
 \end_layout
 
 \end_inset
 
-
+t
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
-\backslash
+\begin_layout Plain Layout
 
 \backslash
-*[1cm]
+:
 \end_layout
 
 \end_inset
 
- so we try to use ERT in this case.
-\end_layout
-
-\begin_layout Subsection
-Page breaks
-\begin_inset Index breaks
+dcɟkɡq
+\begin_inset ERT
 status collapsed
 
 \begin_layout Plain Layout
-Page breaks
+
+\backslash
+;
 \end_layout
 
 \end_inset
 
-
+G
 \end_layout
 
-\begin_layout Standard
-They can also or be broken by a newpage 
-\begin_inset Newpage newpage
 \end_inset
 
-or by a page break 
-\begin_inset Newpage pagebreak
-\end_inset
+\begin_inset IPA
 
-or by a defined page break 
+\begin_layout Standard
+PmMn
 \begin_inset ERT
 status collapsed
 
+\begin_layout Plain Layout
+
+\backslash
+:
+\end_layout
+
+\end_inset
+
+nɲN
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+;
+\end_layout
+
+\end_inset
+
+N
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+;
+\end_layout
+
+\end_inset
+
+Br
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+;
+\end_layout
+
+\end_inset
+
+RR
+\end_layout
+
+\end_inset
+
+\begin_inset IPA
+
+\begin_layout Standard
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+:
+\end_layout
+
+\end_inset
+
+rFBfvTDszSZ
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+:
+\end_layout
+
+\end_inset
+
+s
+\end_layout
+
+\end_inset
+
+\begin_inset IPA
+
+\begin_layout Standard
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+:
+\end_layout
+
+\end_inset
+
+zçJxGXKħQhHɬ
+\end_layout
+
+\end_inset
+
+\begin_inset IPA
+
+\begin_layout Standard
+ɮVɹ
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+:
+\end_layout
+
+\end_inset
+
+Rhɰl
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+:
+\end_layout
+
+\end_inset
+
+lL
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+;
+\end_layout
+
+\end_inset
+
+L
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\begin_inset IPA
+
+\begin_layout Standard
+ʘ|!ǂ||ɓɗʄɠʛe'
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\begin_inset IPA
+
+\begin_layout Standard
+iy1ʉW
+\color red
+uIY
+\color inherit
+Ueø987o@Eœ3ɞ2Oæ5aɶA6
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\begin_inset IPA
+
+\begin_layout Standard
+ʍw4
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+;
+\end_layout
+
+\end_inset
+
+HʢʡCʑɺɧ
+\begin_inset IPADeco toptiebar
+status open
+
+\begin_layout Standard
+ar
+\end_layout
+
+\end_inset
+
+
+\begin_inset IPADeco bottomtiebar
+status open
+
+\begin_layout Standard
+tz
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\begin_inset IPA
+
+\begin_layout Standard
+:;eˈˌ|‖.͡*
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+{
+\end_layout
+
+\end_inset
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\begin_inset IPA
+
+\begin_layout Standard
+˥˦˧˨˩ꜜꜛ\IPAChar \tone{15}
+\IPAChar \tone{51}
+\IPAChar \tone{45}
+\IPAChar \tone{12}
+\IPAChar \tone{454}
+↗↘
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+TIPA code in math: 
+\begin_inset Formula $\textipa{\tone{55}|\text{\!b{}\!d{}\!g{}\!G{}\textglobfall{}\textvertline{}\textdoublevertline{}}}$
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+Line breaks
+\begin_inset Index breaks
+status collapsed
+
+\begin_layout Plain Layout
+Line breaks
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+They can also or be broken by a newline
+\begin_inset Newline newline
+\end_inset
+
+ or by a starred newline 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+
+\backslash
+*
+\end_layout
+
+\end_inset
+
+or by a newline with space, comment and argument 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+
+\backslash
+[3cm]
+\end_layout
+
+\end_inset
+
+ or by a newline command 
+\begin_inset Newline newline
+\end_inset
+
+or by a line break 
+\begin_inset Newline linebreak
+\end_inset
+
+or by a defined line break 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+linebreak[4]
+\end_layout
+
+\end_inset
+
+
+\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
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+
+\backslash
+*[1cm]
+\end_layout
+
+\end_inset
+
+ so we try to use ERT in this case.
+\end_layout
+
+\begin_layout Subsection
+Page breaks
+\begin_inset Index breaks
+status collapsed
+
+\begin_layout Plain Layout
+Page breaks
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
 \begin_layout Standard
+They can also or be broken by a newpage 
+\begin_inset Newpage newpage
+\end_inset
+
+or by a page break 
+\begin_inset Newpage pagebreak
+\end_inset
+
+or by a defined page break 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
 
 \backslash
 pagebreak[4]
@@ -5845,7 +6397,7 @@ Then one has those macros with a long name for a short meaning, like ~, ^ or
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 LaTeX
 \end_layout
 
@@ -5862,7 +6414,7 @@ nation mark, ellipsis\SpecialChar \ldots{}
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 LyX
 \end_layout
 
@@ -5878,7 +6430,7 @@ fy ligature break.
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 LyX
 \end_layout
 
@@ -5888,7 +6440,7 @@ LyX
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 LyX
 \end_layout
 
@@ -5898,7 +6450,7 @@ LyX
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 TeX
 \end_layout
 
@@ -5908,7 +6460,7 @@ TeX
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 LaTeX
 \end_layout
 
@@ -5918,7 +6470,7 @@ LaTeX
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 LaTeX
 \end_layout
 
@@ -5928,7 +6480,7 @@ LaTeX
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 LyX
 \end_layout
 
@@ -5938,7 +6490,7 @@ LyX
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 TeX
 \end_layout
 
@@ -5948,7 +6500,7 @@ TeX
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 LaTeX
 \end_layout
 
@@ -5966,7 +6518,7 @@ builtin ^ unicodesymbols ȷ user
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 mycommand
@@ -5978,7 +6530,7 @@ mycommand
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 {}
 \end_layout
 
@@ -5992,7 +6544,7 @@ builtin ^ unicodesymbols ȷ user
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 mycommand
@@ -6004,7 +6556,7 @@ mycommand
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 {}
 \end_layout
 
@@ -6018,7 +6570,7 @@ builtin ^ unicodesymbols ȷ user
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 mycommand
@@ -6030,21 +6582,17 @@ mycommand
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 % and another
 \end_layout
 
-\begin_layout Standard
-
-\end_layout
-
 \end_inset
 
 
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 {}
 \end_layout
 
@@ -6083,6 +6631,14 @@ script with
 .
 \end_layout
 
+\begin_layout Standard
+latex2writer outputs quotes in braces like 
+\begin_inset Quotes ers
+\end_inset
+
+. We swallow the, but this was one broken (bug 8903).
+\end_layout
+
 \begin_layout Section
 Mathematics
 \begin_inset Index idx
 .
 \end_layout
 
+\begin_layout Section
+Lists/Indices
+\end_layout
+
+\begin_layout Standard
+single 
+\backslash
+addcontentsline: 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+addcontentsline{toc}{section}{test}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+with 
+\backslash
+addcontentsline and 
+\backslash
+phantomsection:
+\end_layout
+
+\begin_layout Standard
+\begin_inset CommandInset bibtex
+LatexCommand bibtex
+bibfiles "xampl"
+options "bibtotoc,test"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+normal:
+\end_layout
+
+\begin_layout Standard
+\begin_inset CommandInset bibtex
+LatexCommand bibtex
+bibfiles "xampl"
+options "test"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+with wrong 
+\backslash
+addcontentsline:
+\end_layout
+
+\begin_layout Standard
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+bibliographystyle{test}
+\end_layout
+
+\end_inset
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+addcontentsline{toc}{section}{test}
+\end_layout
+
+\end_inset
+
+  
+\begin_inset CommandInset bibtex
+LatexCommand bibtex
+bibfiles "xampl"
+options "test"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+with 
+\backslash
+addcontentsline and 
+\backslash
+nocite{*}:
+\end_layout
+
+\begin_layout Standard
+  
+\begin_inset CommandInset bibtex
+LatexCommand bibtex
+btprint "btPrintAll"
+bibfiles "xampl"
+options "bibtotoc,test"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+undefined index:
+\end_layout
+
+\begin_layout Standard
+
+\begin_inset CommandInset index_print
+LatexCommand printindex
+type "idx"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+index "idx":
+\end_layout
+
+\begin_layout Standard
+
+\begin_inset CommandInset index_print
+LatexCommand printindex
+type "idx"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+index "new":
+\end_layout
+
 \begin_layout Standard
 
 \begin_inset CommandInset index_print
 LatexCommand printindex
+type "new"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+subindex "new":
+\end_layout
+
+\begin_layout Standard
+
+\begin_inset CommandInset index_print
+LatexCommand printsubindex
 type "idx"
 
 \end_inset
@@ -6120,6 +6846,38 @@ type "idx"
 
 \end_layout
 
+\begin_layout Standard
+index of all indices:
+\end_layout
+
+\begin_layout Standard
+
+\begin_inset CommandInset index_print
+LatexCommand printindex*
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+subindex of all indices:
+\end_layout
+
+\begin_layout Standard
+
+\begin_inset CommandInset index_print
+LatexCommand printsubindex*
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+normal nomenclature:
+\end_layout
+
 \begin_layout Standard
 
 \begin_inset CommandInset nomencl_print
@@ -6132,11 +6890,11 @@ hello
 \end_layout
 
 \begin_layout Standard
-
+manually set width: 
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 settowidth{
@@ -6156,6 +6914,10 @@ set_width "none"
 
 \end_layout
 
+\begin_layout Standard
+nomenclature with set width:
+\end_layout
+
 \begin_layout Standard
 
 \begin_inset CommandInset nomencl_print