content/en: Use <<section>> for linking within a document
I've used the following script to locate all the cases where crossref
was used to link to a section within the same document:
grep -R crossref: | while read -r case; do file=${case%%:*} dir=${file%/*} dir_name=${dir##*/} line=${case##*:} target_document=${line%%[*} if [ "$dir_name" = "$target_document" ]; then echo "$case" fi done