LyXLyx problem with gentoo linux

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
h2sammo
Posts: 10
Joined: Fri Feb 12, 2010 4:52 pm

Lyx problem with gentoo linux

Post by h2sammo »

problem with TFM font not found
Error: Font LGR/cmr/bx/n/10=grxn1000 at 10.0pt not loadable: Metric (TFM) file not f

Description:
\section
{Experimental}
I wasn't able to read the size data for this font,
so I will ignore the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.]
You might try inserting a different font spec;
e.g., type `I\font<same font id>=<substitute font name>'.
how do i fix this?

EDIT: this problem only occurs when on files where content is pasted from somewhere else.
if i type a similar file by hand directly in lyx with the same setting (title paragraph, subsections, etc) that error does not pop up. i wonder if lyx keeps some fonts in the paste from the original source, even though it displays the text the same as it displays the text i hand type

EDIT: this is some reoccuring problem, see here: http://groups.google.com/group/linux.de ... read&pli=1

i am party of user as seen here:

Code: Select all

bobby@localhost ~ $ ls /var/cache/fonts/
pk  tfm
bobby@localhost ~ $ ls -al /var/cache/fonts/
total 16
drwxrwxrwt  4 root  root  4096 Feb 10 07:59 .
drwxr-xr-x 11 root  root  4096 Jan 11 04:02 ..
drwxrwxrwt  3 root  root  4096 Feb 10 07:59 pk
drwxrwxrwt  3 bobby bobby 4096 Feb  9 16:01 tfm
bobby@localhost ~ $ groups
wheel floppy audio cdrom video games usb users portage bobby plugdev vmware
but i dont think my root account is (both root and lyx account stumble upon that TFM font issue)

Code: Select all

localhost bobby # groups
root bin daemon sys adm disk wheel floppy dialout tape video

Also, unicode (utf8) wont compile
I am writing a scientific paper and i have tons of unicode symbols in the text. Lyx prompts me with an error to use utf8. But when i select it as a language from the Document Settings it will not compile, it gives errors saying
...unicode character \u8: not setup for use with LaTex...
i tried the utf8x but it asks me to compile latex-unicode package which is available in portage but it is blocked by latex-recommended which is pulled in as a dependency by Lyx.
XeteX (utf8) is the only encoding which compiles but it will not show me any symbols when it prints out. Only letters and numbers.

...help?

Recommended reading 2024:

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

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

meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Lyx problem with gentoo linux

Post by meho_r »

Well, for starters, can you provide more infos: which TeXLive version, LyX version, and, most important, a Minimum working example which contains some of problematic text/characters. Save a .lyx file and put it in a .zip archive then attach it in your next post.

And welcome to the forum :)
h2sammo
Posts: 10
Joined: Fri Feb 12, 2010 4:52 pm

Re: Lyx problem with gentoo linux

Post by h2sammo »

sorry for not getting back to this. I have fixed it by emerging texlive-latex recommended packages.

i am using gentoo linux
Post Reply