LyXProblem with acronyms

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
fif
Posts: 7
Joined: Thu Dec 17, 2009 3:11 pm

Problem with acronyms

Post by fif »

Hi all,
whenever I add more than about 10 acronyms to my acronym list in a lyx
document, I can't compile the .pdf anymore. The program doesn't produce
an error but the pdf button isn't responsive anymore.

would appreciate any help!
thanks

commands used:

\usepackage{acronym} %in the document's latex preamble
\begin{acronym}[UML]
\acro{xxx}{does not work}
.
.
.
\end{acronym}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX books
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Problem with acronyms

Post by meho_r »

Please, provide a full MWE, in this case a .lyx file with some dummy text and acronyms, so people can test it. Also, specify your operating system, TeX installation and LyX version you're using.
fif
Posts: 7
Joined: Thu Dec 17, 2009 3:11 pm

Re: Problem with acronyms

Post by fif »

hi meho_r

Mac OS X 10.6.3
Lyx version: 1.6.5
Tex distribution: TexLive-2009
and an attached file

hope that helps.
Attachments
acronyms.lyx.zip
(1.2 KiB) Downloaded 283 times
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Problem with acronyms

Post by meho_r »

Seems as an encoding problem. Go to Document > Settings... > Language, then set the encoding to utf8.

Note: Check the apostrophe after 3,3 in:

Code: Select all

\acro{DiO}{3,3′-dioctadecyloxacarbocyanine perchlorate}
since it is not recognized as a valid character and causes an error.
fif
Posts: 7
Joined: Thu Dec 17, 2009 3:11 pm

Re: Problem with acronyms

Post by fif »

thanks meho_r!
is there any way that I can work around this issue to
have primes (') and greek letters in my acronym list?
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Problem with acronyms

Post by meho_r »

Sure, just type them as text formulas, i.e., enclose them by $$:

Code: Select all

$'$ and $\gamma$
fif
Posts: 7
Joined: Thu Dec 17, 2009 3:11 pm

Re: Problem with acronyms

Post by fif »

thanks meho_r, helped me a lot!
Post Reply