William Seager wrote:
On January 30, 2008 19:52:54 Paul A. Rubin wrote:
How to install the phonetic package depends to some extent on what LaTeX
distribution you're using (you didn't specify).
How to use it in LyX is straightforward: \usepackage{phonetic} in the
preamble and \textit{\riota} in a math inset or in ERT in the text body.
I put the .mf files in ~/texmf/fonts/source/public/
I put the phonetic.sty and phonetic-table.tex in ~/texmf/tex/
I take it you're running some flavor of Linux? Did you run texhash
after you installed phonetic.sty? If you run 'kpsewhich phonetic.sty'
from a terminal, is it found?
documents don't complain about the \usepackage{phonetic}
but I get an "undefined control sequence" error if I try to
render the riota
(more specifically, the error is:
\textit{\riota}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
Also, I get an error if I try to reconfigure lyx (this happens
independently of the presence of the phonetic package)
which might be relevant. The error message is:
The system reconfiguration has failed.
Default textclass is used but LyX may not be able to work properly.
Please reconfigure again if needed.
So ... I'm pretty messed up here ...
FWIW, you should not need to reconfigure in order to get the phonetic
style to work -- you only need to reconfigure when you add a new
document class.
That said, your installation is indeed somewhat munged. What does Help
-> About LyX have for your user directory (i.e., home)? One possibility
might be LyX somehow trying to put your per-user configuration in a
place where it doesn't have write access. Other than that, my best
suggestion would be to open a terminal in your home directory (the
parent of the LyX user directory, probably ~), and from there run the
configure.py script (you'll need to locate it in the LyX installation --
I forget where it is, and I'm on a Windoze box right now). Watch the
output for any errors.
/Paul