slavonic / cu-tex

Church Slavonic support for TeX and derivatives
MIT License
4 stars 2 forks source link

created structure for churchslavonic style and package #38

Closed pgmmpk closed 8 years ago

pgmmpk commented 8 years ago

idea is:

  1. Keep code in cu-num.sty, cu-util.sty, cu-kinovar.sty, cu-calendar.sty. These are internal packages to simplify development and testing
  2. User-visible churchslavonic.sty (and gloss-churchslavonic.sty) will just pull the internal packages in
  3. Get rid of cu-num/, cu-calendar/ and cu-kinovar/ sub-directories (subdirs make is harder to develop because of how TeX searches for files - it is easier to have all sources in current dir)
  4. Documentation is in churchslavonic.tex (User Guide). Look inside to see how I am trying to create a bilingual doc
  5. All automated tests are in tests/ subdir (not included in CTAN package)
  6. Root Makefile can do "docs", "package", "test", and "clean"
typiconman commented 8 years ago

I get a problem with make: make: *\ [churchslavonic-en.pdf] Error 1 Log file has this:

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! fontspec error: "font-not-found" ! ! The font "PonomarUnicode.otf" cannot be found. ! ! See the fontspec documentation for further information. ! ! For immediate help type H <return>. !...............................................

I think the problem is with defining the font as PonomarUnicode.otf. Where is it looking for the font file? Do we need to include the font file explicitly in the directory?

pgmmpk commented 8 years ago

PonomarUnicode.otf is being looked up in the TeX installation tree. I've got it in

/usr/local/texlive/2015basic/texmf-dist/fonts/opentype/public/churchslavonic/ponomar/

We can not use logical names like "Ponomar Unicode", because these are looked up in the list of fonts installed system-wide (on the OS level). TexLive package manager does not (afaik) has a capability to install fonts. It only downloads and copies them somewhere under textmf-dist/fonts...

Try copying font binaries to the proper place, and then re-hash tex lookup tables by running:

mktexlsr
typiconman commented 8 years ago

OK, I can confirm that it works after I installed the font in the TeX tree. Merging.