Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ignore line returns when reading pdf #1

Closed
Zedroid opened this issue Jun 3, 2023 · 1 comment
Closed

ignore line returns when reading pdf #1

Zedroid opened this issue Jun 3, 2023 · 1 comment

Comments

@Zedroid
Copy link

Zedroid commented Jun 3, 2023

I love how you automatically intercept or interrupt my keybaord with my program after copying wihtout any need to press a hotkey like in https://github.com/Daichi09/ClipboardTTS
but one feautre I might want you to port over is to ignore and line returns. This comes in handy for pdf files.

;Remove unwanted pause from Line Returns
RemoveLineReturns = "true"
from ahk.exe .settings file

Thank you for the GUI good for casual users make it easier to know which voices they can switch to

@lesleyrs
Copy link
Owner

lesleyrs commented Jun 3, 2023

Agreed, fixed in 5ba2c55 and created new release.

I had to remove all newlines between paragraphs (which I consider double newlines) to guarantee it to work, periods by themselves pause speech for a moment anyway.

There's another problem with PDFs where you can't copy any newlines between paragraphs at all due to how they work. This is not a problem here but I created another tts app that splits at paragraphs to allow going back and forth https://github.com/lesleyrs/tts-tui. It has less features but if you care about that feature you can check it out and convert PDF files to TXT files with original layout (convertio.co works) otherwise that's it. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants