mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-25 09:35:42 +00:00
Merge branch 'master' of https://github.com/bluekitchen/btstack
This commit is contained in:
commit
8b90d3476d
@ -84,11 +84,11 @@ def latexText(text, ref_prefix):
|
||||
|
||||
brief = brief.replace(" in the BTstack manual","")
|
||||
|
||||
refs = re.match('.*Listing\s*\s*(\w+)(?:.|\s).*',brief)
|
||||
refs = re.match('.*Listing\s+(\w+).*',brief)
|
||||
if refs:
|
||||
brief = brief.replace(refs.group(1), "\\ref{listing:"+ref_prefix+":" + refs.group(1)+"}")
|
||||
|
||||
refs = re.match('.*(Section\s*)(\w*).*',brief, re.I)
|
||||
refs = re.match('.*(Section\s)(\w+).*',brief)
|
||||
if refs:
|
||||
brief = brief.replace(refs.group(2), "\\ref{section:"+refs.group(2)+"}")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user