summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/cjk/doc/reftex.txt
blob: 1d9f71630c6049b59a37263bf895b34b51d39fc1 (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.1
(10-Aug-2008).

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---