diff --git a/doc/manual/btstack_gettingstarted.tex b/doc/manual/btstack_gettingstarted.tex index f18475d93..9a762328f 100644 --- a/doc/manual/btstack_gettingstarted.tex +++ b/doc/manual/btstack_gettingstarted.tex @@ -1,3 +1,4 @@ +\UseRawInputEncoding \documentclass[a4paper,titlepage,oneside,12pt]{amsart} %amsart \usepackage{graphicx} \usepackage[colorlinks=true]{hyperref} diff --git a/doc/manual/docs/quick_start.md b/doc/manual/docs/quick_start.md index 3e261cb4c..b3b05777d 100644 --- a/doc/manual/docs/quick_start.md +++ b/doc/manual/docs/quick_start.md @@ -1,4 +1,4 @@ -# +# ## General Tools diff --git a/doc/manual/markdown2tex.py b/doc/manual/markdown2tex.py index 6dda29ab9..cac98b534 100755 --- a/doc/manual/markdown2tex.py +++ b/doc/manual/markdown2tex.py @@ -65,8 +65,11 @@ def main(argv): title = list(page.keys())[0] md_file = list(page.values())[0] with open(docs_folder +"/"+ md_file, 'r') as mdin: - aout.write("\n\n#"+ title +"\n\n") + for line in mdin: + if line == "#\n": + aout.write("\n\n#"+ title +"\n\n") + continue # remove path from section reference # e.g. [the SPP Counter example](examples/generated/#sec:sppcounterExample) # replace with [the SPP Counter example](#sec:sppcounterExample)