• Search/Replace capabilities of KATE 22.12.3

    From Richard Owlett@21:1/5 to All on Mon Feb 3 10:43:09 2025
    My environment is:
    Debian 12.8 with MATE 1.26.0
    KATE identifies itself as version 22.12.3
    Documentation I've used:
    https://docs.kde.org/stable5/en/kate/kate/index.html
    https://docs.kde.org/stable5/en/kate/katepart/index.html
    { due to vision/perception issues I avoid PDF }

    I am new to Kate, though I've been exposed to a wide variety of editors
    since the 60's (impressed by co-workers use of TECO in the 70's).

    I'm reformatting several chapters of a HTML formatted KJV Bible to be a pleasant reading experience for visually impaired seniors.

    Kate's suitability has been demonstrated by using the GUI to manually
    edit individual chapters. I wish to write macros using ERE's[1] to make
    my project feasible.

    I paused a few months ago due to difficulties. A recent WEB search
    turned up a discussion of a similar problem/solution[2].
    It referenced Kate 23.04 .

    Questions:
    1. Does that discussion apply to Kate 22.12.3?
    2. Is there documentation (preferably a tutorial) for this?
    [I wish to use common terminology when asking further questions.]

    TIA

    [1] https://www.gnu.org/software/sed/manual/html_node/ERE-syntax.html
    [2] https://stackoverflow.com/questions/23157001/how-to-replace-kate-regular-expression

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Janis Papanagnou@21:1/5 to Richard Owlett on Mon Feb 3 18:58:10 2025
    Hi Richard,

    I see your post "Confused first time Kate user", 6 months ago.
    Another one "Understanding the Kate documentation", soon after.
    Then a query post "An active Kate user group?", 2 months ago.

    These questions on that time scale coupled with the observation
    that you obviously haven't got (if at all) any useful feedback
    raises some basic questions whether there's something suboptimal
    in your approach to solve some task with that editor.

    It appears that Kate's concepts are not clear (to you at least),
    there's also no sufficient (clear) documentation provided, and
    that there's also no active user group (with experienced users)
    to help you.

    Someone might have suggested Kate to you? (Have you asked these
    people to help you?)

    Maybe it's time to reconsider some early decision you made (with
    the choice of that editor)! - Have you considered to use another
    editor, one that is - likely for reasons! - (more) widely used?

    On 03.02.2025 17:43, Richard Owlett wrote:
    [...]

    I am new to Kate, though I've been exposed to a wide variety of editors
    since the 60's (impressed by co-workers use of TECO in the 70's).

    (I note that you are still "new to Kate" after 6 months.)


    I'm reformatting several chapters of a HTML formatted KJV Bible to be a pleasant reading experience for visually impaired seniors.

    Given the huge amount of bible text your decision to _manually_
    edit its HTML source is noteworthy. Personally I'd automate such
    tasks with some (common) scripting language instead of using an
    editor's scripting or macro facilities. (For large texts that's
    not only faster but also more reliable, with reproducible results
    and the possibility to adapt the process until the results are
    perfect.)


    Kate's suitability has been demonstrated by using the GUI to manually
    edit individual chapters.

    Who demonstrated that? - Can you ask that source for help?

    Mind that editing text (HTML or else) is what all text editors
    have been created for to do. (There's some more common editors
    that likely even have a lot more power than Kate.) - You will
    certainly find more help if you use any of these text editors.

    I wish to write macros using ERE's[1] to make
    my project feasible.

    (You can use EREs also in an automated scripting environment.)


    I paused a few months ago due to difficulties. A recent WEB search
    turned up a discussion of a similar problem/solution[2].
    It referenced Kate 23.04 .

    Questions:
    1. Does that discussion apply to Kate 22.12.3?

    If you have a question that's raised (also) in StackOverflow
    then it's best you ask this question in that discussion group,
    given that it's even a similar problem.

    2. Is there documentation (preferably a tutorial) for this?
    [I wish to use common terminology when asking further questions.]

    See above.


    Really and well meant; reconsider your approach. - Good luck!

    Janis


    TIA

    [1] https://www.gnu.org/software/sed/manual/html_node/ERE-syntax.html
    [2] https://stackoverflow.com/questions/23157001/how-to-replace-kate-regular-expression

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