Added comments and changed and fixed mistake in reg. expr. of table of contents cross reference definition.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2389 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Pfeiffer
2003-01-07 16:47:20 +00:00
parent a5b12f1b3e
commit 69160efbcd
+9 -3
View File
@@ -1,18 +1,24 @@
CrossReferences 1.0 CrossReferences 1.0
# Table # Table
# Sample: see table 12
# Table 12: bla bla bla
"[sS]ee [tT]able ([0-9]+)", "see [tT]bl. ([0-9]+)" "[sS]ee [tT]able ([0-9]+)", "see [tT]bl. ([0-9]+)"
-> ->
"[tT]able ([0-9]+)", "[tT]bl. ([0-9]+)". "[tT]able ([0-9]+)", "[tT]bl. ([0-9]+)".
# Figure # Figure
# Sample: See figure 2
# Figure 2: bla bla bla
"[sS]ee [fF]igure ([0-9]+)", "[sS]ee [fF]ig. ([0-9]+)" "[sS]ee [fF]igure ([0-9]+)", "[sS]ee [fF]ig. ([0-9]+)"
-> ->
"[fF]igure ([0-9]+)", "[fF]ig. ([0-9]+)". "[fF]igure ([0-9]+)", "[fF]ig. ([0-9]+)".
# Page, Table of contents # Table of contents
"[pP]age ([0-9]+)" # eg. Chapter 1 ............... 3
# in footer: - 3 -
"\.\.\.\. ([0-9]+)"
-> ->
"- ?([0-9]+) ?-". "\- ([0-9]+) \-".
# Cite # Cite
". \[([a-zA-Z0-9]+)\]" -> "\[([a-zA-Z0-9]+)\]". ". \[([a-zA-Z0-9]+)\]" -> "\[([a-zA-Z0-9]+)\]".