On Wed, Sep 28, 2016 at 01:04:21PM -0400, Scott Kostyshak wrote:
> Using system fonts + LuaTeX with fr/linguistics.lyx, we produce the
> following .tex code:
> 
>   C'est-à-dire, pour \textipa{\begin{english}%
>   [d̥]
>   \end{english}%
>   } vous devez saisir \texttt{<d>} et ensuite le sous-diacritique en
> 
> Can someone confirm that LyX is doing the right thing here? From what I
> understand, the exported code is correct given that the character inside
> \textipa is indeed marked as English in the .lyx file.
> 
> This error goes away if we do not use English for that character. Note
> that there is still a missing character error but that (I believe) is a
> separate issue.
> 
> If someone confirms that the above exported code is indeed correct (i.e.
> it is the responsibility of the user not to mark a character inside an
> IPA inset as a different language), then
> I will remove the language switch for that character.

I think the code is not correct. Here LyX should use \textenglish
instead of \begin{english}...\end{english}. I'll have a look.

-- 
Enrico

Reply via email to