Skip to content
This repository was archived by the owner on Aug 6, 2024. It is now read-only.

Commit b427af3

Browse files
committed
updated book versions
1 parent ca5adf6 commit b427af3

6 files changed

+7
-3
lines changed

ebook/lammps-tutorials-ebook-dm.pdf

227 KB
Binary file not shown.

ebook/lammps-tutorials-ebook-lm.pdf

220 KB
Binary file not shown.

functions/WriteTEX.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def write_paragraph(self, filtered_block, block_type, filtered_subblock, ids_sub
8383
line = fix_italic(line, replace_underscore=True)
8484
self.f.write(line)
8585
self.f.write('\n')
86-
elif ("admonition" in block_type) & ("Looking for support" not in block_type):
86+
elif ("admonition" in block_type) & ("You can support" not in block_type):
8787
#if block_type
8888
cpt = 0
8989
caption = block_type[11:]

functions/utilities.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,11 @@ def read_link(sub_line):
301301
in_link=False
302302
cpt_link += 1
303303
elif in_link:
304-
link[cpt_link] += letter
304+
try:
305+
link[cpt_link] += letter
306+
except:
307+
print(sub_line)
308+
stop
305309
elif in_link is False:
306310
rest[cpt_rest] += letter
307311
# remove the "../"

lammpstutorials.github.io

tex-light/lammps-tutorials-ebook.pdf

220 KB
Binary file not shown.

0 commit comments

Comments
 (0)