home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / pcl / docs.lha / latexinfo / elisp / funref-fmt.el < prev    next >
Encoding:
Text File  |  1992-02-22  |  862 b   |  26 lines

  1. (put 'funref 'latexinfo-format 'latexinfo-format-funref)
  2. (put 'macref 'latexinfo-format 'latexinfo-format-funref)
  3. (put 'specref 'latexinfo-format 'latexinfo-format-funref)
  4. (defun latexinfo-format-funref ()
  5.   (let ((arg  (latexinfo-parse-arg-discard)))
  6.     (insert arg " ")
  7.     (latexinfo-format-fref arg)))
  8.  
  9. (defun latexinfo-format-fref (arg)
  10.   (latexinfo-format-do-ref arg 'latexinfo-findex))
  11.  
  12. (put 'varref 'latexinfo-format 'latexinfo-format-varref)
  13. (put 'conref 'latexinfo-format 'latexinfo-format-varref)
  14. (defun latexinfo-format-varref ()
  15.   (let ((arg  (latexinfo-parse-arg-discard)))
  16.     (insert arg " ")
  17.     (latexinfo-format-vref arg)))
  18.  
  19. (defun latexinfo-format-vref (arg)
  20.   (latexinfo-format-do-ref arg 'latexinfo-vindex))
  21.  
  22. (put 'pxlref 'latexinfo-format 'latexinfo-format-ref)
  23. (put 'xlref 'latexinfo-format 'latexinfo-format-ref)
  24.  
  25. (provide 'funref-fmt)
  26.