Result is they're all 3 merged by having static i.e. absolute constant links as it was
It must be changed to drop the filename so all become html internal links  

Any knowledge on that pandoc has ability/option to automatically adjust these such links string so to be compiled by latex immediately correct ?
On Monday, 27 November 2023 at 15:35:50 UTC+7 Bastien DUMONT wrote:
Did you try the basic command?

pandoc index.html manual.html errata.html -o doc.pdf

More advanced options are documented in the manual.

Le Sunday 26 November 2023 à 04:12:58PM, almaghfuur lahu a écrit :
> How do we create a new PDF file by having pandoc to create a latex file from
> some html files under one directory merely, i.e. not recursively, as it's just
> acquired from a server directory to display a rather simple, small reference
> documentation?
>
> $ ls
> cover.png  errata.html  index.html  manual.html
>
>
> index.html is actually containing table of contents, each line of which is a
> link to a location in the file manual.html, and also some words index , each
> line of which is a link to a location in manual.html
>
> It has line:
>
> <IMG SRC="cover.png" ALT="" TITLE="click to buy the book" BORDER=1 ALIGN="left"
> HSPACE=12>
>
> manual.html is the content or body of the reference manual
>
> errata.html is the catch up of corrections needed to care in this reference
> manual
>
> How to accomplish to obtain its one analogous latex file from which its PDF
> file can be created the best, most efficient way ?
>
> --
> You received this message because you are subscribed to the Google Groups
> "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> to [1]pandoc-discus...@googlegroups.com.
> To view this discussion on the web visit [2]https://groups.google.com/d/msgid/
> pandoc-discuss/aaec9ee1-c839-4dd6-bd56-c41657991b6en%40googlegroups.com.
>
> References:
>
> [1] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> [2] https://groups.google.com/d/msgid/pandoc-discuss/aaec9ee1-c839-4dd6-bd56-c41657991b6en%40googlegroups.com?utm_medium=email&utm_source=footer

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/186e2481-33ca-471a-b4e4-54e6ac6ec926n%40googlegroups.com.