Thomas Reisinger | 15 Jul 2009 09:31
Picon

[KPATHSEA] KPATHSEA does not find files in TEXMFHOME


Dear KAPATHSEA programmer,

I spent some time by trying to get my TexLive 2008 system running on Windows XP (SP3). But finally I get stuck in some KPATHSEA problem. More precisely, I do not know if it is a problem but I do not understand its behavior.

The task I try to accomplish is as follows: with the command
        kpsewhich abbtechnote.cls
I try to find a LaTeX class file in my home directory. According to the documentation, I set the TEXMFHOME in the config-file like
        TEXMFHOME = ~/.texmf/tex/{latex,generic,}//
and the file resides in
        ~\.texmf\tex\latex\ABBstyles\abbtechnote.cls
Unfortunately, KPATHSEA does not find the file while it is travelling through the directories:
--- SCHNIPP ---
kdebug:kpse_find_file: searching for abbtechnote.cls of type tex (from texmf.cnf)
...
kdebug:hash_lookup(c:/Documents and Settings/DEU130357/.texmf/tex/latex/ABBstyles/abbtechnote.cls) => (nil)
kdebug:dir_links(c:/Documents and Settings/DEU130357/.texmf/tex/latex/ABBstyles/abbtechnote.cls) => 0
...
kdebug:hash_lookup(abbtechnote.cls) => (nil)
kdebug:search([abbtechnote.cls]) =>
--- SCHNAPP ---
My question is why is the abbtechnote.cls not found and how can I modify my installation to get a running system?

Attached you will find the complete KPATHSEA log and the Windows version message. The KPATHSEA version is:
kpathsea version 3.5.7
Copyright 2008 Karl Berry & Olaf Weber.
License LGPLv2.1+: GNU Lesser GPL version 2.1 or later <http://gnu.org/licenses/lgpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Thanks in advance,
Thomas


Thomas Reisinger
ABB AG
Forschungszentrum Deutschland
DECRC - Robotics & Manufacturing
Wallstadter Str. 59
D-68526 Ladenburg

Attachment (abbtechnote.log): application/octet-stream, 128 KiB
Akira Kakuto | 15 Jul 2009 18:01
Picon

Re: [KPATHSEA] KPATHSEA does not find files in TEXMFHOME

> The task I try to accomplish is as follows: with the command
>         kpsewhich abbtechnote.cls
> I try to find a LaTeX class file in my home directory. According to the 
> documentation, I set the TEXMFHOME in the config-file like
>         TEXMFHOME = ~/.texmf/tex/{latex,generic,}//
> and the file resides in
>         ~\.texmf\tex\latex\ABBstyles\abbtechnote.cls
> Unfortunately, KPATHSEA does not find the file while it is travelling 
> through the directories:
> --- SCHNIPP ---
> kdebug:kpse_find_file: searching for abbtechnote.cls of type tex (from 
> texmf.cnf)
> ...
> kdebug:hash_lookup(c:/Documents and 
> Settings/DEU130357/.texmf/tex/latex/ABBstyles/abbtechnote.cls) => (nil)
> kdebug:dir_links(c:/Documents and 
> Settings/DEU130357/.texmf/tex/latex/ABBstyles/abbtechnote.cls) => 0

On windows, ~ is $USERPROFILE, as above lines show.

--

-- 
Akira Kakuto

Akira Kakuto | 16 Jul 2009 03:38
Picon

Re: [KPATHSEA] KPATHSEA does not find files in TEXMFHOME

> I try to find a LaTeX class file in my home directory. According to the 
> documentation, I set the TEXMFHOME in the config-file like
>         TEXMFHOME = ~/.texmf/tex/{latex,generic,}//

That is not a usual setting. $TEXMFHOME is a unique starting directory.
You had better define it like

TEXMFHOME = ~/.texmf

Thanks,
Akira

Luca | 16 Jul 2009 10:31
Picon
Favicon

bug report - dvips

Probably I have reported a bug in the wrong site:

https://bugs.launchpad.net/ubuntu/+source/texlive-base/+bug/386465

Thank you
Luca

Karl Berry | 18 Jul 2009 00:33

Re: bug report - dvips

    https://bugs.launchpad.net/ubuntu/+source/texlive-base/+bug/386465

