On 26 Oct 2023 as I do recall,
John Williams (News) wrote:
>
> I have a collection of single-page music scores that are in the form of a
> PDF file with a useless (as in non-linked) index and some extraneous pages.
>
> Unfortunately RISC OS cannot display these pages correctly as most of them
> use embedded fonts,
I find that the Bitmap mode in my copy of !PDF can generally display
embedded music fonts correctly - it just takes much longer to render
each page as a bitmap than to map the fonts to their native equivalents.
> but as I am merely using this to process them for use on a(n Android)
> tablet, that doesn't matter much.
>
> The first thing I have done is to split them into separate pages using
> PDFtools, a front-end to the ported Xpdf utilities by Derek Noonburg, then
> renamed the individual files more sensibly. Now at least I can identify
> them under a filer!
>
> What I want to do is to create a page to access these files quickly and
> effectively.
>
>
> My first attempt was to create a simple HTML page with links to each page,
> all contained within a single directory to avoid path problems.
>
> This "worked" under RISC OS insofar as a selected link would offer a
> download of the chosen PDF file. This was because the RISC OS browser
> could not natively load the files itself, and was only to be expected.
> However, modern browsers on the tablet can display them, which was the
> behaviour and context I was aiming for.
>
> However, on transferring this folder to Android, the simple "have them all
> in the same directory" approach failed as, for some mysterious reason, the
> HTML index file "thought" it was in a remote sub-directory of the folder.
> It did not seem practical to remedy this, so I moved on.
What was the displayed URL of the index file?
Can you hardwire the links to an absolute path on your tablet rather
than a relative one?
--
Harriet Bazley == Loyaulte me lie ==
Whenever I feel like exercise, I lie down until the feeling goes away.