NetBSD-Docs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

How to use tex-babel-russian? (ruflyer.tex)



Hello to the entire netbsd-docs@ ML!
When (locally) regen-erating the entire htdocs, htdocs/gallery/ruflyer.tex
regen failed because it tried to write to /var/lib/texmf/fonts/tfm:

 | [...]
 | kpathsea: Running mktextfm larm1000
 | mkdir: ././var/lib/texmf/fonts/tfm: Permission denied
 | mktextfm: mktexdir /var/lib/texmf/fonts/tfm/lh/lh-t2a failed.
 | [...]

The following minimal TeX file is enough to reproduce the same problem:

    % cat br.tex
    \documentclass{article}
    \usepackage[russian]{babel}
    \begin{document}
    \end{document}

...and:

 |  % pdflatex br.tex
 |  This is pdfTeX, Version 3.14159265-2.6-1.40.19 (Web2C 2018) (preloaded format=pdflatex)
 |   restricted \write18 enabled.
 |  entering extended mode
 |  (./br.tex
 |  LaTeX2e <2018-04-01> patch level 3
 |  Babel <3.18> and hyphenation patterns for 7 language(s) loaded.
 |  (/usr/pkg/share/texmf-dist/tex/latex/base/article.cls
 |  Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
 |  (/usr/pkg/share/texmf-dist/tex/latex/base/size10.clo))
 |  (/usr/pkg/share/texmf-dist/tex/generic/babel/babel.sty
 |  (/usr/pkg/share/texmf-dist/tex/generic/babel/switch.def)
 |  (/usr/pkg/share/texmf-dist/tex/generic/babel-russian/russianb.ldf
 |  (/usr/pkg/share/texmf-dist/tex/generic/babel/babel.def
 |  (/usr/pkg/share/texmf-dist/tex/generic/babel/txtbabel.def))
 |  
 |  Package babel Warning: No Cyrillic font encoding has been loaded so far.
 |  (babel)                A font encoding should be declared before babel.
 |  (babel)                Default `T2A' encoding will be loaded  on input line 74.
 |  
 |  
 |  (/usr/pkg/share/texmf-dist/tex/latex/cyrillic/t2aenc.def
 |  (/usr/pkg/share/texmf-dist/tex/latex/base/t2aenc.dfu)))) (./br.aux)
 |  (/usr/pkg/share/texmf-dist/tex/latex/cyrillic/t2acmr.fd)
 |  kpathsea: Running mktextfm larm1000
 |  mkdir: ././var/lib/texmf/fonts/tfm: Permission denied
 |  mktextfm: mktexdir /var/lib/texmf/fonts/tfm/lh/lh-t2a failed.
 |  kpathsea: Appending font creation commands to missfont.log.
 |  
 |  ! Font T2A/cmr/m/n/10=larm1000 at 10.0pt not loadable: Metric (TFM) file not fo
 |  und.
 |  <to be read again>
 |                     relax
 |  l.3 \begin{document}
 |  
 |  ? ^D
 |  ! Emergency stop.
 |  <to be read again>
 |                     relax
 |  l.3 \begin{document}
 |  
 |  !  ==> Fatal error occurred, no output PDF file produced!

Unfortunately at the moment I have disabled the regen-eration of
ruflyer.tex[0] (the .tex and PDF is still there of course, but at
least with netbsd-doc-print we can't regen it and so the ruflyer*
targets were removed as dependencies to `all') but it would be
great if we can properly fix it.

If anyone has any idea how to fix that... please let me known!


Thank you!


[0]: <https://mail-index.NetBSD.org/www-changes/2018/07/19/msg012048.html>


Home | Main Index | Thread Index | Old Index