summaryrefslogtreecommitdiff
path: root/language/chinese/CJK/cjk-4.8.5/doc/reftex.txt
blob: 3dc79352432b8a5faf8b083517f95a7d66e3566b (plain)
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
This is the file reftex.txt of the CJK macro package ver. 4.8.5
(16-Oct-2021).

RefTeX
------

To make RefTeX aware of \CJKinput and \CJKbibliography, add the following
two lines to your .emacs file:

  (add-to-list 'reftex-include-file-commands "CJKinclude")
  (add-to-list 'reftex-bibliography-commands "CJKbibliography")

These two variables have been added to RefTeX in July 2002.

Older versions (like 4.16) which don't have them must be patched directly.
In reftex.el:

1097c1097
<      (include-re (concat wbol "\\\\\\(include\\|input\\)[{ \t]+\\([^} \t\n\r]+\\)"))
---
>      (include-re (concat wbol "\\\\\\(include\\|input\\|CJKinput\\)[{ \t]+\\([^} \t\n\r]+\\)"))

In reftex-parse.el:

333c333
<      "\\(\\`\\|[\n\r]\\)[ \t]*\\\\\\(no\\)?bibliography{[ \t]*\\([^}]+\\)" nil t)
---
>      "\\(\\`\\|[\n\r]\\)[ \t]*\\\\\\(no\\|CJK\\)?bibliography{[ \t]*\\([^}]+\\)" nil t)

Changes for even older RefTeX versions (before Aug 1999 which only have
reftex.el) are virtually the same.


---End of reftex.txt---