Source

auctex / tex-jp.el

   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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
;;; tex-jp.el - Support for Japanese TeX. -*- coding: euc-jp -*-
;;
;; Support for Japanese TeX by KOBAYASHI Shinji <koba@flab.fujitsu.co.jp>
;; based on many patches developed by Japanese NetNews community.
;; Japanese message translation by MATUI Takao <mat@nuis.ac.jp>.

;;; Code:

(require 'latex)

;;; Customization

(setq TeX-format-list
      (append '(("JLATEX" japanese-latex-mode
		 "\\\\\\(documentstyle[^%\n]*{j\\|documentclass[^%\n]*{j\\)")
		("JTEX" japanese-plain-tex-mode
		 "-- string likely in Japanese TeX --"))
	      TeX-format-list))

(setq TeX-command-list
      (append (list (list "jTeX" "jtex '\\nonstopmode\\input %t'"
			  'TeX-run-TeX nil t)
		    (list "pTeX" "ptex '\\nonstopmode\\input %t'"
                          'TeX-run-TeX nil t)
		    (list "jBibTeX" "jbibtex %s" 'TeX-run-BibTeX nil nil))
	      TeX-command-list))
       
(setq LaTeX-command-style
      (append (if (string-equal LaTeX-version "2")
		  '(("^ams" "amsjlatex")
		    ("^jslides$" "jslitex")
		    ("^j-?\\(article\\|report\\|book\\)$" "jlatex"))
                '(("^j-\\(article\\|report\\|book\\)$" "jlatex")
                  ("^j\\(article\\|report\\|book\\)$" "platex")
                  ("." "jlatex")))
	      LaTeX-command-style))

(setcdr (assoc "%l" TeX-expand-list)
	(list 'TeX-style-check LaTeX-command-style))

(defvar japanese-TeX-error-messages t
  "If non-nil, explain TeX error messages in Japanese.")

(if (or (boundp 'MULE)
	(featurep 'mule))
    (if (string-match "XEmacs" emacs-version)
	(progn
	  (defvar TeX-japanese-process-input-coding-system 
	    (find-coding-system 'euc-japan)
	    "TeX-process' coding system with standard input.")
	  (defvar TeX-japanese-process-output-coding-system 
	    (find-coding-system 'junet)
	    "TeX-process' coding system with standard output."))
      (progn
	(defvar TeX-japanese-process-input-coding-system *euc-japan*
	  "TeX-process' coding system with standard input.")
	(defvar TeX-japanese-process-output-coding-system *junet*
	  "TeX-process' coding system with standard output."))))

(if (boundp 'NEMACS)
    (defvar TeX-process-kanji-code 2
      "TeX-process' kanji code with standard I/O.
0:No-conversion  1:Shift-JIS  2:JIS  3:EUC/AT&T/DEC"))

(defvar japanese-LaTeX-default-style "j-article"
  "*Default when creating new Japanese documents.")
(make-variable-buffer-local 'japanese-LaTeX-default-style)

(defvar japanese-LaTeX-style-list
  '(("book")
    ("article")
    ("letter")
    ("slides")
    ("report")
    ("jbook")
    ("j-book")
    ("jarticle")
    ("j-article")
    ("jslides")
    ("jreport")
    ("j-report"))
  "*List of Japanese document styles.")
(make-variable-buffer-local 'japanese-LaTeX-style-list)

;;; Coding system

(if (boundp 'MULE)
    (setq TeX-after-start-process-function
	  (function (lambda (process)
		      (set-process-coding-system
		       process
		       TeX-japanese-process-input-coding-system
		       TeX-japanese-process-output-coding-system)))))
(if (boundp 'NEMACS)
    (setq TeX-after-start-process-function
	  (function
	   (lambda (process)
	     (set-process-kanji-code process TeX-process-kanji-code)))))

(if (and (string-match "XEmacs" emacs-version)
	 (featurep 'mule))
    (setq TeX-after-start-process-function
	  (function (lambda (process)
		      (set-process-input-coding-system
		       process
		       TeX-japanese-process-input-coding-system)
		      (set-process-output-coding-system
		       process
		       TeX-japanese-process-output-coding-system)))))

;;; Japanese Parsing

(if (or (boundp 'MULE)
	(featurep 'mule))
(progn

(defconst LaTeX-auto-regexp-list 
  (append
   '(("\\\\newcommand{?\\\\\\(\\([a-zA-Z]\\|\\cj\\)+\\)}?\\[\\([0-9]+\\)\\]\
\\[\\([^\]\\\\\n\r]+\\)\\]"
      (1 3 4) LaTeX-auto-optional)
     ("\\\\newcommand{?\\\\\\(\\([a-zA-Z]\\|\\cj\\)+\\)}?\\[\\([0-9]+\\)\\]"
      (1 3) LaTeX-auto-arguments)
     ("\\\\newcommand{?\\\\\\(\\([a-zA-Z]\\|\\cj\\)+\\)}?" 1 TeX-auto-symbol)
     ("\\\\newenvironment{?\\(\\([a-zA-Z]\\|\\cj\\)+\\)}?\\[\\([0-9]+\\)\\]"
      (1 3) LaTeX-auto-env-args)
     ("\\\\newenvironment{?\\(\\([a-zA-Z]\\|\\cj\\)+\\)}?" 1 LaTeX-auto-environment)
     ("\\\\newtheorem{\\(\\([a-zA-Z]\\|\\cj\\)+\\)}" 1 LaTeX-auto-environment)
     ("\\\\input{\\(\\.*[^#}%\\\\\\.\n\r]+\\)\\(\\.[^#}%\\\\\\.\n\r]+\\)?}"
      1 TeX-auto-file)
     ("\\\\include{\\(\\.*[^#}%\\\\\\.\n\r]+\\)\\(\\.[^#}%\\\\\\.\n\r]+\\)?}"
      1 TeX-auto-file)
     ("\\\\usepackage\\(\\[[^\]\\\\]*\\]\\)?\
{\\(\\([^#}\\\\\\.%]\\|%[^\n\r]*[\n\r]\\)+\\)}"
      (2) LaTeX-auto-style)
     ("\\\\bibitem{\\(\\([a-zA-Z]\\|\\cj\\)[^, \n\r\t%\"#'()={}]*\\)}" 1 LaTeX-auto-bibitem)
     ("\\\\bibitem\\[[^][\n\r]+\\]{\\(\\([a-zA-Z]\\|\\cj\\)[^, \n\r\t%\"#'()={}]*\\)}"
      1 LaTeX-auto-bibitem)
     ("\\\\bibliography{\\([^#}\\\\\n\r]+\\)}" 1 LaTeX-auto-bibliography))
   LaTeX-auto-label-regexp-list
   LaTeX-auto-minimal-regexp-list)
  "List of regular expression matching common LaTeX macro definitions.")

(defconst plain-TeX-auto-regexp-list
  '(("\\\\def\\\\\\(\\([a-zA-Z]\\|\\cj\\)+\\)[^a-zA-Z@]" 1
     TeX-auto-symbol-check)
    ("\\\\let\\\\\\(\\([a-zA-Z]\\|\\cj\\)+\\)[^a-zA-Z@]" 1
     TeX-auto-symbol-check)
    ("\\\\font\\\\\\(\\([a-zA-Z]\\|\\cj\\)+\\)[^a-zA-Z@]" 1 TeX-auto-symbol)
    ("\\\\chardef\\\\\\(\\([a-zA-Z]\\|\\cj\\)+\\)[^a-zA-Z@]" 1 TeX-auto-symbol)
    ("\\\\new\\(count|dimen|muskip|skip\\)\\\\\\(\\([a-z]\\|\\cj\\)+\\)[^a-zA-Z@]"
     2 TeX-auto-symbol)
    ("\\\\newfont{?\\\\\\(\\([a-zA-Z]\\|\\cj\\)+\\)}?" 1 TeX-auto-symbol)
    ("\\\\typein\\[\\\\\\(\\([a-zA-Z]\\|\\cj\\)+\\)\\]" 1 TeX-auto-symbol)
    ("\\\\input +\\(\\.*[^#%\\\\\\.\n\r]+\\)\\(\\.[^#%\\\\\\.\n\r]+\\)?"
     1 TeX-auto-file)
    ("\\\\mathchardef\\\\\\(\\([a-zA-Z]\\|\\cj\\)+\\)[^a-zA-Z@]" 1
     TeX-auto-symbol))
  "List of regular expression matching common LaTeX macro definitions.")

(defconst BibTeX-auto-regexp-list
  '(("@[Ss][Tt][Rr][Ii][Nn][Gg]" 1 ignore)
    ("@[a-zA-Z]+[{(][ \t]*\\(\\([a-zA-Z]\\|\\cj\\)[^, \n\r\t%\"#'()={}]*\\)"
     1 LaTeX-auto-bibitem))
  "List of regexp-list expressions matching BibTeX items.")

))

(if (boundp 'NEMACS)
(progn

(defconst LaTeX-auto-regexp-list 
  (append
   '(("\\\\newcommand{?\\\\\\(\\([a-zA-Z]\\|\\z\\)+\\)}?\\[\\([0-9]+\\)\\]\
\\[\\([^\]\\\\\n\r]+\\)\\]"
      (1 3 4) LaTeX-auto-optional)
     ("\\\\newcommand{?\\\\\\(\\([a-zA-Z]\\|\\z\\)+\\)}?\\[\\([0-9]+\\)\\]"
      (1 3) LaTeX-auto-arguments)
     ("\\\\newcommand{?\\\\\\(\\([a-zA-Z]\\|\\z\\)+\\)}?" 1 TeX-auto-symbol)
     ("\\\\newenvironment{?\\(\\([a-zA-Z]\\|\\z\\)+\\)}?\\[\\([0-9]+\\)\\]"
      (1 3) LaTeX-auto-env-args)
     ("\\\\newenvironment{?\\(\\([a-zA-Z]\\|\\z\\)+\\)}?" 1 LaTeX-auto-environment)
     ("\\\\newtheorem{\\(\\([a-zA-Z]\\|\\z\\)+\\)}" 1 LaTeX-auto-environment)
     ("\\\\input{\\(\\.*[^#}%\\\\\\.\n\r]+\\)\\(\\.[^#}%\\\\\\.\n\r]+\\)?}"
      1 TeX-auto-file)
     ("\\\\include{\\(\\.*[^#}%\\\\\\.\n\r]+\\)\\(\\.[^#}%\\\\\\.\n\r]+\\)?}"
      1 TeX-auto-file)
     ("\\\\usepackage\\(\\[[^\]\\\\]*\\]\\)?\
{\\(\\([^#}\\\\\\.%]\\|%[^\n\r]*[\n\r]\\)+\\)}"
      (2) LaTeX-auto-style)
     ("\\\\bibitem{\\(\\([a-zA-Z]\\|\\z\\)[^, \n\r\t%\"#'()={}]*\\)}" 1 LaTeX-auto-bibitem)
     ("\\\\bibitem\\[[^][\n\r]+\\]{\\(\\([a-zA-Z]\\|\\z\\)[^, \n\r\t%\"#'()={}]*\\)}"
      1 LaTeX-auto-bibitem)
     ("\\\\bibliography{\\([^#}\\\\\n\r]+\\)}" 1 LaTeX-auto-bibliography))
   LaTeX-auto-label-regexp-list
   LaTeX-auto-minimal-regexp-list)
  "List of regular expression matching common LaTeX macro definitions.")

(defconst plain-TeX-auto-regexp-list
  '(("\\\\def\\\\\\(\\([a-zA-Z]\\|\\z\\)+\\)[^a-zA-Z@]" 1
     TeX-auto-symbol-check)
    ("\\\\let\\\\\\(\\([a-zA-Z]\\|\\z\\)+\\)[^a-zA-Z@]" 1
     TeX-auto-symbol-check)
    ("\\\\font\\\\\\(\\([a-zA-Z]\\|\\z\\)+\\)[^a-zA-Z@]" 1 TeX-auto-symbol)
    ("\\\\chardef\\\\\\(\\([a-zA-Z]\\|\\z\\)+\\)[^a-zA-Z@]" 1 TeX-auto-symbol)
    ("\\\\new\\(count|dimen|muskip|skip\\)\\\\\\(\\([a-z]\\|\\z\\)+\\)[^a-zA-Z@]"
     2 TeX-auto-symbol)
    ("\\\\newfont{?\\\\\\(\\([a-zA-Z]\\|\\z\\)+\\)}?" 1 TeX-auto-symbol)
    ("\\\\typein\\[\\\\\\(\\([a-zA-Z]\\|\\z\\)+\\)\\]" 1 TeX-auto-symbol)
    ("\\\\input +\\(\\.*[^#%\\\\\\.\n\r]+\\)\\(\\.[^#%\\\\\\.\n\r]+\\)?"
     1 TeX-auto-file)
    ("\\\\mathchardef\\\\\\(\\([a-zA-Z]\\|\\z\\)+\\)[^a-zA-Z@]" 1
     TeX-auto-symbol))
  "List of regular expression matching common LaTeX macro definitions.")

(defconst BibTeX-auto-regexp-list
  '(("@[Ss][Tt][Rr][Ii][Nn][Gg]" 1 ignore)
    ("@[a-zA-Z]+[{(][ \t]*\\(\\([a-zA-Z]\\|\\z\\)[^, \n\r\t%\"#'()={}]*\\)"
     1 LaTeX-auto-bibitem))
  "List of regexp-list expressions matching BibTeX items.")

))

(defconst TeX-auto-full-regexp-list 
  (append LaTeX-auto-regexp-list plain-TeX-auto-regexp-list)
  "Full list of regular expression matching TeX macro definitions.")

;;; Japanese TeX modes

(defvar japanese-TeX-mode nil
  "Flag to determine if Japanese initialization is needed.")

(add-hook 'plain-TeX-mode-hook 'japanese-plain-tex-mode-initialization)

;;;###autoload
(defun japanese-plain-tex-mode ()
  "Major mode for editing files of input for Japanese plain TeX.
Set japanese-TeX-mode to t, and enters plain-tex-mode."
  (interactive)
  (setq japanese-TeX-mode t)
  (plain-tex-mode))

(defun japanese-plain-tex-mode-initialization ()
  "Japanese plain-TeX specific initializations."
  (if japanese-TeX-mode
      (setq TeX-command-default "jTeX")))

(add-hook 'LaTeX-mode-hook 'japanese-latex-mode-initialization)

;;;###autoload
(defun japanese-latex-mode ()
  "Major mode for editing files of input for Japanese plain TeX.
Set japanese-TeX-mode to t, and enters latex-mode."
  (interactive)
  (setq japanese-TeX-mode t)
  (latex-mode))

(defun japanese-latex-mode-initialization ()
  "Japanese LaTeX specific initializations."
  (if japanese-TeX-mode
      (progn
	(setq LaTeX-default-style japanese-LaTeX-default-style)
	(setq LaTeX-style-list japanese-LaTeX-style-list)
	(setq TeX-command-BibTeX "jBibTeX")
	(setq japanese-TeX-mode nil))))

;;; MULE and NEMACS paragraph filling.

(if (boundp 'MULE)
(if (string-lessp emacs-version "19")
(defun LaTeX-fill-region-as-paragraph (from to &optional justify-flag)
  "Fill region as one paragraph: break lines to fit fill-column.
Prefix arg means justify too.
From program, pass args FROM, TO and JUSTIFY-FLAG."
  (interactive "*r\nP")
  (save-restriction
    (goto-char from)
    (skip-chars-forward "\n")
    (LaTeX-indent-line)
    (beginning-of-line)
    (narrow-to-region (point) to)
    (setq from (point))

    ;; Delete whitespace at beginning of line from every line,
    ;; except the first line.
    (goto-char (point-min))
    (forward-line 1)
    (while (not (eobp))
      (delete-horizontal-space)
      (forward-line 1))

    ;; Ignore the handling routine related with `fill-prefix'.

    ;; from is now before the text to fill,
    ;; but after any fill prefix on the first line.

    ;; Make sure sentences ending at end of line get an extra space.
    (goto-char from)
    ;;; patch by S.Tomura 88-Jun-30
    ;;�������
    ;; . + CR             ==> . + SPC + SPC 
    ;; . + SPC + CR +     ==> . + SPC + 
    ;;(while (re-search-forward "[.?!][])""']*$" nil t)
    ;;  (insert ? ))
    (while (re-search-forward "[.?!][])\"']*$" nil t)
      (if (eobp)
	  nil
	;; replace CR by two spaces.
	(delete-char 1)			; delete newline
	(insert "  ")))
    ;; end of patch
    ;; The change all newlines to spaces.
    ;; patched by S.Tomura 87-Dec-7
    ;; bug fixed by S.Tomura 88-May-25
    ;; modified by  S.Tomura 88-Jun-21
    ;;(subst-char-in-region from (point-max) ?\n ?\ )
    ;; modified by K.Handa 92-Mar-2
    ;; Spacing is not necessary for charcters of no word-separater.
    ;; The regexp word-across-newline is used for this check.
    (if (not (stringp word-across-newline))
	(subst-char-in-region from (point-max) ?\n ?\ )
      (goto-char from)
      (end-of-line)
      (while (not (eobp))
	(delete-char 1)
	(if (eobp) nil			; 92.6.30 by K.Handa
	  (if (not (looking-at word-across-newline))
	      (progn
		(forward-char -1)
		(if (and (not (eq (following-char) ? ))
			 (not (looking-at word-across-newline)))
		    (progn
		      (forward-char 1)
		      (insert ? ))
		  (forward-char 1))))
	  (end-of-line))))
    ;; After the following processing, there's two spaces at end of sentence
    ;; and single space at end of line within sentence.
    ;; end of patch
    ;; Flush excess spaces, except in the paragraph indentation.
    (goto-char from)
    (skip-chars-forward " \t")
    (while (re-search-forward "   *" nil t)
      (delete-region
       (+ (match-beginning 0)
	  (if (save-excursion
	       (skip-chars-backward " ])\"'")
	       (memq (preceding-char) '(?. ?? ?!)))
	      2 1))
       (match-end 0)))
    (goto-char (point-max))
    (delete-horizontal-space)
    (insert "  ")
    (goto-char (point-min))
    (let ((prefixcol 0)
	  ;; patch by K.Handa 92-Mar-2
	  (re-break-point (concat "[ \t\n]\\|" word-across-newline))
	  ;; end of patch
	  )
      (while (not (eobp))
	(move-to-column (1+ fill-column))
	(if (eobp)
	    nil
	  ;; patched by S.Tomura 87-Jun-2
	  ;; Big change by K.Handa 92-Mar-2
	  ;; Move back to start of word.
	  ;; (skip-chars-backward "^ \n")
	  ;; (if (if (zerop prefixcol) (bolp) (>= prefixcol (current-column)))
	  ;;    ;; Move back over whitespace before the word.
	  ;;    (skip-chars-forward "^ \n")
	  ;;  ;; Normally, move back over the single space between the words.
	  ;;  (forward-char -1))

	  ;; At first, find breaking point at the left of fill-column,
	  ;; but after kinsoku-shori, the point may be right of fill-column.
	  ;; 92.4.15 by K.Handa -- re-search-backward will back to prev line.
	  ;; 92.4.27 by T.Enami -- We might have gone back too much...
	  (let ((p (point)) ch)
	    (re-search-backward re-break-point nil 'mv)
	    (setq ch (following-char))
	    (if (or (= ch ? ) (= ch ?\t))
		(skip-chars-backward " \t")
	      (forward-char 1)
	      (if (<= p (point))
		  (forward-char -1))))
	  (kinsoku-shori)
	  ;; Check if current column is at the right of prefixcol.
	  ;; If not, find break-point at the right of fill-column.
	  ;; This time, force kinsoku-shori-nobashi.
	  (if (>= prefixcol (current-column))
	      (progn
		(move-to-column (1+ fill-column))
		;; 92.4.15 by K.Handa -- suppress error in re-search-forward
		(re-search-forward re-break-point nil t)
		(forward-char -1)
		(kinsoku-shori-nobashi))))
	;; end of patch S.Tomura

	;; Replace all whitespace here with one newline.
	;; Insert before deleting, so we don't forget which side of
	;; the whitespace point or markers used to be on.
	;; patch by S. Tomura 88-Jun-20
	;; 92.4.27 by K.Handa
	(skip-chars-backward " \t")
	(if mc-flag
	    ;; ��ʬ���  WAN means chars which match word-across-newline.
	    ;; (0)     | SPC + SPC* <EOB>	--> NL
	    ;; (1) WAN | SPC + SPC*		--> WAN + SPC + NL
	    ;; (2)     | SPC + SPC* + WAN	--> SPC + NL  + WAN
	    ;; (3) '.' | SPC + nonSPC		--> '.' + SPC + NL + nonSPC
	    ;; (4) '.' | SPC + SPC		--> '.' + NL
	    ;; (5)     | SPC*			--> NL
	    (let ((start (point))	; 92.6.30 by K.Handa
		  (ch (following-char)))
	      (if (and (= ch ? )
		       (progn		; not case (0) -- 92.6.30 by K.Handa
			 (skip-chars-forward " \t")
			 (not (eobp)))
		       (or
			(progn		; case (1)
			  (goto-char start)
			  (forward-char -1)
			  (looking-at word-across-newline))
			(progn		; case (2)
			  (goto-char start)
			  (skip-chars-forward " \t")
			  (and (not (eobp))
			       (looking-at word-across-newline)))
			(progn		; case (3)
			  (goto-char (1+ start))
			  (and (not (eobp))
			       (/= (following-char) ? )
			       (progn
				 (skip-chars-backward " ])\"'")
				 (memq (preceding-char) '(?. ?? ?!)))))))
		  ;; We should keep one SPACE before NEWLINE. (1),(2),(3)
		  (goto-char (1+ start))
		;; We should delete all SPACES around break point. (4),(5)
		(goto-char start))))
	;; end of patch
	(if (equal (preceding-char) ?\\)
	    (insert ? ))
	(insert ?\n)
	(delete-horizontal-space)

	;; Ignore the handling routine related with `fill-prefix'.

	(LaTeX-indent-line)
	(setq prefixcol (current-column))
	;; Justify the line just ended, if desired.
	(and justify-flag (not (eobp))
	     (progn
	       (forward-line -1)
	       (justify-current-line)
	       (forward-line 1)))
	)
      (goto-char (point-max))
      (delete-horizontal-space))))
(defun LaTeX-fill-region-as-paragraph (from to &optional justify-flag)
  "Fill region as one paragraph: break lines to fit fill-column.\n\
Prefix arg means justify too.\n\
From program, pass args FROM, TO and JUSTIFY-FLAG."
  (interactive "*r\nP")
  (save-restriction
    (goto-char from)
    (skip-chars-forward " \n")
    (LaTeX-indent-line)
    (beginning-of-line)
    (narrow-to-region (point) to)
    (setq from (point))
    
    ;; Delete whitespace at beginning of line from every line,
    ;; except the first line.
    (goto-char (point-min))
    (forward-line 1)
    (while (not (eobp))
      (delete-horizontal-space)
      (forward-line 1))

    ;; from is now before the text to fill,
    ;; but after any fill prefix on the first line.
    
    ;; Make sure sentences ending at end of line get an extra space.
    (goto-char from)
    ;; patch by S.Tomura 88-Jun-30
    ;;�������
    ;; . + CR             ==> . + SPC + SPC 
    ;; . + SPC + CR +     ==> . + SPC + 
    ;; (while (re-search-forward "[.?!][])\"']*$" nil t)
    ;;   (insert ? ))
    (while (re-search-forward "[.?!][])}\"']*$" nil t)
      (if (eobp)
	  nil
	;; replace CR by two spaces.
	;; insert before delete to preserve marker.
	(insert "  ")
	;; delete newline
	(delete-char 1)))
    ;; end of patch
    ;; The change all newlines to spaces.
    ;; (subst-char-in-region from (point-max) ?\n ?\ )
    ;; patched by S.Tomura 87-Dec-7
    ;; bug fixed by S.Tomura 88-May-25
    ;; modified by  S.Tomura 88-Jun-21
    ;; modified by K.Handa 92-Mar-2
    ;; Spacing is not necessary for charcters of no word-separater.
    ;; The regexp word-across-newline is used for this check.
    (if (not (stringp word-across-newline))
	(subst-char-in-region from (point-max) ?\n ?\ )
      ;;
      ;; WAN     +NL+WAN       --> WAN            + WAN
      ;; not(WAN)+NL+WAN       --> not(WAN)       + WAN
      ;; WAN     +NL+not(WAN)  --> WAN            + not(WAN)
      ;; SPC     +NL+not(WAN)  --> SPC            + not(WAN)
      ;; not(WAN)+NL+not(WAN)  --> not(WAN) + SPC + not(WAN)
      ;;
      (goto-char from)
      (end-of-line)
      (while (not (eobp))
	;; 92.8.26 , 92.8.30 by S. Tomura
	
	;; Insert SPC only when point is between nonWAN.  Insert
	;; before deleting to preserve marker if possible.
	(if (or (prog2		; check following char.
		    (forward-char)	; skip newline
		    (or (eobp)
			(looking-at word-across-newline))
		  (forward-char -1))
		(prog2		; check previous char.
		    (forward-char -1)
		    (or (eq (following-char) ?\ )
			(looking-at word-across-newline))
		  (forward-char)))
	    nil
	  (insert ?\ ))
	(delete-char 1)		; delete newline
	(end-of-line)))
    ;; Flush excess spaces, except in the paragraph indentation.
    (goto-char from)
    (skip-chars-forward " \t")
    (while (re-search-forward "   *" nil t)
      (delete-region
       (+ (match-beginning 0)
	  (if (save-excursion
		(skip-chars-backward " ])\"'")
		(memq (preceding-char) '(?. ?? ?!)))
	      2 1))
       (match-end 0)))
    (goto-char (point-max))
    (delete-horizontal-space)
    (insert "  ")
    (goto-char (point-min))
    (let ((prefixcol 0) linebeg
	  ;; patch by K.Handa 92-Mar-2
	  (re-break-point (concat "[ \n]\\|" word-across-newline))
	  ;; end of patch
	  )
      (while (not (eobp))
	(setq linebeg (point))
	(move-to-column (1+ fill-column))
	(if (eobp)
	    nil
	  ;;(skip-chars-backward "^ \n")
	  (fill-move-backward-to-break-point re-break-point)
	  (if sentence-end-double-space
	      (while (and (> (point) (+ linebeg 2))
			  (eq (preceding-char) ?\ )
			  (not (eq (following-char) ?\ ))
			  (eq (char-after (- (point) 2)) ?\.))
		(forward-char -2)
		(fill-move-backward-to-break-point re-break-point linebeg)))
	  (kinsoku-shori)
	  (if (if (zerop prefixcol)
		  (save-excursion
		    (skip-chars-backward " " linebeg)
		    (bolp))
		(>= prefixcol (current-column)))
	      ;; Keep at least one word even if fill prefix exceeds margin.
	      ;; This handles all but the first line of the paragraph.
	      ;; Meanwhile, don't stop at a period followed by one space.
	      (let ((first t))
		(move-to-column prefixcol)
		(while (and (not (eobp))
			    (or first
				(and (not (bobp))
				     sentence-end-double-space
				     (save-excursion (forward-char -1)
						     (and (looking-at "\\. ")
							  (not (looking-at "\\.  ")))))))
		  (skip-chars-forward " ")
		  ;; (skip-chars-forward "^ \n")
		  (fill-move-forward-to-break-point re-break-point)
		  (setq first nil)))
	    ;; Normally, move back over the single space between the words.
	    (if (eq (preceding-char) ? )
		(forward-char -1))))
	(if mc-flag
	    ;; ��ʬ���  WAN means chars which match word-across-newline.
	    ;; (0)     | SPC + SPC* <EOB>	--> NL
	    ;; (1) WAN | SPC + SPC*		--> WAN + SPC + NL
	    ;; (2)     | SPC + SPC* + WAN	--> SPC + NL  + WAN
	    ;; (3) '.' | SPC + nonSPC		--> '.' + SPC + NL + nonSPC
	    ;; (4) '.' | SPC + SPC		--> '.' + NL
	    ;; (5)     | SPC*			--> NL
	    (let ((start (point))	; 92.6.30 by K.Handa
		  (ch (following-char)))
	      (if (and (= ch ? )
		       (progn		; not case (0) -- 92.6.30 by K.Handa
			 (skip-chars-forward " \t")
			 (not (eobp)))
		       (or
			(progn	; case (1)
			  (goto-char start)
			  (forward-char -1)
			  (looking-at word-across-newline))
			(progn	; case (2)
			  (goto-char start)
			  (skip-chars-forward " \t")
			  (and (not (eobp))
			       (looking-at word-across-newline)
			       ;; never leave space after the end of sentence
			       (not (fill-end-of-sentence-p))))
			(progn	; case (3)
			  (goto-char (1+ start))
			  (and (not (eobp))
			       (/= (following-char) ? )
			       (fill-end-of-sentence-p)))))
		  ;; We should keep one SPACE before NEWLINE. (1),(2),(3)
		  (goto-char (1+ start))
		;; We should delete all SPACES around break point. (4),(5)
		(goto-char start))))
	;; end of patch
	(delete-horizontal-space)
	(if (equal (preceding-char) ?\\)
	    (insert ? ))
	(insert ?\n)
	(LaTeX-indent-line)
	(setq prefixcol (current-column))
	(and justify-flag (not (eobp))
	     (progn
	       (forward-line -1)
	       (justify-current-line)
	       (forward-line 1)))
	)
      (goto-char (point-max))
      (delete-horizontal-space))))))

(if (boundp 'NEMACS)
(defun LaTeX-fill-region-as-paragraph (from to &optional justify-flag)
  "Fill region as one paragraph: break lines to fit fill-column.
Prefix arg means justify too.
From program, pass args FROM, TO and JUSTIFY-FLAG."
  (interactive "r\nP")
  (save-restriction
    (goto-char from)
    (skip-chars-forward " \n")
    (LaTeX-indent-line)
    (beginning-of-line)
    (narrow-to-region (point) to)
    (setq from (point))

    ;; Delete whitespace at beginning of line from every line,
    ;; except the first line.
    (goto-char (point-min))
    (forward-line 1)
    (while (not (eobp))
      (delete-horizontal-space)
      (forward-line 1))

    ;; from is now before the text to fill,
    ;; but after any fill prefix on the first line.

    ;; Make sure sentences ending at end of line get an extra space.
    (goto-char from)
    ;;; patch by S.Tomura 88-Jun-30
    ;;�������
    ;; . + CR             ==> . + SPC + SPC 
    ;; . + SPC + CR +     ==> . + SPC + 
    ;;(while (re-search-forward "[.?!][])""']*$" nil t)
    ;;  (insert ? ))
    (while (re-search-forward "[.?!][])""']*$" nil t)
      (if (eobp)
	  nil
      (delete-char 1)
      (insert "  "))) ;; replace CR by two spaces.
    ;; end of patch
    ;; The change all newlines to spaces.
    ;; patched by S.Tomura 87-Dec-7
    ;; bug fixed by S.Tomura 88-May-25
    ;; modified by  S.Tomura 88-Jun-21
    ;;(subst-char-in-region from (point-max) ?\n ?\ )
    ;;���ܸ�θ�θ�ˤ϶���Ϥʤ���
    (goto-char from)
    (end-of-line)
    (while (not (eobp))
      (delete-char 1)
      (if (and (< ?  (preceding-char)) ;; + SPC + CR + X ==> + SPC + X
	       (< (preceding-char) 128)
	       (<= ?  (following-char))
	       (< (following-char) 128))
	   (insert ?\  ))
      (end-of-line))
    ;; ���ν�����ʸ���ˤ�two spaces�����ꡢ����ʳ���single space�ˤʤäƤ��롣
    ;; end of patch
    ;; Flush excess spaces, except in the paragraph indentation.
    (goto-char from)
    (skip-chars-forward " \t")
    (while (re-search-forward "   *" nil t)
      (delete-region
       (+ (match-beginning 0)
	  (if (save-excursion
	       (skip-chars-backward " ])\"'")
	       (memq (preceding-char) '(?. ?? ?!)))
	      2 1))
       (match-end 0)))
    (goto-char from)
    (skip-chars-forward " \t")
    (while (re-search-forward " " nil t)
      (if (<= 128 (following-char))
	  (let ((dummy 0))
	    (backward-char 1) 
	    (if (<= 128 (preceding-char))
		(delete-char 1))
	    (forward-char 1))))
    (goto-char (point-max))
    (delete-horizontal-space)
    (insert "  ")
    (goto-char (point-min))
    (let ((prefixcol 0))
      (while (not (eobp))
	;; patched by S.Tomura 88-Jun-2
	;;(move-to-column (1+ fill-column))
	(move-to-column fill-column)
	;; end of patch
	;; patched by S.Tomura 88-Jun-16, 89-Oct-2, 89-Oct-19
	;; ���������ɤξ��ˤ�fill-column����礭���ʤ뤳�Ȥ����롣
	(or (>= fill-column (current-column)) (backward-char 1))
	;; end of patch
	(if (eobp)
	    nil
	  ;; patched by S.Tomura 87-Jun-2
	  ;;(skip-chars-backward "^ \n")
	  ;;(if (if (zerop prefixcol) (bolp) (>= prefixcol (current-column)))
	  ;;    (skip-chars-forward "^ \n")
	  ;;  (forward-char -1)))
	  ;; ��§�Ȥ���fill-column��꺸¦��ʬ������õ����
	  ;; Find a point to break lines
	     (skip-chars-backward " \t") ;; skip SPC and TAB
	     (if (or (<= 128 (preceding-char))
		     (<= 128 (following-char)) ;; 88-Aug-25
		     (= (following-char) ? )
		     (= (following-char) ?\t))
		 (kinsoku-shori)
	       (if(re-search-backward "[ \t\n]\\|\\z" ;; 89-Nov-17
				      (point-min) (point-min))
		   (forward-char 1))
	       (skip-chars-backward " \t")
	       (kinsoku-shori))
	     ;; prifixcol��걦¦��ʬ������õ����
	     ;; ���ξ���ʬ������fill-column��걦¦�ˤʤ롣
	     (if (>= prefixcol (current-column))
		 (progn
		   (move-to-column prefixcol)
		   (if (re-search-forward "[ \t]\\|\\z" ;; 89-Nov-17
					  (point-max) (point-max))
		       (backward-char 1))
		   (skip-chars-backward " \t")
		   (kinsoku-shori)
		   ;; ��������ܤʤ�ʬ�������롣
		   (if (>= prefixcol (current-column)) (goto-char (point-max))))))
	;; end of patch S.Tomura
	;; patch by S. Tomura 88-Jun-20
	;;(delete-horizontal-space)
        ;;��ʬ���
        ;; ���� | SPC + SPC��   --> ���� + SPC + CR
	;; | SPC + SPC* + ����  --> SPC  + CR + ����
        ;; . | SPC + SPC +      --> . + CR
        ;; . | SPC + nonSPC     --> . + SPC + CR + nonSPC
        ;;
        ;; . | Ⱦ��             --> ʬ�䤷�ʤ�
        ;; . | ����             --> ʬ�䤷�ʤ�
	(if (not kanji-flag) (delete-horizontal-space)
	  (let ((start) (end))
	    (skip-chars-backward " \t")
	    (setq start (point))
	    (skip-chars-forward  " \t")
	    (setq end (point))
	    (delete-region start end)
	    (if (and (not
		      (and (save-excursion
			     (skip-chars-backward " ])\"'")
			     (memq (preceding-char) '(?. ?? ?!)))
			   (= end (+ start 2))))
		     (or (and (or (<= 128 (preceding-char))
				  (<= 128 (following-char)))
			      (< start end)
			      (not (eobp)))
			 (and (memq (preceding-char) '(?. ?? ?!))
			      (= (1+ start) end)
			      (not (eobp)))))
		(insert ?  ))))
	;; end of patch
	(if (equal (preceding-char) ?\\)
	    (insert ? ))
	(insert ?\n)
	(LaTeX-indent-line)
	(setq prefixcol (current-column))
	(and justify-flag (not (eobp))
	     (progn
	       (forward-line -1)
	       (justify-current-line)
	       (forward-line 1)))
	)
      (goto-char (point-max))
      (delete-horizontal-space)))))

;;; Support for various self-insert-command

(cond ((fboundp 'can-n-egg-self-insert-command)
       (fset 'tex-jp-self-insert-command 'can-n-egg-self-insert-command))
      ((fboundp 'egg-self-insert-command)
       (fset 'tex-jp-self-insert-command 'egg-self-insert-command))
      ((fboundp 'canna-self-insert-command)
       (fset 'tex-jp-self-insert-command 'canna-self-insert-command))
      (t
       (fset 'tex-jp-self-insert-command 'self-insert-command)))

(defun TeX-insert-punctuation ()
  "Insert point or comma, cleaning up preceding space."
  (interactive)
  (if (TeX-looking-at-backward "\\\\/\\(}+\\)" 50)
      (replace-match "\\1" t))
  (call-interactively 'tex-jp-self-insert-command))

;;; Error Messages

(if japanese-TeX-error-messages
    (setq TeX-error-description-list
  '(("Bad \\\\line or \\\\vector argument.*" .
"���η�������ꤹ�롤\\line�ޤ���\\vector�κǽ�ΰ��������Ǥ���")

    ("Bad math environment delimiter.*" .
"���⡼����ǿ��⡼�ɳ��ϥ��ޥ��\\[�ޤ���\\(���ޤ��ϡ����⡼�ɳ���
���⡼�ɽ�λ���ޥ��\\[�ޤ���\\(��TeX�����Ĥ��ޤ�������������ϡ����⡼
�ɤΥǥ�ߥ����ޥå����Ƥ��ʤ��ä��ꡤ��̤ΥХ�󥹤��Ȥ�Ƥ��ʤ��ä��ꤹ
�뤿��������ޤ���")

    ("Bad use of \\\\\\\\.*" .
"\\\\���ޥ�ɤ��ѥ饰�����ˤ���ޤ��������λȤ�������̵��̣�Ǥ���
���Υ��顼��å�������\\\\��centering�Ķ���flushing�Ķ��ǻȤ�줿
�������뤤��centering/flushing�����ͭ���ʤȤ���ǻȤ�줿���������ޤ���")

    ("\\\\begin{[^ ]*} ended by \\\\end{[^ ]*}." .
"�б�����\\begin̿��Τʤ�\\end̿���LaTeX�����Ĥ��ޤ�����\\end̿��δ�
��̾��ְ㤨������;ʬ��\\begin̿�᤬���뤫��\\end̿���魯�줿���Τ���
�줫�Ǥ��礦��")

    ("Can be used only in preamble." .
"�ץꥢ��֥�Ǥ����Ȥ��ʤ�\\documentstyle��\\nofiles��\\includeonly
\\makeindex��\\makeglossary�Τ����Τ����줫��\\begin{document}����
��ǻȤ��Ƥ���Τ�LaTeX�����Ф��ޤ��������Υ��顼��\\begin{document}
��;ʬ�ˤ��ä����ˤ������ޤ���")

    ("Command name [^ ]* already used.*" .
"���Ǥ��������Ƥ���̿��̾�ޤ��ϴĶ�̾���Ф���\\newcommand��
\\newenvironment��\\newlength��\\newsavebox��\\newtheorem��������
�줫��¹Ԥ��褦�Ȥ��Ƥ��ޤ�(����Ķ�����������Ʊ��̾����̿�᤬��ư
Ū����������Τǡ�����¸�ߤ���Ķ���Ʊ̾��̿�������Ǥ��ޤ���)����
����̾����ͤ��뤫��\\newcommand��\\newenvironment�ξ��ʤ��б�����
\\renew...̿���Ȥ�ʤ���Фʤ�ޤ���")

    ("Counter too large." .
"ʸ���ǽ���դ����줿��Ρ����֤��ֹ��դ����줿�ꥹ�ȴĶ��Υ�٥뤬��
26�����礭���ֹ��������ޤ���������Ĺ���ꥹ�Ȥ�ȤäƤ��뤫��
�����󥿤�����ꤷ�Ƥ��ޤä����Τ����줫�Ǥ��礦��")

    ("Environment [^ ]* undefined." .
"�������Ƥ��ʤ��Ķ����Ф���\\begin̿���LaTeX�����Ĥ��ޤ����������餯
�Ķ�̾��ְ㤨���ΤǤ��礦��")

    ("Float(s) lost." .
"parbox�Τʤ���figure�Ķ���table�Ķ��ޤ���\\marginpar̿�᤬����ޤ���
\(�ʤ���parbox��minipage�Ķ���\\parbox̿��ˤ�äƺ���뤫��������
�ʤɤ��Ф���LaTeX�����������ΤǤ�\)������Ͻ��ϻ��Υ��顼�ʤΤǡ�����
�ȤʤäƤ���Ķ����뤤��̿��ϡ�LaTeX�������ȯ�����������������
�����ˤ����ǽ��������ޤ������Ϥ���Ƥ��ʤ��ޡ�ɽ��˵��ʤɤ������Ĥ�
���뤫�⤷��ޤ��󤬡�����餬�����Ǥ���Ȥϸ¤�ޤ���")

    ("Illegal character in array arg." .
"array�Ķ��ޤ���tabular�Ķ��ΰ����ޤ���\\multicolumn̿�����2����
�����������ʸ��������ޤ�����")

    ("Missing \\\\begin{document}." .
"\\begin{document}̿��������LaTeX�����Ϥ�ԤʤäƤ��ޤ��ޤ�����
\\begin{document}̿���˺�줿�����ץꥢ��֥�˲����ְ㤤������ΤǤ��礦��
�Ǥ��ְ㤤�ˤ��ʸ���䡤����θ��ˤ���ǽ���⤢��ޤ����㤨�С������
�Ϥ��̤�ȴ�������Ȥ���̿��̾��\\��˺�줿���ʤɤǤ���")

    ("Missing p-arg in array arg.*" .
"array�Ķ���tabular�Ķ��ΰ������뤤��\\multicolumn̿�����2�������ˡ�
��̤˰Ϥޤ줿ɽ���ΤĤ��Ƥ��ʤ�p������ޤ�����")

    ("Missing @-exp in array arg." .
"array�Ķ���tabular�Ķ��ΰ������뤤��\\multicolumn̿�����2�������ˡ�
@ɽ���ΤĤ��Ƥ��ʤ�@������ޤ�����")

    ("No such counter." .
"\\setcounter̿��ޤ���\\addtocounter̿��ǡ�¸�ߤ��ʤ������󥿤����ꤵ��
�ޤ����������餯�����Υ����ץߥ��Ǥ��礦�������������顼��aux�ե��������
�����������ϡ�\\newcounter̿���ץꥢ��֥�γ��ǻȤä��Τ��Ȼפ��ޤ���")

    ("Not in outer par mode." .
"figure�Ķ���table�Ķ����뤤��\\marginpar̿�᤬���⡼�ɤޤ���parbox����
�ǻȤ��ޤ�����")

    ("\\\\pushtabs and \\\\poptabs don't match." .
"\\pushtabs���б����ʤ�\\poptabs���ߤĤ��ä������ޤ��ϡ��б�����\\poptabs
��⤿�ʤ�\\pushtabs������Τ�\\end{tabbing}������Ƥ��ޤ��ޤ�����")

    ("Something's wrong--perhaps a missing \\\\item." .
"�ꥹ�ȴĶ������\\item̿�᤬�ʤ��Τ��Ǥ⤢�ꤽ���ʥ������Ǥ���
thebibliography�Ķ��ǰ����˺�줿���ˤ������ޤ���")

    ("Tab overflow." .
"\\=����LaTeX�ǵ�����륿�֥��ȥåפκ�����Ķ���Ƥ��ޤ���")

    ("There's no line here to end." .
"\\newline̿��ޤ���\\\\̿�᤬�ѥ饰��մ֤ˤ���ޤ������λȤ�������
̵��̣�Ǥ����⤷���Ԥ򤢤������ΤǤ����顤\\vspace��ȤäƤ���������")

    ("This may be a LaTeX bug." .
"�ޤä����櫓���狼��ʤ��ʤäƤ��ޤ��ޤ��������֤󤳤�����˸��Ф��줿
���顼�Τ������Ȼפ��ޤ�����������LaTeX���ΤΥХ��Ǥ����ǽ���⤢��ޤ���
�⤷���Υ��顼�����ϥե�������Ф���ǽ�Υ��顼�Ǥ��ꡤ����ְ㤤������
����ʤ����ϡ����Υե��������¸���ơ�����륬���ɤ˽񤫤�Ƥ�����Ǥ
�Ԥ�Ϣ��Ƥ���������")

    ("Too deeply nested." .
"�ꥹ�ȴĶ�������Ҥ��������ޤ������ʳ�������Ҥ�������뤫�ϻȤäƤ���
����ԥ塼���˰�¸���ޤ��������ʤ��Ȥ�4�ʳ��ޤǤϵ�����Ƥ��ޤ�(���̤�
����ǽ�ʬ�Ǥ��礦)��")

    ("Too many unprocessed floats." .
"���Υ��顼��1�ڡ������\\marginpar̿�᤬¿�����뤿�����������⤢
��ޤ�������äȤ��ꤽ���ʤΤϡ��³���Ķ���ƿޤ�ɽ����¸���褦�Ȥ�����
��Ǥ���Ĺ��ʸ������Ǥ��Ƥ����Ȥ���LaTeX�Ͽޤ�ɽ��ġ�����¸�����ڡ�
����ʬ���Ԥʤ����ˤ������������ޤ������Υ��顼�ϡ��ڡ����ؤ�ʬ�䤬
�Ԥʤ������ˡ����ޤ�ˤ�¿����figure�Ķ���table�Ķ������Ĥ��ä����
�������ޤ�����������ϴĶ��Τ����Τ����Ĥ���ʸ��ν��������˰�ư����
�в��Ǥ��ޤ����ޤ������Υ��顼��``logjam''�ˤ�ä������뤳�Ȥ⤢���
����``logjam''�Ȥϡ�LaTeX���и�����̤�ˤ�����ɽ����ϤǤ��ʤ������ǡ�
�ĤޤäƤ�����ο�ɽ�Τ�������ο�ɽ����ϤǤ��ʤ��ʤ뤳�Ȥ򤤤��ޤ���
���Υ����θ����ϡ��礭������1�ڡ����ʤ����ϻ��ꤵ�줿�ΰ�˼��ޤ��
���褦�ʿޤ�ɽ�Ǥ����ǽ��������ޤ�������ϡ������p���ץ���󤬻���
����Ƥ��ʤ��ȵ����䤹���ʤ�ޤ���")

    ("Undefined tab position." .
"\\>��\\+��\\-�ޤ���\\<̿��ǡ�¸�ߤ��ʤ����ְ��֡����ʤ��\\=̿�����
������Ƥ��ʤ����ְ��֤���ꤷ�褦�Ȥ��Ƥ��ޤ���")

    ("\\\\< in mid line." .
"\\<̿�᤬tabbing�Ķ��ιԤ�����˸���ޤ���������̿��ϹԤ���Ƭ�ˤʤ����
�ʤ�ޤ���")

    ("Counter too large." .
"���ʸ���ޤ��ϵ����ǽ���Ť�����Ƥ��ޤ�����ʸ���ޤ��ϵ����Ȥ�
�ڤäƤ��ޤ��ޤ����������餯\\thanks̿��λȤ������Ǥ���")

    ("Double subscript." .
"�����1�Ĥ����2�Ĥβ��դ�ʸ�����Ĥ��Ƥ��ޤ����㤨��x_{2}_{3}�Τ褦�ˡ�
���Τ褦��ɽ����̵��̣�Ǥ���")

    ("Double superscript." .
"�����1�Ĥ����2�Ĥξ��դ�ʸ�����Ĥ��Ƥ��ޤ����㤨��x^{2}^{3}�Τ褦�ˡ�
���Τ褦��ɽ����̵��̣�Ǥ���")

    ("Extra alignment tab has been changed to \\\\cr." .
"array�Ķ��ޤ���tabular�Ķ���1����ˤ�����ܤ�¿�����ޤ�������������ȡ�
��ν����ޤǤˤ���&�ο�¿�����ޤ��������餯������κǸ��\\\\��Ĥ�
��Τ�˺�줿�ΤǤ��礦��")

    ("Extra \\}, or forgotten \\$." .
"��̤ޤ��Ͽ��⡼�ɤΥǥ�ߥ����������б����Ƥ��ޤ��󡥤����餯{��\\[��
\\(���뤤��$�Τ����Τ����줫���˺�줿�ΤǤ��礦��")

    ("Font [^ ]* not loaded: Not enough room left." .
"����ʸ��ϸ³�����¿���Υե���Ȥ�ȤäƤ��ޤ����⤷ʸ�����ʬ���Ȥ�
�̡��Υե���Ȥ��Ȥ��Ƥ���Τʤ顤ʬ�䤷�ƽ������������ϲ�褵��ޤ���")

    ("I can't find file `.*'." .
"ɬ�פʥե����뤬���Ĥ���ޤ���Ǥ������⤷���Ĥ���ʤ��ե�����γ�ĥ��
��tex�ξ�硤���ʤ������ꤷ���ե����롤���ʤ���ᥤ��ե�����ޤ���
\\input̿�ᡦ\\include̿������������ե����뤬���Ĥ���ʤ��ΤǤ���
��ĥ�Ҥ�sty�Ǥ���С�¸�ߤ��ʤ�ʸ�񥹥�����ޤ��ϥ������륪�ץ�����
���ꤷ�褦�Ȥ��Ƥ��ޤ���")

    ("Illegal parameter number in definition of .*" .
"����Ϥ����餯��\\newcommand��\\renewcommand��\\newenvironment�ޤ���
\\renewenvironment̿��Τʤ���#���������Ȥ��ʤ��ä���������������顼
�Ǥ���\\#̿��Ȥ��ƻȤ����������С�#�Ȥ���ʸ���ϡ��㤨��2���ܤ�
�������ꤹ��#2�Τ褦�ˡ�����ѥ�᡼���Ȥ��Ƥ����Ȥ��ޤ��󡥤ޤ���
���Υ��顼�ϡ���ˤ�����4�ĤΥ��ޥ�ɤ����ߤ�������ҤˤʤäƤ�����
�䡤\\newenvironment̿�ᡦ\\renewenvironment̿���#2�Τ褦�ʥѥ�᡼��
���Ǹ�ΰ������ǻȤ��Ƥ�����ˤ������ޤ���")

    ("Illegal unit of measure ([^ ]* inserted)." .
"�⤷
      ! Missing number, treated as zero.
�Ȥ������顼��������ľ��Ǥ���С����Υ��顼�θ����⤽���Ʊ���Ǥ���
�����Ǥʤ����ϡ�LaTeX������Ȥ���length����Ԥ��Ƥ���Τ�number��
���줿���Ȥ��̣���Ƥ��ޤ������Υ��顼�κǤ⤢�꤬���ʸ�����Ĺ��0��
ɽ�魯0in�Τ褦��ɽ���������0�Ȥ����Ƥ��ޤ����Ȥˤ���ޤ�����������
̿��ΰ�����˺�줿���ˤ⤳�Υ��顼�������뤳�Ȥ�����ޤ���")

    ("Misplaced alignment tab character \\&." .
"array�ޤ���tabular�Ķ��Ǥι��ܶ��ڤ�ˤΤ߻Ȥ���٤�ʸ��&�����̤�ʸ
����ˤ���ޤ��������֤�\\&�����Ϥ������ä��ΤǤ��礦��")

    ("Missing control sequence inserted." .
"���Υ��顼�ϡ������餯̿��̾�Ǥʤ���Τ�\\newcommand��\\renewcommand��
\\newlength�ޤ���\\newsavebox����1����Ȥ��ƻȤä�������������ΤǤ��礦��")

    ("Missing number, treated as zero." .
"���Υ��顼�Ϥ����Ƥ�������Ȥ���number�ޤ���length��ɬ�פȤ��Ƥ���̿���
�Ф��ư���Ϳ�����ʤ��ä�����������ޤ���������˺�줿�Τ����ƥ�����
���������([])�����ץ�������λ���ȴְ㤨���Ƥ��ޤä����Τɤ��餫��
���礦���ޤ��������������\\value�Τ褦��̿���length̿�������\\protect��
�֤������ˤ⤳�Υ��顼�������ޤ���")

    ("Missing [{}] inserted." .
"TeX�ϴ��ˤ櫓���狼��ʤ��ʤäƤ��ޤ������顼��å������ˤ�äƼ������
������Ϥ��֤����Ϥ˴ְ㤤�����ä��Ȥ��������ˤʤäƤ��ޤäƤ���
�Ǥ��礦��")

    ("Missing \\$ inserted." .
"�����餯�����⡼����Ǥ����Ȥ��ʤ�̿���TeX�����⡼�ɳ��Ǹ��Ф���
�Τ��Ȼפ��ޤ����ä˵��Ҥ���Ƥ��ʤ��¤ꡤLaTeX Book(Lamport��,����
�ϥ�����������)��3.3��ˤ���ź����ʬ����ص���ʤɤΥ��ޥ�ɤϤ��٤�
���⡼�ɤǤ����Ȥ��ʤ��Τ��Ȥ������Ȥ���դ��Ƥ������������Ȥ�̿�᤬
���Ķ�����ˤ��ä��Ȥ��Ƥ⡤box����������̿��ΰ����������Ϥ��᤿
�����Ǥϡ�TeX�Ϥޤ����⡼�ɤ����äƤ��ʤ��ΤǤ����ޤ������Υ��顼�ϡ�
���⡼�����TeX�����Ԥ򸡽Ф������ˤ������ޤ���")

    ("Not a letter." .
"\\hyphenation̿��ΰ������ˤʤˤ��������ʤ���Τ�����ޤ���")

    ("Paragraph ended before [^ ]* was complete." .
"̿��ΰ������������ʶ��Ԥ����äƤ��ޤäƤ��ޤ��������餯����ν����
���Ĥ���̤�Ĥ���Τ�˺�줿�ΤǤ��礦��")

    ("\\\\[^ ]*font [^ ]* is undefined .*" .
"���Υ��顼�Ϥ��ޤ����Ū�Ǥʤ��ե���Ȥ����⡼�ɤǻȤ�줿��������
�ޤ����㤨�С��������ο���\\sc̿�᤬�Ȥ���ȡ�footnotesize��
small caps�ե���Ȥ��ƤӤ�����뤳�Ȥˤʤ�ޤ������������\\load̿���
�Ȥ��в��Ǥ��ޤ���")

    ("Font .* not found." .                                    
"̤�Τ�family/series/shape/size���Ȥ߹�碌�Υե���Ȥ����ꤵ��ޤ�����
���Υ��顼�������륱������2�Ĺͤ����ޤ���
   1) \\size�ޥ���ǻȤ��ʤ������������򤷤褦�Ȥ�����
   2) �����Ǥʤ���С������ԤΤȤ���˹Ԥäơ��ե��������ơ��֥뤬
      ��äƤ����ʸ���Ĥ��Ƥ��ޤ��礦!")

    ("TeX capacity exceeded, sorry .*" .
"TeX�������Ȥ����äƤ��ޤ����¹Ԥ����Ǥ��ޤ����������������Ƥʤ���
�������������Υ��顼�������������ϡ����֤�TeX�ˤ��ʤ���ʸ��������
���������ǽ�Ϥ��ʤ�����ǤϤ���ޤ���TeX�˥����Ȥ����餻������
�ϡ������餯���Ϥ����ե�����������������������顼�Ǥ������ʤ���������
TeX�����̤�Ķ�������Ȥ򤷤褦�Ȥ����Τ��ɤ����������Ƥ��ξ��ɤ�����
�Ф����Τ���Ƚ�Ǥ�����ˡ��ʲ����������ޤ����⤷���꤬���ϥե��������
���顼�ˤ�����ϡ��ġ��Υ��顼���褷�Ƥ�����ˡ��Ȥ�Τ��褤�Ǥ���
����LaTeX��û���ե�����ǥ����Ȥ����뤳�ȤϤ�ä��ˤ���ޤ��󤫤顤
���顼�ε��������֤�����˽��������ڡ�������ڡ��������ʤ���С��ޤ���
�㤤�ʤ����ϥե���������꤬����Ϥ��Ǥ���

���顼��å������κǸ�ˡ�TeX���Ȥ����äƤ��ޤä�����μ��ब������
�Ƥ��ޤ��������Τ�������Ū�ʤ�ΤˤĤ��ơ��ͤ����븶����ʲ��˵�
�ޤ���

buffer size
===========
���ᡦ\\caption��\\addcontentsline���뤤��\\addtocontents̿��ΰ����
����Ϳ�����ƥ����Ȥ�Ĺ��������������뤳�Ȥ�����ޤ������Υ��顼��
�����Ƥ�\\end{document}��������Ƥ�����������ޤ�����\\tableofcontents��
\\listoffigures���뤤��\\listoftables̿���¹Ԥ��Ƥ�����ˤⵯ����
���Ȥ�����ޤ�������������褹��ˤϡ���ä�û���ƥ����Ȥ򥪥ץ����
����Ȥ���Ϳ���Ƥ����������ܼ����ɽ������������Ƥ⡤���Ф���Ĺ������
���ɤߤˤ����ʤ�Ϥ��Ǥ���

exception dictionary
====================
TeX�����äƤ����ΰ�ʾ�˥ϥ��ե͡����������Ϳ���褦�Ȥ��Ƥ��ޤ���
���ޤ�Ȥ�ʤ�ñ���\\hyphenation̿���������ơ������\\-̿���Ȥ�
�Ƥ���������

hash size 
=========
̿��̾������ޤ�����߻��ȥ�٥�������¿�����ޤ���

input stack size 
================
���Υ��顼�Ϥ����餯̿�������θ��ˤ���ΤǤ����㤨�С�����̿���
�Ƶ�Ū����ȤʤäƤ��ꡤ��ʬ���Ȥ�Ȥä�\\gnu��������Ƥ��ޤ���

          \\newcommand{\\gnu}{a \\gnu} % ����Ϥ���

����\\gnu̿��򸫤Ĥ����TeX��\\gnu�����򤦤ߤ����Τ�����ꤷ�褦�Ȥ�
�Ƥ��������򤤤ĤޤǤ��ɤ��ĤŤ����䤬��``input stack''��Ȥ����äƤ�
�ޤ��ޤ���

main memory size 
================
����ϡ�TeX��û���ե������������Ƥ�����˻Ȥ������ǽ���Τ������
�ΤҤȤĤǤ���main memory��Ȥ�����Τϼ���3�Ĥξ��Τ����줫�Ǥ���
\(1\)����Ĺ��ʣ����̿����¿�����������(2)index�ޤ���glossary����
�Ƥ���Ȥ���1�ڡ�����ˤ��ޤ�ˤ�¿����\\index�ޤ���\\glossary̿�᤬��
�롥(3)�����Τ���ξ����TeX���ݻ�������ʤ��褦�ʡ����ޤ�ˤ�ʣ���ʥڡ�
�����������褦�Ȥ������ǽ��2�Ĥ�����β����ˡ�����餫�Ǥ���̿�����
�ο��뤤��\\index��\\glossary̿��ο�򸺤餹���ȤǤ���3���ܤ������
����ä����Ǥ�������ϡ��礭��tabbin��tabular��array��picture�Ķ���
�����������뤳�Ȥ�����ޤ������ϰ��֤����ꤵ���Τ��ԤäƤ���ޤ�ɽ��
TeX�Υ��꤬���äѤ��ˤʤäƤ���Τ��⤷��ޤ���������TeX�����̤�Ķ
���Ƥ��ޤä��Τ��ɤ���Ĵ�٤뤿��ˤϡ����顼�ε����ä�����ľ����
\\clearpage̿�������Ƥ⤦���٥���ѥ����¹Ԥ��ƤߤƤ����������⤷
����Ǥ���꤬­��ʤ��ʤ�褦�ʤ顤�ʤ�餫�μ��ʤ�֤���ɬ�פ�����
�ޤ���TeX���ڡ��������Ǥ��뤫�ɤ������ꤹ�뤿��ˤ��������Τ��������
����Фʤ�ʤ��Ȥ������Ȥ�פ������Ƥ�������������������\\newpage̿
��������С�����λĤ������������˺��Υڡ�����TeX�˽��Ϥ����뤳��
��;͵���Ǥ��뤫�⤷��ޤ���(\\pagebreak̿��ǤϤ���Ǥ�)���⤷�ޤ�ɽ
��ί�ޤäƤ��뤳�Ȥ�����ʤΤʤ�С���ɽ���äȸ������˰�ư����Ȥ���
���뤤�Ϥ�ä����λ����ǽ��Ϥ����褦�ˤ���в���Ǥ��ޤ����⤷�ޤ�ʸ
���������Ƥ�������ʤ顤�Ȥꤢ����\\clearpage̿�������Ƥ����ơ���
���Ǥ�����ޤǤ��������ê�夲���Ƥ����ޤ��礦�����ϥե����뤬�Ѥ��
�����꤬��ä������⤢��ΤǤ���

pool size 
=========
��߻��Ȥ�\\label��¿�����뤫��̿��������¿�����뤫�Τɤ��餫�Ǥ���
���Τˤ����С����������٥�̾�����̿��̾�˻Ȥä�ʸ����¿������Ȥ�
�����ȤǤ����Ǥ����顤��ä�û��̾����Ȥ��Ф�������ϲ�褷�ޤ�������
�������Υ��顼�ϡ�\\setcounter�ʤɤΥ�����̿���\\newenvironment��
\\newtheorem̿��ΰ���ν����򼨤�����̤�˺�줿���ˤ������ޤ���

save size 
=========
���Υ��顼�ϡ������ͭ���ϰϤ�̿�ᡦ�Ķ������ޤ�ˤ⿼������Ҥˤʤä�
������������ޤ������Ȥ��С�\\multiput̿��ΰ����picture�Ķ������ꡤ
���Τʤ���\\footnotesize��������ꡤ���������ͭ���ϰϤ�\\multiput̿��
�����äơ����ΰ����... �Ȥ����褦�ʾ��Ǥ���")

    ("Text line contains an invalid character." .
"�������������ʸ�����ޤޤ�Ƥ��ޤ����ե���������θ��ˤ�äƥƥ�����
���ǥ���������ʸ�����������Ƥ��ޤä��ΤǤ��礦���ºݤ˲����������Τ���
���ǥ����ˤ��ޤ������ϥե������Ĵ�٤Ƥߤơ���Ŧ���줿ʸ�������Ĥ���
�ʤ����ˤϥ���륬���ɤ򸫤Ƥ���������")

    ("Undefined control sequence."   .  
"TeX��̤�����̿��̾��ȯ�����ޤ����������餯���Ϥθ��Ǥ��礦���⤷��
�Υ��顼��LaTeX̿��ν���������������ϡ�����̿��ϴְ�ä����֤��֤�
��Ƥ��ޤ����㤨�С��ꥹ�ȴĶ�����Ǥʤ��Τ�\\item̿�᤬�Ȥ�줿���ʤ�
�Ǥ����ޤ���\\documentstyle̿�᤬�ʤ����ˤ⤳�Υ��顼�������ޤ���")

    ("Use of [^ ]* doesn't match its definition." .
"�����餯����Τ����̿����Ȼפ��ޤ���������λȤ��������ְ�äƤ�
�ޤ����ְ�äƤ���Τ�\\@array̿��ξ��ϡ�array�Ķ���tabular�Ķ��Ǥ�
@ɽ���ΰ���ˤʤˤ���꤬����ΤǤ��礦��fragile��̿�᤬\\protect�����
���ʤ��Τ��⤷��ޤ���")

    ("You can't use `macro parameter character \\#' in [^ ]* mode." .
"�ü�ʸ��#�����̤Υƥ����Ȥ���˸���ޤ����������餯\\#�Ƚ񤭤����ä�
�ΤǤ��礦��")

    ("Overfull \\\\hbox .*" .
"��ʬ��Τ����Ŭ�ڤʾ�꤬���Ĥ���ʤ��ä��Τǡ�1�Ԥ˼��ޤ�٤�ʬ�̰ʾ�
�ν��Ϥ��Ԥʤ��Ƥ��ޤ��ޤ�����")

    ("Overfull \\\\vbox .*" .
"�ڡ���ʬ��Τ����Ŭ�ڤʾ�꤬���Ĥ���ʤ��ä��Τǡ�1�ڡ����˼��ޤ�٤�
ʬ�̰ʾ�ν��Ϥ��Ԥʤ��Ƥ��ޤ��ޤ�����")

    ("Underfull \\\\hbox .*" .
";ʬ�ʿ�ľ���ڡ������ʤ����ɤ������Ϥ�Τ���Ƥ����������⤷����С���
���\\\\̿��ޤ���\\newline̿��˴ط���������Τ������������ΤǤ�����
����2�Ĥ�\\\\̿�᤬³���Ƥ�����ʤɤǤ������ηٹ��sloppypar�Ķ���
\\sloppy����λ��ѡ����뤤��\\linebreak̿��������ʤɤˤ����⤢��ޤ���")

    ("Underfull \\\\vbox .*" .
"�ڡ�����ʬ�䤹�뤿���Ŭ�ڤʾ�꤬���Ĥ���줺����ʬ�ʥƥ����ȤΤʤ�
�ڡ������Ǥ��Ƥ��ޤ��ޤ�����")

;; New list items should be placed here 
;; 
;; ("err-regexp" . "context") 
;; 
;; the err-regexp item should match anything

    (".*" . "�����ʤ�������������إ�ץ�å�����������ޤ���"))))

(provide 'tex-jp)

;;; tex-jp.el ends here
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.