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
1 changed files with 9 additions and 3 deletions

View File

@ -1,18 +1,24 @@
CrossReferences 1.0
# Table
# Sample: see table 12
# Table 12: bla bla bla
"[sS]ee [tT]able ([0-9]+)", "see [tT]bl. ([0-9]+)"
->
"[tT]able ([0-9]+)", "[tT]bl. ([0-9]+)".
# Figure
# Sample: See figure 2
# Figure 2: bla bla bla
"[sS]ee [fF]igure ([0-9]+)", "[sS]ee [fF]ig. ([0-9]+)"
->
"[fF]igure ([0-9]+)", "[fF]ig. ([0-9]+)".
# Page, Table of contents
"[pP]age ([0-9]+)"
# Table of contents
# eg. Chapter 1 ............... 3
# in footer: - 3 -
"\.\.\.\. ([0-9]+)"
->
"- ?([0-9]+) ?-".
"\- ([0-9]+) \-".
# Cite
". \[([a-zA-Z0-9]+)\]" -> "\[([a-zA-Z0-9]+)\]".