[tex-live] OT2 vs. T2A; compilation by apache user issues
ml at mariochiari.net
Tue Feb 25 18:35:44 CET 2014
Dear Robin, All,
I hope you all are not running out of patience with me, but
My .tex code is compiled fine now when I run latex+biber+pdflatex from
my shell (or from within Kile). Compilation fails (still as below)
when it is performed by my local Apache server.
I understand that files are created under /root/.texlive/... and that
maybe Apache can not access them. To copy/paste them under the main
texlive directory did not fix anything.
Is anybody knowledgeable on how to fix it? I would like to fix this,
before to upgrade myself to Unicode and Xe[La]TeX.
My sample php script is below.
$nomeFile = 'MyFile';
$texFile = $nomeFile.".tex";
$bibFile = $nomeFile.'.bcf';
$pdfFile = $nomeFile.".pdf";
$test2 = `/usr/local/texlive/2013/bin/i386-linux/latex --interaction
$test21 = `/usr/local/texlive/2013/bin/i386-linux/biber $bibFile`;
$test22 = `/usr/local/texlive/2013/bin/i386-linux/pdflatex
--interaction batchmode $texFile`;
echo "<br><a href=\"$texFile\">$texFile</a>";
echo "<br><a href=\"$pdfFile\">$pdfFile</a>";
On Mon, 2014-02-24 at 09:46 +0000, Robin Fairbairns wrote:
> apache is a red herring, here.
> the problem is trying to use lm fonts for encoding t2<anything>
> the lm fonts only support latin alphabets.
> > LaTeX Font Info: Try loading font information for T2A+lmr on input
> > line 2.
> > LaTeX Font Info: No file T2Almr.fd. on input line 2.
> > LaTeX Font Warning: Font shape `T2A/lmr/bx/n' undefined
> > (Font) using `T2A/cmr/m/n' instead on input line 2.
> as you see, there's no information for using cyrillic (t2a in this case)
> with latex.
> it's a bore. i don't actually know of a type 1 font family that does
> the lot. opentype fonts tend to do both latin and cyrillic from the
> same font file, but they require a different version of latex (xelatex
> for stability, or lualatex).
> i've heard of using latex on the web, but not xelatex.
> note that this is _not_ a tex live sort of question -- witness the fact
> that you've been asking so long and still don't have an answer.
> i shan't recommend anywhere else to ask, since last time i did, i was
> told (rather forcefully) that my suggestion was unsatisfactory. (it's a
> mug's game, answering questions on mailing lists...)
> robin fairbairns.
More information about the tex-live