Skip to content

Commit

Permalink
Chinese Version
Browse files Browse the repository at this point in the history
  • Loading branch information
huzhenbang committed Oct 9, 2022
1 parent 34dee83 commit 41a2a9b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8,629 deletions.
6 changes: 3 additions & 3 deletions build_ebook.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def repl(m):
['pandoc', 'ebook.md', '--toc', '-o', 'ebook/Vulkan Tutorial ' + name_path + '.epub', '--epub-cover-image=ebook/cover.png', '-V CJKmainfont=Microsoft YaHei'])

# Clean up
#os.remove('ebook.md')
os.remove('ebook.md')


# Convert all SVG images to PNG for pandoc
Expand All @@ -111,8 +111,8 @@ def repl(m):
generatedPngs.append('images/' + parts[0] + '.png')

create_ebook('ch')
#create_ebook('en')
#create_ebook('fr')
create_ebook('en')
create_ebook('fr')

for fn in generatedPngs:
os.remove(fn)
Loading

0 comments on commit 41a2a9b

Please sign in to comment.