This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: build info docs from tex sources
Type: Stage:
Components: Documentation Versions: Python 2.2
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: fdrake Nosy List: doko, fdrake
Priority: normal Keywords: patch

Created on 2002-04-04 22:26 by doko, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
info2.2-diff doko, 2002-04-04 22:26
info2.2.1-diff doko, 2002-04-28 14:39
Messages (8)
msg39470 - (view) Author: Matthias Klose (doko) * (Python committer) Date: 2002-04-04 22:26
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.
msg39471 - (view) Author: Fred Drake (fdrake) (Python committer) Date: 2002-04-08 21:19
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.
msg39472 - (view) Author: Fred Drake (fdrake) (Python committer) Date: 2002-04-08 21:24
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
msg39473 - (view) Author: Matthias Klose (doko) * (Python committer) Date: 2002-04-09 08:05
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
msg39474 - (view) Author: Fred Drake (fdrake) (Python committer) Date: 2002-04-09 14:17
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.
msg39475 - (view) Author: Matthias Klose (doko) * (Python committer) Date: 2002-04-28 14:39
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 ... ;-)
msg39476 - (view) Author: Matthias Klose (doko) * (Python committer) Date: 2002-05-02 22:12
Logged In: YES 
user_id=60903

reset the resolution to None
msg39477 - (view) Author: Fred Drake (fdrake) (Python committer) Date: 2002-05-03 04:55
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
History
Date User Action Args
2022-04-10 16:05:11adminsetgithub: 36385
2002-04-04 22:26:45dokocreate