On 2014-10-17 14:43-0000 phil rosenberg wrote:

> Hi AllI am just updating the documentation for the new map routines.
I thought while I was doing so I would see if I could get docbook
building working on my Cygwin install. I seem to have gotten all the
required packages installed and CMake will generate the docbook
target, however, when I try to build I get a series of what seem to be
font related errors regarding FreeSans, FreeSerif and FreeMono. I
Installed texlive-collection-fontsextra package which includes all
those fonts, but I'm still getting the same error messages. If anyone
on this list is more familiar than me with the docbook build chain
then any advice would be welcome. The errors I am getting are below -
sorry they are so long, but I wasn't sure what was important.

Hi Phil:

I suspect there is some packaging issue for these fonts on
Cygwin.  Here is the situation for these fonts on Debian:

irwin@raven> apt-file search FreeSans.otf
fonts-freefont-otf: /usr/share/fonts/opentype/freefont/FreeSans.otf
texlive-fonts-extra:
/usr/share/texlive/texmf-dist/fonts/opentype/public/gnu-freefont/FreeSans.otf

irwin@raven> ls -l /usr/share/fonts/opentype/freefont/FreeSans.otf
-rw-r--r-- 1 root root 856800 May 21  2012 
/usr/share/fonts/opentype/freefont/FreeSans.otf

irwin@raven> ls -l 
/usr/share/texlive/texmf-dist/fonts/opentype/public/gnu-freefont/FreeSans.otf
lrwxrwxrwx 1 root root 54 Jul 29  2012 
/usr/share/texlive/texmf-dist/fonts/opentype/public/gnu-freefont/FreeSans.otf 
-> ../../../../../../fonts/opentype/freefont/FreeSans.otf

In other words, the tex version of the font file is simply a symlink to the file
packaged in a different non-tex font package (fonts-freefont-otf).

If that is the situation there, you might have dangling symlinks,
i.e. the non-tex package actually containing the file is not installed
yet.  That required non-tex package is installed automatically by
Debian because texlive-fonts-extra depends on fonts-freefont-otf, but
it is possible the Cygwin packagers of texlive-collection-fontsextra
forgot that package dependency so you will have to find that non-tex
font package for yourself and install it.

Another possible packaging issue is that tex needs Tex file-finding
indices to be updated whenever files are added (even if just a symlink
to the true location of the file).  That should all be done
automatically when you install the Cygwin
texlive-collection-fontsextra package, but it is possible (although
unlikely) that essential step was forgotten by the packager, and you
would have to update that Tex index yourself.  (Such a command exists
but I have forgotten its name since such index update issues were
straightened out for Debian packaging more than 10 years ago.)

If non of the above works for you, or you don't have time to dig
deeper into these possible tex packaging issues on Cygwin, then
another possibility is to (locally) change to more mundane tex
fonts (hopefully properly installed on Cygwin) by modifying
doc/docbook/src/dblatex_stylesheet.xsl.  See also remarks in
doc/docbook/README.developers concerning this critical choice of
fonts.

It would be great if you could figure out a way to get the
documentation built on Cygwin, but that has never been tried before so
you even if you work around the above font issues, you might run into
other showstoppers.  So the alternative does exist to give up on the
build and simply validate your results (using make validate) before
committing them.  Validation requires that you have onsgmls installed,
but it appears from <https://cygwin.com/packages/> that is available
to you.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to