[Patches] [ python-Patches-539487 ] build info docs from tex sources

noreply@sourceforge.net noreply@sourceforge.net
Thu, 02 May 2002 21:55:41 -0700


Patches item #539487, was opened at 2002-04-04 17:26
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=539487&group_id=5470

Category: Documentation
Group: Python 2.2.x
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Matthias Klose (doko)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: build info docs from tex sources

Initial Comment:
This patch adds Milan Zamazals conversion script and 
modifies the mkinfo script to build the info doc files 
from the latex sources. Currently, the mac, doc and 
inst tex files are not handled.


----------------------------------------------------------------------

>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2002-05-03 00:55

Message:
Logged In: YES 
user_id=3066

Accepted for both the 2.2 maintenance branch and the trunk.
 (It still doesn't work for me, but reasonably reports that
it can't run the expected version of Emacs.)

Checked in as:

Makefile          1.242, 1.235.2.1.2.9
info/Makefile     1.8, 1.7.16.1
info/python.dir   1.4, 1.2.30.2
tools/mkinfo      1.3, 1.2.30.1
tools/py2texi.el  1.1, 1.1.2.1

----------------------------------------------------------------------

Comment By: Matthias Klose (doko)
Date: 2002-05-02 18:12

Message:
Logged In: YES 
user_id=60903

reset the resolution to None

----------------------------------------------------------------------

Comment By: Matthias Klose (doko)
Date: 2002-04-28 10:39

Message:
Logged In: YES 
user_id=60903

Find below the updated patch, which explicitely checks for
GNU Emacs 21. So this is more robust than the previous one.

Having the choice of building no info docs with the current
version, building the info docs with a specific tool is a
better solution.

> Until then, I'm glad to publish contributed GNU info
> versions provided by community members.

give them a tool for fishing, not fishes ... ;-)


----------------------------------------------------------------------

Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2002-04-09 10:17

Message:
Logged In: YES 
user_id=3066

I just installed emacs 20.7 'cause those are the RPMs that
came with the distro I have on this box (RedHat 7.2), and
that produced a similar error.  I'll have to ask that a more
robust patch be available before I can spend more time on
it; this one will be marked as rejected.  Until then, I'm
glad to publish contributed GNU info versions provided by
community members.

For the record, here's the specific error output I got and
the FSF Emacs version info:

grendel(.../r22-maint/Doc); make info 
cd info && make
make[1]: Entering directory
`/home/fdrake/projects/python/r22-maint/Doc/info'
../tools/mkinfo ../api/api.tex python-api.info
emacs -batch -q --no-site-file -l
/home/fdrake/projects/python/r22-maint/Doc/tools/py2texi.el
--eval (setq py2texi-dirs '("./" "../texinputs/"
"/home/fdrake/projects/python/r22-maint/Doc/api")) --eval
(py2texi
"/home/fdrake/projects/python/r22-maint/Doc/api/api.tex") -f
kill-emacs
Mark set
Args out of range: 27914, 27916
make[1]: *** [python-api.info] Error 255
make[1]: Leaving directory
`/home/fdrake/projects/python/r22-maint/Doc/info'
make: *** [info] Error 2
[2] grendel(.../r22-maint/Doc); emacs --version
GNU Emacs 20.7.1
Copyright (C) 1999 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named
COPYING.


----------------------------------------------------------------------

Comment By: Matthias Klose (doko)
Date: 2002-04-09 04:05

Message:
Logged In: YES 
user_id=60903

Yes, forget to mention that Milan said, it only works for 
emacs. I built the info docs using emacs-21.2


----------------------------------------------------------------------

Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2002-04-08 17:24

Message:
Logged In: YES 
user_id=3066

For the record, here's the specific errors I get when using
XEmacs with this patch on the current release22-maint branch
(hopefully SF won't munge them too badly):

grendel(.../r22-maint/Doc); make EMACS=xemacs info
cd info && make
make[1]: Entering directory
`/home/fdrake/projects/python/r22-maint/Doc/info'
../tools/mkinfo ../api/api.tex python-api.info
xemacs -batch -q --no-site-file -l
/home/fdrake/projects/python/r22-maint/Doc/tools/py2texi.el
--eval (setq py2texi-dirs '("./" "../texinputs/"
"/home/fdrake/projects/python/r22-maint/Doc/api")) --eval
(py2texi
"/home/fdrake/projects/python/r22-maint/Doc/api/api.tex") -f
kill-emacs
Loading
/usr/lib/xemacs/xemacs-packages/lisp/site-start.d/aspell-init.el...
Loading
/usr/lib/xemacs/xemacs-packages/lisp/site-start.d/mew-init.el...
Loading
/usr/lib/xemacs/xemacs-packages/lisp/site-start.d/psgml-init.el...
Loading
/usr/lib/xemacs/xemacs-packages/lisp/site-start.d/xemacs-po-mode-init.el...
Mark set
Args out of range: 72, 132
xemacs exiting.
make[1]: *** [python-api.info] Error 255
make[1]: Leaving directory
`/home/fdrake/projects/python/r22-maint/Doc/info'
make: *** [info] Error 2


----------------------------------------------------------------------

Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2002-04-08 17:19

Message:
Logged In: YES 
user_id=3066

I'll add a note here just in case:  This patch applies to
the 2.3 development as well as 2.2 maintenance tree.

This still seems to suffer the problems that all versions of
this conversion have suffered; it isn't portable between FSF
Emacs and XEmacs.  I'll see about installing FSF Emacs to
see if it'll work for me there.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=539487&group_id=5470