Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build info docs from tex sources #36385

Closed
doko42 opened this issue Apr 4, 2002 · 8 comments
Closed

build info docs from tex sources #36385

doko42 opened this issue Apr 4, 2002 · 8 comments
Assignees
Labels
docs Documentation in the Doc dir

Comments

@doko42
Copy link
Member

doko42 commented Apr 4, 2002

BPO 539487
Nosy @freddrake, @doko42
Files
  • info2.2-diff
  • info2.2.1-diff
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/freddrake'
    closed_at = <Date 2002-05-03.04:55:39.000>
    created_at = <Date 2002-04-04.22:26:45.000>
    labels = ['docs']
    title = 'build info docs from tex sources'
    updated_at = <Date 2002-05-03.04:55:39.000>
    user = 'https://github.com/doko42'

    bugs.python.org fields:

    activity = <Date 2002-05-03.04:55:39.000>
    actor = 'fdrake'
    assignee = 'fdrake'
    closed = True
    closed_date = None
    closer = None
    components = ['Documentation']
    creation = <Date 2002-04-04.22:26:45.000>
    creator = 'doko'
    dependencies = []
    files = ['4113', '4114']
    hgrepos = []
    issue_num = 539487
    keywords = ['patch']
    message_count = 8.0
    messages = ['39470', '39471', '39472', '39473', '39474', '39475', '39476', '39477']
    nosy_count = 2.0
    nosy_names = ['fdrake', 'doko']
    pr_nums = []
    priority = 'normal'
    resolution = 'accepted'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue539487'
    versions = ['Python 2.2']

    @doko42
    Copy link
    Member Author

    doko42 commented Apr 4, 2002

    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.

    @doko42 doko42 closed this as completed Apr 4, 2002
    @doko42 doko42 added the docs Documentation in the Doc dir label Apr 4, 2002
    @doko42 doko42 closed this as completed Apr 4, 2002
    @doko42 doko42 added the docs Documentation in the Doc dir label Apr 4, 2002
    @freddrake
    Copy link
    Member

    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.

    @freddrake
    Copy link
    Member

    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

    @doko42
    Copy link
    Member Author

    doko42 commented Apr 9, 2002

    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

    @freddrake
    Copy link
    Member

    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.

    @doko42
    Copy link
    Member Author

    doko42 commented Apr 28, 2002

    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 ... ;-)

    @doko42
    Copy link
    Member Author

    doko42 commented May 2, 2002

    Logged In: YES
    user_id=60903

    reset the resolution to None

    @freddrake
    Copy link
    Member

    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

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    docs Documentation in the Doc dir
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants