-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog-preview.1
3736 lines (2622 loc) · 126 KB
/
ChangeLog-preview.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2004-04-12 David Kastrup <dakas@users.sourceforge.net>
* Release 0.8.1
* preview.el (preview-dump-replacements): Use regexp not
triggering bugs in older Emacsen.
(preview-dump-replacements): Same here.
* RELEASE, configure.in, doc/preview-latex.texi: Adapt to 0.8.1
* preview-latex.spec: xemacspkgdir has changed in recent XEmacs
releases for Redhat.
* prv-xemacs.el (preview-mode-setup): Remove non-existent menu.
* prv-emacs.el (preview-mode-setup): Remove non-existent menu
"copied" from TeX-command-list to Command menu.
* Release 0.8
* RELEASE: prepare for 0.8
* preview-latex.spec: prepare for 0.8, bump XEmacs to 21.4.9.
2004-04-11 David Kastrup <dakas@users.sourceforge.net>
* preview.el (preview-dvipng-color-string): Try to deliver border
thickness.
(preview-gs-transact): Don't set page size to 1,1 if that has
already been done.
(preview-start-dvipng): Use new -D convention for resolution.
(preview-pdf2dsc-process-setup): Add resolution to GhostScript
call for PDF. Doh.
* circ.tex: Format with AUCTeX.
* preview.el (preview-gs-open): Bypass page initialization if
page is 1bp times 1bp (that is: not yet set).
* latex/preview.dtx: Remove tightpdf option again. Better
explanation for tightpage.
* preview.el (preview-parsed-tightpage): New variable.
(preview-TeX-bb): Use tightpage borders if found in file.
(preview-gs-flag-error): Display correct file on error.
(preview-gs-transact): Don't pass page dimensions if tightpage is
active.
(preview-required-option-list): Replace dvips option with tightpdf
option.
(preview-parse-tightpage): New function.
(preview-parse-variables): Add preview-parse-tightpage, add
function quoting.
(preview-gs-open): Move color setup to BeginPage hook. Rename
preview-latex-* PostScript Variables to just preview-*.
(preview-gs-transact): Set minimal pagesize if tightpage detected
to speed up unimportant setpagedevice operations.
(preview-required-option-list): Use tightpage option always.
(preview-parse-variables): Remove function quoting: it lead to
double quotes and tears.
(preview-LaTeX-disable-pdfoutput): Move into separate constant
for easy access as it is no longer the standard.
(preview-LaTeX-command-replacements): Default to nil to enable
PDFTeX operation. Better customization type.
* latex/preview.dtx: Some reformatting, add new parse items - and
>, add new option pdftex, adjust tightpage for it, add new
option tightpdf.
* doc/preview-dtxdoc.pl: Eat spaces after %.
2004-04-09 David Kastrup <dakas@users.sourceforge.net>
* images/preverr.xbm:
* images/preverr.xpm: invert upside-down icons.
2004-03-15 David Kastrup <dakas@users.sourceforge.net>
* preview.el (preview-gs-color-string): Add missing space in
color setup (GhostScript syntax error).
(preview-gs-color-string): And another color setup bug.
2004-03-11 David Kastrup <dakas@users.sourceforge.net>
* doc/readme.texi (Activating preview-latex): Make a few changes
with regard to keybindings and stuff.
(Contacts): Add Paypal info for myself.
* doc/preview-latex.texi (Keys and lisp): Remove the C-c C-c g
pseudobinding from the description.
(Keys and lisp): Document mouse actions.
(Keys and lisp): Move Kill Job description.
2004-03-10 David Kastrup <dakas@users.sourceforge.net>
* preview.el (preview-gs-colors): replaced with preview-colors.
(preview-pdf2dsc-command): replaces preview-pdftodsc-command
(preview-gs-open, preview-gs-color-value)
(preview-gs-color-string, preview-dvipng-color-string)
(preview-dvipng-open, preview-dvipng-process-setup)
(preview-pdf2dsc-process-setup, preview-pdf2dsc-sentinel)
(preview-gs-close, preview-dvipng-close)
(preview-prepare-fast-conversion, preview-attach-filename): lots
of small changed to accommodate pdf2dsc.
(preview-parse-messages): Change pattern to accommodate pdfTeX.
(preview-LaTeX-command-replacements): Changed to not rely on latex
being different from elatex. And for allowing pdflatex in DVI mode.
(preview-dump-replacements, preview-undump-replacements): Same.
(preview-cache-preamble): transfer setting of \pdfoutput to
dumped format.
* prv-emacs.el (preview-gs-color-value): Moved to preview.el.
(preview-get-colors): Substitute for previous
preview-gs-get-colors.
(preview-dvipng-get-colors): Removed.
* prv-xemacs.el (preview-gs-color-value): Moved to preview.el.
(preview-get-colors): Substitute for previous
preview-gs-get-colors.
(preview-dvipng-get-colors): Removed.
2004-03-02 Jan-Åke Larsson <jalar@mai.liu.se>
* preview.el: Fix xemacs' defalias problem
2004-03-02 David Kastrup <dakas@users.sourceforge.net>
* preview.el (preview-image-creators): dvipng now uses different
place and close routines.
(preview-dvipng-command): Fix file name default.
(preview-pdf2dsc-command): for PDFLaTeX support
(preview-gs-dvips-process-setup): Pass image type.
(preview-dvipng-open), (preview-dvipng-process-setup),
(preview-dvipng-abort), (preview-dvipng-sentinel),
(preview-dvipng-close): New functions
(preview-gs-place): get imagetype as argument.
(preview-gs-place): don't create temporary file names for dvipng.
(preview-dvipng-place): deleted.
(preview-dvipng-place-all): New function.
(preview-attach-filename): New function for PDF support.
(preview-delete-file): Support attached files.
(preview-format-mml): Slight formatting changes.
2004-01-14 David Kastrup <dakas@users.sourceforge.net>
* preview.el (preview-parsed-pdfoutput): Add detection for PDF
output from preview.sty.
(mail-header-encode-parameter): Encode the header ourselves: it
seems that versions of the library are not good at that.
(preview-parse-variables): Add `preview-parsed-pdfoutput'.
(preview-map): Add keybinding for `preview-copy-region-as-mml'.
(preview-copy-mml): factor out `preview-format-mml'.
(preview-copy-region-as-mml): New function.
(preview-format-mml): New function.
2004-01-11 David Kastrup <dakas@users.sourceforge.net>
* latex/preview.dtx (subsection{Preview attaching commands}):
Tell preview-latex when the output format is PDF.
2004-01-06 David Kastrup <dakas@users.sourceforge.net>
* preview.el (preview-region): Use "<none>" for file name if
buffer not associated with a file.
(preview-parse-messages): recognize "<none>" to mean
TeX-command-buffer.
(preview-region): Use `preview-generate-preview' instead of
`TeX-command'.
(preview-document): Same.
(preview-at-point): Add arguments to allow mouse use at later
time.
(LaTeX-preview-setup): Don't touch TeX-command-list.
(preview-cache-preamble): Use `preview-generate-preview' instead
of `TeX-command'.
(TeX-inline-preview): Deprecate.
(preview-generate-preview): New function.
(TeX-inline-preview-internal): Remove `name' argument.
2004-01-04 David Kastrup <dakas@users.sourceforge.net>
* preview.el (preview-equality-transforms)
(preview-relaxed-string=, preview-walk-document)
(preview-required-option-list): Doc changes.
(preview-disabled-string, preview-inactive-string)
(preview-active-string, preview-place-preview)
(preview-reinstate-preview): Use new context menus and give help
strings for them.
(preview-copy-text, preview-copy-mml, preview-active-contents)
(preview-context-menu): Implement context menu and functionality.
(mail-header-encode-parameter): Add an autoload cookie for this
function taken from `mail-parse.el'.
2003-11-11 Jan-Ake Larsson <jalar@mai.liu.se>
* Makefile.in, doc/Makefile.in, latex/Makefile.in: Add DESTDIR
variable
2003-11-10 Jan-Åke Larsson <jalar@mai.liu.se>
* preview.el: Add 'dvipng preview-scale functionality
2003-11-08 Stephen Reindl <sr@stephenreindl.de> (tiny change)
* preview-latex.spec (%install): rm texinfo 'dir' file because
this file is not needed for distribution (rpm 4.1+ complains about
this 'missing' file).
2003-11-07 Jan-Åke Larsson <jalar@mai.liu.se>
* preview.el: Fix dvipng resolution
2003-11-06 Jan-Åke Larsson <jalar@mai.liu.se>
* prv-xemacs.el:
* prv-emacs.el:
* preview.el: Add color handling for dvipng
2003-11-05 Jan-Ake Larsson <jalar@mai.liu.se>
* preview.el: Primitive dvipng support. Lacking ascent and colors.
2003-11-04 David Kastrup <dakas@users.sourceforge.net>
* doc/todo.texi: Add quite a few more wishes. Actually, it would
be nice to strike off a few instead.
2003-11-02 David Kastrup <dakas@users.sourceforge.net>
* latex/preview.dtx (subsection{Selection options}): Fix the
carnage broken document classes like elsart.cls and IEEEtran.cls
do to \endfigure and \endtable, and complain about it in
appropriate warning messages.
2003-10-15 David Kastrup <dakas@users.sourceforge.net>
* latex/preview.dtx (subsection{Selection options}): Let the
textmath option also preview the `math' environment.
2003-07-10 David Kastrup <dakas@users.sourceforge.net>
* doc/wininstall.texi: fix web page of AUCTeX.
* doc/install.texi (Prerequisites): fix web page of AUCTeX.
* preview.el (LaTeX-preview-setup, preview-parse-messages)
(TeX-inline-preview): Fix references to AUCTeX.
* aclocal.m4 (library): Fix references to AUCTeX.
* RELEASE: Fix references to AUCTeX.
2003-06-19 David Kastrup <dakas@users.sourceforge.net>
* latex/preview.dtx: Make \long what needs to be \long in order
to deal with argument lists and macros that might contain \par.
2003-05-13 David Kastrup <dakas@users.sourceforge.net>
* configure.in: Really bail if 8bit test fails.
* circ.tex (section{Die gerade Linie}): Add comments for
intentional bugs.
2003-04-28 David Kastrup <dakas@users.sourceforge.net>
* configure.in: Fix check for images.
* aclocal.m4 (library): Try setting the EMACS_cv_SYS_* variable
that we are actually checking. Is that correct?
2003-04-17 Jan-Åke Larsson <jalar@mai.liu.se>
* doc/wininstall.texi: Corrected --with-lispdir and --with-packagedir
2003-04-09 Jan-Åke Larsson <jalar@mai.liu.se>
* aclocal.m4: More sane emacs-macro path-searching.
2003-03-31 Jan-Åke Larsson <jalar@mai.liu.se>
* aclocal.m4 (EMACS_PROG_EMACS): Make the test fail gracefully
when no binary executable is found. More generally, make the
emacs-macro path-searching tests run.
2003-03-30 David Kastrup <dakas@users.sourceforge.net>
* doc/install.texi (Configure), doc/wininstall.texi: explain
--with-emacs and stuff even less ambiguously.
2003-03-28 David Kastrup <dakas@users.sourceforge.net>
* doc/faq.texi (Installation Trouble): Update Windows info.
2003-02-15 David Kastrup <dakas@users.sourceforge.net>
* configure.in: quote MAKEINFO.
* README.CVS: Fix instructions because autoconf now does not need
patching anymore.
* doc/preview-latex.texi: juggle the dircategory, hopefully right
now.
2003-02-13 David Kastrup <dakas@users.sourceforge.net>
* doc/preview-latex.texi: Somewhat changed info dir entries.
(Simple customization): add hint for RefTeX.
* doc/problems.texi, doc/macros.texi: anticipate name change of
AUC TeX to AUCTeX.
* aclocal.m4, configure.in: resynch with AUCTeX aclocal.m4.
Lots of name changes.
* configure.in: Remove redundant checks/substs.
* aclocal.m4 (AC_EXAMINE_PACKAGEDIR): lots of fixes with regard
to quoting, bad code and other stuff.
(AC_CHECK_AUCTEX): remove trailing slash.
2003-02-10 Alan Shutko <ats@acm.org>
* aclocal.m4: Changed all references of AUCTEXDIR to auctexdir.
* Makefile.in (auctexdir): Changed all references of AUCTEXDIR to
auctexdir.
2003-02-05 David Kastrup <dakas@users.sourceforge.net>
* latex/preview.dtx (section{Package options}): Correct doc of
\PreviewBbAdjust.
2003-02-05 Alan Shutko <ats@acm.org>
* doc/problems.texi: Add documentencoding.
(Emacs problems): Move @end itemize after XEmacs.
2003-02-03 David Kastrup <dakas@users.sourceforge.net>
* latex/preview.dtx (subsection{The \texttt{auctex} option}):
Make \item actually produce an \item.
2003-01-27 David Kastrup <dakas@users.sourceforge.net>
* doc/problems.texi (Emacs problems): CVS Emacs supports PNG now.
* doc/wininstall.texi: CVS Emacs supports PNG images now.
* prv-xemacs.el (null-device): Add defvar for older XEmacsen.
2003-01-24 David Kastrup <dakas@users.sourceforge.net>
* preview.el (preview-gs-sentinel): Delete PostScript file when
GhostScript has finished.
(preview-gs-dvips-sentinel): Don't mark PostScript file for
deletion when GhostScript will be run: otherwise preview.el will
delete the PostScript file automatically when the last preview has
been generated but before GhostScript exits. And since
GhostScript has the file still open, some "operating systems" will
refuse to delete the PostScript file at that moment.
2003-01-20 David Kastrup <dakas@users.sourceforge.net>
* Release 0.7.8
* aclocal.m4: Correct environment spellings for Makefiles.
* latex/preview.dtx (subsection{The internals}): comment out color
setup. That means that one might not be able to use color.sty for
setting up fore/background color, but it will also mean that
loading color.sty does not interfere with the initial colors set
up inside of GhostScript. In the long run, we will have to solve
this differently.
2003-01-19 David Kastrup <dakas@users.sourceforge.net>
* latex/preview.dtx (section{Package options})
(subsection{The \texttt{showlabels} option}), doc/todo.texi:
spell RefTeX correctly.
* preview.el (preview-gs-open): Get really paranoid about closing
our output file in a way which should get rid of races.
(preview-ps-quote-filename): Get an optional argument for
avoiding making file names relative (like null-device).
(preview-equality-transforms, preview-relaxed-string=,
preview-canonical-spaces): Add functionality for relaxed check of
region changes (should allow outline-minor-mode in XEmacs, too,
and paragraph reformatting).
* prv-emacs.el (preview-check-changes): use
`preview-relaxed-string=' for detecting relevant changes.
* prv-xemacs.el (preview-create-icon): Use defsubst instead of
defmacro in order to avoid double evaluation of `file'.
(preview-check-changes): use `preview-relaxed-string=' for
detecting relevant changes.
* latex/preview.dtx (section{Introduction})
(section{Package options}, subsection{Supporting conversions}):
Mention that `tightpage' requires `dvips', too.
2003-01-18 David Kastrup <dakas@users.sourceforge.net>
* Makefile.in (install-el, install-icons): Fix overquoting.
2003-01-17 Jan-Ake Larsson <jalar@mai.liu.se>
* Makefile.in (install): Unquote $x so that the install prints
what is installed.
2003-01-17 David Kastrup <dakas@users.sourceforge.net>
* aclocal.m4 (AC_SHELL_QUOTIFY): c\:\\bin is correct, but ugly.
Don't quote : specifically, it is not likely to be a special shell
character.
* doc/Makefile.in (infodir): Add a few missing environment
variables.
* latex/Makefile.in, Makefile.in, aclocal.m4, configure.in: try
to deal as perfectly as possible with spaces in file names,
quotes, backslashes and desperate things in general.
2003-01-15 Jan-Ake Larsson <jalar@mai.liu.se>
* configure.in: Use AC_PROG_EMACS and more portable
AC_PATH_LISPDIR/PACKAGEDIR
* aclocal.m4 (AC_PROG_EMACS): New. Sanitize AC_PATH_LISPDIR. Make
AC_PATH_PACKAGEDIR portable.
2003-01-10 Jan-Ake Larsson <jalar@mai.liu.se>
* Makefile.in: Make Solaris make grok the remaining long lines
2003-01-10 David Kastrup <dakas@users.sourceforge.net>
* preview.el (LaTeX-preview-setup): Change menu name for
generating customize menu to "Extend this menu".
* configure.in (TEXMFGEN): Make this possibly more portable (at
the very least, we had some potential quoting problems).
* autogen.sh, configure.in: Ok, darn them all. We now have a
configure.in that does no longer need to get patched up after
autoconf, regardless of which autoconf version gets used between
2.13 and 2.57 or hopefully later.
2003-01-07 David Kastrup <dakas@users.sourceforge.net>
* Makefile.in (AUCTEXLISP): quoting levels still unsufficient.
* configure.in: Error message contained a single backquote, and
this made autoconf-213 barf.
* Makefile.in (AUCTEXLISP): quote sed command correctly.
* README.CVS: Update info about what autogen.sh generates.
* doc/wininstall.texi: Well, forget a few details. Also added.
* autogen.sh: Make much more simple, so that this will work with
more sed versions.
* doc/wininstall.texi: Major overhaul, taking also GNU Emacs CVS
into account.
* Makefile.in: Lots of quote fixes to make this hopefully compile
better when paths may contain spaces and backslashes (the horror,
the horror).
* latex/Makefile.in: Lots of quote fixes to make this hopefully
compile better when paths may contain spaces and backslashes
(the horror, the horror).
* doc/preview-latex.texi (Keys and lisp): Rearrange section,
cater for renamed menus, some better explanations.
* doc/faq.texi (Installation Trouble): Some rearrangements and
additional explanations.
* latex/preview.dtx (section{Provided Commands}): Add description
of \PreviewOpen and \PreviewClose.
(subsection{Selection options}): Typo in displaymath hook on \[
fixed.
(subsection{Preview attaching commands}): Fix code of
\PreviewOpen and \PreviewClose which need to have their own
groups open and close always.
2003-01-06 David Kastrup <dakas@users.sourceforge.net>
* latex/preview.dtx (section{Provided Commands}): Add a lot of
additional possibilities for previewing commands and document
them.
* doc/preview-dtxdoc.pl: convert @ to @@, add braces around \marg
argument, allow spaces in \oarg argument.
* doc/Makefile.in (install): rename INSTALLINFO to INSTALL_INFO
for consistency.
* autogen.sh: Allow use of AUTOCONF, use sed.
* configure.in: Rework the language stuff autoconf sickness.
Require autogen.sh for editing work.
2002-12-29 David Kastrup <David.Kastrup@t-online.de>
* preview.el (preview-clearout-section): New function.
(preview-map): Add keybinding to it.
(LaTeX-preview-setup): Reorganize Preview menu for better user
friendliness.
2002-12-22 David Kastrup <David.Kastrup@t-online.de>
* latex/Makefile.in (install-texmf): don't call TEXHASH with
argument: some of the substitutes might not like it. Better safe
than sorry.
* configure.in: A few more texhash-related fixes.
2002-12-20 David Kastrup <David.Kastrup@t-online.de>
* Makefile.in (LISP_SOURCES): Use = instead of := for non-GNU
make versions. Also in other variables.
2002-12-19 David Kastrup <David.Kastrup@t-online.de>
* latex/preview.dtx (section{Package options}): Document
`footnotes' option.
(section{Provided Commands}): Document new second optional
argument to \PreviewMacro*.
(subsection{Parsing commands}): Obliterate \pr@seq and make
\pr@callafter have different semantics.
(subsection{Preview attaching commands}): New macroo \pr@endmacro
needed for new \pr@callafter semantics.
(subsection{Preview attaching commands}): Implement the new
second argument to \PreviewMacro* and \PreviewEnvironment*.
(subsection{Preview attaching commands}): Make \pr@startsnarf
adapt to new \pr@callafter semandtics.
(subsection{The \texttt{auctex} option}): Use the new semantics
in a number of cases.
* doc/install.texi (Loading the package): Make this more
fool-proof by leaving out alternatives and reordering.
2002-12-18 Jan-Ake Larsson <jalar@mai.liu.se>
* preview.dtx: Add \caption to auccfg
2002-12-17 David Kastrup <David.Kastrup@t-online.de>
* Release 0.7.7
* prv-emacs.el (preview-unwatch-preamble): Fix a lethal typo.
* Release 0.7.6
* preview-latex.spec (Requires): Bump to 0.7.6
* doc/faq.texi (Requirements): Change version requirements for
AUC TeX.
* doc/readme.texi (Activating preview-latex): Explain about what
to do if preview-latex.el did not get installed properly.
* doc/preview-latex.texi (Keys and lisp): Explain about new
commands and options.
(Simple customization): Explain how to keep counters accurate.
(The Emacs interface): document new options.
* doc/install.texi (Prerequisites): Explain about AUCTeX and
XEmacs versions.
(Loading the package): Recommend using preview-latex.el as
standard measure.
* Makefile.in (GS): Inherit GhostScript executable name.
(preview-latex.el): If GhostScript is not named "gs", change
preview-gs-command setting appropriately. Add the Lisp
installation directory to the load-path.
* configure.in: use : instead of /bin/true
Check typical GhostScript executable names on Windows. Check for
initexmf -u (MikTeX specific).
* RELEASE: Some more changes for 0.7.6
2002-12-16 David Kastrup <David.Kastrup@t-online.de>
* preview.el (preview-string-expand): Get optional separator
argument.
(preview-expandable-string): Change type somewhat.
(preview-clearout-document): doc change.
(preview-default-preamble, preview-LaTeX-command): Simplify to
changed definition of preview-expandable-string.
* prv-xemacs.el (preview-mode-setup, preview-watch-preamble)
(preview-unwatch-preamble): Differentiate between unwanted formats
and formats without loaded master file.
* prv-emacs.el (preview-watch-preamble, preview-unwatch-preamble,
preview-mode-setup): Differentiate between unwanted formats and
formats without loaded master file.
2002-12-15 David Kastrup <David.Kastrup@t-online.de>
* Makefile.in (preview-latex.el): Avoid putting the output of pwd
inside of "...", because something like "C:\notagain" is not
quite the Lisp string we'd want.
* preview.el (preview-walk-document): New function walking
through buffers of current document.
(preview-clearout-document): New function for completeness.
(preview-map): Add keybinding for it.
(LaTeX-preview-setup): Add menu entry for it.
* configure.in: Preparations for 0.7.6
* RELEASE: Preparations for 0.7.6
2002-12-14 David Kastrup <David.Kastrup@t-online.de>
* aclocal.m4: Don't lie about name of option --with-texmf-dir
2002-12-13 David Kastrup <David.Kastrup@t-online.de>
* latex/preview.dtx (subsection{The \texttt{footnotes} option}):
new option.
* preview.el (preview-default-option-list): Switch on previews
for footnotes by default.
2002-12-12 Jan-Ake Larsson <jalar@mai.liu.se>
* autogen.sh: Nitpicking
* aclocal.m4, configure.in, doc/Makefile.in, doc/macros.texi:
Sanitize makeinfo macro tests
* configure.in: Make LANG and LC_CTYPE saving work across
recursive call of ./configure (2.52)
2002-12-12 David Kastrup <David.Kastrup@t-online.de>
* latex/preview.dtx (subsection{The internals}): Kill insertions
off that annoy our space strippers. That makes
\PreviewMacro[*[]{}]{\footnote} feasible.
2002-12-11 Jan-Ake Larsson <jalar@mai.liu.se>
* images/preview-cap-up.xpm: Fix bg and fg color issues
2002-12-10 Jan-Ake Larsson <jalar@mai.liu.se>
* autogen.sh: Make LANG and LC_CTYPE saving work across recursive
call of ./configure (2.13)
* doc/macros.texi: Typo fixed
2002-12-10 David Kastrup <David.Kastrup@t-online.de>
* preview.el (preview-counter-find): Take counters by searching
forward if searching backwards does not avail us.
(preview-reinstate-preview): Optimize queue/tempdir handling for
the most common case.
2002-12-09 David Kastrup <David.Kastrup@t-online.de>
* preview.el (preview-counter-find): Factor out stuff from advice
since it will otherwise miss out on compatibility macros for XEmacs.
(TeX-region-create): Factor out advice.
(preview-reinstate-preview): Oops, wrong data if nothing
changed. Switched around.
* latex/preview.dtx (subsection{Preview attaching commands}):
Don't \unskip in vertical modes in preview/nopreview
environments.
* preview.el (preview-parsed-counters): New variable.
(preview-dissect): export counter info.
(preview-place-preview): get counter info.
(preview-reinstate-preview): resinstate counters also.
(preview-default-option-list): add counters option.
(preview-string-expand): New function.
(preview-expandable-string): New type.
(TeX-region-create): Advice for counter restoration.
(preview-last-counter): for restoring.
(preview-extract-counters): New function.
(desktop-buffer-preview-misc-data): Sort stuff when writing and
deal with counters.
(preview-dissect, preview-buffer-restore-internal)
(preview-place-preview): Deal with counters.
(preview-buffer-has-counters): New variable during parsing.
(preview-place-preview): Deal with counters.
(preview-required-option-list): New option.
(preview-make-options, preview-make-preamble): deleted
(preview-default-preamble, preview-LaTeX-command): redefine using
expandable strings.
(LaTeX-preview-setup): Replace entry in TeX-command-list with
dummy.
(LaTeX-preview-setup): Delete "%D" and "%P" fudges.
(preview-parse-counters): New function for parsing counters.
(preview-parse-variables): Add preview-parsed-counters to parse
list.
(preview-parse-messages): deal with counters.
(preview-dump-replacements): Add preview-LaTeX-command-replacements
(preview-cache-preamble): Don't generate string for
TeX-inline-preview, it does so itself.
(TeX-inline-preview): Generate command from preview-LaTeX-command
(preview-report-bug): Report more variables.
2002-12-07 David Kastrup <David.Kastrup@t-online.de>
* preview.el (LaTeX-preview-setup): simplify "%m" entry in
TeX-expand-list.
(preview-create-subdirectory): return a quoted relative file name.
(preview-cache-preamble): various directory name related changes
so that everything will work master-relative.
(preview-cache-preamble-off): Same here.
(TeX-inline-preview-internal): Same here.
(preview-report-bug): Add autoload cookie.
(preview-create-subdirectory): Make dvips directory relative.
(preview-report-bug): also report LaTeX-command-style.
2002-12-06 David Kastrup <David.Kastrup@t-online.de>
* preview.el (preview-gs-open): Another GhostScript security work
around, this time leaving off something that confuses 7.x
releases of AFPL GhostScript.
2002-12-03 Jan-Ake Larsson <jalar@mai.liu.se>
* Makefile.in:
* prv-xemacs.el: handle the new toolbar image
* images/preview-cap-up.xpm: toolbar image
2002-11-29 Jan-Ake Larsson <jalar@mai.liu.se>
* doc/readme.texi:
* doc/preview-latex.texi:
* doc/macros.texi:
* doc/Makefile.in:
* configure.in:
* aclocal.m4 (AC_TEST_MAKEINFO_ACRONYM): Attempt to make docs
build with old texinfo
2002-11-28 David Kastrup <David.Kastrup@t-online.de>
* Release 0.7.5
* latex/preview.dtx (subsection{Debugging options}): Typos.
* Makefile.in (use-hint): Add XEmacs version hint.
* prv-xemacs.el (preview-defmacro): define compatibility macros
only at compile time.
(preview-mode-setup): correct check for icon in toolbar.
* preview.el (require): use load-library on prv-xemacs.el in
order to get the compatibility macros at compilation time.
2002-11-22 David Kastrup <David.Kastrup@t-online.de>
* Release 0.7.4
* preview-latex.spec (Requires): New RPM brain damage means we
have to disable the 8bit test.
* doc/faq.texi: Various updates.
* doc/install.texi: Some cosmetic changes and version info
updates.
* doc/preview-latex.texi (Keys and lisp): Adjust docs for changed
menu structure (Preview having a top-level entry).
(On EPS previews): phase out info about historical `postscript'
settings.
* preview.el (preview-image-type): Don't offer `postscript' when
customizing.
* configure.in: bump version.
* doc/preview-latex.texi: bump version.
(Keys and lisp): reorder so that indexes refer to the start of
items.
* preview.el (preview-gs-transact): add a bit of paranoia into
page shifts in case the coordinate origin is not upper left.
Similar to change in tightpage option of preview.dtx.
(preview-LaTeX-command-replacements): comment fix.
* latex/preview.dtx (subsection{The \texttt{counters} option}):
new option and documentation: add counter checkpoints in
diagnostics.
2002-11-21 David Kastrup <David.Kastrup@t-online.de>
* prv-xemacs.el (preview-mode-setup): And here we have the
toolbar icon for XEmacs users. Does not look too pretty, but
might inspire volunteers for improvements.
2002-11-07 Jan-Ake Larsson <jalar@mai.liu.se>
* aclocal.m4: Cosmetic change to the AUC TeX path printout
2002-11-20 David Kastrup <David.Kastrup@t-online.de>
* RELEASE: some changes for 0.7.4
* preview.el (preview-dump-command, preview-undump-command):
deleted.
(preview-do-replacements): New function for performing
replacements in strings.
(preview-LaTeX-command-replacements, preview-format-name)
(preview-dump-replacements, preview-undump-replacements): new
variables.
(preview-cache-preamble): adapt to new variables.
(TeX-inline-preview, TeX-inline-preview-internal): same.
2002-11-18 David Kastrup <David.Kastrup@t-online.de>
* prv-emacs.el (preview-mode-setup): Add preview-at-point to the
toolbar, for those people that have not seen fit to disable it.
Volunteers for the XEmacs equivalent?
2002-11-10 David Kastrup <David.Kastrup@t-online.de>
* preview.el (preview-ps-quote-filename): New function replacing
preview-ps-quote, generating a relative file name.
(preview-prepare-fast-conversion): Use it.
(preview-gs-transact): Use it.
(LaTeX-preview-setup): Make tmp directory name relative.
Problem is that Cygwin absolute paths are not suitable for
passing into MikTeX. Sigh. But perhaps relative file names are
nicer, anyway.
(preview-parse-messages): Fix regexps for the sake of people
incompetent to make the run buffer not contain ^M everywhere.
Another Windows-related "fix".
2002-11-05 David Kastrup <David.Kastrup@t-online.de>
* preview.el (preview-gs-open): Place color setup after
setpagedevice.
* latex/preview.dtx (subsection{Supporting conversions}): Make
the tightpage option generate proper /PageOffset values also for
devices with bottom-up coordinate systems.
* doc/problems.texi: Remove preview-gs-broken-security docs. See
below.
* preview.el (require): Don't abort compilation if desktop or
reporter packages are not installed.
(preview-gs-broken-security): Removed:
(preview-gs-open): Workaround for braindead security.
2002-11-04 David Kastrup <David.Kastrup@t-online.de>
* Changes in order to preserve point in previews as follows:
* preview.el (preview-at-point): Pass selected window into
preview-toggle.
(preview-place-preview): Pass event into preview-toggle.
(preview-reinstate-preview): Same here.
* prv-emacs.el (preview-toggle): take additional argument (event
or window).
(preview-last-location): New variable, buffer-local.
(preview-mark-point): Remember point before moving out.
(preview-restore-position): New function.
* prv-xemacs.el (preview-toggle): take additional argument (event
or window).
(preview-last-location): New variable, buffer-local.
(preview-mark-point): Remember point before moving out.
(preview-restore-position): New function.
2002-10-21 Jan-Ake Larsson <jalar@mai.liu.se>
* configure.in: Fix texhash check
2002-09-16 David Kastrup <David.Kastrup@t-online.de>
* latex/preview.dtx (section{Introduction}): Mention tightpage
option for image conversion already here.
(\pr@endbox): set \reserved@a to something harmless for skipping
(if it was set to a conditional, we got into trouble).
(subsection{Selection options}): Redo the textmath option because
the exscale package (for example) does dirty things within
\frozen@everymath.
2002-09-06 David Kastrup <David.Kastrup@t-online.de>
* doc/faq.texi: Explain about 'Preview-LaTeX exited abnormally
with code 1' message
2002-09-02 David Kastrup <David.Kastrup@t-online.de>
* prv-xemacs.el (preview-mode-setup): Make behaved startup in
buffers without associated file (M-x calendar RET tfw produces
things like that). Generating previews will not work before you
save the buffer, but at least the stuff doesn't bomb out right
away.
* prv-emacs.el (preview-mode-setup): Make behaved startup in
buffers without associated file (M-x calendar RET tfw produces
things like that). Generating previews will not work before you
save the buffer, but at least the stuff doesn't bomb out right
away.
* circ.tex: Load and save once to make it X-Symbol-compatible
(changes are negligible, and it makes demoing mixtures of the two
tools nicer).
* preview.el (LaTeX-preview-setup): Fix menu position of generated
customize menu.
(preview-format-kill, preview-dump-file-name)
(preview-cache-preamble, TeX-inline-preview-internal): Use prefix
`prv_' for dumped formats to avoid name collisions (for example,
with WhizzyTeX).
2002-08-14 David Kastrup <David.Kastrup@t-online.de>
* Release 0.7.3
* preview.el (preview-auto-cache-preamble): Renamed from
preview-dump-default. Make the default 'ask: that way people
will be hard put to overlook this feature, but are not stuck on
it in case it causes trouble. Perhaps will make them read the
manual, too, in order to set this to T.
(preview-map): Use preview-cache-*
(preview-cache-preamble, preview-cache-preamble-off): renamed
from preview-dump-*.
* doc/preview-latex.texi (Keys and lisp): Rename
preview-dump-format and its ilk to preview-cache-preamble.
(Simple customization): Mention automatic preamble caching.
2002-08-13 David Kastrup <David.Kastrup@t-online.de>
* preview.el (TeX-inline-preview): Use set-process-coding-system
only when Mule is active.
(preview-document): Save document if necessary.
(TeX-inline-preview): Some overhaul.
(TeX-inline-preview-internal): Separated out so that
region/format dumps don't interfere.
* prv-xemacs.el (preview-mode-setup): See below.
(preview-dump-threshold): See below.
(preview-preamble-format-cons): File local variable for watching.
(preview-preamble-check-change, preview-watch-preamble)
(preview-unwatch-preamble): See below.
(preview-handle-before-change): Call
preview-preamble-check-change.
* prv-emacs.el (preview-dump-threshold): Regexp ending dump.
(preview-preamble-changed-function): New function.
(preview-watch-preamble): New function.
(preview-unwatch-preamble): New function.
(preview-mode-setup): Check whether we open a watched file.
* preview.el (preview-buffer): Move region exclusion into advice
for TeX-region-create.
(preview-dump-default): New variable, tells us whether we should
dump formats automatically.
(preview-dumped-alist): Semantics change.
(preview-dump-format): Use watch functions from prv-*.el
(preview-clear-format): new optional argument, save last wanted
state.
(TeX-inline-preview): Use preview-dump-default.
2002-08-07 Jan-Ake Larsson <jalar@imf.au.dk>
* autogen.sh: Fixed autoconf-fix message
2002-08-07 David Kastrup <David.Kastrup@t-online.de>
* preview-latex.spec (Release): Set to 9 (prerelease)
(Requires): Add FAQ to docs.
* doc/faq.texi: FAQ added.
2002-08-06 David Kastrup <David.Kastrup@t-online.de>
* prv-xemacs.el (preview-use-balloon-help): New boolean
customization variable.
(preview-mode-setup): Use it.
* doc/preview-latex.texi (The Emacs interface): Document it.
2002-08-05 David Kastrup <David.Kastrup@t-online.de>
* latex/preview.dtx (subsection{Supporting conversions}): change
default of \PreviewBbAdjust from 0.5bp to 0.50001bp.
2002-08-04 David Kastrup <David.Kastrup@t-online.de>
* preview.el (preview-back-command): New optional argument
NOCOMPLEX.
(preview-parse-messages): Use it for not skipping backwards over
braced expressions when start and end of triggered errors match.
2002-08-03 David Kastrup <David.Kastrup@t-online.de>