Browse Source

pagesssss

master
friend 1 year ago
parent
commit
4da5373d16
  1. 2
      pdf-compile.py

2
pdf-compile.py

@ -100,7 +100,7 @@ for chapter in chapters:
style = requests.get(chapter.replace('pad/','stylesheet.css'))
if page > 0:
style+='@page:first { counter-increment: page '+page+'; }'
style+='@page:first { counter-increment: page '+str(page)+'; }'
stylefile=localhost+'.'+name+'/stylesheet.css'
with open(stylefile, 'w') as file:

Loading…
Cancel
Save