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

Re: tetex FC6



--- François Patte
<francois patte math-info univ-paris5 fr> wrote:

> 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
> 
=== message truncated ===

I have FC6 and have tried your test file and it works
for me.

[olivares localhost Documents]$ cat testfrench.tex
\documentclass{article}

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

\usepackage[french]{babel}

\begin{document}

Hello world

\end{document}

[olivares localhost Documents]$ latex testfrench.tex 
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C
7.5.4)
entering extended mode
(./testfrench.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american,
french, german, ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech,
danish, dutch, esperanto, e
stonian, finnish, greek, icelandic, irish, italian,
latin, magyar, norsk, polis
h, portuges, romanian, russian, serbian, slovak,
slovene, spanish, swedish, tur
kish, ukrainian, nohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard
LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo))
(/usr/share/texmf/tex/latex/base/fontenc.sty
(/usr/share/texmf/tex/latex/base/t1enc.def))
(/usr/share/texmf/tex/latex/base/inputenc.sty
(/usr/share/texmf/tex/latex/base/utf8.def
(/usr/share/texmf/tex/latex/base/t1enc.dfu)
(/usr/share/texmf/tex/latex/base/ot1enc.dfu)
(/usr/share/texmf/tex/latex/base/omsenc.dfu)))
(/usr/share/texmf/tex/generic/babel/babel.sty
(/usr/share/texmf/tex/generic/babel/frenchb.ldf
(/usr/share/texmf/tex/generic/babel/babel.def)
*************************************
* Local config file frenchb.cfg used
*
(/usr/share/texmf/tex/generic/babel/frenchb.cfg)))
(./testfrench.aux)
(/usr/share/texmf/tex/latex/lm/t1lmr.fd) [1]
(./testfrench.aux) )
Output written on testfrench.dvi (1 page, 236 bytes).
Transcript written on testfrench.log.
[olivares localhost Documents]$

So, something might have gone wrong with your
installation,  cannot figure out what though?  


Hope you iron out the problem.  

Regards,

Antonio 


 
____________________________________________________________________________________
Looking for earth-friendly autos? 
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
http://autos.yahoo.com/green_center/


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