I've been struck by that too, but dvips set the %%Title to foo.dvi
because that is where the PS came from, which is somewhat reasonable.
I'm not sure that it's better to set it to the output filename (or
"stdout.ps" or something when output is to stdout?  Hmm ...).

At any rate, since it's been like this for 30 years, I'm not too
inclined to change the default now, although a way to specify the output
title seems like it would be good.  I'm not sure if there already is
one, but I don't think so ...

Thanks for the report,
Karl

pierre.mackay | 20 Jul 2009 02:10
Picon

crippled TeX package

I have been spending the last several hours trying to restore my TeX environment on a newly hatched FC10 linux.  That comes with TeX included,
and one of my first jobs was supposed to be to create a compatible bplain.fmt.  No can do.  I spent two hours studying the Byzantine byways of fmtutil, (which probably has a lot going for it in the Windows world), and looking for an indication of what had been done to hide initex.  The answer turned out to be that there is no initex and no virtex despite the fact that I loaded the developer modules.  

This is not good.  The result of running fmtutil in the absence of initex is nothing at all---no warnings, nothing.  That is the sort of thing that gives
TeX a bad name.

In a Linux environment,  "initex" followed by three simple lines is all you need,
but I intend to try fmtutil just for the experience, once I have an initex and a virtex.  I do not think that any TeX package ought to be considered functional unless it includes initex and virtex, (that was a problem with the original Addison-Wesley TeX for the PC) but if there is some reason for leaving them out, then at least fmtutil should notify the user that the reason there will be no output is that there is nothing to put it out.

Pierre MacKay
Karl Berry | 20 Jul 2009 02:19

Re: crippled TeX package

Hi Pierre,

Sorry, what FC10 does is not up to us.  You'll have to ask them.
Every distro likes to mess around with TeX in their own way.

As you may know, TeX Live does include initex, but the fmtutil.cnf we
use does not call initex, it ends up running "tex -ini" or "pdftex -ini"
or whatever.

I'll check what happens when our fmtutil is called on a nonexistent
engine.  But I doubt Fedora is using an unmodified fmtutil anyway.

Best,
Karl

pierre.mackay | 20 Jul 2009 20:07
Picon

Fwd: TeX--Xet


----- Forwarded Message -----
From: "Vafa Khalighi" <vafa-96fYSP9JRkAATYTw5x5z8w@public.gmane.org>
To: "pierre mackay" <pierre.mackay-Wuw85uim5zDR7s880joybQ@public.gmane.org>
Sent: Tuesday, July 21, 2009 9:49:46 AM (GMT-0300) Auto-Detected
Subject: Re: TeX--Xet





That was a very long time ago, and when I need Arabic Script now I use ArabTeX.


But ArabTeX got problems:

>>>>>>>>>>>>>> It might be worth encouraging this offer.

1- You can not have RTL tabular

2- There are problems with color and hyperref

and lots of other problems

It would be nice to fix TeX--XeT limitations, but I need some help. do you know who could possibly help me a bit with WEB programming? There is a modified version of TeX (tex.ch) that I am sending to you and I think it would be nice to put these extensions into TeX--XeT (ofcourse you can have a look at that and tell me what you think). It fixes all the limitations and bugs of TeX--XeT. If these extension could get into a format on CTAN, then all people could benefit from it.

About RTL tables, I could do it with macros. If you look at v1.0.2 of the bidi package most of the LaTeX tabular packages, you can typeset RTL tables.

 
  You are welcome to see what you can do with TeX--XeT so far as I am concerned, but I am effectively retired.

With all best wishes,


Thanks but could you please if you have got time look at this tex.ch file and tell me what you think about it?

Thanks heaps

Best wishes,
Vafa Khalighi

Attachment (tex.ch): application/octet-stream, 361 KiB
Andrew Komornicki | 21 Jul 2009 09:06
Picon
Favicon

Re: crippled TeX package


Karl and friends, 

this is regarding the recent post by Pierre. 

I have just checked several of my systems. 
Several months ago, I installed TeXlive2008 on a new laptop that runs 
Windows XP.  while the installation went quite well, and I am happy with 
all of the features, there is NO initex installed that I can find. 
This is TeXlive2008. 

