commit ac1cd1ad9acb4f188e21a8da225fc8f3468ee0e9
Author: Georg Baum <[email protected]>
Date: Wed Jan 6 22:34:12 2016 +0100
Add symbol tests for A WITH RING ABOVE
The conversion is not completely correct yet, but adding the test before the
fix has the advantage that the fix can easily be documented by changing the
test reference.
diff --git a/src/tex2lyx/test/test-insets.lyx.lyx
b/src/tex2lyx/test/test-insets.lyx.lyx
index 5b125a3..ff3129b 100644
--- a/src/tex2lyx/test/test-insets.lyx.lyx
+++ b/src/tex2lyx/test/test-insets.lyx.lyx
@@ -6903,6 +6903,36 @@ 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:
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+aa
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+{}
+\end_layout
+
+\end_inset
+
+ å å.
+\end_layout
+
+\begin_layout Subsection
Line breaks
\begin_inset Index breaks
status collapsed
diff --git a/src/tex2lyx/test/test-insets.tex b/src/tex2lyx/test/test-insets.tex
index 0f35c56..b3e7795 100644
--- a/src/tex2lyx/test/test-insets.tex
+++ b/src/tex2lyx/test/test-insets.tex
@@ -639,6 +639,10 @@ e\textcorner{}
TIPA code in math:
$\textipa{\tone{55}|\text{\!b{}\!d{}\!g{}\!G{}\textglobfall{}\textvertline{}\textdoublevertline{}}}$
+\subsection{Other symbols}
+All three should be converted to U+00C5: \AA{} \r A \r{A} (not U+212B).
+All three should be converted to U+00E5: \aa{} \r a \r{a}.
+
\subsection{Line breaks\sindex[breaks]{Line breaks}}
They can also or be broken by a newline\\