Re: install otf font using otfinst.py

2010-04-19 Thread Paul A. Rubin

On 4/19/2010 8:37 AM, jelle feringa wrote:


Aha! That offers some insight!
Same thing happes no matter whether I export latex(plain) || latex(pdflatex).

brutus:Desktop jelleferinga$ pdflatex newfile1.tex
This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7)
  %&-line parsing enabled.

kpathsea: Running mktexfmt pdflatex.fmt
I can't find the format file `pdflatex.fmt'!



See if you have a utility called fmtutil installed.  If not, you might 
want to google it and see if you can install it.  The man page indicates 
it should be suitable for fixing missing formats.


Also, you might try running plain latex, rather than pdflatex, against 
your test document. If it compiles, then the font file is not the problem.


/Paul



Re: install otf font using otfinst.py

2010-04-19 Thread jelle feringa
I did forget to mention:

brutus:Desktop jelleferinga$ kpsewhich storno.sty
/Users/jelleferinga/Library/texmf/tex/latex/localfonts/storno.sty

-jelle



Re: install otf font using otfinst.py

2010-04-19 Thread jelle feringa
Hi Paul,

Aha! That offers some insight!
Same thing happes no matter whether I export latex(plain) || latex(pdflatex).

brutus:Desktop jelleferinga$ pdflatex newfile1.tex 
This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7)
 %&-line parsing enabled.

kpathsea: Running mktexfmt pdflatex.fmt
I can't find the format file `pdflatex.fmt'!

Thanks

-jelle



Re: install otf font using otfinst.py

2010-04-19 Thread Paul A. Rubin

On 4/19/2010 3:08 AM, jelle feringa wrote:


storno is found:
brutus:evolve_buildable jelleferinga$ kpsewhich storno.sty
/Users/jelleferinga/Library/texmf/tex/latex/localfonts/storno.sty

however, after including \userpackage{storno }
lyx is still not finding storno.sty.
any ideas what I still might try?



It's not LyX that is looking for the package, it is LaTeX.  Try 
exporting your document to LaTeX (File > Export > LaTeX (plain)) and 
then run latex against it in a terminal.  Do you see the same error message?


/Paul



Re: install otf font using otfinst.py

2010-04-19 Thread jelle feringa
Hi Paul,

Thanks for your help.

storno is found:
brutus:evolve_buildable jelleferinga$ kpsewhich storno.sty
/Users/jelleferinga/Library/texmf/tex/latex/localfonts/storno.sty

however, after including \userpackage{storno }
lyx is still not finding storno.sty.
any ideas what I still might try?

thanks!

-jelle






Re: install otf font using otfinst.py

2010-04-18 Thread Paul A. Rubin

On 4/18/2010 7:44 AM, jelle feringa wrote:

Hi,

I'm interested in adding a few otf fonts;
Following http://web.willbenton.com/writing/2008/better-latex, I'm trying to do 
so
  with the otfinst.py script. After setting:

export TEXMFMAIN='/usr/local/texlive/2008/texmf'
export TEXMFLOCAL='~/Library/texmf'
export TEXMF={"$TEXMFLOCAL":"$TEXMFMAIN"}

updmap spots that new files have been added.
After I press reconfigure in Lyx, and add \usepackage{storno} in the preamble,
  I still do get: LaTeX Error: File `storno.sty' not found.

Any ideas?

Thanks,

-jelle



First verify that storno.sty was created by the script.  If so, try 
running texhash, then (in a terminal) 'kpsewhich storno.sty' to verify 
that the file is visible to LaTeX.


/Paul