Re: tetex FC6

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

 



Ian Malone a écrit :
> François Patte wrote:
>> Bonjour,
>>
>> as a TeX user I very puzzled using TeX/LaTeX under FC6:
>>
>> 1- man is not up to date: it refers to initex (and some other init
>> scripts for TeX which no longer exist...)
>>
> 
> "If they exist, then both initex and virtex are symbolic
> links to the tex executable."

Nope!

> 
>> 2- as it took almost 10 seconds before latex begun to compile a file, I
>> used strace to see why.... and I discovered that latex was reading all
>> directories in my home dir to find the file it needed to compile my
>> (small) test file!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
>>
> 
> I can't reproduce this (and my home directory is quite cluttered),
> A file that demonstrates this problem would be useful.
> 

Here it is:

\documentclass{article}

\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}

\usepackage[french]{babel}

\begin{document}

Hello world

\end{document}

I used "script", then "strace latex test.tex"

Here is some extracts for the result file:

<----------------------------------------->
stat("/home/patte/.texmf-config", {st_mode=S_IFREG|0600, st_size=0,
...}) = 0
getdents(3, /* 126 entries */, 4096)    = 4072
stat("/home/patte/boutique.ps", {st_mode=S_IFREG|0600, st_size=162896,
...}) = 0
stat("/home/patte/enregistrements", {st_mode=S_IFDIR|0700, st_size=4096,
...}) = 0
stat("/home/patte/enregistrements/.texmf-config", 0x7fff576fffb0) = -1
ENOENT (No such file or directory)
open("/home/patte/enregistrements/", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 4
fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
stat("/home/patte/enregistrements/.texmf-config", 0x7fff576fff40) = -1
ENOENT (No such file or directory)
getdents(4, /* 3 entries */, 4096)      = 80
stat("/home/patte/enregistrements/venugopalan", {st_mode=S_IFDIR|0700,
st_size=4096, ...}) = 0
stat("/home/patte/enregistrements/venugopalan/.texmf-config",
0x7fff576fff40) = -1 ENOENT (No such file or direct
ory)

.....................................................

stat("/home/patte/aat/edition_critique/translitteration/modifications",
{st_mode=S_IFDIR|0700, st_size=4096, ...}
) = 0
stat("/home/patte/aat/edition_critique/translitteration/modifications/.texmf-config",
0x7fff576ffe60) = -1 ENOENT
 (No such file or directory)
stat("/home/patte/aat/edition_critique/translitteration/notation",
{st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
stat("/home/patte/aat/edition_critique/translitteration/notation/.texmf-config",
0x7fff576ffe60) = -1 ENOENT (No
such file or directory)
stat("/home/patte/aat/edition_critique/translitteration/table",
{st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
stat("/home/patte/aat/edition_critique/translitteration/table/.texmf-config",
0x7fff576ffe60) = -1 ENOENT (No suc
h file or directory)
stat("/home/patte/aat/edition_critique/translitteration/text_trans.css",
{st_mode=S_IFREG|0600, st_size=891, ...}
) = 0
stat("/home/patte/aat/edition_critique/translitteration/paragraph",
{st_mode=S_IFDIR|0700, st_size=4096, ...}) =
0
stat("/home/patte/aat/edition_critique/translitteration/paragraph/.texmf-config",
0x7fff576ffe60) = -1 ENOENT (No
 such file or directory)
getdents(6, /* 0 entries */, 4096)      = 0
close(6)                                = 0
......................................

<------------------------------------------------------------------------>


result file as 186898 lines and  14675968 Kb. I can send it anyone who
claim it.

It seems that latex is looking for .texmf-config

>> It is more and more like M$ which search a file in all possible
>> directories instead of reading an uptodate database.
>>
> 
> You refer to M$ in your other email as well.  I'm not sure why.

Because, from times to times I upgrade my linux boxes and I waste a lot
of time to recover a "simple" configuration. Things are more and more
hidden and, if you read this forum regularly or "comp.os.linux.setup" or
"fr.comp.os.linux.configuration" and some other ones, you could see that
people are more and more asking questions about "where is this
written?", "where is this installed?".....

A few days ago, on this very forum, someone had some gnome configuration
problems and the answer was: "delete all directories .gconf, .gconfd and
so on.... So this guy will have to rebuild all what he has done because
nobody knows where something unpleasant was written by mistake.....

This is the M$ policy: you cannot know where things are installed, you
cannot access to configation files and easily change what you don't like.


Do you want one more example: when you install FC6, if a printer is
plugged, it is automatically configured with the name of the printer "hp
laserjet 2045"..... Well, I used to configure my printers with a
specific name, easy to remember for users. Now, up to the time I will
find how to change the printer config, people have to send their jobs to
"hp...." or "epson...." instead of "bw" or "color". Lot of time wasted
under the fallacious pretext to make things easier.

Sorry for the long message.

>>
> 
> I've never used Babel, but from the line in the line in the man
> page (which you refer to):
> "When called as initex (or when the -ini option is given) it can be
> used to precompile macros into a .fmt file."

You have to use "fmtutils-sys" in the directory where TeX keeps its
format files.... And it is not very clear if people can make their own
formats without asking the system administrator.... It used to be so,
when the "multi-users philosophy" was still prevailing!

I know that tetex is no longer maintained but why some things had been
modified without a clear documentation?

Regards.
-- 
François Patte
UFR de mathématiques et informatique
Université René Descartes
http://www.math-info.univ-paris5.fr/~patte


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux