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

Bug#748271: [latex-cjk-common] latex command did not work until I ran it once under superuser!?



Hi,

Please leave the bug report in Cc.

> TEXTDOMAIN=im-config
> TEXTDOMAINDIR=/usr/share/locale/

Fine.

Can you please send me the output of
	tlmgr conf
and
	kpsewhich -all texmf.cnf
and
	dpkg -l texlive-lang-cjk
and
	ls /var/lib/texmf/web2c/ptex/

>   432  aptitude install ptex-bin
> 
> (432 is from the prefix column of history command)

That does not help, one needs to see whether installation succeeded.


You can try *AS*ROOT*
	fmtutil-sys --all 2>&1 | tee fmtutil-all.log
And send me 
	fmtutil-all.log

> This is pTeX, Version 3.1415926-p3.4 (utf8.euc) (TeX Live 2013/Debian)
>  restricted \write18 enabled.
> **quit
> ! I can't find file `quit'.

Aehm, do you know how to write TeX ? ...

> My tcfmgr.map is here:
> /usr/share/texlive/texmf-dist/texconfig/tcfmgr.map

I know where it is.

> ptex still produced ptex.fmt file not found!? (Now I noticed this problem
> even occurred under superuser back then [see below]!?)
> I now understand that ptex.fmt is created by running mktexfmt.

It should be automatically generated when texlive-lang-cjk
was installed. 

That is the reason why I said we need to know whether it is
properly installed

> # xetex
> This is XeTeX, Version 3.1415926-2.5-0.9999.3 (TeX Live 2013/Debian)
>  restricted \write18 enabled.
> **quit

As said, your systems is severaly messed up.

Please *READ* my email and send me the requested output of the commands.

>   472  aptitude install jtex-base
>   473  aptitude install ptex-base

Both of them are not necessary, only
	texlive-lang-cjk

> It could not locate a class file under its own current directory?!:

> First, a cls file was not found, which I corrected by downloading it
> and placed it in the current directory.

> ! LaTeX Error: File `acm_proc_article-sp.cls' not found.

This file is not shipped in TeX Live. 

> Is it a debian-supplied file?

No.

> downloaded it and stored it under current directory where these
> commands ought to find them.
> But they did NOT for whatever the reason.

And that is *WHERE*?

> username@vm-debian-amd64:/home/username/Dropbox/CONFERENCE-DIR$ ls
> ./             ci-vio.txt          sigproc-sp-copy.log
> ../             ci-vio.txt~          sigproc-sp-copy.pdf
> Makefile         sig-alternate.cls    sigproc-sp-copy.tex
> Makefile~         sigproc-sp copy.pdf  texput.log
> acm_proc_article-sp.cls  sigproc-sp copy.tex

If it is in the same directory you are running latex (or platex)
then it is found.

UNLESS you have overridden some TEX* settings.

See the following on a standard TeX installation on DebianL:
[~] mkdir foo
[~] cd foo
[~/foo] ls
[~/foo] touch acm_proc_article-sp.cls
[~/foo] kpsewhich acm_proc_article-sp.cls 
./acm_proc_article-sp.cls
[~/foo]

So it *does* work, unless you changed something.


> PPS: The search by environment variable.
> Does the searched and disovered file ends up in a system-wide cache (shared
> among users) ?

No.

I repeat from the beginning: Please send the output of:
	tlmgr conf
and
	kpsewhich -all texmf.cnf
and
	dpkg -l texlive-lang-cjk
and
	ls /var/lib/texmf/web2c/ptex/


Norbert

------------------------------------------------------------------------
PREINING, Norbert                               http://www.preining.info
JAIST, Japan                                 TeX Live & Debian Developer
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13
------------------------------------------------------------------------


Reply to: