"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "style/prosper.el" between
auctex-12.2.tar.gz and auctex-12.3.tar.gz

About: AUCTEX is an extensible package for writing and formatting TeX files in GNU Emacs and XEmacs.

prosper.el  (auctex-12.2):prosper.el  (auctex-12.3)
;;; prosper.el --- Prosper style file for AUCTeX ;;; prosper.el --- Prosper style file for AUCTeX
;; Copyright (C) 2001, 2002, 2014 Free Software Foundation, Inc. ;; Copyright (C) 2001, 2002, 2014, 2020 Free Software Foundation, Inc.
;; Authors: Phillip Lord<p.lord@russet.org.uk> ;; Authors: Phillip Lord<p.lord@russet.org.uk>
;; Nevin Kapur <nevin@jhu.edu> ;; Nevin Kapur <nevin@jhu.edu>
;; Keywords: tex, wp, prosper ;; Keywords: tex, wp, prosper
;; Version: 0.6 ;; Version: 0.6
;; URL: http://www.mts.jhu.edu/~kapur/emacs/prosper.el ;; URL: http://www.mts.jhu.edu/~kapur/emacs/prosper.el
;; This is free software; you can redistribute it and/or modify it ;; This is free software; you can redistribute it and/or modify it
;; under the terms of the GNU General Public License as published by ;; under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 3, or (at your option) ;; the Free Software Foundation; either version 3, or (at your option)
skipping to change at line 130 skipping to change at line 130
(insert (car (cdr f)) " "))) (insert (car (cdr f)) " ")))
'(("Draft?" "draft") '(("Draft?" "draft")
("Color Slides?" "slideColor") ("Color Slides?" "slideColor")
("Disable running total on each slide?" "nototal") ("Disable running total on each slide?" "nototal")
("Is the final version going to be PDF?" "pdf") ("Is the final version going to be PDF?" "pdf")
("Are you going to use Adobe Distiller" "distiller"))) ("Are you going to use Adobe Distiller" "distiller")))
(delete-char -1) (delete-char -1)
(insert "]")) (insert "]"))
(defun LaTeX-prosper-insert-slide (_environment) (defun LaTeX-prosper-insert-slide (_environment)
(if (y-or-n-p "Surround with overlay ?") (if (y-or-n-p "Surround with overlay? ")
(progn (TeX-insert-macro "overlays") (progn (TeX-insert-macro "overlays")
(if (search-backward "{" 0 t) (if (search-backward "{" 0 t)
(progn (progn
(goto-char (+ 1 (point))) (goto-char (+ 1 (point)))
(insert "%\n"))))) (insert "%\n")))))
(let ((title (TeX-read-string "Title: "))) (let ((title (TeX-read-string "Title: ")))
(LaTeX-insert-environment "slide" (concat TeX-grop title TeX-grcl)))) (LaTeX-insert-environment "slide" (concat TeX-grop title TeX-grcl))))
;; AUCTeX configuration ;; AUCTeX configuration
(TeX-add-style-hook "prosper" (TeX-add-style-hook
(function "prosper"
(lambda () (lambda ()
(LaTeX-add-environments (LaTeX-add-environments
'("slide" LaTeX-prosper-insert-slide) '("slide" LaTeX-prosper-insert-slide)
'("itemstep" LaTeX-env-item) '("itemstep" LaTeX-env-item)
'("Itemize" LaTeX-env-item)) '("Itemize" LaTeX-env-item))
(TeX-add-symbols (TeX-add-symbols
'("documentclass" '("documentclass"
LaTeX-prosper-insert-options LaTeX-prosper-insert-options
LaTeX-prosper-insert-title) LaTeX-prosper-insert-title)
'("title" "Title of the presentation") '("title" "Title of the presentation")
'("subtitle" "Subtitle of the presentation") '("subtitle" "Subtitle of the presentation")
'("author" "Author name") '("author" "Author name")
'("email" "Author email") '("email" "Author email")
'("institution" "Author institution") '("institution" "Author institution")
'("slideCaption" "Caption for slide") '("slideCaption" "Caption for slide")
'("Logo" "Logo") '("Logo" "Logo")
'("displayVersion" TeX-arg-free) '("displayVersion" TeX-arg-free)
'("DefaultTransition" '("DefaultTransition"
LaTeX-prosper-arg-pdftransition) LaTeX-prosper-arg-pdftransition)
'("NoFrenchBabelItemize" TeX-arg-free) '("NoFrenchBabelItemize" TeX-arg-free)
'("part" LaTeX-prosper-arg-part) '("part" LaTeX-prosper-arg-part)
'("overlays" "Number of overlays" t) '("overlays" "Number of overlays" t)
'("FontTitle" "Color slides" "Black & White Slides") '("FontTitle" "Color slides" "Black & White Slides")
'("FontText" "Color slides" "Black & White Slides") '("FontText" "Color slides" "Black & White Slides")
'("fontTitle" "Text") '("fontTitle" "Text")
'("fontText" "Text") '("fontText" "Text")
'("ColorFoot" "Color") '("ColorFoot" "Color")
'("PDFtransition" LaTeX-prosper-arg-pdftransition) '("PDFtransition" LaTeX-prosper-arg-pdftransition)
'("myitem" "Level" "Definition") '("myitem" "Level" "Definition")
'("fromSlide" "Number" t) '("fromSlide" "Number" t)
'("fromSlide*" "Number" t) '("fromSlide*" "Number" t)
'("onlySlide" "Number" t) '("onlySlide" "Number" t)
'("onlySlide*" "Number" t) '("onlySlide*" "Number" t)
'("OnlySlide" "Number") '("OnlySlide" "Number")
'("UntilSlide" "Number") '("UntilSlide" "Number")
'("untilSlide*" "Number") '("untilSlide*" "Number")
'("PDForPS" TeX-arg-conditional) '("PDForPS" TeX-arg-conditional)
'("onlyInPS" t) '("onlyInPS" t)
'("onlyInPDF" t) '("onlyInPDF" t)
'("FromSlide" "Number")))) '("FromSlide" "Number")))
LaTeX-dialect) LaTeX-dialect)
;;; prosper.el ends here ;;; prosper.el ends here
 End of changes. 3 change blocks. 
45 lines changed or deleted 45 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)