Menu

#431 Moving to docbook 5

Future
open
None
5
2025-05-26
2025-02-13
No

I inverstigating the conversion of our Docbook 4.5 manual to a conformant Docbook 5.n documentation set.

https://docbook.org/docs/howto/howto

With Docbook 5.2 (OASIS standard) as a future target.

https://tdg.docbook.org/tdg/sdocbook/5.2/
https://so.nwalsh.com/2024/02/09-docbook

Discussion

  • Hiroshi Miura

    Hiroshi Miura - 2025-03-10

    I think it is better to incubate it in the sandbox project branch https://github.com/omegat-org/omegat-manual/

     
    👍
    1

    Last edit: Hiroshi Miura 2025-05-24
    • Hiroshi Miura

      Hiroshi Miura - 2025-05-24

      Now the main branch of the sandbox project build successfully docbook5 source.
      There is only two files are written in DocBook 5.
      Rest of the files are kept in docbook 4 for your task. @brandelune

      Please look at the docbook5 sample file at
      https://github.com/omegat-org/omegat-manual/blob/main/src_docs/manual/en/sample.xml

       
      🎉
      1
      • Jean-Christophe Helary

        Thank you very much Hiroshi.

         
        • Hiroshi Miura

          Hiroshi Miura - 2025-05-25

          I found db4-upgrade.xsl migration tool and it convert all the manuals into docbook 5 style format.

          There are still several issues such as
          - Top page design is not good
          - Dynamic search box will be open by clicking right-top book icon, but it is difficult to find.

           
          • Hiroshi Miura

            Hiroshi Miura - 2025-05-25

            Here is a capture of the db5 manual with dynamic ToC search.

             
            • Jean-Christophe Helary

              Indeed. It’s not using the docbook whc stylesheet that we used for the conversion to HTML so everything it broken.

              Until we find a better stylesheet it would be nice to continue using the whc system.

               
              • Hiroshi Miura

                Hiroshi Miura - 2025-05-25

                Thank you for the feedback.

                I haven’t included WHC in this step because I believe the migration should proceed incrementally. Trying to move everything at once would make it harder to isolate and debug issues.

                At this point, the DocBook XSLT conversion completes successfully. We can now move forward and start investigating the CSS-related problems.

                 
                • Hiroshi Miura

                  Hiroshi Miura - 2025-05-26

                  The sandbox project has now started using the WHC system.
                  We need to update the XSLT stylesheets because the generated HTML/XML differs from DocBook 4 .

                   
                  • Jean-Christophe Helary

                    Ok. It’s going to take some time before I can check all that. Thank you for your help so far.

                     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.