⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 chapxref.sed

📁 Libnet is a cross-platform library aimed at game developers. It has an abstract high level API, whic
💻 SED
字号:
s/comment --- transform a list of nodenames followed by   ---/&/s/comment --- chapter, section or subsection name, into a ---/&/s/comment --- Sed script which changes node names into    ---/&/s/comment --- chapter numbers in cross-references.        ---/&//^@node[ 	]/ {  N  s/\n/!!=!!/  /^@node  *Top[^a-z]/d  s/^@node  *\([^,][^,]*\),.*!!=!!@\([a-z][a-z]*\)[ 	][ 	]*\([0-9]\(\.*[0-9]\)*\).*/\    s|@xref{\1}|See \2 \3: \1|g\    s|@ref{\1}|\2 \3: \1|g\    s|@pxref{\1}|see \2 \3: \1|g\  /  s/chapter \([0-9][0-9.]*\)/Chapter \1/g  s/subsubsection \([0-9][0-9.]*\)/Subsubsec \1/g  s/subsection \([0-9][0-9.]*\)/Subsec \1/g  s/section \([0-9][0-9.]*\)/Section \1/g  s/^@node  *\([^,][^,]*\),.*!!=!!@\([a-z][a-z]*\)[ 	][ 	]*\(.*\)/\    s|@xref{\1}|See \2 \3: \1|g\    s|@ref{\1}|\2 \3: \1|g\    s|@pxref{\1}|see \2 \3: \1|g\  /  s/unnumberedsec /unnumsec/g  s/unnumbered /unnum/g}/^@chapter[ 	]/d/^@section[ 	]/d/^@subsection[ 	]/d/^@subsubsection[ 	]/d/^@unnumbered[ 	]/d/^@unnumberedsec[ 	]/d

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -