~alpine/devel

1

[alpine-devel] texlive not working

Details
Message ID
<CAJDAfTDDyzfprPBUoaKDCk4Wg0KuZWKQbuKA0s9rM8oqqnV8ag@mail.gmail.com>
Sender timestamp
1453159912
DKIM signature
missing
Download raw message
I have 2 problems with texlive.

First, xelatex is missing.
Second, pdflates doesn't compile files. Here I show the error.

alba:~$ pdflatex example.tex
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015/Alpine
Linux) (preloaded format=pdflatex)
 restricted \write18 enabled.

kpathsea: Running mktexfmt pdflatex.fmt
Can't locate mktexlsr.pl in @INC (@INC contains: /usr/share/tlpkg
/usr/share/texmf-dist/scripts/texlive /usr/local/lib/perl5/site_perl
/usr/local/share/perl5/site_perl /usr/lib/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl
/usr/share/perl5/core_perl .) at /usr/bin/mktexfmt line 24.
BEGIN failed--compilation aborted at /usr/bin/mktexfmt line 26.
I can't find the format file `pdflatex.fmt'!


Ciao.


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Isaac Dunham <ibid.ag@gmail.com>
Details
Message ID
<20160119055943.GC11549@newbook>
In-Reply-To
<CAJDAfTDDyzfprPBUoaKDCk4Wg0KuZWKQbuKA0s9rM8oqqnV8ag@mail.gmail.com> (view parent)
Sender timestamp
1453183184
DKIM signature
missing
Download raw message
On Mon, Jan 18, 2016 at 09:31:52PM -0200, Alba Pompeo wrote:
> I have 2 problems with texlive.
> 
> First, xelatex is missing.
Currently living in texlive-xetex; that can change if desired.

> Second, pdflates doesn't compile files. Here I show the error.
> 
> alba:~$ pdflatex example.tex
> This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015/Alpine
> Linux) (preloaded format=pdflatex)
>  restricted \write18 enabled.
> 
> kpathsea: Running mktexfmt pdflatex.fmt
> Can't locate mktexlsr.pl in @INC (@INC contains: /usr/share/tlpkg
> /usr/share/texmf-dist/scripts/texlive /usr/local/lib/perl5/site_perl
> /usr/local/share/perl5/site_perl /usr/lib/perl5/vendor_perl
> /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl
> /usr/share/perl5/core_perl .) at /usr/bin/mktexfmt line 24.
> BEGIN failed--compilation aborted at /usr/bin/mktexfmt line 26.
> I can't find the format file `pdflatex.fmt'!
> 
I *think* it may be possible to circumvent this by running mktexlsr
manually, but there will be more issues.
For LaTeX, you need fonts and packages; there are theoretically two ways
(or more) to get the packages:
* download the texmf tarball:
 ftp://ftp.tug.org/historic/systems/texlive/2015/texlive-20150523-texmf.tar.xz
 untar it, then
 mv */texmf-dist /usr/share/
 apk fix texlive

Be aware that this is a ~1.6 gigabyte tarball and uses ~ 4 gigs extracted.

* run tlmgr: this is the TeX package manager.
I've tried to get this running, but it dies; curently the error is:
$ tlmgr
Can't locate TeXLive/TLPDB.pm in @INC (you may need to install the TeXLive::TLPDB module) (@INC contains: /usr/share/texmf-dist/scripts/texlive /usr/share/tlpkg /usr/local/lib/perl5/site_perl /usr/local/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at /usr/bin/tlmgr line 93.
BEGIN failed--compilation aborted at /usr/bin/tlmgr line 93.

Poking at it, I see that someone with more knowledge of Perl than I
would need to look at it.

HTH,
Isaac Dunham


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)