1 2007-01-12 Ralf Angeli <angeli@caeruleus.net>
3 * configure.ac: Bump version number.
5 2006-12-01 David Kastrup <dak@gnu.org>
7 * prv-emacs.el (preview-move-point): Do not error out if
10 * prv-xemacs.el (preview-supports-image-type): Move so that the
11 following comment makes sense.
13 2006-12-01 Ralf Angeli <angeli@caeruleus.net>
15 * prv-xemacs.el (preview-move-point): Do not error out if
18 2006-10-24 David Kastrup <dak@gnu.org>
20 * prv-xemacs.el (preview-move-point): rearrange for calling
21 `preview-auto-reveal' with DISTANCE argument.
23 * prv-emacs.el (preview-remove-urgentization): Small optimization.
24 (preview-move-point): Rearrange to be more efficient in the
27 * preview.el (preview-auto-reveal): Fetch keybindings of [left]
28 and [right] at runtime. Change proposed default accordingly.
29 (preview-at-point): Fix change from 2005-03-15 for cursor
31 (preview-auto-reveal-p): Implement integer MODE and take DISTANCE
33 (preview-auto-reveal): Allow DISTANCE.
35 2006-10-19 David Kastrup <dak@gnu.org>
37 * prv-xemacs.el (preview-defmacro): Use `fboundp' instead of
39 (add-to-list): compatibility function not needed anymore since
42 2006-10-18 David Kastrup <dak@gnu.org>
44 * preview.el (eval-when-compile): restore function definitions of
47 * prv-xemacs.el (preview-defmacro): Also redefine functions that
48 actually exist, but save their definition.
50 * preview.el (preview-parse-messages): Fix bad regexp.
52 2006-10-16 David Kastrup <dak@gnu.org>
54 * preview.el (preview-parse-messages): Rearrange the regexp for
55 matching and renumber the matches and match strings accordingly.
57 2006-10-11 David Kastrup <dak@gnu.org>
59 * preview.el (LaTeX-preview-setup): Move setup of
60 `TeX-error-description-list' and `TeX-expand-list' to AUCTeX
63 2006-10-10 David Kastrup <dak@gnu.org>
65 * preview.el (preview-gs-filter): Fix prompt match expression to
66 allow stack garbage > 10.
67 (preview-gs-open): Assume `.runandhide' is defined (Ghostscript
68 6.53 and greater). Don't check Ghostscript stack for correctness,
70 (preview-prepare-fast-conversion): Use `.runandhide' to ignore
71 garbage left by preamble (such as Omega fonts).
72 (preview-LaTeX-command): Use "%'" and "%t" expansion strings in
73 order to allow filenames with spaces in them.
74 (preview-goto-info-page): Use `info' instead of `Info-goto-node'.
75 (preview-parse-messages): Spike up terminal log file name tracing
76 in order to have a reasonable chance of detecting spaces in file
78 (preview-parse-messages): Massage match string for partial strings
79 to deal better with TeX-quoted control sequences.
80 (preview-dump-file-name): The format name should not contain
81 spaces. Replace them with underlines.
82 (preview-dump-replacements, preview-undump-replacements): Use a
83 different replacement in order to work with the new
84 `preview-LaTeX-command'.
85 (preview-cache-preamble): shell-quote `preview-format-name'. Keep
86 `mylatex.ltx' from ignoring spaces in file names.
87 (TeX-inline-preview-internal): shell-quote `preview-format-name'.
89 2006-09-29 David Kastrup <dak@gnu.org>
91 * preview.el (preview-gs-command): Make default depend on
92 `system-type', using "GSWIN32C.EXE" on `windows-nt'.
94 * configure.ac: If no GhostScript or the standard setting for the
95 operating system is found, don't override the default.
97 2006-09-21 David Kastrup <dak@gnu.org>
99 * preview.el (preview-TeX-style-cooked): Fix bugs.
100 (preview-set-texinputs): Use `preview-TeX-style-cooked'.
101 (preview-TeX-style-dir): Change doc string to reflect new behavior
102 of `preview-set-texinputs'.
103 (preview-install-styles): Try to deal with `preview-TeX-style-dir'
104 properly. Bomb out if no styles found to install.
105 (preview-report-bug): Add `preview-TeX-style-dir' to reported
108 * configure.ac: Remove `--with-kpathseasep' option.
110 2006-09-01 David Kastrup <dak@gnu.org>
112 * prv-xemacs.el (preview-import-image): Allow strings as image
115 * prv-emacs.el (preview-remove-urgentization)
116 (preview-import-image): Allow strings as image properties.
118 * preview.el (preview-clearout, preview-kill-buffer-cleanup)
119 (preview-place-preview): Use `timestamp' field universally for
120 dealing with when to overwrite and when to retain images, don't
121 rely on filename internals.
122 (desktop-buffer-preview-misc-data): Use `preview-image' to judge
123 the availability of savable data.
124 (preview-reinstate-preview): Allow saving images without
125 associated filenames.
126 (preview-format-mml): Deal with string type images.
128 2006-08-25 David Kastrup <dak@gnu.org>
130 * latex/preview.dtx: Use eTeX's `\protected' on redefinitions when
133 2006-08-15 David Kastrup <dak@gnu.org>
135 * latex/preview.dtx: Change from 2006-07-12 could lose the
136 `AtBeginDvi' material. Fix that. Disable preview within output
138 And actually hijack `\output' instead of doing it half way.
140 2006-07-28 Reiner Steib <Reiner.Steib@gmx.de>
142 * latex/Makefile.in (install-texmf): Only update the relevant ls-R
145 2006-07-25 David Kastrup <dak@gnu.org>
147 * latex/preview.dtx: Allow two optional parameters as in
148 memoir.cls for sections. Also preview chapter headings.
150 2006-07-23 Ralf Angeli <angeli@caeruleus.net>
152 * configure.ac: Fix spelling of MiKTeX.
154 2006-07-12 David Kastrup <dak@gnu.org>
156 * latex/preview.dtx: Add a font-lock helping comment, remove
157 preview's hook into the output routine, deactivate `\shipout' in a
160 2006-07-11 David Kastrup <dak@gnu.org>
162 * latex/preview.dtx: Fix XymTeX catcodes again.
164 2006-07-10 Ralf Angeli <angeli@caeruleus.net>
166 * Makefile.in, latex/Makefile.in (datarootdir): New variable used
169 2006-06-12 Ralf Angeli <angeli@caeruleus.net>
171 * latex/README: Streamline. Add sections. Clean up.
173 2006-06-08 David Kastrup <dak@gnu.org>
175 * latex/README: Adapt to new realities.
177 2006-05-25 David Kastrup <dak@gnu.org>
179 * latex/preview.dtx: Add another fix for XyMTeX (which got the
180 catcode for @ wrong).
182 2006-05-25 Ralf Angeli <angeli@caeruleus.net>
184 * configure.ac: Bump version number.
186 Update address of FSF in GPL notices.
188 2006-04-20 David Kastrup <dak@gnu.org>
190 * preview.el (preview-parse-messages): Adapt parser to
191 `-file-line-error-style' messages. Try to make the detection of
192 the current file more robust. Utilize file-line-error messages
193 for that purpose if they are present.
195 2006-03-22 Ralf Angeli <angeli@iwi.uni-sb.de>
197 * Makefile.in (.PHONY, install): Remove `install-metadata'.
198 (install-metadata): Remove.
200 2006-03-22 David Kastrup <dak@gnu.org>
202 * prv-install.el (preview-make-package-xemacs): Accept list of
203 files to be appended.
205 2006-03-14 Ralf Angeli <angeli@iwi.uni-sb.de>
207 * configure.ac: Use `AC_PROG_MAKE_SET' instead of deprecated
210 2006-02-21 Ikumi Keita <ikumi@revery.net>
212 * preview.el (preview-error-quote, TeX-inline-preview-internal):
213 Fix the problem that preview-latex put the preview-image in wrong
214 place if user compiles iso-2022-jp file on Windows or UNIX, by
215 using TeX-japanese-process-output-coding-system for
216 preview-coding-system instead of buffer-file-coding-system if
219 2006-01-29 Ralf Angeli <angeli@iwi.uni-sb.de>
221 * Makefile.in (install-metadata): Let `for' loop return an exit
224 2006-01-20 Reiner Steib <Reiner.Steib@gmx.de>
226 * preview.el (preview-TeX-style-cooked): Fix cond expression.
228 2006-01-17 David Kastrup <dak@gnu.org>
230 * preview.el (preview-TeX-style-cooked): New function, to be used
231 later. Just checked in so that nobody else feels compelled
234 2006-01-14 David Kastrup <dak@gnu.org>
236 * configure.ac: Remove infodir and INSTALL_INFO checks. Don't
237 check for TEXHASH if it is already set.
239 2006-01-13 David Kastrup <dak@gnu.org>
241 * preview.el (preview-parse-messages): Some ugly fix for
242 `<xxx (PNG copy)>' style error messages.
244 2005-12-31 David Kastrup <dak@gnu.org>
246 * Makefile.in (ELCC, AUCTEX): Put "." in front of load-path to
247 avoid picking up outdated `prv-*.el*' files from the installation
250 2005-12-17 Ralf Angeli <angeli@iwi.uni-sb.de>
252 * configure.ac: Bump version number.
254 2005-10-24 Ralf Angeli <angeli@iwi.uni-sb.de>
256 * configure.ac: Import `TEX' in unquoted form.
258 2005-10-13 Ralf Angeli <angeli@iwi.uni-sb.de>
260 * configure.ac: Change wrongly used `previewdatadir' to
262 Change version number in `AC_INIT'.
264 2005-10-03 Ralf Angeli <angeli@iwi.uni-sb.de>
266 * prv-xemacs.el (preview-check-changes): Delete detached extents.
268 2005-09-27 Ralf Angeli <angeli@iwi.uni-sb.de>
270 * configure.ac: Document option for specifying AUCTeX startfile as
271 --with-previewstartfile, not --with-preview-startfile which does
273 Use matching package names for determining the kpathsea path
274 separator both internally and in the option name which now is
276 Fix the quadrigraph for the closing bracket in the
277 kpathsesep-related error message.
279 2005-09-25 Ralf Angeli <angeli@iwi.uni-sb.de>
281 * latex/preview.dtx: Add space for nicer formatting in version
282 output. Adapt checksum.
284 2005-09-25 David Kastrup <dak@gnu.org>
286 * latex/preview.dtx: Try fixing the release parsing/grouping.
288 2005-09-25 Ralf Angeli <angeli@iwi.uni-sb.de>
290 * latex/README (CTAN): Bump version number.
292 * latex/preview.dtx: Fix case in release tag parsing.
294 2005-09-24 David Kastrup <dak@gnu.org>
296 * latex/preview.dtx: Try parsing version correctly by treating
297 underlines in the release tag properly.
299 2005-09-24 Ralf Angeli <angeli@iwi.uni-sb.de>
301 * preview.el (preview-version): Extract version number from
304 2005-08-18 Ralf Angeli <angeli@iwi.uni-sb.de>
306 * configure.ac: Import unquoted variables from top-level configure
309 2005-07-15 David Kastrup <dak@gnu.org>
311 * latex/preview.dtx: Don't talk nonsense about the footnote macro,
312 and don't define it nonsensical for AUCTeX.
313 Reproduce `\@startsection' command to keep numbering correct in
314 default configuration for AUCTeX.
316 2005-07-14 David Kastrup <dak@gnu.org>
318 * configure.ac: protect against packagedir starting with `-'
320 2005-07-11 David Kastrup <dak@gnu.org>
322 * preview.el (preview-at-point): Join adjacent touched previews
325 * prv-emacs.el (preview-mode-setup):
327 * prv-xemacs.el (preview-mode-setup): Use correct string for
328 resetting watch on preamble.
330 2005-07-05 David Kastrup <dak@gnu.org>
332 * preview.el (preview-string-expand): Allow substrings to be
333 controlled by booleans.
334 (preview-expandable-string): Adapt type to that.
335 (preview-required-option-list): Make dependent on
336 `preview-preserve-counters'.
337 (preview-preserve-counters): New boolean.
339 2005-06-30 jalar <jalar@mai.liu.se>
341 * latex/preview.dtx: <tightpage>: added comments
343 2005-06-28 Jan-Ake Larsson <jalar@mai.liu.se>
345 * latex/preview.dtx: Add version number in a \special, in dvips
346 mode. Fix mismatched parantheses.
348 2005-06-27 David Kastrup <dak@gnu.org>
350 * latex/preview.dtx: Put version into `\pr@version'.
352 2005-06-27 Jan-Ake Larsson <jalar@mai.liu.se>
354 * latex/preview.dtx: Add backwards-compatibility for dvipng <= 1.5
356 * latex/preview.dtx: Add preview@tightpage
358 2005-06-24 David Kastrup <dak@gnu.org>
360 * prv-install.el (preview-make-package-xemacs): Add author-version.
362 * preview.el (preview-TeX-style-dir): Change docs.
364 * latex/Makefile.in (preview.dvi): Depend on preview.sty
365 (preview.pdf): Same here.
367 * configure.ac: Remove checks for PERL and info-related stuff.
368 Add . into search path first.
370 * Makefile.in (texmf): Depend on latex/Makefile
371 (latex/Makefile, auto.el, configure, Makefile, config.status):
372 targets to make sure that Makefile and stuff are up to date.
373 (install-metadata): pass author version into prv-install.el
375 2005-06-21 Ralf Angeli <angeli@iwi.uni-sb.de>
377 * configure.ac: Make message at end of configuration clearer.
378 Remove redundant build hint.
380 * .cvsignore: Remove irrelevant entries.
382 2005-06-21 David Kastrup <dak@gnu.org>
384 * configure.ac: correct comparison.
386 2005-06-20 David Kastrup <dak@gnu.org>
388 * RELEASE: Remove (folded into ../RELEASE).
390 2005-06-18 David Kastrup <dak@gnu.org>
392 * preview.el (preview-gs-dvips-process-setup)
393 (preview-dvipng-process-setup): Improve error message.
394 (preview-parse-messages): Don't throw error on nil parsestate if
395 we are in error unwinding mode already.
397 2005-06-14 David Kastrup <dak@gnu.org>
399 * README.CVS: Remove. Top file should be sufficient.
401 * autogen.sh: Remove. We have its functionality in the top
404 2005-06-08 Ralf Angeli <angeli@iwi.uni-sb.de>
406 * Makefile.in (docs, install-docs): Remove.
407 (all): Do not depend on `docs' anymore.
408 (.PHONY): Do not depend on `docs' and `install-docs' anymore.
409 (clean, maintainer-clean): Do not descend into doc directory
412 * autogen.sh: Do not generate documentation anymore.
414 * configure.ac: Remove doc/Makefile from AC_OUTPUT.
416 * doc/todo.texi: Move to AUCTeX's main doc/ directory as
419 * doc/readme.texi: Move to AUCTeX's main doc/ directory as
422 * doc/problems.texi: Move to AUCTeX's main doc/ directory as
423 preview-problems.texi.
425 * doc/preview-dtxdoc.pl, doc/preview-latex.texi: Move to AUCTeX's
428 * doc/faq.texi: Move to AUCTeX's main doc/ directory as
431 * doc/copying.texi: Move to AUCTeX's main doc/ directory.
433 * doc/Makefile.in: Remove.
435 * doc/.cvsignore: Remove.
437 2005-06-06 David Kastrup <dak@gnu.org>
439 * configure.ac: Remove call to MAKEINFO_CHECK_MACROS: we expect a
440 recent enough makeinfo version for bootstrapping, anyway.
442 * doc/Makefile.in (MAKEINFO_MACROS): remove
443 (TEXINFOINCLUDES): Remove unused TEXIPWD hack. Troublesome.
445 2005-06-04 David Kastrup <dak@gnu.org>
447 * doc/Makefile.in (TEXIFILES): Oops, depends on ../../doc/macros.texi
449 * latex/Makefile.in (MKINSTALLDIRS):
451 * doc/Makefile.in (MKINSTALLDIRS):
453 * Makefile.in (MKINSTALLDIRS): Use mkinstalldirs from AUCTeX.
455 * mkinstalldirs: remove in favor of ../mkinstalldirs
457 * doc/Makefile.in (TEXI2HTML): Use TEXI* tools and TEXINFOINCLUDES.
458 (../README): et al. Depend on ../../doc/macros.texi
460 * configure.ac: Check and test for TEXI* as well. Quotify if
463 * autogen.sh: Look in .. for macros.
465 * doc/Makefile.in (preview-latex.dvi): Use texi2dvi.
466 (preview-latex.pdf): Use texi2pdf.
467 (preview-latex.ps): Use -Ppdf option.
468 (preview-latex.info, ../README, ../FAQ, ../PROBLEMS, ../TODO):
469 deal with ../../doc/macros.texi
471 2005-05-25 David Kastrup <dak@gnu.org>
473 * circ.tex (section{Die gerade Linie}): Make the intentional
474 errors more conspicuous.
476 2005-05-24 David Kastrup <dak@gnu.org>
478 * aclocal.m4: Use elif for prettiness.
480 * prv-xemacs.el (preview-mode-setup): Change watch condition.
481 (preview-watch-preamble): Accept command.
482 (preview-unwatch-preamble): Change unwatch method.
483 (preview-preamble-check-change): Change check.
485 * prv-emacs.el (preview-preamble-changed-function): First unwatch
486 preamble, then kill format.
487 (preview-watch-preamble): Accept command to watch for.
488 (preview-unwatch-preamble): Adapt to new `format-cons' format.
489 (preview-mode-setup): Change watch condition.
491 * preview.el (preview-dumped-alist): Change definition.
492 (preview-parse-messages): Use `string-to-number' instead of
493 obsoleted `string-to-int'.
494 (preview-cache-preamble): Add format-cons arg. Only cache
495 preamble if there is no cache with the same command yet.
496 Precalculate command and check whether it matches previous one.
498 (preview-region, preview-document): Expand command here.
499 (preview-generate-preview): Accept expanded command. Always
500 tentatively dump command (unless disabled) and set sentinel only
502 (TeX-inline-preview-internal): Set command buffer at start. Use
503 `commandbuff' argument rather than `TeX-command-buffer'.
504 Raise error at different point.
506 2005-05-22 David Kastrup <dak@gnu.org>
508 * aclocal.m4: Allow --with-emacs=sth and --without-xemacs and
509 similar combinations as long as they are more or less consistent.
511 2005-05-21 Ralf Angeli <angeli@iwi.uni-sb.de>
513 * prv-install.el (preview-make-package-xemacs): Cater for XEmacs
514 21.5 which uses a different interface for generating autoloads at
517 2005-05-21 David Kastrup <dak@gnu.org>
519 * doc/wininstall.texi: Editing changes. Last checkin before
522 * doc/install.texi: Editing changes. Last checkin before removal.
524 * doc/faq.texi (Customization): Don't use @var inappropriately.
526 * autogen.sh: Remove generation of auto.texi.
528 * doc/preview-latex.texi (Installation): Refer to AUCTeX manual.
529 (Keys and lisp): Some formatting changes.
531 * doc/Makefile.in (TEXIFILES): Remove wininstall.texi and
533 (DISTTEXTS): Remove ../INSTALL and ../INSTALL.windows
534 (../INSTALL, ../INSTALL.windows): Remove.
536 * doc/problems.texi (Known problems): Remove old AUCTeX advice.
537 Remove explicit node names.
538 (Emacs problems): Rewrite. Mention precompiled CVS Emacsen.
539 Refer to AUCTeX manual.
540 (AUCTeX prior to 11.0): Remove.
541 (Too small bounding boxes): Reword.
542 (x-symbol interoperation): Explain 8-bit cleanliness somewhat more.
544 2005-05-20 Ralf Angeli <angeli@iwi.uni-sb.de>
546 * preview.el (preview-specs-type): Use an extra :value keyword to
547 avoid a bug in `widget-convert' of XEmacs 21.4 and Emacs 21.
549 2005-05-18 David Kastrup <dak@gnu.org>
551 * doc/preview-dtxdoc.pl: Don't use \n in character ranges since it
552 is not actually a character in Windows.
554 2005-05-17 David Kastrup <dak@gnu.org>
556 * Makefile.in (lisp): Rewrite condition to make `make -n' work,
557 also non-Posix shells.
558 (install-metadata): Rewrite stuff for non-Posix shells.
559 (preview-latex.el): Same here.
560 (install-metadata): ignore return state of mkinstalldirs.
562 2005-05-02 David Kastrup <dak@gnu.org>
564 * doc/wininstall.texi:
566 * doc/install.texi: Overhaul, use auto.texi.
568 * doc/Makefile.in (../INSTALL, ../INSTALL.windows): add auto.texi
570 (maintainer-clean): remove auto.texi.
572 * autogen.sh: Generate auto.texi
574 * README.CVS: Some modifications.
576 * aclocal.m4 (EMACS_PATH_LISPDIR): better help.
578 2005-05-01 David Kastrup <dak@gnu.org>
580 * doc/install.texi (Configure): Synch with auctex.
582 2005-04-30 David Kastrup <dak@gnu.org>
584 * configure.ac: Use existing variables packagedatadir,
586 If configuring a package and infodir is defaulted, disable
588 Disable TEXHASH when installing --without-texmfdir. Move TEXHASH
591 * aclocal.m4: Use existing lispdir variable.
593 * prv-install.el (preview): don't require
594 (preview-make-package-xemacs): several changes to command line
597 * Makefile.in (lisp): rename from elisp for harmony with AUCTeX.
598 (install-images): rename from install-icons.
599 (install-metadata): new options for prv-install.el
601 2005-04-29 David Kastrup <dak@gnu.org>
603 * aclocal.m4: echo date correctly.
605 2005-04-28 David Kastrup <dak@gnu.org>
607 * aclocal.m4 (AUCTEX_AUTO_DIR): simplify.
608 (AC_LISPIFY_DIR): add third argument. Simplify a few common
611 2005-04-27 David Kastrup <dak@gnu.org>
613 * aclocal.m4: sed paranoia.
615 2005-04-27 Ralf Angeli <angeli@iwi.uni-sb.de>
617 * aclocal.m4 (AC_DATE_VERSION_FROM_CHANGELOG): Escape `+'. Add
618 regexp group. Close function.
620 2005-04-27 David Kastrup <dak@gnu.org>
622 * preview.el (TeX-inline-preview-internal): Don't try interpreting
623 coding-system if it is nil.
625 * aclocal.m4 (AC_DATE_VERSION_FROM_CHANGELOG): actually look into
626 the ChangeLog file. Uh.
628 * latex/README (Note): Add bug reporting address.
630 2005-04-19 David Kastrup <dak@gnu.org>
632 * preview.el (preview-install-styles): Add autoload cookie.
634 2005-04-18 David Kastrup <dak@gnu.org>
636 * preview.el (preview-dump-state): New function to get run buffer
638 (preview-report-bug): Use it.
640 * Makefile.in (install-metadata): include directories in `MANIFEST'.
642 2005-04-16 David Kastrup <dak@gnu.org>
644 * latex/preview.dtx: Work around another ntheorem bug affecting
647 2005-04-12 David Kastrup <dak@gnu.org>
649 * configure.ac: Don't bother about pre-2.5 autoconf versions.
651 * doc/faq.texi (Customization): Remove lamentation that PDF
652 foreground is fixed to black.
654 * preview.el (preview-pdf-color-string): New function.
655 (preview-pdf2dsc-sentinel): Use it.
657 * configure.ac: renamed from configure.in
659 2005-04-11 jalar <jalar@mai.liu.se>
661 * configure.in: Minimal changes to printouts
663 2005-04-11 Ralf Angeli <angeli@iwi.uni-sb.de>
665 * preview.el (preview-set-texinputs): Fix grouping.
667 2005-04-11 David Kastrup <dak@gnu.org>
669 * prv-install.el (preview-make-package-xemacs): Don't generate
670 manifest and take package name from command line.
672 * configure.in: Don't expose `lispdir'. Explain `TEXHASH',
673 `PERL', `MAKEINFO', `INSTALL_INFO'.
675 * latex/Makefile.in (texmfdir): Don't import.
677 * Makefile.in (lispdir): Don't import.
679 * preview.el (preview-counter-find): Fix bug with `(marker)'.
681 * latex/Makefile.in (exec_prefix, libdir): Export.
683 * doc/install.texi (Configure): Explain `--without-texmf-dir'.
684 (Advice for package providers): Don't trash talk AUCTeX
686 (Advice for package providers): Mention `--without-texmf-dir'.
688 * doc/Makefile.in (exec_prefix, libdir): export.
690 * preview.el (preview-datadir): Use instead of `preview-icondir'.
691 (preview-filter-specs): Use it.
692 (preview-TeX-style-dir): New variable for uninstalled styles
693 (preview-set-texinputs): Add or remove it from TEXINPUTS
695 (preview-TeX-style-dir): proper customization.
696 (preview-install-styles): New function to install styles
699 * configure.in: use `packagedatadir' instead of `icondir'. Add
700 check for `kpathseaseparator'. Shell-quote and export
701 `exec_prefix' and `libdir'.
703 * auto.el.in (preview-datadir): replace preview-icondir, and add
704 `lisppackagetexstyles' invocation.
706 * aclocal.m4 (TEX_PATH_TEXMFDIR): Allow --without-texmf-dir, stop
707 quoting a bunch of stuff, fix reference to load-file-name.
709 * Makefile.in (exec_prefix, libdir, packagedatadir): export since
710 the XEmacs tree might call them.
711 (.PHONY, install): add install-nosearch target.
712 (install-nosearch): Install .nosearch file.
713 (install-icons): Use `$(packagedatadir)/images' instead of
716 2005-04-10 David Kastrup <dak@gnu.org>
718 * configure.in: Use new backquote syntax.
720 * doc/install.texi (Configure): Clarify.
722 2005-04-10 Ralf Angeli <angeli@iwi.uni-sb.de>
724 * latex/preview.dtx: Dvipng --> dvipng.
726 * RELEASE, circ.tex, configure.in, preview.el, doc/faq.texi,
727 doc/install.texi, doc/preview-latex.texi, doc/problems.texi,
728 doc/readme.texi, doc/wininstall.texi, latex/README,
729 latex/preview.dtx: GhostScript --> Ghostscript.
731 2005-04-08 David Kastrup <dak@gnu.org>
733 * Makefile.in (previewstartfile): import.
734 (install-startup): split lines with `$(MAKE)' and
735 `$(INSTALL_DATA)' so that `make -n' will properly recurse.
737 * aclocal.m4 (AC_LISPIFY_DIR): resolve relative paths below
738 ${lispdir} hierarchy. AC_SUBST both lisp variant of directory as
741 * configure.in: Add `--with-preview-startfile', use new semantics
742 of `AC_LISPIFY_DIR', drop `AC_MAKE_FILENAME_ABSOLUTE' stuff.
744 * doc/install.texi (Configure): explain new semantics of
745 `--with-lispdir' and new `--with-preview-startfile'.
747 * doc/wininstall.texi: Document changes semantics for
748 `--with-lispdir' and new `with-preview-startfile'.
750 2005-04-07 David Kastrup <dak@gnu.org>
752 * aclocal.m4 (EMACS_LISP): properly echo result to log file.
753 (EMACS_EXAMINE_INSTALLATION_DIR): check that the result of
754 file-relative-name is not absolute, which can happen for unrelated
756 (AC_FULL_EXPAND): also check, set and restore exec_prefix if not
759 2005-04-05 Ralf Angeli <angeli@iwi.uni-sb.de>
761 * configure.in: Cosmetics for ./configure --help.
763 * preview.el (desktop-buffer-preview): Return buffer even if no
764 information about previews is found.
766 2005-04-04 David Kastrup <dak@gnu.org>
768 * preview-latex.spec (URL, Source0): Fix addresses to point to
771 2005-04-03 David Kastrup <dak@gnu.org>
775 * latex/preview.dtx: Don't let negative dimensions into tightpage
778 * doc/macros.texi: Make @previewlatex swallow argument in links.
779 Don't scrap sf declaration. Make it correct in links.
781 * doc/readme.texi (What use is it?):
785 * doc/install.texi (Top): Work around raisesection bug.
787 * doc/Makefile.in (../INSTALL, ../INSTALL.windows, ../README)
788 (../FAQ, ../TODO): Remove --no-validate option.
789 (../PROBLEMS): remove --no-validate option, and number sections.
791 * doc/faq.texi: Make validatable top entry. Don't raise sections
792 until after the first chapter. This is insane, but otherwise
793 everything will be unnumbered.
795 * configure.in: Expand `packagelispdir' and `lispdir' before
796 checking for conflicts.
798 2005-04-02 David Kastrup <dak@gnu.org>
800 * autogen.sh: Remove autom4te.cache
802 * doc/Makefile.in (.PHONY): Add a few targets.
804 * doc/readme.texi (Basic modes of operation): Correct dvipng
807 * autogen.sh: make preview-latex.info generation work by passing
810 * README.CVS: Mention that `perl' is needed for autogen.sh, and
811 that `makeinfo' might need to be up to date.
813 * latex/README: Renamed from latex/README-preview. Overhaul
816 * doc/macros.texi: Synchronize to AUCTeX.
818 * Makefile.in (tarball-ready): Remove this target for now: it
819 can't be used consistently really. It is probably better to do
820 just run autogen.sh on a freshly exported archive.
822 * doc/Makefile.in (DISTTEXTS): Targets in parent dir.
823 (../INSTALL, ../INSTALL.windows, ../README, ../FAQ, ../PROBLEMS)
824 (../TODO): New targets instead of targets in current dir.
825 (clean): Don't remove targets in this dir.
826 (maintainer-clean): Remove DISTTEXTS targets.
828 * autogen.sh: Use make for generating distribution texts and also
829 pregenerate the info file.
831 * Makefile.in (emacsprefix): Remove.
832 (.PHONY): Collect phony targets here.
833 (DISTTEXTS): Move to doc/Makefile.in
834 (tarball-ready): Adapt
836 * preview-latex.spec: Change version number. Change directory
837 choice to "xemacs-packages" on fedora.
839 * doc/wininstall.texi: Mention that Perl is not needed if working
840 with the default tarball.
842 * doc/preview-latex.texi: Bump versions numbers, fix copyrights.
844 * doc/readme.texi (Activating preview-latex): Don't talk about
845 half a dozen non-sensical things.
846 (Availability): Change information to match move into AUCTeX.
848 * configure.in: Add check for load-path shadowing.
850 * aclocal.m4 (TEX_PATH_TEXMFDIR): We want "${texprefix}/share" in
853 2005-04-01 David Kastrup <dak@gnu.org>
855 * doc/faq.texi: Some changes. This thing really is an outdated
856 unmaintained abomination. We need to do something about it at one
859 2005-04-01 Ralf Angeli <angeli@iwi.uni-sb.de>
861 * aclocal.m4 (EMACS_EXAMINE_INSTALLATION_DIR): Repair quoting.
863 2005-04-01 David Kastrup <dak@gnu.org>
865 * RELEASE: rearrange. Mention AUCTeX 11.80 as target.
867 * aclocal.m4(EMACS_EXAMINE_INSTALLATION_DIR): avoid trailing
869 (TEX_PATH_TEXMFDIR): search order changed.
871 * latex/Makefile.in (prefix, datadir, texmfdir, previewtexmfdir)
872 (previewdocdir): Use (null) to mask Windows backslashes.
874 * configure.in: Adjust version info.
876 * aclocal.m4 (EMACS_PATH_PREFIX): just generate a single output.
877 (EMACS_PROG_EMACS): Check for `emacsprefix'.
878 (EMACS_EXAMINE_INSTALLATION_DIR): accept list of prefix variables
879 as second argument. Decompose and compare directory names
880 starting from the back.
881 (EMACS_PATH_PACKAGEDIR): search in several prefixes.
882 (EMACS_PATH_LISPDIR): same.
883 (TEX_PATH_TEXMFDIR): set `texprefix' from kpsepath.
884 Use new `EMACS_EXAMINE_INSTALLATION_DIR' for getting TeX
887 2005-03-31 David Kastrup <dak@gnu.org>
889 * configure.in: Don't set prefix if it is not set.
891 * aclocal.m4 (EMACS_PATH_PREFIX): new function.
892 (AC_FULL_EXPAND): set `prefix' from `ac_default_prefix' before
893 expansion if it is unset.
895 2005-03-31 jalar <jalar@mai.liu.se>
898 * aclocal.m4: Add $emacsprefix
900 2005-03-31 David Kastrup <dak@gnu.org>
902 * RELEASE: Update release info.
904 2005-03-30 Ralf Angeli <angeli@iwi.uni-sb.de>
906 * Makefile.in (use-hint): Fix spelling.
908 * preview.el (preview-report-bug): Use "preview-" prefix in
911 2005-03-29 David Kastrup <dak@gnu.org>
913 * configure.in (auctexdir): Use `AC_ARG_VAR' on `GS' and `TEXHASH'
914 (should probably also be used on a few other environment
916 Use `AC_SHELL_QUOTIFY' on `GS'.
918 2005-03-28 David Kastrup <dak@gnu.org>
920 * preview.el (preview): Change home page address to AUCTeX.
921 (preview-report-bug): Change bug reporting address.
923 * doc/readme.texi (Contacts): Change mailing list info.
925 * doc/problems.texi: Change mailing list info.
927 * doc/faq.texi (Introduction to FAQ): Change mailing list address.
929 * preview.el (if): Use (featurep 'xemacs) instead of
930 `(string-match "XEmacs" (emacs-version))'.
931 (preview-at-point): Don't check for XEmacs, just use
932 `TeX-active-mark' instead.
934 2005-03-24 Ralf Angeli <angeli@iwi.uni-sb.de>
936 * Makefile.in (distclean, maintainer-clean, tarball-ready): Delete
937 autom4te.cache in maintainer-clean and tarball-ready targets.
939 2005-03-24 Jan-Ake Larsson <jalar@mai.liu.se>
941 * doc/Makefile.in: Add *.pdf to clean target and
942 preview-dtxdoc.texi to maintainer-clean
944 2005-03-23 jalar <jalar@mai.liu.se>
947 * Makefile.in: add maintainer-clean target
949 * Makefile.in: add tarball-ready target
951 * configure.in: Add check for perl
953 * doc/Makefile.in: Use the configure-provided $PERL
955 2005-03-22 David Kastrup <dak@gnu.org>
957 * preview.el (preview-counter-find): Coerce `begin' to integer to
958 work around an Emacs 21.x bug.
960 * Makefile.in (install): Install startup file before docs.
962 * doc/Makefile.in (preview-latex/index.html): Don't ignore exit
963 status of makeinfo (this target is on-demand only, anyway).
965 * doc/preview-dtxdoc.pl: Accept two arguments so that output file
966 will not get clobbered if Perl is not operative.
968 2005-03-19 David Kastrup <dak@gnu.org>
970 * prv-xemacs.el (preview-buffer-recoding-alist): Madness variable.
971 (preview-buffer-recode-system): Use it.
972 (tex-site, tex, latex): Require them.
974 * prv-emacs.el (tex-site, tex, latex): require them to silence
976 (preview-buffer-recode-system): Compatibility function. Probably
977 not necessary for Emacs.
979 * preview.el (TeX-overlay-prioritize): don't redefine, test for
980 its presence at runtime. Less invasive, less offensive to the
982 (preview-coding-system): New buffer-local variable to indicate the
983 coding system used for processes.
984 (preview-place-preview, preview-reinstate-preview): Use
985 `TeX-overlay-prioritize' only if it exists.
986 (mailcap-extension-to-mime): Use an autoload form instead of
987 `require' at runtime.
988 (preview-format-mml): Use `mailcap-extension-to-mime' directly
989 (preview-error-quote): take coding system of LaTeX process as
991 (preview-parse-messages): initialize `run-coding-system' from
992 `preview-coding-system'. Use it for calling
993 `preview-error-quote'.
994 (TeX-inline-preview-internal): Initialize `preview-coding-system'
995 and make process use it.
997 2005-03-18 David Kastrup <dak@gnu.org>
999 * preview.el (TeX-region-create): Try shutting up the byte
1000 compiler at load time.
1002 * doc/install.texi: Mention that "the usual procedure" is for
1003 site-wide installation.
1004 (Advice for package providers): Mention site-start.el.
1005 (Advice for non-privileged users): Adapt to new conventions.
1006 Some other small changes.
1008 * preview.el (TeX-overlay-prioritize): correct stupid typo.
1009 (preview-log-error): Pop up run buffer in case of error.
1011 2005-03-17 David Kastrup <dak@gnu.org>
1013 * preview.el (tex-site): Require loads of stuff at the beginning:
1014 preview.el is supposed to be autoloaded, so we can just load
1015 everything that needs to get loaded, anyway.
1016 (TeX-overlay-prioritize): alias to "ignore" if not defined
1017 elsewhere. This will not set priorities.
1018 (eval-when-compile): move out most requires.
1019 (preview-place-preview): Use TeX-overlay-prioritize instead of
1020 TeX-fold-prioritize.
1021 (preview-counter-find): Pass begin in to reduce one compilation
1023 (TeX-region-create): Don't preactivate `preview-counter' advice.
1024 (preview-reinstate-preview): Rename priority function to
1025 `TeX-overlay-prioritize'.
1026 (LaTeX-preview-setup): Remove requires.
1027 (TeX-region-create): Explicitly activate `preview-preamble' advice
1028 even though it is preactivated.
1030 2005-03-16 David Kastrup <dak@gnu.org>
1032 * prv-emacs.el: Use the four-argument version of `face-attribute'
1035 2005-03-15 David Kastrup <dak@gnu.org>
1037 * doc/install.texi (Configure): Be somewhat more verbose. Be
1038 explicit about Emacs-only options.
1040 * doc/wininstall.texi: Warn against Winzip. Reorganize docs
1041 somewhat and clarify about Emacs-only procedures.
1043 * doc/preview-latex.texi (Keys and lisp): Document
1044 preview-at-point allowing active region.
1046 * preview.el (preview-at-point): Remove nonsensical arguments.
1047 Instead, allow for an active region.
1049 * configure.in: Add `packagelispdir' to quoted Makefile variables.
1051 2005-03-14 David Kastrup <dak@gnu.org>
1053 * latex/preview.dtx: Reformat the kaboodle to look nicer.
1054 Move \nofiles to auctex option.
1056 * latex/README-preview (Note): Mention \nofiles problem.
1058 * preview.el (preview-LaTeX-command): Add \nofiles to startup.
1060 2005-03-14 Masayuki Ataka <ataka@milk.freemail.ne.jp>
1062 * preview.el (TeX-fold-prioritize): autoload.
1063 (preview-place-preview, preview-reinstate-preview): Use it.
1065 2005-03-07 David Kastrup <dak@gnu.org>
1067 * preview.el (preview-gs-open): Make better error message for junk
1068 left over on PostScript stack, so that we may better pass the
1071 2005-03-05 David Kastrup <dak@gnu.org>
1073 * latex/preview.dtx: Fix psfixbb option that must have become
1074 illegal at some time accidentally.
1076 * doc/install.texi (Loading the package): Explain that
1077 preview-latex.el should already be installed in-place.
1079 2005-03-04 David Kastrup <dak@gnu.org>
1081 * Organizational: preview-latex development has been moved from
1082 <URL:http://sourceforge.net/projects/preview-latex> into the
1083 AUCTeX CVS Archive on
1084 <URL:http://savannah.gnu.org/projects/auctex>.
1086 2005-03-03 David Kastrup <dak@gnu.org>
1090 * prv-install.el (preview-make-package-xemacs): Add directory
1091 information from autoe.el to autoloads.
1093 * Makefile.in (elisp): generate preview-latex.el only when no
1095 (install-el): Depend on auto.el
1096 (install-startup): Make and install preview-latex.el only when no
1099 * prv-emacs.el (preview-create-icon-1): Use adaptive heuristic
1100 mask for transparency.
1102 * preview-latex.spec: Make preview.dvi. But preview-latex.pdf
1104 * latex/Makefile.in (all): Generate both dvi and pdf.
1105 (install-texmf-doc): Install DVI (faster, compact).
1107 * latex/Makefile.in (install-texmf-doc): Install PDF instead of
1110 * doc/wininstall.texi: Simplify, rearrange, adapt to new
1111 installation scheme. Add links to CVS precompiled versions.
1113 * doc/install.texi (Prerequisites): Revamp.
1114 (Configure): Add explanations.
1116 * preview-latex.spec: Change rpm name to include "fedora". Adapt
1117 to new configure stuff. Use pdf doc instead of DVI.
1119 * configure.in: icondir is absolute, reorder some stuff to
1120 maintain directory locality.
1122 * aclocal.m4: Change a lot of $x to ${x}.
1123 Simplify some stuff.
1125 * RELEASE: Add information for release.
1127 * configure.in: Correct prefix check. Add Emacs version check.
1129 * aclocal.m4: Move several functions around, completely overhaul
1130 the stuff to just detect material in prefix-related directories.
1131 Remove docstrip config detection, add version checking of major
1132 and minor version. Rely on prefix being set by configure.in.
1134 2005-03-02 David Kastrup <dak@gnu.org>
1136 * Makefile.in (install-el): no means no for packagedir.
1138 * configure.in: Set prefix.
1140 * aclocal.m4: Use "no" for no packagedir in XEmacs.
1141 Don't save prefix and stuff.
1142 Expand stuff at some points.
1144 * doc/wininstall.texi: Use executable name directly to save
1147 * prv-xemacs.el (preview-filter-specs): Rework specs.
1149 * prv-emacs.el (preview-filter-specs): Translate :type fields.
1151 * preview.el (preview-min-spec): Move.
1152 (preview-filter-specs): Move from prv-emacs.el and prv-xemacs.el.
1153 (preview-filter-specs-1): simplify.
1154 (preview-icondir): Create icondir preset variable.
1155 (preview-filter-specs): expand file specs against it here instead
1156 of prv-emacs.el and prv-xemacs.el.
1158 * configure.in: Adapt to new variables.
1159 Remove check for image-supporting Emacs: it is probably not
1160 reliable on consoles.
1161 Add packagelispdir and icondir options.
1162 (GS): Don't try GSWIN32.EXE.
1163 Create lispGS in auto.el
1165 * autogen.sh: Use --output option for makeinfo to get
1166 tableofcontents in FAQ.
1168 * doc/Makefile.in (.PHONY): Add install here.
1170 * Makefile.in (install-el): Adapt targets to packagelispdir.
1171 (.PHONY): Add install target for case insensitive filesystems.
1173 * aclocal.m4: Rewrite EMACS_EXAMINE_PACKAGEDIR.
1174 EMACS_LISP now gets one argument less.
1175 EMACS_TEST_LISP_DIR makes just one pass.
1176 EMACS_PATH_LISPDIR expands less.
1177 AC_LISPIFY_DIR is a new function.
1178 AC_MAKE_FILENAME_ABSOLUTE
1179 AC_LISP_RELATIVE new functions.
1181 2005-02-26 David Kastrup <dak@gnu.org>
1183 * doc/readme.texi (Basic modes of operation): Adapt PDFLaTeX
1184 explanation to newer AUCTeX versions.
1186 * preview.el (preview-error-icon-specs): Choose somewhat oversized
1187 errors. Adapt to set.
1188 (preview-gs-restart, preview-gs-transact): Change image file name
1190 (preview-clean-subdir): When cleaning out subdirectories, match
1191 `pr' instead of `pre'.
1193 * Makefile.in (ICON_SOURCES): Adapt to existing set.
1195 2005-02-25 David Kastrup <dak@gnu.org>
1197 * preview.el (preview-gs-options): Remove "-dDELAYSAFER" from
1199 (preview-gs-sequence): New variable.
1200 (preview-gs-sentinel): Don't repeat startup echo if GhostScript
1201 fails before prompting the first time.
1202 (preview-gs-sentinel): When restarting, remove expected file names
1203 from `preview-gs-outstanding'.
1204 (preview-gs-restart): generate a unique output file name pattern
1205 from `preview-gs-sequence'
1206 (preview-gs-restart): list start command quoted.
1207 (preview-gs-open): initialize `preview-gs-sequence'.
1208 (preview-gs-open): if historic "DELAYSAFER" is still configured,
1209 start safe mode manually. Remove all settings of OutputFile, and
1210 all runandhide stuff.
1211 (preview-gs-place): Don't generate a filename that might not be
1213 (preview-gs-flag-error): Generate a synthetic OutputFile option.
1214 Use it in error messages.
1215 (preview-gs-transact): generate output file name in outstanding
1216 queue. Don't fiddle with OutputFile settings. Advance
1217 `preview-gs-sequence'.
1218 (preview-dvipng-place-all): Generate file name.
1220 * prv-xemacs.el (null-device): Remove compatibility definition.
1222 2005-02-18 David Kastrup <dak@gnu.org>
1224 * preview.el (preview-specs-setter): New function.
1225 (preview-nonready-icon-specs): Choose slightly smaller icons.
1226 (preview-nonready-icon-specs, preview-error-icon-specs)
1227 (preview-icon-specs): Use `preview-specs-setter'.
1229 * doc/wininstall.texi: Mention case problems.
1231 * doc/install.texi (Prerequisites): Update AUCTeX version info.
1233 * doc/problems.texi (Middle-clicks paste instead of toggling):
1234 Remove reference to patches directory. Should no longer be
1236 (Problems with GhostScript): Mention use of gswin32.exe instead of
1237 gswin32c.exe as a problem source.
1239 * preview.el (preview-nonready-icon-specs): Add size 14.
1241 * images/prvwrk24.xpm: New icon, dimmer, better shape.
1243 * images/prvwrk20.xpm: New icon
1245 * images/prvwrk16.xpm: New icon
1247 * images/prvwrk14.xpm: New icon
1249 * images/prvwrk12.xpm: New icon
1251 2005-02-15 David Kastrup <dak@gnu.org>
1253 * preview.el (preview-error-quote): Encode to raw-text to get
1256 2005-02-13 David Kastrup <dak@gnu.org>
1258 * doc/preview-latex.texi (The Emacs interface): Adapt to new
1259 `preview-use-balloon-help' default.
1261 * doc/faq.texi (Customization): Adapt to new
1262 `preview-use-balloon-help' default.
1264 * prv-xemacs.el (preview-use-balloon-help): Default to nil.
1266 * preview.el (preview-gs-flag-error): For consistency, make error
1267 icons have a context menu on right mouse button.
1269 2005-02-11 David Kastrup <dak@gnu.org>
1271 * doc/preview-latex.texi (Keys and lisp): Change descriptions to
1272 cater only for interactive use.
1273 (Keys and lisp): Explain mouse-3 better.
1274 (Keys and lisp): Move preview-copy-region-as-mml explanation up.
1275 Explain about the new border avoidance behavior.
1276 (The Emacs interface): Explain about how to adapt the various
1279 * preview.el (preview-specs-type): Type for specs defcustom.
1281 (preview-nonready-icon-specs, preview-error-icon-specs)
1282 (preview-icon-specs): move lower and make defcustom from it.
1284 2005-02-10 David Kastrup <dak@gnu.org>
1286 * prv-emacs.el (preview-mode-setup): Only define a preview toolbar
1287 entry when the icon is valid.
1289 * RELEASE: Mention the new icons.
1291 * prv-xemacs.el (preview-tb-icon): Use this instead of
1292 (preview-icon-toolbar-button): in order to match
1293 `preview-tb-icon-specs', as in prv-emacs.el
1294 (preview-mode-setup): Don't install a toolbar item when no icon
1295 image can be generated properly.
1297 2005-02-09 David Kastrup <dak@gnu.org>
1299 * prv-xemacs.el (add-to-list): only provide definition for
1300 three-argument version if XEmacs doesn't. May be removed at some
1302 (null-device): Only defvar if unbound in order not to munge the
1304 (preview-transparent-border): Silence the byte-compiler.
1305 (preview-supports-image-type): Move earlier.
1306 (preview-filter-specs): Correct a few typos.
1307 (preview-filter-specs): Don't forget to call `make-glyph'.
1308 (preview-mode-setup): Correct toolbar icon setup.
1310 * preview.el (preview-error-quote): Remove unused variable `char'.
1312 * doc/faq.texi (Requirements): Stop talking about ancient XEmacs
1314 (Requirements): Mention Emacs 22 instead of 21.4
1316 * doc/install.texi (Prerequisites): same
1318 * doc/problems.texi (Emacs problems): same
1320 * preview-latex.spec (Conflicts): xemacs = 21.4.16
1322 * RELEASE: Add some dvipng information, more detailed
1325 * preview.el (preview-region, preview-buffer, TeX-region-create)
1326 (preview-document, preview-environment, preview-section): Move
1327 down to avoid byte compiler warnings.
1329 * images/*: lots of renaming/moving stuff around.
1331 * configure.in: remove ICONFORM stuff.
1333 * Makefile.in (ICONFORM): removed.
1334 (ICON_SOURCES): Change to different list.
1336 * prv-xemacs.el (preview-nonready-icon, preview-error-icon)
1337 (preview-icon, preview-tb-icon): Removed in this form.
1338 (preview-ascent-spec): New symbol for storing minimal data when
1340 (preview-filter-specs): New function.
1341 (preview-icon-copy): Replaces `preview-nonready-copy'.
1342 (preview-mode-setup): Create toolbar button.
1344 * prv-emacs.el (preview-nonready-icon, preview-error-icon)
1345 (preview-icon): removed.
1346 (preview-filter-specs): New function.
1347 (preview-tb-icon-specs, preview-tb-icon): New variables for the
1349 (preview-icon-copy): replaces `preview-nonready-copy'
1350 (preview-mode-setup): Initialize `preview-tb-icon'
1352 * preview.el (preview-nonready-icon-specs)
1353 (preview-nonready-icon, preview-error-icon-specs)
1354 (preview-error-icon, preview-icon-specs, preview-icon)
1355 (preview-min-spec): New variables.
1356 (preview-gs-place): Use `preview-icon-copy' instead of
1357 `preview-nonready-copy'
1358 (preview-make-image): New function.
1359 (preview-filter-specs-1): New function.
1360 (preview-buffer-restore-internal): Call `preview-get-geometry' for
1361 having size information. This may be incorrect at restore time.
1362 (preview-get-geometry): Also constitute `preview-icon',
1363 `preview-error-icon' and `preview-nonready-icon'.
1365 2005-02-06 David Kastrup <dak@gnu.org>
1367 * doc/wininstall.texi: Add note about `gswin32c.exe'.
1369 2005-01-29 David Kastrup <dak@gnu.org>
1371 * preview-latex.spec (Release): Bump version to prerelease, make
1372 some changes that look like they'd fit into AUCTeX's scheme.
1374 * RELEASE: Some changes and mentions.
1376 * doc/preview-dtxdoc.pl: Convert AUC\TeX reference as well.
1377 Convert `\#' to `#'.
1379 * latex/preview.dtx: Add `#' and `:' letters and documentation.
1380 Make all commands pass on `#' on cleanly. Don't eliminate last
1381 `{}' last in argument lists.
1383 * latex/Makefile.in (preview.pdf): New target. Since PDFs are
1384 used for external documentation usually, generate only the
1385 description (for internal docs, dvi is fine and adding the code,
1388 * configure.in: Bump version number.
1391 2005-01-26 David Kastrup <dak@gnu.org>
1393 * preview.el (preview-copy-mml, preview-copy-region-as-mml)
1394 (preview-format-mml): Ask whether user really wants to use
1396 (preview-error-quote): Fix typo. Make the condition to call
1397 decode-coding-string depend on (featurep 'mule) to match choice
1398 for using raw process output.
1399 (preview-get-geometry): Return the geometry instead of
1400 manipulating a buffer.
1401 (preview-set-geometry): New function to set the geometry into
1402 buffer-local variables.
1403 (preview-generate-preview): Start by getting geometry.
1404 (TeX-inline-preview-internal): Additional geometry argument.
1405 Don't switch into buffer where we are already.
1407 2005-01-25 David Kastrup <dak@gnu.org>
1409 * prv-emacs.el: Don't use transparent borders when Emacs is new
1410 enough to have tolerable blinking.
1412 * preview.el (preview-dvipng-color-string): Pass the border into
1414 (preview-dvipng-place-all): Record the border in the image data
1417 2005-01-24 David Kastrup <dak@gnu.org>
1419 * RELEASE: Ask for dvipng 1.4, mention utf-8 capability.
1421 * preview.el (preview-error-quote): Don't regexp codes out of the
1422 ASCII range, and convert the resulting string using the buffer
1423 encoding. This makes for utf-8.
1424 (preview-parse-messages): Change match mechanism.
1425 (TeX-inline-preview-internal): Set process encoding to raw-text
1426 since TeX may deliver mixtures of encoded and clean bytes.
1428 2005-01-19 Jan-Ake Larsson <jalar@mai.liu.se>
1430 * aclocal.m4: sync with AUCTeX
1432 2005-01-17 jalar <jalar@mai.liu.se>
1434 * ChangeLog.1: Move dvipng changes to its Changelog
1436 2004-11-05 David Kastrup <dakas@users.sourceforge.net>
1438 * doc/readme.texi (What use is it?): New section.
1440 * doc/preview-latex.texi (The Emacs interface)
1441 (The preview images): Add a bit of information concerning
1442 PDF/dvipng operation.
1444 * preview.el (preview-default-preamble): Require specific date of
1447 * latex/preview.dtx: Let bop-hook and eop-hook work only on outer
1448 level, so that previews can contain dvips -E generated files.
1450 2004-10-23 David Kastrup <dakas@users.sourceforge.net>
1452 * preview.el (preview): Change group to 'AUCTeX.
1454 2004-10-21 David Kastrup <dakas@users.sourceforge.net>
1456 * prv-xemacs.el (preview-mode-setup): Add `desktop-save-buffer'
1459 * prv-emacs.el (preview-mode-setup): Add `desktop-save-buffer'
1462 * preview.el (desktop-buffer-preview-misc-data): Let arguments be
1463 ignored for desktop 2.06.
1464 Add to `desktop-buffer-misc-functions' only after desktop has been
1466 (desktop-buffer-preview): take arguments for desktop 206.
1468 2004-10-18 David Kastrup <dakas@users.sourceforge.net>
1470 * prv-xemacs.el (glyph-image-type): Removed.
1471 (preview-create-icon-1, preview-create-icon): like in prv-emacs.el.
1472 (preview-replace-active-icon): Use defsubst.
1473 (preview-ps-image): Removed.
1474 (preview-move-point): Reorganized.
1475 (preview-export-image): Removed.
1476 (preview-import-image): Changed to new preview-image semantics.
1478 * prv-emacs.el (preview-create-icon): replace macro with defsubst,
1479 add border argument.
1480 (preview-replace-active-icon): defsubst, and cater for new
1481 preview-image structure.
1482 (preview-int-bb, preview-ps-image): Removed, only needed for
1484 (preview-move-point): Reorganized.
1485 (preview-export-image): Removed.
1487 * preview.el (preview-image-creators): Remove postscript device,
1488 it did not work, anyway.
1489 (preview-dvipng-color-string): Add resolution to args in order to
1490 properly convert border thickness.
1491 (preview-gs-dvips-sentinel): Delete unused `gsfile' variable.
1492 (preview-eps-open, preview-eps-dvips-process-setup,
1493 preview-eps-place): Removed.
1494 (preview-gs-place, preview-gs-transact, preview-dissect)
1495 (preview-dvipng-place-all, preview-active-string)
1496 (preview-reinstate-preview): add construction info to
1497 `preview-image' property.
1498 (preview-start-dvipng): Calculate resolution info correctly.
1499 (preview-at-point): Fix an awful typo.
1501 2004-10-14 David Kastrup <dakas@users.sourceforge.net>
1503 * latex/preview.dtx: Make the end of snarfed environments behave
1504 normally if the environment is not being snarfed.
1506 2004-10-14 Jan-Ã…ke Larsson <jalar@mai.liu.se>
1508 * doc/wininstall.texi: Adjust text to conform with the AUCTeX aclocal.
1510 * configure.in: Add VALID_BUILD_DIR
1512 2004-10-13 Jan-Ã…ke Larsson <jalar@mai.liu.se>
1514 * configure.in: Adjust for the aclocal.m4 sync with AUCTeX
1516 * aclocal.m4: Sync with AUCTeX. Well, almost. Don't
1517 use the version test.
1519 2004-10-09 David Kastrup <dakas@users.sourceforge.net>
1521 * preview.el (preview-dvipng-command): Use -picky option.
1522 (preview-error-quote): Convert character to buffer encoding if
1524 (preview-parse-messages): Strip incomplete 8bit character
1525 transliterations from the error context.
1527 2004-08-21 Reiner Steib <Reiner.Steib@gmx.de>
1529 * doc/install.texi: Markup fixes, see "(texinfo)command".
1531 * doc/wininstall.texi: Ditto.
1533 2004-08-09 David Kastrup <dakas@users.sourceforge.net>
1535 * doc/preview-latex.texi: Bump version number.
1536 (top): Change preview-latex typesetting convention.
1537 (Keys and lisp): AUCTeX menus are not changed.
1538 (Simple customization): Don't talk about `.dvi'.
1539 (For advanced users): Menu `The preview images' instead of `On EPS
1541 (The Emacs interface): Take PDF into account.
1542 (The preview images): Describe `preview-gs-image-type-alist',
1543 `preview-dvipng-image-type'.
1545 * doc/faq.texi (Introduction to FAQ): Change submission address to
1546 preview-latex-devel since this appears to better reflect reality.
1548 * latex/preview.dtx (showlabels): work around ntheorem/amsmath
1551 * preview.el (preview-gs-image-type-alist): Add fallback for
1552 'postscript image type (not yet used).
1553 (preview-dvipng-command): Add documentation about
1554 `preview-dvipng-image-type'. Change options to `-picky
1555 -noghostscript' to work with dvipng 1.2.
1556 (preview-dvipng-image-type): New variable.
1557 (preview-gs-open): Don't barf until we know what device will
1559 (preview-gs-dvips-process-setup): Complain about unavailable
1561 (preview-dvipng-process-setup): And here.
1562 (preview-dvipng-process-setup, preview-dvipng-place-all): Use
1563 `preview-dvipng-image-type'.
1564 (preview-TeX-inline-sentinel): Change "abnormally with code 1" and
1565 "finished" exit status message.
1566 (preview-dump-replacements, preview-undump-replacements): Don't
1567 match command name as specifically.
1568 (preview-report-bug): Report more variables.
1570 2004-08-07 David Kastrup <dakas@users.sourceforge.net>
1572 * doc/macros.texi: New @ConTeXt{} macro, change appearance of
1575 * doc/faq.texi (Customization): Presentation classes should work
1577 (Customization): Remove troubleshooting for `xy.sty'.
1578 (Requirements): Add AUCTeX 11.50 for PDFLaTeX.
1579 (Requirements): Mention dvipng.
1580 (Customization): PDFLaTeX is supported now.
1581 (Customization): ConTeXt is supported by AUCTeX, PDFLaTeX too.
1582 `Only' style support is missing now.
1584 * latex/preview.dtx: workaround for `xy.sty' in `textmath' code.
1586 2004-08-04 David Kastrup <dakas@users.sourceforge.net>
1588 * aclocal.m4: Merge a few AUCTeX changes.
1590 2004-08-03 David Kastrup <dakas@users.sourceforge.net>
1592 * preview.el (preview-walk-document): Current buffer and its
1593 master are always considered part of the document.
1594 (preview-dvipng-command): Use -noghostscript option.
1595 (preview-dvipng): Remove the almost unused customization group
1598 2004-08-02 David Kastrup <dakas@users.sourceforge.net>
1600 * preview.el (preview-extract-bb): remove old outcommented version.
1601 (preview-dvipng-command): Use -no-image-on-warn option.
1602 (preview-pdf2dsc-process-setup): Oops, just use
1603 `preview-gs-image-type' here.
1604 (preview-dvipng-sentinel): Don't delete dvi file since it might be
1605 needed in `dvipng-place-all'.
1606 (preview-dvipng-place-all): Start dvips/GhostScript if some image
1607 files are missing. Delete dvi file if none are missing.
1609 2004-07-28 David Kastrup <dakas@users.sourceforge.net>
1611 * doc/problems.texi (Too small bounding boxes): Fix node
1614 * latex/preview.dtx: Tiny change to placate font-latex.
1616 * latex/README-preview: Explain that PDF may be produced.
1618 * doc/wininstall.texi: Remove advice about failing byte-compiles:
1619 we should have this covered by now.
1621 * doc/problems.texi (LaTeX international characters): remove node.
1623 * doc/preview-latex.texi (Misplaced previews): Refer to x-symbol
1624 node instead of 8bit testing.
1626 * doc/install.texi (Configure): Remove --disable-8bit-test
1629 * preview.el (preview-parse-messages): Simplify line match.
1631 * preview-latex.spec: Several changes of %{buildroot} uses and of
1632 infodir. Doubtful whether this will work with Fedora.
1634 * configure.in: Remove all 8bit-cleanness testing.
1636 * aclocal.m4 (EMACS_LISP): just write out a string expression
1637 without change or echo. Document the macro.
1639 * doc/Makefile.in (prefix) (packagedir) (datadir) (infodir):
1640 preserve trailing backslashes.
1642 * Makefile.in (INSTALL) (INSTALL_DATA): Don't munge them for
1643 trailing backslashes.
1645 2004-07-27 David Kastrup <dakas@users.sourceforge.net>
1647 * preview.el (preview-dvipng): New customization group.
1648 (preview-image-creators): Remove ghostscript options here.
1649 (preview-gs-image-type-alist): New variable for lookup of
1650 Ghostscript options.
1651 (preview-gs-open): Remove imagetype and gs-optionlist arguments.
1652 Instead, look them up in preview-gs-image-type-alist.
1653 (preview-gs-dvips-process-setup): Setup GhostScript command line
1655 (preview-gs-dvips-process-setup): Use preview-gs-image-type, not
1656 preview-image-type for extension.
1657 (preview-dvipng-open): Removed.
1658 (preview-dvipng-process-setup): Setup GhostScript fallback.
1659 (preview-pdf2dsc-process-setup): Don't setup GhostScript here.
1660 (preview-error-quote): Fix bugs, only convert last ^^ sequence
1661 when a long string of ^^ exists.
1663 2004-07-16 David Kastrup <dakas@users.sourceforge.net>
1665 * Makefile.in (INSTALL_DATA): Use `$(null)' at end of variables at
1666 end of lines instead of `#'
1668 2004-07-15 David Kastrup <dakas@users.sourceforge.net>
1670 * preview.el (preview-format-mml): Somewhat different code.
1671 (preview-error-quote): New function for generating a matching
1672 regexp to deal with ^^ type error messages. In short: forget
1673 about 8-bit-cleanliness.
1674 (preview-parse-messages): Use it.
1676 2004-05-08 David Kastrup <dakas@users.sourceforge.net>
1678 * preview.el (preview-format-mml): Determine MIME format from
1679 file name properly. And don't return anything for bad overlays.
1681 * Split ChangeLog.1 off, create dvipng/ChangeLog.
1683 * preview.el (preview-gs-sentinel): Add info about GhostScript
1684 finishing to run buffer.
1685 (preview-gs-restart): Same for start.
1686 (preview-gs-color-string): Cater for border without mask color
1687 (didn't we do that already?)
1689 2004-04-23 David Kastrup <dakas@users.sourceforge.net>
1691 * preview.el (preview-gs-color-string)
1692 (preview-dvipng-color-string): Try to do something reasonably sane
1693 when a non-nil border thickness is specified, but no color.
1695 2004-04-20 Reiner Steib <Reiner.Steib@gmx.de>
1697 * .cvsignore: Added "autom4te.cache".
1699 2004-04-19 Reiner Steib <Reiner.Steib@gmx.de>
1701 * doc/preview-latex.texi (Simple customization): Don't "unlispify"
1704 2004-04-12 David Kastrup <dakas@users.sourceforge.net>
1708 * preview.el (preview-dump-replacements): Use regexp not
1709 triggering bugs in older Emacsen.
1710 (preview-dump-replacements): Same here.
1712 * RELEASE, configure.in, doc/preview-latex.texi: Adapt to 0.8.1
1714 * preview-latex.spec: xemacspkgdir has changed in recent XEmacs
1715 releases for Redhat.
1717 * prv-xemacs.el (preview-mode-setup): Remove non-existent menu.
1719 * prv-emacs.el (preview-mode-setup): Remove non-existent menu
1720 "copied" from TeX-command-list to Command menu.
1724 * RELEASE: prepare for 0.8
1726 * preview-latex.spec: prepare for 0.8, bump XEmacs to 21.4.9.