Yong Luo wrote: > Thanks, I know the result can be displayed in .lyx > file (what you see is what you want), but I don't know > how to do it.
You mean, you don't know how to input the � character? There are three ways: 1. Cut and paste it from somewhere else. 2. Using the compose key it can be input as <Compose>"o . This requires that you have the compose key set up correctly in your X11 config files. 3. Using dead keys, it can be input as "o . However, it appears that dead key support is broken in lyx running on several modern linux distros because they added the unofficial Qt-immodule patch which requires an additional patch to the lyx sources to work correctly. We're working on that. How LyX stores the � character in your .lyx file will depend on the locale code page that you use. For example, in the latin-1 encoding it will be stored as the character 0xf6 whilst it would be something entirely different in another encoding. I believe that the plan for LyX 1.5 is to change the file encoding of *all* files to UTF-8 meaning that a single LyX document written in Germany will be understandable on a machine in China or in India. In particular, � will be stored as the pair of characters 0xc3 0xb6. -- Angus
