Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #232229 > unrolled thread
| Started by | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| First post | 2021-03-01 11:50 +0100 |
| Last post | 2021-03-01 17:40 +0100 |
| Articles | 10 — 6 participants |
Back to article view | Back to linux.debian.user
Problem converting manual in PDF to HTML for on screen viewing Richard Owlett <rowlett@cloud85.net> - 2021-03-01 11:50 +0100
Re: Problem converting manual in PDF to HTML for on screen viewing "Alexander V. Makartsev" <avbetev@gmail.com> - 2021-03-01 13:30 +0100
Re: Problem converting manual in PDF to HTML for on screen viewing Richard Owlett <rowlett@cloud85.net> - 2021-03-01 14:00 +0100
Re: Problem converting manual in PDF to HTML for on screen viewing Nate Bargmann <n0nb@n0nb.us> - 2021-03-01 15:00 +0100
Re: Problem converting manual in PDF to HTML for on screen viewing Celejar <celejar@gmail.com> - 2021-03-01 14:00 +0100
Re: Problem converting manual in PDF to HTML for on screen viewing Richard Owlett <rowlett@cloud85.net> - 2021-03-01 15:00 +0100
Re: Problem converting manual in PDF to HTML for on screen viewing Dan Ritter <dsr@randomstring.org> - 2021-03-01 14:10 +0100
Re: Problem converting manual in PDF to HTML for on screen viewing Richard Owlett <rowlett@cloud85.net> - 2021-03-01 14:20 +0100
Re: Problem converting manual in PDF to HTML for on screen viewing Richard Owlett <rowlett@cloud85.net> - 2021-03-01 16:20 +0100
Re: Problem converting manual in PDF to HTML for on screen viewing Stefan Monnier <monnier@iro.umontreal.ca> - 2021-03-01 17:40 +0100
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2021-03-01 11:50 +0100 |
| Subject | Problem converting manual in PDF to HTML for on screen viewing |
| Message-ID | <BNOhH-5Is-1@gated-at.bofh.it> |
A program I wish to use distributes its manual as a PDF file. Due to vision problems I wish to convert it to HTML for onscreen viewing. pdf2htmlEX is an inappropriate tool as it is too focused on maintaining format of original. Its rigidity results in a fixed number of *characters* per line irregardless of chosen font size. As there is nothing formatted as a table, this restriction is inappropriate. The only relevant links in the document are from the "Table of Contents" to the appropriate section. pdf2htmlEX *IGNORES* them! A suggested tool? TIA
[toc] | [next] | [standalone]
| From | "Alexander V. Makartsev" <avbetev@gmail.com> |
|---|---|
| Date | 2021-03-01 13:30 +0100 |
| Message-ID | <BNPQt-6MH-3@gated-at.bofh.it> |
| In reply to | #232229 |
[Multipart message — attachments visible in raw view] — view raw
On 01.03.2021 15:44, Richard Owlett wrote: > A suggested tool? I can't suggest a converter, but maybe sane PDF viewer, like "evince", will solve your problems. It can change font size, page layout and has other useful capabilities like index\bookmarks and text search. For me reading documents in PDFs is much more convenient than in clunky html pages. -- With kindest regards, Alexander. ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org ⠈⠳⣄⠀⠀⠀⠀
[toc] | [prev] | [next] | [standalone]
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2021-03-01 14:00 +0100 |
| Message-ID | <BNQjv-6Wn-5@gated-at.bofh.it> |
| In reply to | #232231 |
On 03/01/2021 06:22 AM, Alexander V. Makartsev wrote: > On 01.03.2021 15:44, Richard Owlett wrote: >> A suggested tool? > I can't suggest a converter, but maybe sane PDF viewer, like "evince", > will solve your problems. > It can change font size, page layout and has other useful capabilities > like index\bookmarks and text search. > For me reading documents in PDFs is much more convenient than in clunky > html pages. > That is on my system but the available "Help" says nothing about the options you mentioned. That may be because I'm using the MATE desktop. I've had "Help" weirdness on other programs IIRC.
[toc] | [prev] | [next] | [standalone]
| From | Nate Bargmann <n0nb@n0nb.us> |
|---|---|
| Date | 2021-03-01 15:00 +0100 |
| Message-ID | <BNRfA-7uK-3@gated-at.bofh.it> |
| In reply to | #232232 |
[Multipart message — attachments visible in raw view] — view raw
* On 2021 01 Mar 06:55 -0600, Richard Owlett wrote: > On 03/01/2021 06:22 AM, Alexander V. Makartsev wrote: > > On 01.03.2021 15:44, Richard Owlett wrote: > > > A suggested tool? > > I can't suggest a converter, but maybe sane PDF viewer, like "evince", > > will solve your problems. > > It can change font size, page layout and has other useful capabilities > > like index\bookmarks and text search. > > For me reading documents in PDFs is much more convenient than in clunky > > html pages. > > > > That is on my system but the available "Help" says nothing about the options > you mentioned. > That may be because I'm using the MATE desktop. I've had "Help" weirdness on > other programs IIRC. Evince has a "zoom" capability that enlarges the document including fonts and images. I use it quite a bit to see detail in scanned electronics schematics. - Nate -- "The optimist proclaims that we live in the best of all possible worlds. The pessimist fears this is true." Web: https://www.n0nb.us Projects: https://github.com/N0NB GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819
[toc] | [prev] | [next] | [standalone]
| From | Celejar <celejar@gmail.com> |
|---|---|
| Date | 2021-03-01 14:00 +0100 |
| Message-ID | <BNQjv-6Wn-9@gated-at.bofh.it> |
| In reply to | #232229 |
On Mon, 1 Mar 2021 04:44:56 -0600 Richard Owlett <rowlett@cloud85.net> wrote: > A program I wish to use distributes its manual as a PDF file. > Due to vision problems I wish to convert it to HTML for onscreen viewing. > > pdf2htmlEX is an inappropriate tool as it is too focused on maintaining > format of original. Its rigidity results in a fixed number of > *characters* per line irregardless of chosen font size. As there is > nothing formatted as a table, this restriction is inappropriate. > > The only relevant links in the document are from the "Table of Contents" > to the appropriate section. pdf2htmlEX *IGNORES* them! > > A suggested tool? You can try pdftohtml, in poppler-utils. I don't know whether it will suffer from the same problem you have with pdf2htmlEX Celejar
[toc] | [prev] | [next] | [standalone]
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2021-03-01 15:00 +0100 |
| Message-ID | <BNRfA-7uK-15@gated-at.bofh.it> |
| In reply to | #232234 |
On 03/01/2021 06:58 AM, Celejar wrote: > On Mon, 1 Mar 2021 04:44:56 -0600 > Richard Owlett <rowlett@cloud85.net> wrote: > >> A program I wish to use distributes its manual as a PDF file. >> Due to vision problems I wish to convert it to HTML for onscreen viewing. >> >> pdf2htmlEX is an inappropriate tool as it is too focused on maintaining >> format of original. Its rigidity results in a fixed number of >> *characters* per line irregardless of chosen font size. As there is >> nothing formatted as a table, this restriction is inappropriate. >> >> The only relevant links in the document are from the "Table of Contents" >> to the appropriate section. pdf2htmlEX *IGNORES* them! >> >> A suggested tool? > > You can try pdftohtml, in poppler-utils. I don't know whether it will > suffer from the same problem you have with pdf2htmlEX > I had initially ignored it as the man page starts with: > This manual page documents briefly the pdftohtml command. This manual page was > written for the Debian GNU/Linux distribution because the original program does > not have a manual page. When it says "brief" it meant "options will be only *listed*"! I just tried it and it apparently suffers same end result. If someone knows of some functional documentation for it, I'll try again.
[toc] | [prev] | [next] | [standalone]
| From | Dan Ritter <dsr@randomstring.org> |
|---|---|
| Date | 2021-03-01 14:10 +0100 |
| Message-ID | <BNQtb-7eM-1@gated-at.bofh.it> |
| In reply to | #232229 |
Richard Owlett wrote: > A program I wish to use distributes its manual as a PDF file. They certainly don't write it that way, so perhaps they have a source website where the original text is written? -dsr-
[toc] | [prev] | [next] | [standalone]
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2021-03-01 14:20 +0100 |
| Message-ID | <BNQCR-7i8-5@gated-at.bofh.it> |
| In reply to | #232235 |
On 03/01/2021 07:04 AM, Dan Ritter wrote: > Richard Owlett wrote: >> A program I wish to use distributes its manual as a PDF file. > > They certainly don't write it that way, so perhaps they have a > source website where the original text is written? > With that in mind I had already posted to a list followed by the programmer. I've a gut feel the answer will be effectively no.
[toc] | [prev] | [next] | [standalone]
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2021-03-01 16:20 +0100 |
| Message-ID | <BNSv0-8oV-1@gated-at.bofh.it> |
| In reply to | #232236 |
On 03/01/2021 07:13 AM, Richard Owlett wrote: > On 03/01/2021 07:04 AM, Dan Ritter wrote: >> Richard Owlett wrote: >>> A program I wish to use distributes its manual as a PDF file. >> >> They certainly don't write it that way, so perhaps they have a >> source website where the original text is written? >> > > With that in mind I had already posted to a list followed by the > programmer. I've a gut feel the answer will be effectively no. > I was wrong. I didn't understand what a info file was. texi2html worked like a charm! <*GRIN*>
[toc] | [prev] | [next] | [standalone]
| From | Stefan Monnier <monnier@iro.umontreal.ca> |
|---|---|
| Date | 2021-03-01 17:40 +0100 |
| Message-ID | <BNTKq-Bk-11@gated-at.bofh.it> |
| In reply to | #232229 |
> A program I wish to use distributes its manual as a PDF file.
> Due to vision problems I wish to convert it to HTML for onscreen viewing.
I think what you're trying to do is quite difficult.
It's a bit easier than OCR, but still hard enough that it's not well
supported by any tool that I know. So the better option is to try and
find some source for that PDF and then try to convert *that* to a format
you like.
Stefan
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web