LyXIssues with combining diacriticals

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
analbumcover
Posts: 5
Joined: Mon Sep 28, 2009 11:51 am

Issues with combining diacriticals

Post by analbumcover »

Hey folks,

I searched around on this board, Google and the tipamanual, but I can't find anyone who's having the same problem as me, let alone a solution. My problem is with one particular character not taking a diacritic properly, the barred i, "ɨ". I can input this character alone without issue, but replacing the dot with an accent has proven impossible. Both in Lyx's quick preview and rendering into .dvi and .pdf, the accent appears clear above the dot. I have tried both input methods described in the tipamanual; via the selector in the menu and the inline equation editor. Copy and paste from another source looks fine in Lyx, but doesn't render properly.

What does work: the placement of accents on all other characters, adding accents to lower case i via OS X's native input method and using the character selector in OpenOffice 3.1.

I'm having this problem in both Snow Leopard (10.6.1) and Ubuntu 9.04, Lyx version 1.6.3 in both cases. I will be trying in Windows 7 in a few hours.

Any help in the matter would be greatly appreciated. I've been looking through Google for a few days, but am now at a total loss as to what to do or where to look.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Issues with combining diacriticals

Post by gmedina »

Hi,

I don't use LyX, but using the \ipabar command (as described in Section "4.1.1 \ipabar" of the tipa package documentation), you could achieve the desired result; in the following example, the \myacci command will produce a barred í:

Code: Select all

\documentclass{article}
\usepackage{tipa}

\newcommand\myacci{\ipabar{\'i}{.55ex}{1.1}{}{}}

\begin{document}

  \myacci

\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
analbumcover
Posts: 5
Joined: Mon Sep 28, 2009 11:51 am

Issues with combining diacriticals

Post by analbumcover »

I appreciate the inpu, but producing the barred i isn't the problem. I need to get an accent on it that replaces the dot. The following methods

Code: Select all

     
      \`{textbari}
      \`1
      Insert -> Special Characters -> IPA Extensions & Combining Diacriticals
work to varying degrees depending on the operating system I'm using, but always produce the same output when rendered; the accent floats above the barred i.

I think I have not set something right, like an option or line of code. Again, here it is in Lyx:

Image

And then here's the output:

Image

Drives me crazy!
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Re: Issues with combining diacriticals

Post by gmedina »

As I said before, I know very little about LyX, but the command that I defined in my previous response produces exactly the character that you need.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
analbumcover
Posts: 5
Joined: Mon Sep 28, 2009 11:51 am

Re: Issues with combining diacriticals

Post by analbumcover »

So it does. I would know that if I had actually read your post. Thank you very much.
analbumcover
Posts: 5
Joined: Mon Sep 28, 2009 11:51 am

Issues with combining diacriticals

Post by analbumcover »

gmedina wrote:Hi,

I don't use LyX, but using the \ipabar command (as described in Section "4.1.1 \ipabar" of the tipa package documentation), you could achieve the desired result; in the following example, the \myacci command will produce a barred í:

Code: Select all

\documentclass{article}
\usepackage{tipa}

\newcommand\myacci{\ipabar{\'i}{.55ex}{1.1}{}{}}

\begin{document}

  \myacci

\end{document}
So, this works for me if I make a new .tex file and import it into Lyx. However, exporting the file I was working on as a .tex file, editing it and then reimporting just screwed up the formatting. I'll be retyping that paper, it seems. Also, defining the command in the Lyx preamble just gives me the same end result as before, a barred i with an accent floating above the dot. No matter how I define the character, the output is always screwed up in Lyx. I am once again at a total loss. I really like Lyx, and would rather not have to learn LaTeX just for some barred character I may never use again.

So, is it possible I'm doing something very wrong? Is there some font setting I should look for? Perhaps this is a bug in Lyx and I should just abandon it for straight LaTeX?
Post Reply