From: Andrea R. <ari...@pi...> - 2003-10-15 09:47:36
|
On Wednesday, Oct 15, 2003, at 11:24 Europe/Rome, Andre Wobst wrote: >> All the examples worked without any problem. Only two examples >> (minimal.py and bar.py) haven't worked because they try to open 2 data >> files (minimal.dat and bar.dat) that have not been included in the >> source tarball. I think it'd be usefull to include these files in the >> next release. > > You're right, thanks for the report. Done in CVS head. Good. > BTW: What is the status of your e-tex problem? Did you had to fix it > in the source? I would appriciate any comments regarding fixes you had > to apply to possibly include them into CVS. Ops, sorry I forgot to mention this issue. I've solved the problem with a patch. Fink is able to handle patch files and to apply them to source files at compile time. So your source tarball is downloaded as is and then patched before compilation phase starts. Here it is the patch file: --- PyX-0.4.1/pyx/text.py.orig Thu Oct 9 13:54:21 2003 +++ PyX-0.4.1/pyx/text.py Thu Oct 9 13:54:32 2003 @@ -1188,7 +1188,7 @@ __implements__ = _Itexmessage - startpattern = re.compile(r"This is [0-9a-zA-Z\s_]*TeX") + startpattern = re.compile(r"This is [-0-9a-zA-Z\s_]*TeX") def check(self, texrunner): m = self.startpattern.search(texrunner.texmessageparsed) Changes to text.py allow PyX to accept even those TeX distribution (many as far as I can understand) that use e-TeX instead of TeX. I'm not a regular expression wizard, if there is a better regexpr to match e-TeX, please tell me. Let me know if this patch will be applied to the CVS, so I can remove it from Fink's package. Now a question I've forgotten before; is there any known issue using PyX with Python 2.3.x instead with version 2.2.x? Thanks, Andrea. --- Andrea Riciputi "Science is like sex: sometimes something useful comes out, but that is not the reason we are doing it" -- (Richard Feynman) |