-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog.1
24395 lines (16471 loc) · 785 KB
/
ChangeLog.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
2019-10-30 Mosè Giordano <mose@gnu.org>
* Version 12.2 released.
2019-10-29 Mosè Giordano <mose@gnu.org>
Prepare for upcoming release
* RELEASE: Update version number, release notes and list of contributors.
* configure.ac: Update version number.
* doc/auctex.texi: Update copyright years.
* doc/changes.texi: Mention generic bug fixes.
* doc/tex-ref.tex:
* latex/preview.dtx: Update version number and copyright years
2019-10-26 Arash Esbati <arash@gnu.org>
Add new style/xkcdcolors.el
* Makefile.in (STYLESRC): Add new style.
* style/xkcdcolors.el: New file.
2019-10-26 Arash Esbati <arash@gnu.org>
Add check for empty overlay
* tex-fold.el (TeX-fold-hide-item): Add an extra check to make
sure that the function runs when overlay start and end are
non-nil. What is done in the end of function isn't useful with
evaporated overlays and used to cause bugs because `overlay-start'
and `overlay-end' return nil for such overlays, and functions such
as `TeX-fold-overfull-p` try to move point to the
overlay-end. (bug#37337)
2019-10-20 Arash Esbati <arash@gnu.org>
* style/amsmath.el ("amsmath"): Improve query strings.
2019-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
multi-prompt.el, style/beamer*.el: Get copyright just right
2019-10-18 Arash Esbati <arash@gnu.org>
* doc/changes.texi: Mention changes in News.
2019-10-18 Arash Esbati <arash@gnu.org>
Add final adjustments for LaTeX 2019-10-01
* latex.el (LaTeX-env-contents): Adjust function to LaTeX kernel
2019-10-01 release. Remove check for usage within preamble only.
Add query for optional argument with completion.
(LaTeX-verbatim-environments):
(LaTeX-indent-environment-list): Add filecontents(*) environments.
* style/amsmath.el ("amsmath"): Add support for \overunderset
macro. Delete unnecessary `function' before `lambda'. Re-indent
the code.
2019-10-15 Ikumi Keita <ikumi@ikumi.que.jp>
Change default for new Ghostscript
* preview.el.in (preview-pdf-color-adjust-method): Change the default
value to t and adjust doc string.
* doc/preview-problems.texi (No images are displayed with gs 9.27 and
earlier): Adjust its contents in line with the above change and change
the title from "... newer".
2019-10-15 Ikumi Keita <ikumi@ikumi.que.jp>
Fix for revised file access controls of gs (bug#37719)
* preview.el.in (preview-prepare-fast-conversion): Add commands for
revised file access controls introduced after gs 9.27.
(preview-gs-restart): Use "-d" option instead of "-s" because the
former does not accept "%d" in OutputFile parameter.
Don't wrap the file name into parentheses in line with this change.
(preview-gs-flag-error): Adjust the reconstructed gs command line
argument so that it matches with the above change.
Add comments about limitations of this function.
2019-10-07 Ikumi Keita <ikumi@ikumi.que.jp>
* preview.el.in (preview-undump-replacements): Fix last commit.
2019-10-07 Ikumi Keita <ikumi@ikumi.que.jp>
Fix preview-latex for TeXLive 2019 update
* preview.el.in (preview-LaTeX-command, preview-undump-replacements):
Remove the brace around the argument of \input.
2019-09-23 Arash Esbati <arash@gnu.org>
Add fontification support for ragged2e macros
* style/ragged2e.el ("ragged2e"): Add provided macros to function
keywords class. This is in line with decision in `font-latex.el'
for corresponding kernel macros.
2019-09-22 Arash Esbati <arash@gnu.org>
Delete \Ref and \labelformat from varioref.el
* style/varioref.el ("varioref"): Delete \Ref and \labelformat
from style hook and fontification support.
2019-09-22 Arash Esbati <arash@gnu.org>
* latex.el (LaTeX-common-initialization): Add \Ref to `TeX-complete-list'.
2019-09-22 Arash Esbati <arash@gnu.org>
Support new kernel macros \Ref and \labelformat
* font-latex.el (font-latex-built-in-keyword-classes): Add \Ref to
reference and \labelformat to function class.
* latex.el (LaTeX-common-initialization): Add support for \Ref and
\labelformat which are part of LaTeX kernel 2019-10-01 release.
2019-09-18 Arash Esbati <arash@gnu.org>
Update style/subcaption.el to package version 1.3
* style/subcaption.el ("subcaption"): Add support for \subfloat
macro.
2019-09-18 Arash Esbati <arash@gnu.org>
Update style/varioref.el to package version 1.6b
* style/varioref.el ("varioref"): Rearrange macros acc. to the
manual. Add missing starred version of \Vref. Add fontification
support for \labelformat.
(LaTeX-varioref-package-options): Update package options.
2019-09-14 Arash Esbati <arash@gnu.org>
Improve detecting of rejected optional arguments
* style/bicaption.el (LaTeX-arg-bicaption-bicaption):
* style/caption.el (LaTeX-arg-caption-captionbox):
* style/floatrow.el (LaTeX-floatrow-arg-floatbox):
* style/xcolor.el (TeX-arg-xcolor-fcolorbox): Add an additional
check for detecting if last optional argument was rejected.
2019-09-08 Arash Esbati <arash@gnu.org>
Add new style/multitoc.el
* Makefile.in (STYLESRC): Add new style.
* style/multitoc.el: New file
2019-08-31 Arash Esbati <arash@gnu.org>
Make "PDF Tools" viewer available under Windows and macOS
* tex.el (TeX-view-program-list-builtin): Make entry for "PDF
Tools" available under Windows and macOS. (bug#37152)
* doc/changes.texi: Mention availability of "PDF Tools" under
Windows and macOS in `TeX-view-program-list-builtin'.
* doc/install.texi (Prerequisites): Replace "Mac OS X" with
"macOS".
2019-08-22 Arash Esbati <arash@gnu.org>
Add new style/ltugboat.el
* Makefile.in (STYLESRC): Add new style.
* style/ltugboat.el: New file.
2019-08-22 Arash Esbati <arash@gnu.org>
Add new style/changelog.el
* Makefile.in (STYLESRC): Add new style.
* style/changelog.el: New file.
2019-08-22 Arash Esbati <arash@gnu.org>
Support explicitly numbered group contructs
* latex.el (LaTeX-extract-key-value-label): Add an optional
argument for explicitly numbered group contructs.
2019-08-22 Arash Esbati <arash@gnu.org>
* doc/changes.texi: Mention fontification improvement for biblatex.
2019-08-21 Arash Esbati <arash@gnu.org>
* context.el (ConTeXt-environment): Fix docstring.
2019-08-21 Arash Esbati <arash@gnu.org>
Fix lisp example for `TeX-electric-math'
* doc/auctex.texi (Quotes): Use `make-local-variable' instead of
`make-variable-buffer-local' in lisp example for init file. (bug#37124)
2019-08-21 Ikumi Keita <ikumi@ikumi.que.jp>
Restore syntax fontify in Texinfo mode
* tex-info.el (TeX-texinfo-mode): Set `syntax-propertize-function',
mimicking texinfo.el. Now comments in Texinfo mode buffer are
displayed with comment face again.
2019-08-21 Ikumi Keita <ikumi@ikumi.que.jp>
Reduce unnecessary local variable safety inquiry
* tex.el (TeX-add-local-master): Call major mode function only when
necessary.
2019-08-18 Arash Esbati <arash@gnu.org>
Update style/titlesec.el to package version 2.11
* style/titlesec.el ("titlesec"): Add \nostruts macro.
(LaTeX-titlesec-package-options): Add `nostruts' option.
2019-08-17 Arash Esbati <arash@gnu.org>
Update style/thmtools.el to package version 67
* style/thmtools.el (LaTeX-thmtools-declaretheoremstyle-regexp)
(LaTeX-thmtools-declaretheorem-regexp): Use the function
`LaTeX-extract-key-value-label' to build the regexp.
(LaTeX-thmtools-listoftheorems-key-val): Add new key `title'.
(LaTeX-thmtools-package-options): Add new variable.
2019-08-17 Arash Esbati <arash@gnu.org>
Update style/fvextra.el to package version 1.4
* style/fvextra.el (LaTeX-fvextra-key-val-options): Add new keys.
("fvextra"): Add new macros. Add fontification support for
\EscVerb macro.
2019-08-15 Arash Esbati <arash@gnu.org>
Update style/paracol.el to package version 1.35
* style/paracol.el: Add macro \definecolumnpreamble and the length
\belowfootnoteskip.
2019-07-21 Ikumi Keita <ikumi@ikumi.que.jp>
Change color adjustment method (bug#35571, bug#35696, bug#36039)
* preview.el.in (preview-pdf-color-adjust-method): New option.
(preview-pdf-color-string): Use new code using DELAYBIND feature when
the new option is t.
(preview-gs-color-string): Add new optional argument to suppress code
for explicit colors.
(preview-gs-open): Don't adjust color when the latex command produces
PDF and `preview-pdf-color-adjust-method' is nil.
(preview-pdf2dsc-sentinel): Add "-dDELAYBIND" option to gs invocation
when `preview-pdf-color-adjust-method' is t.
* doc/changes.texi: Add a new entiry.
* doc/preview-problems.texi: Add a section to explain how to do with
the case no images are displayed with gs 9.27 and newer.
2019-07-16 Ikumi Keita <ikumi@ikumi.que.jp>
Enhance support for file names with spaces
* tex-buf.el (TeX-run-compile): Add an entry for file name with spaces
to localized `compilation-error-regexp-alist'.
2019-07-14 Arash Esbati <arash@gnu.org>
Update style/AnonymousPro.el to package version 2.2
* style/AnonymousPro.el (LaTeX-AnonymousPro-package-options): Add
the `scaled' key.
2019-06-27 Ikumi Keita <ikumi@ikumi.que.jp>
Conform to `delete-selection-mode' (bug#36385)
* latex.el (LaTeX-insert-left-brace): Put `delete-selection' property
which obeys that of `self-insert-command' when
`LaTeX-electric-left-right-brace' feature is inactive.
2019-06-14 Arash Esbati <arash@gnu.org>
Support cleveref labels
* style/cleveref.el (TeX-arg-cleveref-crossref-type): New
function.
(LaTeX-cleveref-label-regexp): New variable for parsing \label
macros with an optional argument.
("cleveref"): Add missing package macros.
Update expert commands and fontification.
Update `reftex-label-regexps' enabling RefTeX to handle \label
with an optional argument as well.
Update description line and add Commentary section. (bug#36111)
2019-05-21 Ikumi Keita <ikumi@ikumi.que.jp>
Make navigation function robust
* tex.el (TeX-find-macro-end-helper): Cater for corner case that the
`while' loop is exited or skipped.
* tests/tex/navigation.el: Add new test.
2019-05-20 Arash Esbati <arash@gnu.org>
Update style/babel.el to package version 3.31
* style/babel.el (LaTeX-babel-language-list): Add azerbaijani and
remove frenchb.
(LaTeX-babel-babelprovide-key-val-options): New variable.
(LaTeX-babel-babeltags-regexp, LaTeX-babel-cleanup-babeltags): Add
parsing support for \babeltags macro.
(LaTeX-babel-babelfont-regexp, LaTeX-babel-cleanup-babelfont): Add
parsing support for \babelfont macro.
(TeX-arg-babel-lang): Use the arguments optional and prompt
properly.
("babel"): Add missing macros incl. fontification.
(LaTeX-babel-package-options): Add missing package options.
2019-05-17 Tassilo Horn <tsdh@gnu.org>
Fix autoload generation code (bug#35758)
* Makefile.in (AUTOLOAD,PREVIEW_AUTOLOAD): Use arg instead of
generated-autoload-file (bug#35758).
2019-05-17 Ikumi Keita <ikumi@ikumi.que.jp>
Fix regression
* latex.el (LaTeX-arg-usepackage-insert, LaTeX-arg-usepackage): Move
`TeX-run-style-hooks' from `LaTeX-arg-usepackage' to
`LaTeX-arg-usepackage-insert'. Due to my commit "Defer running style
hook until options are given actually", style hooks associated with
\usepackage were not run when the document is newly created with
`LaTeX-env-document'.
2019-05-17 Arash Esbati <arash@gnu.org>
Load hyperref.el in `LaTeX-beamer-class-options'
* style/beamer.el (LaTeX-beamer-class-options): Load "hyperref.el"
in order to have `LaTeX-hyperref-package-options-list' defined
when the document class is requested and the style hook hasn't run
yet. (bug#35649)
2019-05-12 Arash Esbati <arash@gnu.org>
Improve style/mflogo.el
* style/mflogo.el ("mflogo"): Ask for Text when \textlogo is
invoked. Change \logofamily into a declaration. Add missing
macros \MF and \MP. Adjust fontification for \textlogo and
\logofamily.
2019-05-12 Ikumi Keita <ikumi@ikumi.que.jp>
Fix last commit
* tex-buf.el (TeX-command-expand): Redefine the value of `file' just
once per call of `TeX-command-expand'. Previous code could give
spurious quote when the given command string contains more than one
"%" expanders tied with the symbol `file'.
2019-05-12 Ikumi Keita <ikumi@ikumi.que.jp>
Stop depreciated usage of undeclared dynamic variable
* tex-buf.el (TeX--master-or-region-file-with-extra-quotes): Redefine
as template. On accepting one of `TeX-master-file', `TeX-region-file'
or `TeX-active-master' as its first argument, it becomes a wrapper for
those three, like previous definition.
(TeX-command-expand): Arrage in accord with the above change.
With these two changes, we no longer need implicit dynamic binding of
non-special variable `orig-file'.
* tex.el (TeX-expand-list-builtin): Update supplementary comment for
"%T".
2019-05-09 Ikumi Keita <ikumi@ikumi.que.jp>
* tex-jp.el (AUCTeX-jp): Add keyword :link to info node.
2019-05-09 Ikumi Keita <ikumi@ikumi.que.jp>
Fix treatment of class and package options
* preview.el.in (preview-auctex-font-size): Consult
`LaTeX-provided-{class,package}-options' instead of
`(TeX-style-list)'. This function has been accidentally disabled
since AUCTeX began not to include the class and package options into
the styles. Similar problem with bug#25563.
* latex.el (LaTeX-match-class-option): Update doc string because the
above change depends on its implicit behavior.
2019-05-09 Ikumi Keita <ikumi@ikumi.que.jp>
Remove obsolete codes
* preview.el.in (preview-mouse-open-eps): Remove xemacs compatibility
code.
Don't use obsolete variable `default-major-mode'.
2019-05-09 Ikumi Keita <ikumi@ikumi.que.jp>
Remove compatibility code for xemacs
* prv-emacs.el (preview-compatibility-macros): Remove.
* preview.el.in (eval-when-compile,makunbound): Remove useless
codes.
2019-05-09 Ikumi Keita <ikumi@ikumi.que.jp>
Remove compatibility code for xemacs
* prv-emacs.el (preview-mark-active): Remove.
(): Update Copyright year.
* preview.el.in (LaTeX-preview-setup): Remove the above macro.
(): Update Copyright year.
2019-05-08 Mohammad Hossein Bateni <bateni@google.com>
Allow the user to customize which TeX commands are available in each mode.
Commands such as Biber, DVI2PS, PS2PDF, Index, etc. are not useful in
ConTeXt. ConTeXt generates a PDF directly and has its own indexing
mechanism.
In Mark IV (which has been the preferred version for over a decade and
is actively developed), a new bibliography package is also available,
which can process old bibtex files as well. So there is no need for
BibTeX.
Having so many commands in context-mode clutters the menus. In the
definition of TeX-command-list, we either provide a list of relevant
modes, or set the value to `t' indicating that this command should
always be available. In the latter case, the user cannot customize
it. Here we provide sensible defaults as well as the ability for the
user to customize.
* tex.el (TeX-command-list): Hide by default some commands from context-mode.
2019-04-23 Arash Esbati <arash@gnu.org>
Add new function `LaTeX-extract-key-value-label'
* latex.el (LaTeX-extract-key-value-label): Add new utility
function to return a regexp string to extract label value in an
optional key=val argument.
* style/breqn.el (LaTeX-breqn-key-val-label-regexp):
* style/listings.el (LaTeX-listings-key-val-label-regexp)
(LaTeX-listings-auto-cleanup): Use
`LaTeX-extract-key-value-label'.
Delete now unused variable `LaTeX-listings-key-val-label-extract'.
2019-04-20 Arash Esbati <arash@gnu.org>
Add support for ChangeLog entries for LaTeX files
* tex.el (TeX-current-defun-name): New function returning the name
of current sectioning command when `C-x 4 a' is invoked.
* latex.el (LaTeX-common-initialization): Set a local version
`add-log-current-defun-function' to `TeX-current-defun-name'.
2019-04-19 Arash Esbati <arash@gnu.org>
* style/xparse.el ("xparse"): Fix fontification of alternatives.
2019-04-17 Ikumi Keita <ikumi@ikumi.que.jp>
Reset `TeX-PDF-from-DVI' if xetex engine is in use
* tex.el (TeX-engine-set): Reset `TeX-PDF-from-DVI' when the new
engine is `xetex'. Fix bug#34593.
2019-04-13 Arash Esbati <arash@gnu.org>
Update keywords to biblatex v3.12
* font-latex.el (font-latex-built-in-keyword-classes): Update
biblatex keywords. For qualified lists, fontify at least 2
mandatory arguments.
2019-04-11 Arash Esbati <arash@gnu.org>
* tex-info.el (TeX-texinfo-mode): Set `add-log-current-defun-function' locally.
2019-04-06 Ikumi Keita <ikumi@ikumi.que.jp>
Elaborate LaTeX math insertion command
* latex.el (LaTeX-math-insert): Put the point after the closing dollar
sign when appropriate. This fixes bug#35128.
In addtion, wrap the text in the active region suitably.
2019-04-05 Arash Esbati <arash@gnu.org>
Fix handling of function entries in `TeX-complete-list'
* tex.el (TeX-complete-symbol): Check if the fourth argument of
entry in `TeX-complete-list' is a list and eval it. (Bug#35074)
2019-03-16 Arash Esbati <arash@gnu.org>
Improve fontification of \href macro
* style/hyperref.el ("hyperref"): Add "href" to
`LaTeX-verbatim-macros-with-braces-local'.
Check for feature font-latex and not for functions.
Declare and use `font-latex-update-font-lock' instead of
`font-latex-set-syntactic-keywords'.
2019-03-09 Tassilo Horn <tsdh@gnu.org>
Support up to 12 command arguments.
* font-latex.el (font-latex-keyword-matcher): Support up to 12 command
arguments.
2019-03-04 Arash Esbati <arash@gnu.org>
Fix fontification of simple macros
* font-latex.el (font-latex-match-simple-command): Change second
part of regexp in order to be less greedy. This function now
fontifies only letters and characters defined in
`font-latex-match-simple-include-list' (bug#34712).
(font-latex-match-simple-include-list): New variable.
* style/expl3.el ("expl3"): Add "_" and ":" to
`font-latex-match-simple-include-list'.
2019-02-24 Tassilo Horn <tsdh@gnu.org>
New styles for beamerarticle & beamerswitch triggering beamer
* style/beamerarticle.el: New style.
* style/beamerswitch.el: New style.
* Makefile.in (STYLESRC): Enable them.
2019-02-11 Arash Esbati <arash@gnu.org>
* style/listings.el: Require tex.el.
2019-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
* auctex.el: Add requireds, keywords, and trailer
(cherry picked from commit 0c8d6703d16097eb64f014c56e4135a5a1f9600f)
2019-02-08 Arash Esbati <arash@gnu.org>
Delete auctex-pkg.el which is not needed for ELPA releases
2019-02-08 Arash Esbati <arash@gnu.org>
Add dependencies file auctex-pkg.el
* auctex-pkg.el: Add new file containing AUCTeX's dependencies for
ELPA releases.
2019-02-02 Arash Esbati <arash@gnu.org>
Improve indenting and filling in "Form" environments
* style/hyperref.el ("hyperref"): Add the "Form" environment to
`LaTeX-document-regexp'.
2019-01-12 Arash Esbati <arash@gnu.org>
Add support for w and W column specifiers
* style/array.el ("array"): Add column specifiers w and W to
`LaTeX-array-column-letters'.
* doc/changes.texi: Mention that counting columns is supported
only if the align parameter is enclosed in braces.
2019-01-11 Ikumi Keita <ikumi@ikumi.que.jp>
Remove combatibility code for older emasen
* tex.el (put): Don't put unnecessary property on
`TeX-source-correlate-mode'.
(TeX-clean): Remove fallback code for emacs 21.
2019-01-11 Ikumi Keita <ikumi@ikumi.que.jp>
Remove compatibility code for older emacsen
* font-latex.el (put):
* tex-style.el (put):
Use `booleanp' instead of `TeX-booleanp'.
* tex.el (put): Use `booleanp' instead of `TeX-booleanp'.
(TeX-booleanp): Remove.
2019-01-11 Ikumi Keita <ikumi@ikumi.que.jp>
Remove compatibility code for older emacsen
* context.el (ConTeXt-mode-common-initialization):
* latex.el (TeX-latex-mode):
* plain-tex.el (TeX-plain-tex-mode, ams-tex-mode):
* tex-info.el (TeX-texinfo-mode):
Use `run-mode-hooks' instead of `TeX-run-mode-hooks'.
* tex.el (TeX-run-mode-hooks): Remove.
2019-01-11 Ikumi Keita <ikumi@ikumi.que.jp>
Fix test conditions on w32
* tests/tex/command-expansion.el (TeX-command-detokenize): Correct
`system-type' for w32.
(TeX-command-expand-skip-file-name, TeX-command-expand-active-master):
Skip tests on w32.
2019-01-10 Ikumi Keita <ikumi@ikumi.que.jp>
Override some bindings in `TeX-mode-map' in Texinfo mode
* tex-info.el (Texinfo-mode-map): Bind `self-insert-command' to
"$", "^", "_" and "\" because they are normal characters in Texinfo
documents.
Bind `TeX-insert-backslash' to "@" so that users benefit from
`TeX-electric-macro' even in Texinfo mode.
* tex.el (TeX-electric-escape): Update doc string.
* doc/auctex.texi (Completion): Update description.
* doc/changes.texi (News in 12.2): Mention the above changes.
2019-01-06 Arash Esbati <arash@gnu.org>
Update style/enumitem.el to package version 3.6
* style/enumitem.el (LaTeX-enumitem-key-val-options): Update
key=val options to v3.6.
(LaTeX-enumitem-auto-cleanup): Use sharp-quote notation.
("enumitem"): Query for trivlist environment depending of package
option.
Add macro \Drawenumitemlabel and length \labelitem.
(LaTeX-enumitem-package-options): Update package options.
2019-01-02 Arash Esbati <arash@gnu.org>
Skip macros and environments from pythontex
* tex-ispell.el (TeX-ispell-skip-cmds-list): Add document macros
of pythontex package.
(TeX-ispell-skip-envs-list): Add environments provided by
pythontex package.
Add general verbatim macros.
2018-12-15 Arash Esbati <arash@gnu.org>
Improve completion for \url between url.el and hyperref.el
* style/hyperref.el ("hyperref"): Comment the entry for "url"
since the completion is provided via url.el.
* style/url.el ("url"): Add a conditional to "url" in order to
check if hyperref.el is loaded and then supply the argument in
braces.
Also check for hyperref.el. before adding "url" to
`LaTeX-verbatim-macros-with-delims-local'.
2018-12-14 Arash Esbati <arash@gnu.org>
Add new style/pythontex.el
* Makefile.in (STYLESRC): Add new style.
* style/pythontex.el: New file.
2018-12-11 Ikumi Keita <ikumi@ikumi.que.jp>
Drop xemacs support and mule check from configure and Makefile
* aclocal.m4:
* configure.ac:
* doc/Makefile.in: Drop xemacs support and mule check.
* Makefile.in: Merge mule file into main files.
Drop xemacs support.
* prv-install.el: Remove.
2018-12-11 Ikumi Keita <ikumi@ikumi.que.jp>
Fix document
* doc/auctex.texi (Completion): Correct wrong description and typo.
(Cleaning): Add mention about variables related to AmSTeX mode.
2018-12-11 Ikumi Keita <ikumi@ikumi.que.jp>
Use ASCII apostrophe in code expample
* doc/auctex.texi (): (I/O Correlation): Use APOSTROPHE(U+0027) rather
than RIGHT SINGLE QUOTATION MARK(U+2019) in code example.
Add coding tag in Local Variables section.
2018-12-10 Ikumi Keita <ikumi@ikumi.que.jp>
Redefine support for \url in hyperref
* style/hyperref.el ("hyperref"): Override the entry for \url macro in
url.el because hyperref.sty redefines the macro.
2018-12-10 Ikumi Keita <ikumi@ikumi.que.jp>
Revise description about CJK support
* doc/auctex.texi (Internationalization): Revise description about CJK
support in Emacs and TeX.
(Japanese): Fix typo and add index entries.
2018-12-06 Arash Esbati <arash@gnu.org>
Improve handling of `TeX-insert-macro-default-style' in styles
* latex.el (LaTeX-check-insert-macro-default-style): Add new
macro. This macro is intended for more complex functions in style
files querying multiple optional and mandatory arguments and
obeying the values of `TeX-insert-macro-default-style' and
`current-prefix-arg'.
* tex.el (TeX-parse-arguments): Add a comment about the new macro.
* style/bicaption.el (LaTeX-arg-bicaption-bicaption):
* style/caption.el (LaTeX-arg-caption-captionbox):
* style/color.el (TeX-arg-color, TeX-arg-color-fcolorbox):
* style/floatrow.el (LaTeX-floatrow-arg-floatbox):
* style/xcolor.el (TeX-arg-xcolor-definecolor)
(TeX-arg-xcolor-definecolorset, TeX-arg-xcolor)
(TeX-arg-xcolor-fcolorbox): Use
`LaTeX-check-insert-macro-default-style'.
2018-12-03 Ikumi Keita <ikumi@ikumi.que.jp>
Remove compatibility code for older emacsen
* tex.el: Remove XEmacs compatibility definitions for
`TeX-read-string', `TeX-active-mark', `TeX-activate-region',
`line-beginning-position', `line-end-position' and
`TeX-overlay-prioritize'.
(TeX-activate-region): Remove compatibility code for older emacsen.
2018-12-03 Ikumi Keita <ikumi@ikumi.que.jp>
Remove TeX-maybe-remove-help, TeX-menu-with-help
* tex.el (TeX-maybe-remove-help, TeX-menu-with-help): Remove.
(TeX-mode-specific-command-menu-entries, TeX-fold-menu)
(TeX-common-menu-entries):
* context.el:
* latex.el:
* plain-tex.el:
* tex-buf.el:
* tex-info.el:
Remove `TeX-menu-with-help' and fix indent.
2018-12-03 Ikumi Keita <ikumi@ikumi.que.jp>
Remove TeX-mark-active
* tex.el (TeX-mark-active): Remove.
(TeX-mode-specific-command-menu-entries):
* style/dinbrief.el (LaTeX-dinbrief-insert)
(LaTeX-dinbrief-env-recipient):
Use the variable `mark-active' directly instead of the function
`TeX-mark-active'.
2018-12-03 Ikumi Keita <ikumi@ikumi.que.jp>
Remove TeX-replace-regexp-in-string
* tex.el (TeX-replace-regexp-in-string): Remove.
* latex.el:
* style/empheq.el:
* style/floatrow.el:
* style/tcolorbox.el:
* style/xcolor.el:
Use `replace-regexp-in-string' instead of
`TeX-replace-regexp-in-string'.
2018-12-03 Ikumi Keita <ikumi@ikumi.que.jp>
Use `write-file-functions'
* tex.el (VirTeX-common-initialization):
* latex.el (BibTeX-auto-store):
Use `write-file-functions' instead of obsolete
`local-write-file-hooks' and `write-file-hooks'. Also, use local hook.
2018-12-03 Ikumi Keita <ikumi@ikumi.que.jp>
Remove compatibility face
* tex-buf.el (TeX-error-description-error)
(TeX-error-description-warning, TeX-error-description-tex-said):
Remove compatibility alternatives in `defface'.
2018-12-03 Ikumi Keita <ikumi@ikumi.que.jp>
Remove XEmacs compatibility code in tex-bar.el
* tex-bar.el (TeX-bar-TeX-buttons, TeX-bar-LaTeX-buttons): Remove
Emacs/XEmacs choice of buttons.
2018-12-03 Ikumi Keita <ikumi@ikumi.que.jp>
* tex-buf.el (TeX-special-mode): Use `define-derived-mode'.
2018-12-03 Ikumi Keita <ikumi@ikumi.que.jp>
Remove compatibility code for older emacsen
* font-latex.el (font-latex-after-hacking-local-variables): Remove
fallback code for case `file-local-variables-alist' isn't available.
2018-12-03 Ikumi Keita <ikumi@ikumi.que.jp>
Remove compatibility code for older emacsen
* font-latex.el (font-latex-doctex-^^A): Remove fallback for case
`string-to-syntax' isn't available.
2018-12-03 Ikumi Keita <ikumi@ikumi.que.jp>
Remove compatibility code for older emacsen
* latex.el (LaTeX-fill-region-as-para-do): Drop fallback for case
`fill-delete-prefix' isn't available.
2018-12-03 Ikumi Keita <ikumi@ikumi.que.jp>
Adjust autoload cookie
* tex-fold.el (TeX-fold-mode): Set autoload cookie directly to
`define-minor-mode'.
2018-12-02 Arash Esbati <arash@gnu.org>
Remove unnecessary parentheses
* style/geometry.el ("geometry"):
* style/graphicx.el ("graphicx"): Remove unnecessary parentheses
in option management.
2018-11-29 Ikumi Keita <ikumi@ikumi.que.jp>
Remove compatibility codes for older emacsen
* tex-info.el (when, TeX-texinfo-mode):
* tex.el (TeX-documentation-texdoc):
* plain-tex.el (TeX-plain-tex-mode):
* preview.el.in (preview-counter-find):
Remove compatibility codes for older emacsen.
2018-11-29 Ikumi Keita <ikumi@ikumi.que.jp>
Use `declare-function' without `fboundp' test
* latex.el:
* tex-info.el:
Use `declare-function' without `fboundp' test.
2018-11-29 Ikumi Keita <ikumi@ikumi.que.jp>
Remove references to older emacsens in comments and doc strings
* bib-cite.el:
* font-latex.el:
* tex-fold.el:
* tex-style.el:
* style/graphicx.el
Remove references on older emacsens in comments and doc strings
2018-11-29 Ikumi Keita <ikumi@ikumi.que.jp>
Remove references to XEmacs from the manual
* RELEASE (): Delete the words "or XEmacs" and fill the paragraph.
* doc/install.texi (Configure): Delete redundant line and words.
2018-11-29 Ikumi Keita <ikumi@ikumi.que.jp>
Clean up remnants of previous removal of compatibility codes
* tex.el (TeX-mode-specific-command-menu): Delete irrelevant comment.
* latex.el (LaTeX-indent-line): Clear out unused lines.
2018-11-29 Ikumi Keita <ikumi@ikumi.que.jp>
Add suggestions for non-privileged installation
* doc/install.texi (Configure): Reorganize a paragraph and add @ref's.
(Installation for non-privileged users): Add paragraphs to suggest to
supply options "--with-lispdir" and "--with-texmf-dir" etc. to
configure when installing AUCTeX under the user's home directory.
2018-11-26 Ikumi Keita <ikumi@ikumi.que.jp>
Defer running style hook until options are given actually
* latex.el (LaTeX-arg-usepackage-read-packages-with-options): Don't
run the style hooks before reading package options, just load the
style files for completion of package options.
(LaTeX-arg-usepackage): Run style hooks actually after the package
options are given.
(TeX-arg-document): Don't run the style hooks before reading class
options, just load the style file for completion of class options.
The style hooks are run afterward by `TeX-update-style' anyway.
* style/exam.el ("exam"): Prepare `LaTeX-exam-class-options' to have
its full values outside the style hook along with the above idea.
* style/mathtools.el ("mathtools"):
* style/empheq.el ("empheq"):
* style/graphics.el ("graphics"): Set `LaTeX-*****-package-options'
outside the style hook along with the above idea.
2018-11-26 Ikumi Keita <ikumi@ikumi.que.jp>
Fix not to run wrong style hooks
* tex.el (TeX-style-hook-dialect-weight-alist): Add entry for
pseudo-dialect `:classopt'.
(TeX-style-hook-dialect): Add description for `:classopt' in doc
string.
* latex.el (LaTeX-common-initialization): Assign style hooks for
class options into pseudo-dialect `:classopt'.
Don't set `TeX-PDF-from-DVI' in XeLaTeX document.
(TeX-latex-mode): Run style hooks for class options in
`TeX-update-style-hook', without altering `TeX-active-list'.
* style/geometry.el ("geometry"):
* style/graphicx.el ("graphicx"): Don't set `TeX-PDF-from-DVI' in
XeLaTeX document.
* style/hyperref.el ("hyperref"): Set `TeX-PDF-from-DVI' to "Dvipdfmx"
when package option "dvipdfmx" is given for non-XeLaTeX document.
* tests/latex/latex-test.el (LaTeX-style-hook-with-class-option):
Refine tests.
* doc/auctex.texi (Simple Style): Add descriptions for available
dialects including `:classopt'.
2018-11-24 Arash Esbati <arash@gnu.org>
Add new style/dashundergaps.el
* Makefile.in (STYLESRC): Add new style.
* style/dashundergaps.el: New file.
2018-11-16 Arash Esbati <arash@gnu.org>
Improve behavior of `TeX-arg-beamer-overlay-spec'
* style/beamer.el (TeX-arg-beamer-overlay-spec): Use
`TeX-argument-insert' in the body of the function and respect the
OPTIONAL argument.
("beamer"): Enclose all occurrences of
`TeX-arg-beamer-overlay-spec' in brackets in order to mark them as
optional.
2018-11-16 Arash Esbati <arash@gnu.org>
style/enumitem.el ("enumitem"): Use `TeX-argument-prompt' for query.
2018-11-15 Ikumi Keita <ikumi@ikumi.que.jp>
Surround both \langle and \rangle with math delimiter
* latex.el (LaTeX-math-insert): Typing "C-u ` (" used to result in
"$\langle$\rangle" when `LaTeX-math-mode' and
`LaTeX-electric-left-right-brace' are enabled. Fix this to insert
"$\langle\rangle$" instead.
2018-11-15 Ikumi Keita <ikumi@ikumi.que.jp>
Set `TeX-command-buffer' always (bug#33377)
* tex-buf.el (TeX-command): Make sure to set `TeX-command-buffer'
always.
2018-11-10 Ikumi Keita <ikumi@ikumi.que.jp>
Adjust preview-latex in case sub file isn't in master directory
* preview.el.in (preview-dvips-abort):
(preview-gs-dvips-sentinel):