home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / pcl / docs.lha / latexinfo / .emacs next >
Encoding:
Text File  |  1992-02-26  |  4.0 KB  |  117 lines

  1. ;; Modify the following line to be the name of this file, and
  2. ;; put it in your ~/.emacs (without the semi-colons).
  3. ;; (load-file "/usr2/ai/nesc/.emacs")
  4.  
  5. ;;; LaTeXinfo
  6.  
  7. (setq load-path 
  8.       (cons (setq latexinfo-formats-directory
  9.           (expand-file-name (concat (getenv "LATEXINFO") "/elisp")))
  10.         load-path))
  11.  
  12. (autoload 'latexinfo-format-region
  13.           "latexinfo"
  14.   "Convert the current region of the Latexinfo file to Info format.
  15. This lets you see what that part of the file will look like in Info.
  16. The command is bound to \\[latexinfo-format-region].  The text that is
  17. converted to Info is stored in a temporary buffer."
  18.           t nil)
  19.  
  20. (autoload 'latexinfo-format-buffer
  21.           "latexinfo"
  22.   "Process the current buffer as latexinfo code, into an Info file.
  23. The Info file output is generated in a buffer visiting the Info file
  24. names specified in the \\setfilename command.
  25.  
  26. Non-nil argument (prefix, if interactive) means don't make tag table
  27. and don't split the file if large.  You can use Info-tagify and
  28. Info-split to do these manually."
  29.           t nil)
  30.  
  31. (autoload 'latexinfo-latex-buffer
  32.           "latexnfo-tex"
  33.   "Run LaTeX on current buffer.
  34. After running LaTeX the first time, you may have to run \\[latexinfo-latexindex]
  35. and then \\[latexinfo-latex-buffer] again."
  36.           t nil)
  37.  
  38. (autoload 'latexinfo-latexindex
  39.           "latexnfo-tex"
  40.   "Run latexindex on unsorted index files.
  41. The index files are made by \\[latexinfo-latex-region] or \\[latexinfo-latex-buffer].
  42. Runs the shell command defined by latexinfo-latexindex-command."
  43.           t nil)
  44.  
  45. (autoload 'latexinfo-make-menu
  46.           "latexnfo-upd"
  47.   "Without any prefix argument, make or update a menu.
  48. Make the menu for the section enclosing the node found following point.
  49.  
  50. Non-nil argument (prefix, if interactive) means make or update menus
  51. for nodes within or part of the marked region.
  52.  
  53. Whenever a menu exists, and is being updated, the descriptions that
  54. are associated with node names in the pre-existing menu are
  55. incorporated into the new menu.  Otherwise, the nodes' section titles
  56. are inserted as descriptions."
  57.           t nil)
  58.  
  59. (autoload 'latexinfo-update-node
  60.           "latexnfo-upd"
  61.   "Without any prefix argument, update the node in which point is located.
  62. Non-nil argument (prefix, if interactive) means update the nodes in the
  63. marked region.
  64.  
  65. The functions for creating or updating nodes and menus, and their
  66. keybindings, are:
  67.  
  68.     latexinfo-update-node (&optional region-p)    \\[latexinfo-update-node]
  69.     latexinfo-every-node-update ()                \\[latexinfo-every-node-update]
  70.     latexinfo-sequential-node-update (&optional region-p)
  71.  
  72.     latexinfo-make-menu (&optional region-p)      \\[latexinfo-make-menu]
  73.     latexinfo-all-menus-update ()                 \\[latexinfo-all-menus-update]
  74.     latexinfo-master-menu ()
  75.  
  76.     latexinfo-indent-menu-description (column &optional region-p)
  77.  
  78. The `latexinfo-column-for-description' variable specifies the column to
  79. which menu descriptions are indented. Its default value is 24."
  80.           t nil)
  81.  
  82. (autoload 'latexinfo-every-node-update
  83.           "latexnfo-upd"
  84.   "Update every node in a Latexinfo file."
  85.           t nil)
  86.  
  87. (autoload 'latexinfo-all-menus-update
  88.           "latexnfo-upd"
  89.   "Update every regular menu in a Latexinfo file.
  90. Remove pre-existing master menu, if there is one.
  91.  
  92. If called with a non-nil argument, this function first updates all the
  93. nodes in the buffer before updating the menus."
  94.           t nil)
  95.  
  96. (autoload 'latexinfo-mode "latexnfo-mde"
  97.       "An editing for LaTeXinfo files" t)
  98.  
  99. (autoload 'tex-to-latexinfo "t2latexinfo"
  100.       "Convert a buffer from TeXinfo to LaTeXinfo" t)
  101.  
  102. (autoload 'scribe-to-latexinfo "s2latexinfo"
  103.       "Convert a buffer from Scribe to LaTeXinfo" t)
  104.  
  105. (autoload 'latex-to-latexinfo "l2latexinfo"
  106.       "Convert a buffer from LaTeX to LaTeXinfo" t)
  107.  
  108. (defvar latexinfo-section-types-regexp
  109.   "^\\\\\\(chapter\\|section\\|sub\\|unnum\\)"
  110.   "Regexp matching chapter, section, other headings (but not the top node).")
  111.  
  112. ;;(autoload 'get-latexinfo-node "get-node"
  113. ;;      "Get help on a LaTeXinfo topic" t)
  114.  
  115. ;;(define-key help-map "g" 'get-latexinfo-node)
  116.  
  117.