Fix page numbering starting from zero
This commit is contained in:
parent
9496a626c0
commit
86d06d7518
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ class ExtractPlugin(PapersPlugin):
|
|||
"\n", ""
|
||||
)
|
||||
if content:
|
||||
annotations.append(f"[{page.number}] {content}")
|
||||
annotations.append(f"[{(page.number or 0) + 1}] {content}")
|
||||
return annotations
|
||||
|
||||
def _to_stdout(self, annotated_papers):
|
||||
|
|
Loading…
Reference in a new issue