More recently, I installed Fedora Linux on an older machine. The installation 
indicates that this is TeXlive2007.  From what I can tell both Fedora 9 and 
Fedora 10 provide TexLive2007.  Again all inquiries show that there is NO 
initex available. 

This was installed from the installation RPM's that Fedora provides.  I was 
also surprised to find that while the Windows TeXlive did provide a tlmgr 
utility (rather useful) the Fedora distribution did not have such a utility. 
All that I could find was the old utilities that are from the Thomas Esser 
teTeX distributions. (thank you Thomas !!) 

This is just my 2cents worth.  I still have an installation 
(thank you Fabrice) circa 1999-2000.  
This one does have initex (on Windows ) 

regards,
andrew

At 05:19 PM 7/19/2009, Karl Berry wrote:
>Hi Pierre,
>
>Sorry, what FC10 does is not up to us.  You'll have to ask them.
>Every distro likes to mess around with TeX in their own way.
>
>As you may know, TeX Live does include initex, but the fmtutil.cnf we
>use does not call initex, it ends up running "tex -ini" or "pdftex -ini"
>or whatever.
>
>I'll check what happens when our fmtutil is called on a nonexistent
>engine.  But I doubt Fedora is using an unmodified fmtutil anyway.
>
>Best,
>Karl

Robin Fairbairns | 21 Jul 2009 09:36
Picon
Picon
Favicon

Re: crippled TeX package

Andrew Komornicki <komornic@...> wrote:

[rearranged to move andrew's bottom post to the top]
> At 05:19 PM 7/19/2009, Karl Berry wrote:
> >Sorry, what FC10 does is not up to us.  You'll have to ask them.
> >Every distro likes to mess around with TeX in their own way.

there's no denying that.  it's what they omit that bothers me (none of
the executables afaik -- i'm talking about packages).

> >As you may know, TeX Live does include initex, but the fmtutil.cnf we
> >use does not call initex, it ends up running "tex -ini" or "pdftex -ini"
> >or whatever.
> >
> >I'll check what happens when our fmtutil is called on a nonexistent
> >engine.  But I doubt Fedora is using an unmodified fmtutil anyway.

what karl doesn't explicitly say is that *no-one* in the free software
world produces a separate initex executable any more.  its place has
been taken by "[pdf]tex -ini"; this was the case from the tetex 3
distribution (fwiw, i compiled my archive copy in 2005, so it's hardly
recent news).

i'll put an answer in the faq, some time, about initex..  (there's a
section for it -- talks about things like the am fonts -- "things have
gone away" or near)

[note, i've no idea what the paid-for tex systems do in this regard:
i have none such, so can't hope even to speak about them -- look at the
faq entries about commercial systems; they're all commercial text with
the hype extracted as far as i can manage.]

> this is regarding the recent post by Pierre. 
>  
> I have just checked several of my systems. 
> Several months ago, I installed TeXlive2008 on a new laptop that runs 
> Windows XP.  while the installation went quite well, and I am happy with 
> all of the features, there is NO initex installed that I can find. 
> This is TeXlive2008. 

indeed.  as one would expect.

> More recently, I installed Fedora Linux on an older machine. The installation 
> indicates that this is TeXlive2007.  From what I can tell both Fedora 9 and 
> Fedora 10 provide TexLive2007.  Again all inquiries show that there is NO 
> initex available. 

indeed.

> This was installed from the installation RPM's that Fedora provides.  I was 
> also surprised to find that while the Windows TeXlive did provide a tlmgr 
> utility (rather useful) the Fedora distribution did not have such a utility. 
> All that I could find was the old utilities that are from the Thomas Esser 
> teTeX distributions. (thank you Thomas !!) 

interesting to know which tetex utilities you need that aren't available
in a the fedora tl 2007 distribution (i use that, too, and have no problems).

> This is just my 2cents worth.  I still have an installation 
> (thank you Fabrice) circa 1999-2000.  
> This one does have initex (on Windows ) 

but if you install miktex or tl-for-windows (the successor to fptex)
you'll find that tex -ini works, and everything else is more slick.
(note, i've never tried tl-for-windows.)

robin


Gmane