Priest of the Order of the Butterfly
Posts: 570 from 2007/7/29
Thank you guys for your repsonses.
"Of course you should rather try
Code:
tex -fmt latex sheet01.tex"
Why "of course"? Is it written somewhere? I have not found it so far.
So I do it:
Code:
Ram Disk:> tex -fmt latex sheet01.tex
This is TeXk, Version 3.1415926 (TeX Live 2012)
restricted write18 enabled.
kpathsea: Running mktexfmt latex.fmt
Executing: mktexfmt latex.fmt
fmtutil: running `pdftex -ini -jobname=latex -progname=latex
-translate-file=cp227.tcx *latex.ini' ...
fatal: memory exhausted (xmalloc of 24000008 bytes).
fatal: memory exhausted (xmalloc of 24000008 bytes).
Error: `pdftex -ini -jobname=latex -progname=latex
-translate-file=cp227.tcx *latex.ini' failed
###############################################################################
fmtutil: Error! Not all formats have been built successfully.
Visit the log files in directory
/tex/texmf-var/web2c
for details.
###############################################################################
This is a summary of all `failed' messages:
`pdftex -ini -jobname=latex -progname=latex -translate-file=cp227.tcx
*latex.ini' failed
rm: cannot remove '/tmp/fmtutil.802861104': File exists
I can't find the format file `latex.fmt'!
Ram Disk:>
I do not know why these fatal: memory exhausted messages come. There are more than 200MB (two hundred) free and he just asks for 20MB (twenty).
"Visit the log files in directory
/tex/texmf-var/web2c
for details."
there are two directories. only in "tex" directory there is a file "tex.log". It looks like this:
Code:
This is TeX, Version 3.1415926 (TeX Live 2012) (INITEX) 27 OCT 2014 09:09
**tex.ini
(/tex/texmf-dist/tex/plain/config/tex.ini
(/tex/texmf-dist/tex/plain/base/plain.tex Preloading the plain format:
codes,
registers,
maxdimen=dimen10
hideskip=skip10
centering=skip11
p@=dimen11
z@=dimen12
z@skip=skip12
voidb@x=box10
parameters,
smallskipamount=skip13
medskipamount=skip14
bigskipamount=skip15
normalbaselineskip=skip16
normallineskip=skip17
normallineskiplimit=dimen13
jot=dimen14
interdisplaylinepenalty=count23
interfootnotelinepenalty=count24
fonts, more fonts,
itfam=fam4
slfam=fam5
bffam=fam6
ttfam=fam7
macros,
strutbox=box11
mscount=count25
tabs=box12
tabsyet=box13
tabsdone=box14
math definitions,
rootbox=box15
p@renwd=dimen15
output routines,
headline=toks10
footline=toks11
footins=insert254
topins=insert253
hyphenation (/tex/texmf/tex/generic/hyphen/hyphen.tex)) )
Beginning to dump on file tex.fmt
(format=tex 2014.10.27)
2027 strings of total length 29136
4990 memory locations dumped; current usage is 110&4877
926 multiletter control sequences
fontnullfont=nullfont
fonttenrm=cmr10
fontpreloaded=cmr9
fontpreloaded=cmr8
fontsevenrm=cmr7
fontpreloaded=cmr6
fontfiverm=cmr5
fontteni=cmmi10
fontpreloaded=cmmi9
fontpreloaded=cmmi8
fontseveni=cmmi7
fontpreloaded=cmmi6
fontfivei=cmmi5
fonttensy=cmsy10
fontpreloaded=cmsy9
fontpreloaded=cmsy8
fontsevensy=cmsy7
fontpreloaded=cmsy6
fontfivesy=cmsy5
fonttenex=cmex10
fontpreloaded=cmss10
fontpreloaded=cmssq8
fontpreloaded=cmssi10
fontpreloaded=cmssqi8
fonttenbf=cmbx10
fontpreloaded=cmbx9
fontpreloaded=cmbx8
fontsevenbf=cmbx7
fontpreloaded=cmbx6
fontfivebf=cmbx5
fonttentt=cmtt10
fontpreloaded=cmtt9
fontpreloaded=cmtt8
fontpreloaded=cmsltt10
fonttensl=cmsl10
fontpreloaded=cmsl9
fontpreloaded=cmsl8
fonttenit=cmti10
fontpreloaded=cmti9
fontpreloaded=cmti8
fontpreloaded=cmti7
fontpreloaded=cmu10
fontpreloaded=cmmib10
fontpreloaded=cmbsy10
fontpreloaded=cmcsc10
fontpreloaded=cmssbx10
fontpreloaded=cmdunh10
fontpreloaded=cmr7 at 14.51799pt
fontpreloaded=cmtt10 at 14.4pt
fontpreloaded=cmssbx10 at 14.4pt
fontpreloaded=manfnt
14787 words of font info for 50 preloaded fonts
14 hyphenation exceptions
Hyphenation trie of length 6075 has 181 ops out of 35111
181 for language 0
No pages of output.
Then you say:
"Well, this is not smart
Code:
>type latex2man
/DH0/TeXLive/bin/../texmf-dist/scripts/latex2man/latex2man"
I don't understand this. Can yopu please explain what do you mean? What shall I do? If I enter "type latex2man" from Shell it is not found somewhere (of course after setting the inital assigns from the script).
"How about using an assign?
Code:
/TeX/bin/../texmf-dist/scripts/latex2man/latex2man"
An assign to this file? How do you mean it? Yes, I can show this file in an editor. It is a perl script it says. But I cannot execute it. What should I do with it?
net_buster, you say:
"You don't need to run texconfig, at least I've never used it. The "Startup
TeX" script is all you need. However, note that it's contents has been
updated so you need to replace the one from the original archive. The
updated version has been provided on the forum, in the original thread
(post number 19).
When all assigns are correct, you just type
Code:
pdftex --progname=pdflatex sheet01.tex"
As I can see it is _not_ all that I need because it does not run. I compared the script from post #19 with mine and it is exactly the same. I managed to download the torrent from another machine and copied the bz2 archive and unpacked it on my MOS machine. So the Startup TEX script has already been same as the one in #19. I guess it was already included in the torrent archive because the torrent was announced after post #19.
Code:
Ram Disk:> pdftex --progname=pdflatex sheet01.tex
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012)
restricted write18 enabled.
fatal: memory exhausted (xmalloc of 24000008 bytes).
Ram Disk:>
It fails again although there are several hundred MB of free RAM.
BTW: which editor do you use to write tex files? Scribble says it has support for TeX but when I select it the code is no coloured.
polluks, can you explain what the difference is in the changed TeX Startup? I only see some differences with the PATH. What does it do? The rest looks the same.