Skip to content

Add page separator option into command line for text extraction #44

@sokolgeo

Description

@sokolgeo

Hello!

I use supernote-tool to convert my .note file into .pdf and add an invisible text layer of recognized text into the pdt, making my notes searchable by standard tools.

This works fine, except I have to call supernote-tool in a loop to extract text from each page separately. Why? Because the all-page extracted text does not contain any marker separating one page from the other.

Practically could we have something like this:

$ supernote-tool convert -t txt -a -page-separator="my unique page separator string" your.note output.txt

This will add my unique page separator string as page separator, starting at the end of first page, allowing to call the supernote-tool once and use Linux split/csplit to further process the output.

Could this page separator functionality be implemented, please?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions