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

reflow or not? #2

Open
Skeeve opened this issue Nov 25, 2019 · 3 comments
Open

reflow or not? #2

Skeeve opened this issue Nov 25, 2019 · 3 comments

Comments

@Skeeve
Copy link

Skeeve commented Nov 25, 2019

I tried it once but what I received was an epub without "reflown" paragraphs. Even worse. My Pocketbook Touch HD didn't even break lines.

Is this teh intended output? Should the epub match as closely as possible the original monospaced layout of RFCs?

@aichingm
Copy link
Owner

aichingm commented Nov 29, 2019

This is indeed intended. Since some RFCs (https://tools.ietf.org/html/rfc6455#section-5.2) use spaces and ascii characters to format diagrams and other things reflowing lines would break those formats.

Is this teh intended output? Should the epub match as closely as possible the original monospaced layout of RFCs?

Yes that was my idea. It is the only way to to keep text formatted diagrams the way they should be displayed.

I included some fonts that I used to fit the monospaced text to the size of my kindle. Have a look at the -F and -L options.

@Skeeve
Copy link
Author

Skeeve commented Dec 4, 2019

I was thinking about how to implement some automatics which would render normal paragraphs as reflowable and other stuff as monospaced, preformatted, but I didn't start any coding yet. Still wondering whether or not it's worth the effort…

@aichingm
Copy link
Owner

aichingm commented Dec 6, 2019

I don't no if it is possible or how it would be possible to implement such a automation, but I haven't spend any time researching it either. If it is something you need, by all means go a head and if you have any questions I'm happy to help!

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