Am 16.04.2014 16:32, schrieb stefano franchi:
Hi Wolfgang,
I'm appending below the lyx file and pdf file that came out of it. I
installed texgyre bonum, BTW, and the pdf file seems correct.
More comments:
I did, what you suggested, except, that I took the fonts from my
texlive/2013/archive.
I unpacked them in /usr/share/fonts/myfonts
by
unxz libertine.tar.xz
which gives libertine.tar
tar xvf libertine.tar
gives the unpacked pack
Did you move the fonts to a system-wide directory (e.g. /usr/share/fonts)?
Did as root fc-cache,
did additionally as root and as user texhash.
That should not be bnecessary but it does no harm
Started from terminal lyx
which gave
we@Wolfgang:~$ Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line
14: reading configurations from ~/.fonts.conf is deprecated.
Don't know whether this can be neglected.
It should be harmless
In my lilypond lyx file I checked 'use Non Tex fonts'
I now find (good!) in the drop down selection of fonts Libertine,
but listed as Linux Libertine
and quite a number of them:
Linux Libertine Display O
Linux Libertine Display T
Linux Libertine Initials O
Linux Libertine Initials T
Linux Libertine Mon O
Linux Libertine Mon O (yes, twice!)
Linux Libertine O
Linux Libertine T
Linux Libertine O is what you want.
I have chosen Linux Libertine O (what are the differences?)
and get after pdflatex outputting my file this:
! Package fontenc Error: Encoding file `eu2enc.def' not found.
(fontenc) You might have misspelt the name of the encoding.
See the fontenc package documentation for explanation.
Type H <return> for immediate help. ...
l.99 \ProcessOptions*
Necessary code for this encoding was not loaded.
Thus calling the encoding later on will produce further error messages.
! LaTeX Error: Encoding scheme `EU2' unknown.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help. ...
l.100 \fontencoding\encodingdefault
\selectfont
Your command was ignored.
Type I <command> <return> to replace it with another command,
or <return> to continue without it.
)
! LaTeX Error: File `xunicode.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
Enter file name:
! Emergency stop.
<read *>
It seems to me you are not use the utf8 encoding (which you should, with
Xetex). Try compiling the file I sent you and let me know what happens.
Cheers,
Thanks, Stefano
I tried the file you sent and it shows the same error I had reported.
Were is utf8 encoding set in LyX? Could not find it in the diverse help files;
in the User's Guide it says, Lyx is always UTF8 encoded.
Wolfgang