cedet-common -- tweak ezimage.el to fix Speedbar image display.
[packages] / xemacs-packages / auctex / preview / ChangeLog
1 2007-01-12  Ralf Angeli  <angeli@caeruleus.net>
2
3         * configure.ac: Bump version number.
4
5 2006-12-01  David Kastrup  <dak@gnu.org>
6
7         * prv-emacs.el (preview-move-point): Do not error out if
8         `distance' is nil.
9
10         * prv-xemacs.el (preview-supports-image-type): Move so that the
11         following comment makes sense.
12
13 2006-12-01  Ralf Angeli  <angeli@caeruleus.net>
14
15         * prv-xemacs.el (preview-move-point): Do not error out if
16         `distance' is nil.
17
18 2006-10-24  David Kastrup  <dak@gnu.org>
19
20         * prv-xemacs.el (preview-move-point): rearrange for calling
21         `preview-auto-reveal' with DISTANCE argument.
22
23         * prv-emacs.el (preview-remove-urgentization): Small optimization.
24         (preview-move-point): Rearrange to be more efficient in the
25         absence of overlays.
26
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
30         restoration.
31         (preview-auto-reveal-p): Implement integer MODE and take DISTANCE
32         argument.
33         (preview-auto-reveal): Allow DISTANCE.
34
35 2006-10-19  David Kastrup  <dak@gnu.org>
36
37         * prv-xemacs.el (preview-defmacro): Use `fboundp' instead of
38         `functionp'.
39         (add-to-list): compatibility function not needed anymore since
40         2006-10-11 change.
41
42 2006-10-18  David Kastrup  <dak@gnu.org>
43
44         * preview.el (eval-when-compile): restore function definitions of
45         compatibility macros.
46
47         * prv-xemacs.el (preview-defmacro): Also redefine functions that
48         actually exist, but save their definition.
49
50         * preview.el (preview-parse-messages): Fix bad regexp.
51
52 2006-10-16  David Kastrup  <dak@gnu.org>
53
54         * preview.el (preview-parse-messages): Rearrange the regexp for
55         matching and renumber the matches and match strings accordingly.
56
57 2006-10-11  David Kastrup  <dak@gnu.org>
58
59         * preview.el (LaTeX-preview-setup): Move setup of
60         `TeX-error-description-list' and `TeX-expand-list' to AUCTeX
61         proper.
62
63 2006-10-10  David Kastrup  <dak@gnu.org>
64
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,
69         just leave garbage.
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
77         names.
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'.
88
89 2006-09-29  David Kastrup  <dak@gnu.org>
90
91         * preview.el (preview-gs-command): Make default depend on
92         `system-type', using "GSWIN32C.EXE" on `windows-nt'.
93
94         * configure.ac: If no GhostScript or the standard setting for the
95         operating system is found, don't override the default.
96
97 2006-09-21  David Kastrup  <dak@gnu.org>
98
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
106         variables.
107
108         * configure.ac: Remove `--with-kpathseasep' option.
109
110 2006-09-01  David Kastrup  <dak@gnu.org>
111
112         * prv-xemacs.el (preview-import-image): Allow strings as image
113         properties.
114
115         * prv-emacs.el (preview-remove-urgentization)
116         (preview-import-image): Allow strings as image properties.
117
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.
127
128 2006-08-25  David Kastrup  <dak@gnu.org>
129
130         * latex/preview.dtx: Use eTeX's `\protected' on redefinitions when
131         available.
132
133 2006-08-15  David Kastrup  <dak@gnu.org>
134
135         * latex/preview.dtx: Change from 2006-07-12 could lose the
136         `AtBeginDvi' material.  Fix that.  Disable preview within output
137         routine.
138         And actually hijack `\output' instead of doing it half way.
139
140 2006-07-28  Reiner Steib  <Reiner.Steib@gmx.de>
141
142         * latex/Makefile.in (install-texmf): Only update the relevant ls-R
143         file.
144
145 2006-07-25  David Kastrup  <dak@gnu.org>
146
147         * latex/preview.dtx: Allow two optional parameters as in
148         memoir.cls for sections.  Also preview chapter headings.
149
150 2006-07-23  Ralf Angeli  <angeli@caeruleus.net>
151
152         * configure.ac: Fix spelling of MiKTeX.
153
154 2006-07-12  David Kastrup  <dak@gnu.org>
155
156         * latex/preview.dtx: Add a font-lock helping comment, remove
157         preview's hook into the output routine, deactivate `\shipout' in a
158         cleaner manner.
159
160 2006-07-11  David Kastrup  <dak@gnu.org>
161
162         * latex/preview.dtx: Fix XymTeX catcodes again.
163
164 2006-07-10  Ralf Angeli  <angeli@caeruleus.net>
165
166         * Makefile.in, latex/Makefile.in (datarootdir): New variable used
167         by autoconf 2.59e.
168
169 2006-06-12  Ralf Angeli  <angeli@caeruleus.net>
170
171         * latex/README: Streamline.  Add sections.  Clean up.
172
173 2006-06-08  David Kastrup  <dak@gnu.org>
174
175         * latex/README: Adapt to new realities.
176
177 2006-05-25  David Kastrup  <dak@gnu.org>
178
179         * latex/preview.dtx: Add another fix for XyMTeX (which got the
180         catcode for @ wrong).
181
182 2006-05-25  Ralf Angeli  <angeli@caeruleus.net>
183
184         * configure.ac: Bump version number.
185
186         Update address of FSF in GPL notices.
187
188 2006-04-20  David Kastrup  <dak@gnu.org>
189
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.
194
195 2006-03-22  Ralf Angeli  <angeli@iwi.uni-sb.de>
196
197         * Makefile.in (.PHONY, install): Remove `install-metadata'.
198         (install-metadata): Remove.
199
200 2006-03-22  David Kastrup  <dak@gnu.org>
201
202         * prv-install.el (preview-make-package-xemacs): Accept list of
203         files to be appended.
204
205 2006-03-14  Ralf Angeli  <angeli@iwi.uni-sb.de>
206
207         * configure.ac: Use `AC_PROG_MAKE_SET' instead of deprecated
208         `AC_SET_MAKE'.
209
210 2006-02-21  Ikumi Keita <ikumi@revery.net>
211
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
217         tex-jp.el is loaded.
218
219 2006-01-29  Ralf Angeli  <angeli@iwi.uni-sb.de>
220
221         * Makefile.in (install-metadata): Let `for' loop return an exit
222         status of 0.
223
224 2006-01-20  Reiner Steib  <Reiner.Steib@gmx.de>
225
226         * preview.el (preview-TeX-style-cooked): Fix cond expression.
227
228 2006-01-17  David Kastrup  <dak@gnu.org>
229
230         * preview.el (preview-TeX-style-cooked): New function, to be used
231         later.  Just checked in so that nobody else feels compelled
232         writing it.
233
234 2006-01-14  David Kastrup  <dak@gnu.org>
235
236         * configure.ac: Remove infodir and INSTALL_INFO checks.  Don't
237         check for TEXHASH if it is already set.
238
239 2006-01-13  David Kastrup  <dak@gnu.org>
240
241         * preview.el (preview-parse-messages): Some ugly fix for
242         `<xxx (PNG copy)>' style error messages.
243
244 2005-12-31  David Kastrup  <dak@gnu.org>
245
246         * Makefile.in (ELCC, AUCTEX): Put "." in front of load-path to
247         avoid picking up outdated `prv-*.el*' files from the installation
248         directory.
249
250 2005-12-17  Ralf Angeli  <angeli@iwi.uni-sb.de>
251
252         * configure.ac: Bump version number.
253
254 2005-10-24  Ralf Angeli  <angeli@iwi.uni-sb.de>
255
256         * configure.ac: Import `TEX' in unquoted form.
257
258 2005-10-13  Ralf Angeli  <angeli@iwi.uni-sb.de>
259
260         * configure.ac: Change wrongly used `previewdatadir' to
261         `previewlispdir'.
262         Change version number in `AC_INIT'.
263
264 2005-10-03  Ralf Angeli  <angeli@iwi.uni-sb.de>
265
266         * prv-xemacs.el (preview-check-changes): Delete detached extents.
267
268 2005-09-27  Ralf Angeli  <angeli@iwi.uni-sb.de>
269
270         * configure.ac: Document option for specifying AUCTeX startfile as
271         --with-previewstartfile, not --with-preview-startfile which does
272         not work.
273         Use matching package names for determining the kpathsea path
274         separator both internally and in the option name which now is
275         --with-kpathseasep.
276         Fix the quadrigraph for the closing bracket in the
277         kpathsesep-related error message.
278
279 2005-09-25  Ralf Angeli  <angeli@iwi.uni-sb.de>
280
281         * latex/preview.dtx: Add space for nicer formatting in version
282         output.  Adapt checksum.
283
284 2005-09-25  David Kastrup  <dak@gnu.org>
285
286         * latex/preview.dtx: Try fixing the release parsing/grouping.
287
288 2005-09-25  Ralf Angeli  <angeli@iwi.uni-sb.de>
289
290         * latex/README (CTAN): Bump version number.
291
292         * latex/preview.dtx: Fix case in release tag parsing.
293
294 2005-09-24  David Kastrup  <dak@gnu.org>
295
296         * latex/preview.dtx: Try parsing version correctly by treating
297         underlines in the release tag properly.
298
299 2005-09-24  Ralf Angeli  <angeli@iwi.uni-sb.de>
300
301         * preview.el (preview-version): Extract version number from
302         release tag.
303
304 2005-08-18  Ralf Angeli  <angeli@iwi.uni-sb.de>
305
306         * configure.ac: Import unquoted variables from top-level configure
307         script.
308
309 2005-07-15  David Kastrup  <dak@gnu.org>
310
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.
315
316 2005-07-14  David Kastrup  <dak@gnu.org>
317
318         * configure.ac: protect against packagedir starting with `-'
319
320 2005-07-11  David Kastrup  <dak@gnu.org>
321
322         * preview.el (preview-at-point): Join adjacent touched previews
323         for regeneration.
324
325         * prv-emacs.el (preview-mode-setup): 
326
327         * prv-xemacs.el (preview-mode-setup): Use correct string for
328         resetting watch on preamble.
329
330 2005-07-05  David Kastrup  <dak@gnu.org>
331
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.
338
339 2005-06-30  jalar  <jalar@mai.liu.se>
340
341         * latex/preview.dtx: <tightpage>: added comments
342
343 2005-06-28  Jan-Ake Larsson  <jalar@mai.liu.se>
344
345         * latex/preview.dtx: Add version number in a \special, in dvips
346         mode. Fix mismatched parantheses.
347
348 2005-06-27  David Kastrup  <dak@gnu.org>
349
350         * latex/preview.dtx: Put version into `\pr@version'.
351
352 2005-06-27  Jan-Ake Larsson  <jalar@mai.liu.se>
353
354         * latex/preview.dtx: Add backwards-compatibility for dvipng <= 1.5
355
356         * latex/preview.dtx: Add preview@tightpage
357
358 2005-06-24  David Kastrup  <dak@gnu.org>
359
360         * prv-install.el (preview-make-package-xemacs): Add author-version.
361
362         * preview.el (preview-TeX-style-dir): Change docs.
363
364         * latex/Makefile.in (preview.dvi): Depend on preview.sty
365         (preview.pdf): Same here.
366
367         * configure.ac: Remove checks for PERL and info-related stuff.
368         Add . into search path first.
369
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
374
375 2005-06-21  Ralf Angeli  <angeli@iwi.uni-sb.de>
376
377         * configure.ac: Make message at end of configuration clearer.
378         Remove redundant build hint.
379
380         * .cvsignore: Remove irrelevant entries.
381
382 2005-06-21  David Kastrup  <dak@gnu.org>
383
384         * configure.ac: correct comparison.
385
386 2005-06-20  David Kastrup  <dak@gnu.org>
387
388         * RELEASE: Remove (folded into ../RELEASE).
389
390 2005-06-18  David Kastrup  <dak@gnu.org>
391
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.
396
397 2005-06-14  David Kastrup  <dak@gnu.org>
398
399         * README.CVS: Remove.  Top file should be sufficient.
400
401         * autogen.sh: Remove.  We have its functionality in the top
402         directory.
403
404 2005-06-08  Ralf Angeli  <angeli@iwi.uni-sb.de>
405
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
410         anymore.
411
412         * autogen.sh: Do not generate documentation anymore.
413
414         * configure.ac: Remove doc/Makefile from AC_OUTPUT.
415
416         * doc/todo.texi: Move to AUCTeX's main doc/ directory as
417         preview-todo.texi.
418
419         * doc/readme.texi: Move to AUCTeX's main doc/ directory as
420         preview-readme.texi.
421
422         * doc/problems.texi: Move to AUCTeX's main doc/ directory as
423         preview-problems.texi.
424
425         * doc/preview-dtxdoc.pl, doc/preview-latex.texi: Move to AUCTeX's
426         main doc/ directory.
427
428         * doc/faq.texi: Move to AUCTeX's main doc/ directory as
429         preview-faq.texi.
430
431         * doc/copying.texi: Move to AUCTeX's main doc/ directory.
432
433         * doc/Makefile.in: Remove.
434
435         * doc/.cvsignore: Remove.
436
437 2005-06-06  David Kastrup  <dak@gnu.org>
438
439         * configure.ac: Remove call to MAKEINFO_CHECK_MACROS: we expect a
440         recent enough makeinfo version for bootstrapping, anyway.
441
442         * doc/Makefile.in (MAKEINFO_MACROS): remove
443         (TEXINFOINCLUDES): Remove unused TEXIPWD hack.  Troublesome.
444
445 2005-06-04  David Kastrup  <dak@gnu.org>
446
447         * doc/Makefile.in (TEXIFILES): Oops, depends on ../../doc/macros.texi
448
449         * latex/Makefile.in (MKINSTALLDIRS): 
450
451         * doc/Makefile.in (MKINSTALLDIRS): 
452
453         * Makefile.in (MKINSTALLDIRS): Use mkinstalldirs from AUCTeX.
454
455         * mkinstalldirs: remove in favor of ../mkinstalldirs
456
457         * doc/Makefile.in (TEXI2HTML): Use TEXI* tools and TEXINFOINCLUDES.
458         (../README): et al.  Depend on ../../doc/macros.texi
459
460         * configure.ac: Check and test for TEXI* as well.  Quotify if
461         necessary.
462
463         * autogen.sh: Look in .. for macros.
464
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
470
471 2005-05-25  David Kastrup  <dak@gnu.org>
472
473         * circ.tex (section{Die gerade Linie}): Make the intentional
474         errors more conspicuous.
475
476 2005-05-24  David Kastrup  <dak@gnu.org>
477
478         * aclocal.m4: Use elif for prettiness.
479
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.
484
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.
490
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.
497         If so, omit dumping.
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
501         if this succeeded.
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.
505
506 2005-05-22  David Kastrup  <dak@gnu.org>
507
508         * aclocal.m4: Allow --with-emacs=sth and --without-xemacs and
509         similar combinations as long as they are more or less consistent.
510
511 2005-05-21  Ralf Angeli  <angeli@iwi.uni-sb.de>
512
513         * prv-install.el (preview-make-package-xemacs): Cater for XEmacs
514         21.5 which uses a different interface for generating autoloads at
515         present.
516
517 2005-05-21  David Kastrup  <dak@gnu.org>
518
519         * doc/wininstall.texi: Editing changes.  Last checkin before
520         removal.
521
522         * doc/install.texi: Editing changes.  Last checkin before removal.
523
524         * doc/faq.texi (Customization): Don't use @var inappropriately.
525
526         * autogen.sh: Remove generation of auto.texi.
527
528         * doc/preview-latex.texi (Installation): Refer to AUCTeX manual.
529         (Keys and lisp): Some formatting changes.
530
531         * doc/Makefile.in (TEXIFILES): Remove wininstall.texi and
532         install.texi.
533         (DISTTEXTS): Remove ../INSTALL and ../INSTALL.windows
534         (../INSTALL, ../INSTALL.windows): Remove.
535
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.
543
544 2005-05-20  Ralf Angeli  <angeli@iwi.uni-sb.de>
545
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.
548
549 2005-05-18  David Kastrup  <dak@gnu.org>
550
551         * doc/preview-dtxdoc.pl: Don't use \n in character ranges since it
552         is not actually a character in Windows.
553
554 2005-05-17  David Kastrup  <dak@gnu.org>
555
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.
561
562 2005-05-02  David Kastrup  <dak@gnu.org>
563
564         * doc/wininstall.texi: 
565
566         * doc/install.texi: Overhaul, use auto.texi.
567
568         * doc/Makefile.in (../INSTALL, ../INSTALL.windows): add auto.texi
569         dependence.
570         (maintainer-clean): remove auto.texi.
571
572         * autogen.sh: Generate auto.texi
573
574         * README.CVS: Some modifications.
575
576         * aclocal.m4 (EMACS_PATH_LISPDIR): better help.
577
578 2005-05-01  David Kastrup  <dak@gnu.org>
579
580         * doc/install.texi (Configure): Synch with auctex.
581
582 2005-04-30  David Kastrup  <dak@gnu.org>
583
584         * configure.ac: Use existing variables packagedatadir,
585         packagelispdir.
586         If configuring a package and infodir is defaulted, disable
587         install-info.
588         Disable TEXHASH when installing --without-texmfdir.  Move TEXHASH
589         test.
590
591         * aclocal.m4: Use existing lispdir variable.
592
593         * prv-install.el (preview): don't require
594         (preview-make-package-xemacs): several changes to command line
595         options.
596
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
600
601 2005-04-29  David Kastrup  <dak@gnu.org>
602
603         * aclocal.m4: echo date correctly.
604
605 2005-04-28  David Kastrup  <dak@gnu.org>
606
607         * aclocal.m4 (AUCTEX_AUTO_DIR): simplify.
608         (AC_LISPIFY_DIR): add third argument.  Simplify a few common
609         expressions.
610
611 2005-04-27  David Kastrup  <dak@gnu.org>
612
613         * aclocal.m4: sed paranoia.
614
615 2005-04-27  Ralf Angeli  <angeli@iwi.uni-sb.de>
616
617         * aclocal.m4 (AC_DATE_VERSION_FROM_CHANGELOG): Escape `+'.  Add
618         regexp group.  Close function.
619
620 2005-04-27  David Kastrup  <dak@gnu.org>
621
622         * preview.el (TeX-inline-preview-internal): Don't try interpreting
623         coding-system if it is nil.
624
625         * aclocal.m4 (AC_DATE_VERSION_FROM_CHANGELOG): actually look into
626         the ChangeLog file.  Uh.
627
628         * latex/README (Note): Add bug reporting address.
629
630 2005-04-19  David Kastrup  <dak@gnu.org>
631
632         * preview.el (preview-install-styles): Add autoload cookie.
633
634 2005-04-18  David Kastrup  <dak@gnu.org>
635
636         * preview.el (preview-dump-state): New function to get run buffer
637         info.
638         (preview-report-bug): Use it.
639
640         * Makefile.in (install-metadata): include directories in `MANIFEST'.
641
642 2005-04-16  David Kastrup  <dak@gnu.org>
643
644         * latex/preview.dtx: Work around another ntheorem bug affecting
645         showlabels.
646
647 2005-04-12  David Kastrup  <dak@gnu.org>
648
649         * configure.ac: Don't bother about pre-2.5 autoconf versions.
650
651         * doc/faq.texi (Customization): Remove lamentation that PDF
652         foreground is fixed to black.
653
654         * preview.el (preview-pdf-color-string): New function.
655         (preview-pdf2dsc-sentinel): Use it.
656
657         * configure.ac: renamed from configure.in
658
659 2005-04-11  jalar  <jalar@mai.liu.se>
660
661         * configure.in: Minimal changes to printouts 
662
663 2005-04-11  Ralf Angeli  <angeli@iwi.uni-sb.de>
664
665         * preview.el (preview-set-texinputs): Fix grouping.
666
667 2005-04-11  David Kastrup  <dak@gnu.org>
668
669         * prv-install.el (preview-make-package-xemacs): Don't generate
670         manifest and take package name from command line.
671
672         * configure.in: Don't expose `lispdir'.  Explain `TEXHASH',
673         `PERL', `MAKEINFO', `INSTALL_INFO'.
674
675         * latex/Makefile.in (texmfdir): Don't import.
676
677         * Makefile.in (lispdir): Don't import.
678
679         * preview.el (preview-counter-find): Fix bug with `(marker)'.
680
681         * latex/Makefile.in (exec_prefix, libdir): Export.
682
683         * doc/install.texi (Configure): Explain `--without-texmf-dir'.
684         (Advice for package providers): Don't trash talk AUCTeX
685         preactivation.
686         (Advice for package providers): Mention `--without-texmf-dir'.
687
688         * doc/Makefile.in (exec_prefix, libdir): export.
689
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
694         environment.
695         (preview-TeX-style-dir): proper customization.
696         (preview-install-styles): New function to install styles
697         permanently.
698
699         * configure.in: use `packagedatadir' instead of `icondir'.  Add
700         check for `kpathseaseparator'.  Shell-quote and export
701         `exec_prefix' and `libdir'.
702
703         * auto.el.in (preview-datadir): replace preview-icondir, and add
704         `lisppackagetexstyles' invocation.
705
706         * aclocal.m4 (TEX_PATH_TEXMFDIR): Allow --without-texmf-dir, stop
707         quoting a bunch of stuff, fix reference to load-file-name.
708
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
714         `$(icondir)'
715
716 2005-04-10  David Kastrup  <dak@gnu.org>
717
718         * configure.in: Use new backquote syntax.
719
720         * doc/install.texi (Configure): Clarify.
721
722 2005-04-10  Ralf Angeli  <angeli@iwi.uni-sb.de>
723
724         * latex/preview.dtx: Dvipng --> dvipng.
725
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.
730
731 2005-04-08  David Kastrup  <dak@gnu.org>
732
733         * Makefile.in (previewstartfile): import.
734         (install-startup): split lines with `$(MAKE)' and
735         `$(INSTALL_DATA)' so that `make -n' will properly recurse.
736
737         * aclocal.m4 (AC_LISPIFY_DIR): resolve relative paths below
738         ${lispdir} hierarchy.  AC_SUBST both lisp variant of directory as
739         well as original.
740
741         * configure.in: Add `--with-preview-startfile', use new semantics
742         of `AC_LISPIFY_DIR', drop `AC_MAKE_FILENAME_ABSOLUTE' stuff.
743
744         * doc/install.texi (Configure): explain new semantics of
745         `--with-lispdir' and new `--with-preview-startfile'.
746
747         * doc/wininstall.texi: Document changes semantics for
748         `--with-lispdir' and new `with-preview-startfile'.
749
750 2005-04-07  David Kastrup  <dak@gnu.org>
751
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
755         drives on Windows.
756         (AC_FULL_EXPAND): also check, set and restore exec_prefix if not
757         set.
758
759 2005-04-05  Ralf Angeli  <angeli@iwi.uni-sb.de>
760
761         * configure.in: Cosmetics for ./configure --help.
762
763         * preview.el (desktop-buffer-preview): Return buffer even if no
764         information about previews is found.
765
766 2005-04-04  David Kastrup  <dak@gnu.org>
767
768         * preview-latex.spec (URL, Source0): Fix addresses to point to
769         AUCTeX.  Oops.
770
771 2005-04-03  David Kastrup  <dak@gnu.org>
772
773         * Release 0.9.1
774
775         * latex/preview.dtx: Don't let negative dimensions into tightpage
776         comment.
777
778         * doc/macros.texi: Make @previewlatex swallow argument in links.
779         Don't scrap sf declaration.  Make it correct in links.
780
781         * doc/readme.texi (What use is it?): 
782
783         * doc/problems.texi: 
784
785         * doc/install.texi (Top): Work around raisesection bug.
786
787         * doc/Makefile.in (../INSTALL, ../INSTALL.windows, ../README)
788         (../FAQ, ../TODO): Remove --no-validate option.
789         (../PROBLEMS): remove --no-validate option, and number sections.
790
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.
794
795         * configure.in: Expand `packagelispdir' and `lispdir' before
796         checking for conflicts.
797
798 2005-04-02  David Kastrup  <dak@gnu.org>
799
800         * autogen.sh: Remove autom4te.cache
801
802         * doc/Makefile.in (.PHONY): Add a few targets.
803
804         * doc/readme.texi (Basic modes of operation): Correct dvipng
805         information.
806
807         * autogen.sh: make preview-latex.info generation work by passing
808         in PERL default.
809
810         * README.CVS: Mention that `perl' is needed for autogen.sh, and
811         that `makeinfo' might need to be up to date.
812
813         * latex/README: Renamed from latex/README-preview.  Overhaul
814         availability.
815
816         * doc/macros.texi: Synchronize to AUCTeX.
817
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.
821
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.
827
828         * autogen.sh: Use make for generating distribution texts and also
829         pregenerate the info file.
830
831         * Makefile.in (emacsprefix): Remove.
832         (.PHONY): Collect phony targets here.
833         (DISTTEXTS): Move to doc/Makefile.in
834         (tarball-ready): Adapt
835
836         * preview-latex.spec: Change version number.  Change directory
837         choice to "xemacs-packages" on fedora.
838
839         * doc/wininstall.texi: Mention that Perl is not needed if working
840         with the default tarball.
841
842         * doc/preview-latex.texi: Bump versions numbers, fix copyrights.
843
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.
847
848         * configure.in: Add check for load-path shadowing.
849
850         * aclocal.m4 (TEX_PATH_TEXMFDIR): We want "${texprefix}/share" in
851         most cases.
852
853 2005-04-01  David Kastrup  <dak@gnu.org>
854
855         * doc/faq.texi: Some changes.  This thing really is an outdated
856         unmaintained abomination.  We need to do something about it at one
857         time.
858
859 2005-04-01  Ralf Angeli  <angeli@iwi.uni-sb.de>
860
861         * aclocal.m4 (EMACS_EXAMINE_INSTALLATION_DIR): Repair quoting.
862
863 2005-04-01  David Kastrup  <dak@gnu.org>
864
865         * RELEASE: rearrange.  Mention AUCTeX 11.80 as target.
866
867         * aclocal.m4(EMACS_EXAMINE_INSTALLATION_DIR): avoid trailing
868         `/.'.
869         (TEX_PATH_TEXMFDIR): search order changed.
870
871         * latex/Makefile.in (prefix, datadir, texmfdir, previewtexmfdir)
872         (previewdocdir): Use (null) to mask Windows backslashes.
873
874         * configure.in: Adjust version info.
875
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
885         directories.
886
887 2005-03-31  David Kastrup  <dak@gnu.org>
888
889         * configure.in: Don't set prefix if it is not set.
890
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.
894
895 2005-03-31  jalar  <jalar@mai.liu.se>
896
897         * Makefile.in: 
898         * aclocal.m4: Add $emacsprefix
899
900 2005-03-31  David Kastrup  <dak@gnu.org>
901
902         * RELEASE: Update release info.
903
904 2005-03-30  Ralf Angeli  <angeli@iwi.uni-sb.de>
905
906         * Makefile.in (use-hint): Fix spelling.
907
908         * preview.el (preview-report-bug): Use "preview-" prefix in
909         version information.
910
911 2005-03-29  David Kastrup  <dak@gnu.org>
912
913         * configure.in (auctexdir): Use `AC_ARG_VAR' on `GS' and `TEXHASH'
914         (should probably also be used on a few other environment
915         variables).
916         Use `AC_SHELL_QUOTIFY' on `GS'.
917
918 2005-03-28  David Kastrup  <dak@gnu.org>
919
920         * preview.el (preview): Change home page address to AUCTeX.
921         (preview-report-bug): Change bug reporting address.
922
923         * doc/readme.texi (Contacts): Change mailing list info.
924
925         * doc/problems.texi: Change mailing list info.
926
927         * doc/faq.texi (Introduction to FAQ): Change mailing list address.
928
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.
933
934 2005-03-24  Ralf Angeli  <angeli@iwi.uni-sb.de>
935
936         * Makefile.in (distclean, maintainer-clean, tarball-ready): Delete
937         autom4te.cache in maintainer-clean and tarball-ready targets.
938
939 2005-03-24  Jan-Ake Larsson  <jalar@mai.liu.se>
940
941         * doc/Makefile.in: Add *.pdf to clean target and
942         preview-dtxdoc.texi to maintainer-clean
943
944 2005-03-23  jalar  <jalar@mai.liu.se>
945
946         * doc/Makefile.in:
947         * Makefile.in: add maintainer-clean target 
948
949         * Makefile.in: add tarball-ready target
950
951         * configure.in: Add check for perl
952
953         * doc/Makefile.in: Use the configure-provided $PERL
954
955 2005-03-22  David Kastrup  <dak@gnu.org>
956
957         * preview.el (preview-counter-find): Coerce `begin' to integer to
958         work around an Emacs 21.x bug.
959
960         * Makefile.in (install): Install startup file before docs.
961
962         * doc/Makefile.in (preview-latex/index.html): Don't ignore exit
963         status of makeinfo (this target is on-demand only, anyway).
964
965         * doc/preview-dtxdoc.pl: Accept two arguments so that output file
966         will not get clobbered if Perl is not operative.
967
968 2005-03-19  David Kastrup  <dak@gnu.org>
969
970         * prv-xemacs.el (preview-buffer-recoding-alist): Madness variable.
971         (preview-buffer-recode-system): Use it.
972         (tex-site, tex, latex): Require them.
973
974         * prv-emacs.el (tex-site, tex, latex): require them to silence
975         byte compiler.
976         (preview-buffer-recode-system): Compatibility function.  Probably
977         not necessary for Emacs.
978
979         * preview.el (TeX-overlay-prioritize): don't redefine, test for
980         its presence at runtime.  Less invasive, less offensive to the
981         byte compiler.
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
990         second argument.
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.
996
997 2005-03-18  David Kastrup  <dak@gnu.org>
998
999         * preview.el (TeX-region-create): Try shutting up the byte
1000         compiler at load time.
1001
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.
1007
1008         * preview.el (TeX-overlay-prioritize): correct stupid typo.
1009         (preview-log-error): Pop up run buffer in case of error.
1010
1011 2005-03-17  David Kastrup  <dak@gnu.org>
1012
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
1022         error message.
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.
1029
1030 2005-03-16  David Kastrup  <dak@gnu.org>
1031
1032         * prv-emacs.el: Use the four-argument version of `face-attribute'
1033         if it exists.
1034
1035 2005-03-15  David Kastrup  <dak@gnu.org>
1036
1037         * doc/install.texi (Configure): Be somewhat more verbose.  Be
1038         explicit about Emacs-only options.
1039
1040         * doc/wininstall.texi: Warn against Winzip.  Reorganize docs
1041         somewhat and clarify about Emacs-only procedures.
1042
1043         * doc/preview-latex.texi (Keys and lisp): Document
1044         preview-at-point allowing active region.
1045
1046         * preview.el (preview-at-point): Remove nonsensical arguments.
1047         Instead, allow for an active region.
1048
1049         * configure.in: Add `packagelispdir' to quoted Makefile variables.
1050
1051 2005-03-14  David Kastrup  <dak@gnu.org>
1052
1053         * latex/preview.dtx: Reformat the kaboodle to look nicer.
1054         Move \nofiles to auctex option.
1055
1056         * latex/README-preview (Note): Mention \nofiles problem.
1057
1058         * preview.el (preview-LaTeX-command): Add \nofiles to startup.
1059
1060 2005-03-14  Masayuki Ataka  <ataka@milk.freemail.ne.jp>
1061
1062         * preview.el (TeX-fold-prioritize): autoload.
1063         (preview-place-preview, preview-reinstate-preview): Use it.
1064
1065 2005-03-07  David Kastrup  <dak@gnu.org>
1066
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
1069         buck.
1070
1071 2005-03-05  David Kastrup  <dak@gnu.org>
1072
1073         * latex/preview.dtx: Fix psfixbb option that must have become
1074         illegal at some time accidentally.
1075
1076         * doc/install.texi (Loading the package): Explain that
1077         preview-latex.el should already be installed in-place.
1078
1079 2005-03-04  David Kastrup  <dak@gnu.org>
1080
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>.
1085         
1086 2005-03-03  David Kastrup  <dak@gnu.org>
1087
1088         * Release 0.9
1089
1090         * prv-install.el (preview-make-package-xemacs): Add directory
1091         information from autoe.el to autoloads.
1092
1093         * Makefile.in (elisp): generate preview-latex.el only when no
1094         package system.
1095         (install-el): Depend on auto.el
1096         (install-startup): Make and install preview-latex.el only when no
1097         package system.
1098
1099         * prv-emacs.el (preview-create-icon-1): Use adaptive heuristic
1100         mask for transparency.
1101
1102         * preview-latex.spec: Make preview.dvi.  But preview-latex.pdf
1103
1104         * latex/Makefile.in (all): Generate both dvi and pdf.
1105         (install-texmf-doc): Install DVI (faster, compact).
1106
1107         * latex/Makefile.in (install-texmf-doc): Install PDF instead of
1108         DVI file.
1109
1110         * doc/wininstall.texi: Simplify, rearrange, adapt to new
1111         installation scheme.  Add links to CVS precompiled versions.
1112
1113         * doc/install.texi (Prerequisites): Revamp.
1114         (Configure): Add explanations.
1115
1116         * preview-latex.spec: Change rpm name to include "fedora".  Adapt
1117         to new configure stuff.  Use pdf doc instead of DVI.
1118
1119         * configure.in: icondir is absolute, reorder some stuff to
1120         maintain directory locality.
1121
1122         * aclocal.m4: Change a lot of $x to ${x}.
1123         Simplify some stuff.
1124
1125         * RELEASE: Add information for release.
1126
1127         * configure.in: Correct prefix check.  Add Emacs version check.
1128
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.
1133
1134 2005-03-02  David Kastrup  <dak@gnu.org>
1135
1136         * Makefile.in (install-el): no means no for packagedir.
1137
1138         * configure.in: Set prefix.
1139
1140         * aclocal.m4: Use "no" for no packagedir in XEmacs.
1141         Don't save prefix and stuff.
1142         Expand stuff at some points.
1143
1144         * doc/wininstall.texi: Use executable name directly to save
1145         confusion.
1146
1147         * prv-xemacs.el (preview-filter-specs): Rework specs.
1148
1149         * prv-emacs.el (preview-filter-specs): Translate :type fields.
1150
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.
1157
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
1164
1165         * autogen.sh: Use --output option for makeinfo to get
1166         tableofcontents in FAQ.
1167         
1168         * doc/Makefile.in (.PHONY): Add install here.
1169
1170         * Makefile.in (install-el): Adapt targets to packagelispdir.
1171         (.PHONY): Add install target for case insensitive filesystems.
1172
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.
1180
1181 2005-02-26  David Kastrup  <dak@gnu.org>
1182
1183         * doc/readme.texi (Basic modes of operation): Adapt PDFLaTeX
1184         explanation to newer AUCTeX versions.
1185
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
1189         prefix to `pr'.
1190         (preview-clean-subdir): When cleaning out subdirectories, match
1191         `pr' instead of `pre'.
1192
1193         * Makefile.in (ICON_SOURCES): Adapt to existing set.
1194
1195 2005-02-25  David Kastrup  <dak@gnu.org>
1196
1197         * preview.el (preview-gs-options): Remove "-dDELAYSAFER" from
1198         option list.
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
1212         needed.
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.
1219
1220         * prv-xemacs.el (null-device): Remove compatibility definition.
1221
1222 2005-02-18  David Kastrup  <dak@gnu.org>
1223
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'.
1228
1229         * doc/wininstall.texi: Mention case problems.
1230
1231         * doc/install.texi (Prerequisites): Update AUCTeX version info.
1232
1233         * doc/problems.texi (Middle-clicks paste instead of toggling):
1234         Remove reference to patches directory.  Should no longer be
1235         necessary.
1236         (Problems with GhostScript): Mention use of gswin32.exe instead of
1237         gswin32c.exe as a problem source.
1238
1239         * preview.el (preview-nonready-icon-specs): Add size 14.
1240
1241         * images/prvwrk24.xpm: New icon, dimmer, better shape.
1242
1243         * images/prvwrk20.xpm: New icon
1244
1245         * images/prvwrk16.xpm: New icon
1246
1247         * images/prvwrk14.xpm: New icon
1248
1249         * images/prvwrk12.xpm: New icon
1250
1251 2005-02-15  David Kastrup  <dak@gnu.org>
1252
1253         * preview.el (preview-error-quote): Encode to raw-text to get
1254         unibyte string.
1255
1256 2005-02-13  David Kastrup  <dak@gnu.org>
1257
1258         * doc/preview-latex.texi (The Emacs interface): Adapt to new
1259         `preview-use-balloon-help' default.
1260
1261         * doc/faq.texi (Customization): Adapt to new
1262         `preview-use-balloon-help' default.
1263
1264         * prv-xemacs.el (preview-use-balloon-help): Default to nil.
1265
1266         * preview.el (preview-gs-flag-error): For consistency, make error
1267         icons have a context menu on right mouse button.
1268
1269 2005-02-11  David Kastrup  <dak@gnu.org>
1270
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
1277         icon-specs.
1278
1279         * preview.el (preview-specs-type): Type for specs defcustom.
1280
1281         (preview-nonready-icon-specs, preview-error-icon-specs)
1282         (preview-icon-specs): move lower and make defcustom from it.
1283
1284 2005-02-10  David Kastrup  <dak@gnu.org>
1285
1286         * prv-emacs.el (preview-mode-setup): Only define a preview toolbar
1287         entry when the icon is valid.
1288
1289         * RELEASE: Mention the new icons.
1290
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.
1296
1297 2005-02-09  David Kastrup  <dak@gnu.org>
1298
1299         * prv-xemacs.el (add-to-list): only provide definition for
1300         three-argument version if XEmacs doesn't.  May be removed at some
1301         time completely.
1302         (null-device): Only defvar if unbound in order not to munge the
1303         doc string.
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.
1309
1310         * preview.el (preview-error-quote): Remove unused variable `char'.
1311
1312         * doc/faq.texi (Requirements): Stop talking about ancient XEmacs
1313         versions.
1314         (Requirements): Mention Emacs 22 instead of 21.4
1315
1316         * doc/install.texi (Prerequisites): same
1317
1318         * doc/problems.texi (Emacs problems): same
1319
1320         * preview-latex.spec (Conflicts): xemacs = 21.4.16
1321
1322         * RELEASE: Add some dvipng information, more detailed
1323         recommendations.
1324
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.
1328
1329         * images/*: lots of renaming/moving stuff around.
1330         
1331         * configure.in: remove ICONFORM stuff.
1332
1333         * Makefile.in (ICONFORM): removed.
1334         (ICON_SOURCES): Change to different list.
1335
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
1339         parsing specs.
1340         (preview-filter-specs): New function.
1341         (preview-icon-copy): Replaces `preview-nonready-copy'.
1342         (preview-mode-setup): Create toolbar button.
1343
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
1348         toolbar icon.
1349         (preview-icon-copy): replaces `preview-nonready-copy'
1350         (preview-mode-setup): Initialize `preview-tb-icon'
1351
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'.
1364
1365 2005-02-06  David Kastrup  <dak@gnu.org>
1366
1367         * doc/wininstall.texi: Add note about `gswin32c.exe'.
1368
1369 2005-01-29  David Kastrup  <dak@gnu.org>
1370
1371         * preview-latex.spec (Release): Bump version to prerelease, make
1372         some changes that look like they'd fit into AUCTeX's scheme.
1373
1374         * RELEASE: Some changes and mentions.
1375
1376         * doc/preview-dtxdoc.pl: Convert AUC\TeX reference as well.
1377         Convert `\#' to `#'.
1378
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.
1382
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,
1386         too).
1387
1388         * configure.in: Bump version number.
1389         check for PDFLaTeX.
1390
1391 2005-01-26  David Kastrup  <dak@gnu.org>
1392
1393         * preview.el (preview-copy-mml, preview-copy-region-as-mml)
1394         (preview-format-mml): Ask whether user really wants to use
1395         bordered graphics.
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.
1406
1407 2005-01-25  David Kastrup  <dak@gnu.org>
1408
1409         * prv-emacs.el: Don't use transparent borders when Emacs is new
1410         enough to have tolerable blinking.
1411
1412         * preview.el (preview-dvipng-color-string): Pass the border into
1413         dvipng.
1414         (preview-dvipng-place-all): Record the border in the image data
1415         structure.
1416
1417 2005-01-24  David Kastrup  <dak@gnu.org>
1418
1419         * RELEASE: Ask for dvipng 1.4, mention utf-8 capability.
1420
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.
1427
1428 2005-01-19  Jan-Ake Larsson  <jalar@mai.liu.se>
1429
1430         * aclocal.m4: sync with AUCTeX
1431
1432 2005-01-17  jalar  <jalar@mai.liu.se>
1433
1434         * ChangeLog.1: Move dvipng changes to its Changelog
1435
1436 2004-11-05  David Kastrup  <dakas@users.sourceforge.net>
1437
1438         * doc/readme.texi (What use is it?): New section.
1439
1440         * doc/preview-latex.texi (The Emacs interface)
1441         (The preview images): Add a bit of information concerning
1442         PDF/dvipng operation.
1443
1444         * preview.el (preview-default-preamble): Require specific date of
1445         preview package.
1446
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.
1449
1450 2004-10-23  David Kastrup  <dakas@users.sourceforge.net>
1451
1452         * preview.el (preview): Change group to 'AUCTeX.
1453
1454 2004-10-21  David Kastrup  <dakas@users.sourceforge.net>
1455
1456         * prv-xemacs.el (preview-mode-setup): Add `desktop-save-buffer'
1457         setup.
1458
1459         * prv-emacs.el (preview-mode-setup): Add `desktop-save-buffer'
1460         setup.
1461
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
1465         loaded.
1466         (desktop-buffer-preview): take arguments for desktop 206.
1467
1468 2004-10-18  David Kastrup  <dakas@users.sourceforge.net>
1469
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.
1477
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
1483         postscript device.
1484         (preview-move-point): Reorganized.
1485         (preview-export-image): Removed.
1486
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.
1500
1501 2004-10-14  David Kastrup  <dakas@users.sourceforge.net>
1502
1503         * latex/preview.dtx: Make the end of snarfed environments behave
1504         normally if the environment is not being snarfed.
1505
1506 2004-10-14  Jan-Ã…ke Larsson  <jalar@mai.liu.se>
1507
1508         * doc/wininstall.texi: Adjust text to conform with the AUCTeX aclocal.
1509
1510         * configure.in: Add VALID_BUILD_DIR 
1511
1512 2004-10-13  Jan-Ã…ke Larsson  <jalar@mai.liu.se>
1513
1514         * configure.in: Adjust for the aclocal.m4 sync with AUCTeX 
1515
1516         * aclocal.m4: Sync with AUCTeX. Well, almost. Don't
1517         use the version test.
1518
1519 2004-10-09  David Kastrup  <dakas@users.sourceforge.net>
1520
1521         * preview.el (preview-dvipng-command): Use -picky option.
1522         (preview-error-quote): Convert character to buffer encoding if
1523         mule allows it.
1524         (preview-parse-messages): Strip incomplete 8bit character
1525         transliterations from the error context.
1526
1527 2004-08-21  Reiner Steib  <Reiner.Steib@gmx.de>
1528
1529         * doc/install.texi: Markup fixes, see "(texinfo)command".
1530
1531         * doc/wininstall.texi: Ditto.
1532
1533 2004-08-09  David Kastrup  <dakas@users.sourceforge.net>
1534
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
1540         previews'.
1541         (The Emacs interface): Take PDF into account.
1542         (The preview images): Describe `preview-gs-image-type-alist',
1543         `preview-dvipng-image-type'.
1544         
1545         * doc/faq.texi (Introduction to FAQ): Change submission address to
1546         preview-latex-devel since this appears to better reflect reality.
1547
1548         * latex/preview.dtx (showlabels): work around ntheorem/amsmath
1549         bug.
1550
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
1558         actually be used.
1559         (preview-gs-dvips-process-setup): Complain about unavailable
1560         devices here.
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.
1569
1570 2004-08-07  David Kastrup  <dakas@users.sourceforge.net>
1571
1572         * doc/macros.texi: New @ConTeXt{} macro, change appearance of
1573         @previewlatex{}.
1574
1575         * doc/faq.texi (Customization): Presentation classes should work
1576         mostly.
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.
1583
1584         * latex/preview.dtx: workaround for `xy.sty' in `textmath' code.
1585
1586 2004-08-04  David Kastrup  <dakas@users.sourceforge.net>
1587
1588         * aclocal.m4: Merge a few AUCTeX changes.
1589
1590 2004-08-03  David Kastrup  <dakas@users.sourceforge.net>
1591
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
1596         'preview-dvipng.
1597
1598 2004-08-02  David Kastrup  <dakas@users.sourceforge.net>
1599
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.
1608
1609 2004-07-28  David Kastrup  <dakas@users.sourceforge.net>
1610
1611         * doc/problems.texi (Too small bounding boxes): Fix node
1612         crosslinks.
1613
1614         * latex/preview.dtx: Tiny change to placate font-latex.
1615
1616         * latex/README-preview: Explain that PDF may be produced.
1617
1618         * doc/wininstall.texi: Remove advice about failing byte-compiles:
1619         we should have this covered by now.
1620
1621         * doc/problems.texi (LaTeX international characters): remove node.
1622
1623         * doc/preview-latex.texi (Misplaced previews): Refer to x-symbol
1624         node instead of 8bit testing.
1625
1626         * doc/install.texi (Configure): Remove --disable-8bit-test
1627         description.
1628
1629         * preview.el (preview-parse-messages): Simplify line match.
1630
1631         * preview-latex.spec: Several changes of %{buildroot} uses and of
1632         infodir.  Doubtful whether this will work with Fedora.
1633
1634         * configure.in: Remove all 8bit-cleanness testing.
1635
1636         * aclocal.m4 (EMACS_LISP): just write out a string expression
1637         without change or echo.  Document the macro.
1638
1639         * doc/Makefile.in (prefix) (packagedir) (datadir) (infodir):
1640         preserve trailing backslashes.
1641
1642         * Makefile.in (INSTALL) (INSTALL_DATA): Don't munge them for
1643         trailing backslashes.
1644
1645 2004-07-27  David Kastrup  <dakas@users.sourceforge.net>
1646
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
1654         at different place.
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.
1662
1663 2004-07-16  David Kastrup  <dakas@users.sourceforge.net>
1664
1665         * Makefile.in (INSTALL_DATA): Use `$(null)' at end of variables at
1666         end of lines instead of `#'
1667
1668 2004-07-15  David Kastrup  <dakas@users.sourceforge.net>
1669
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.
1675
1676 2004-05-08  David Kastrup  <dakas@users.sourceforge.net>
1677
1678         * preview.el (preview-format-mml): Determine MIME format from
1679         file name properly.  And don't return anything for bad overlays.
1680
1681         * Split ChangeLog.1 off, create dvipng/ChangeLog.
1682
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?)
1688
1689 2004-04-23  David Kastrup  <dakas@users.sourceforge.net>
1690
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.
1694
1695 2004-04-20  Reiner Steib  <Reiner.Steib@gmx.de>
1696
1697         * .cvsignore: Added "autom4te.cache".
1698
1699 2004-04-19  Reiner Steib  <Reiner.Steib@gmx.de>
1700
1701         * doc/preview-latex.texi (Simple customization): Don't "unlispify"
1702         variable names.
1703
1704 2004-04-12  David Kastrup  <dakas@users.sourceforge.net>
1705
1706         * Release 0.8.1
1707
1708         * preview.el (preview-dump-replacements): Use regexp not
1709         triggering bugs in older Emacsen.
1710         (preview-dump-replacements): Same here.
1711
1712         * RELEASE, configure.in, doc/preview-latex.texi: Adapt to 0.8.1
1713
1714         * preview-latex.spec: xemacspkgdir has changed in recent XEmacs
1715         releases for Redhat.
1716
1717         * prv-xemacs.el (preview-mode-setup): Remove non-existent menu.
1718
1719         * prv-emacs.el (preview-mode-setup): Remove non-existent menu
1720         "copied" from TeX-command-list to Command menu.
1721
1722         * Release 0.8
1723         
1724         * RELEASE: prepare for 0.8
1725
1726         * preview-latex.spec: prepare for 0.8, bump XEmacs to 21.4.9.