From ac1cd1ad9acb4f188e21a8da225fc8f3468ee0e9 Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Wed, 6 Jan 2016 22:34:12 +0100 Subject: [PATCH] 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. --- src/tex2lyx/test/test-insets.lyx.lyx | 30 ++++++++++++++++++++++++++++ src/tex2lyx/test/test-insets.tex | 4 ++++ 2 files changed, 34 insertions(+) diff --git a/src/tex2lyx/test/test-insets.lyx.lyx b/src/tex2lyx/test/test-insets.lyx.lyx index 5b125a3e7a..ff3129bb18 100644 --- a/src/tex2lyx/test/test-insets.lyx.lyx +++ b/src/tex2lyx/test/test-insets.lyx.lyx @@ -6902,6 +6902,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 diff --git a/src/tex2lyx/test/test-insets.tex b/src/tex2lyx/test/test-insets.tex index 0f35c56540..b3e7795d95 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\\ -- 2.39.5