• Re: Kate editor documentation as downloadable HTML file(s)?

    From pocket@homemail.com@21:1/5 to All on Wed Dec 4 13:10:01 2024
    Sent: Wednesday, December 04, 2024 at 6:27 AM
    From: "Richard Owlett" <rowlett@access.net>
    To: "debian-user" <debian-user@lists.debian.org>
    Subject: Kate editor documentation as downloadable HTML file(s)?

    I recently discovered Kate. One might think its design goals were how I
    work and a specific personal project I have. Get idea that I like it ;}

    I find HTML formatted documentation much more usable than PDF.
    A fine manual at https://docs.kde.org/stable5/en/kate/kate/index.html .

    Two questions:
    1. Has someone packaged it as a downloadable file?
    2. Is there a script that would download it to a specific local
    directory in a manner that all it's internal links work?

    TIA



    If you have firefox you can do a "save page as" which is what I do.
    Otherwise you would have to
    wget -np --mirror <url>
    with the <url> being the url to the kate docs.


    https://learntheshell.com/posts/web-page-mirroring-with-wget/ https://www.baeldung.com/linux/wget-mirroring https://alvinalexander.com/linux-unix/how-to-make-offline-mirror-copy-website-with-wget/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Owlett@21:1/5 to All on Wed Dec 4 12:30:01 2024
    I recently discovered Kate. One might think its design goals were how I
    work and a specific personal project I have. Get idea that I like it ;}

    I find HTML formatted documentation much more usable than PDF.
    A fine manual at https://docs.kde.org/stable5/en/kate/kate/index.html .

    Two questions:
    1. Has someone packaged it as a downloadable file?
    2. Is there a script that would download it to a specific local
    directory in a manner that all it's internal links work?

    TIA

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michel Verdier@21:1/5 to Richard Owlett on Wed Dec 4 13:20:01 2024
    On 2024-12-04, Richard Owlett wrote:

    I find HTML formatted documentation much more usable than PDF.
    A fine manual at https://docs.kde.org/stable5/en/kate/kate/index.html .

    Two questions:
    1. Has someone packaged it as a downloadable file?
    2. Is there a script that would download it to a specific local
    directory in a manner that all it's internal links work?

    Try

    wget -r -L -k https://docs.kde.org/stable5/en/kate/kate/index.html

    and man wget for more options

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Owlett@21:1/5 to pocket@homemail.com on Wed Dec 4 15:10:01 2024
    On 12/4/24 6:06 AM, pocket@homemail.com wrote:


    Sent: Wednesday, December 04, 2024 at 6:27 AM
    From: "Richard Owlett" <rowlett@access.net>
    To: "debian-user" <debian-user@lists.debian.org>
    Subject: Kate editor documentation as downloadable HTML file(s)?

    I recently discovered Kate. One might think its design goals were how I
    work and a specific personal project I have. Get idea that I like it ;}

    I find HTML formatted documentation much more usable than PDF.
    A fine manual at https://docs.kde.org/stable5/en/kate/kate/index.html .

    Two questions:
    1. Has someone packaged it as a downloadable file?
    2. Is there a script that would download it to a specific local
    directory in a manner that all it's internal links work?

    TIA



    If you have firefox you can do a "save page as" which is what I do.

    My primary browser is SeaMonkey. As my OS is Debian I have Firefox
    available. Both save *ONLY* the first page.


    Otherwise you would have to
    wget -np --mirror <url>
    with the <url> being the url to the kate docs.


    https://learntheshell.com/posts/web-page-mirroring-with-wget/ https://www.baeldung.com/linux/wget-mirroring https://alvinalexander.com/linux-unix/how-to-make-offline-mirror-copy-website-with-wget/



    I've just downloaded those and the wget man-page.
    Now for a cup of coffee and some reading ;}

    Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Owlett@21:1/5 to Michel Verdier on Wed Dec 4 16:10:02 2024
    On 12/4/24 6:11 AM, Michel Verdier wrote:
    On 2024-12-04, Richard Owlett wrote:

    I find HTML formatted documentation much more usable than PDF.
    A fine manual at https://docs.kde.org/stable5/en/kate/kate/index.html .

    Two questions:
    1. Has someone packaged it as a downloadable file?
    2. Is there a script that would download it to a specific local
    directory in a manner that all it's internal links work?

    Try

    wget -r -L -k https://docs.kde.org/stable5/en/kate/kate/index.html

    I suggest *NOT* ;/
    Syntactically correct but has unexpected result.
    [ I'm an octogenarian with >30 years engineering/end-user support ;]


    and man wget for more options



    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Owlett@21:1/5 to Max Nikulin on Wed Dec 4 16:50:01 2024
    On 12/4/24 9:20 AM, Max Nikulin wrote:
    On 04/12/2024 18:27, Richard Owlett wrote:
    I find HTML formatted documentation much more usable than PDF.
    A fine manual at https://docs.kde.org/stable5/en/kate/kate/index.html .

    Two questions:
       1. Has someone packaged it as a downloadable file?

    Is it different from docs available in khelpcenter?



    To what URL do you refer?
    The only *downloadable* files listed at
    https://docs.kde.org/index.php?language=en&package=kate
    are PDF.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David Wright@21:1/5 to Richard Owlett on Wed Dec 4 17:10:01 2024
    On Wed 04 Dec 2024 at 09:00:06 (-0600), Richard Owlett wrote:
    On 12/4/24 6:11 AM, Michel Verdier wrote:
    On 2024-12-04, Richard Owlett wrote:

    I find HTML formatted documentation much more usable than PDF.
    A fine manual at https://docs.kde.org/stable5/en/kate/kate/index.html .

    Two questions:
    1. Has someone packaged it as a downloadable file?
    2. Is there a script that would download it to a specific local
    directory in a manner that all it's internal links work?

    Try

    wget -r -L -k https://docs.kde.org/stable5/en/kate/kate/index.html

    I suggest *NOT* ;/
    Syntactically correct but has unexpected result.
    [ I'm an octogenarian with >30 years engineering/end-user support ;]


    and man wget for more options

    Perhaps reconsult the last reference in:

    https://lists.debian.org/debian-user/2022/04/msg00329.html

    Cheers,
    David.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David Wright@21:1/5 to Richard Owlett on Wed Dec 4 21:00:01 2024
    On Wed 04 Dec 2024 at 13:13:37 (-0600), Richard Owlett wrote:
    On 12/4/24 12:17 PM, Xiyue Deng wrote:
    Richard Owlett <rowlett@access.net> writes:

    I recently discovered Kate. One might think its design goals were how I work and a specific personal project I have. Get idea that I like it ;}

    I find HTML formatted documentation much more usable than PDF.
    A fine manual at https://docs.kde.org/stable5/en/kate/kate/index.html .

    Two questions:
    1. Has someone packaged it as a downloadable file?
    2. Is there a script that would download it to a specific local
    directory in a manner that all it's internal links work?

    "kate-data" package contains the kate documentation in docbook format.
    Once installed, you should be able to access it through kate's help
    menu or khelpcenter.

    Synaptic reports "kate-data" is installed.
    When Kate is launched *ALL* references to "handbook" take me to the
    web-page *NOT* to anything local!

    Give me explicit directions to this "docbook" information please.

    https://packages.debian.org/bookworm/all/kate5-data/filelist

    You probably want something like /usr/share/doc/HTML/en/kate/index.docbook

    Cheers,
    David.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Owlett@21:1/5 to Xiyue Deng on Wed Dec 4 20:20:01 2024
    On 12/4/24 12:17 PM, Xiyue Deng wrote:
    Richard Owlett <rowlett@access.net> writes:

    I recently discovered Kate. One might think its design goals were how I
    work and a specific personal project I have. Get idea that I like it ;}

    I find HTML formatted documentation much more usable than PDF.
    A fine manual at https://docs.kde.org/stable5/en/kate/kate/index.html .

    Two questions:
    1. Has someone packaged it as a downloadable file?
    2. Is there a script that would download it to a specific local
    directory in a manner that all it's internal links work?

    TIA


    "kate-data" package contains the kate documentation in docbook format.
    Once installed, you should be able to access it through kate's help
    menu or khelpcenter.


    Synaptic reports "kate-data" is installed.
    When Kate is launched *ALL* references to "handbook" take me to the
    web-page *NOT* to anything local!

    Give me explicit directions to this "docbook" information please.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bitfox@21:1/5 to Michel Verdier on Thu Dec 5 01:50:01 2024
    On 2024-12-04 20:11, Michel Verdier wrote:
    On 2024-12-04, Richard Owlett wrote:

    I find HTML formatted documentation much more usable than PDF.
    A fine manual at https://docs.kde.org/stable5/en/kate/kate/index.html
    .

    Two questions:
    1. Has someone packaged it as a downloadable file?
    2. Is there a script that would download it to a specific local
    directory in a manner that all it's internal links work?

    Try

    wget -r -L -k https://docs.kde.org/stable5/en/kate/kate/index.html

    and man wget for more options

    after downloading, is it possible to convert all html files into a
    single pdf? any tool in linux to do that? Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dan Ritter@21:1/5 to Bitfox on Thu Dec 5 03:00:01 2024
    Bitfox wrote:

    after downloading, is it possible to convert all html files into a single pdf? any tool in linux to do that? Thanks.


    Yes, pandoc is packaged and can do that easily.


    -dsr-

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)