-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On Mon, Sep 26, 2022 at 11:33:22PM +0200, mm wrote: > Hi Marek, > > > On 9/26/22 00:01, Marek Marczykowski-Górecki wrote: > > Hi M, > > > > In fact, I'm working on translation-utilz right now too. Marta used her > > google-foo and found this gem: > > https://github.com/SamWilsn/docutils-rst-writer > > > this looks very nice!! :) Thanks Marta! :) > > > So, I replaced most of the qubesrstwriter2.py with just this thing and > > it's almost flawless (especially tables, images etc work out of the > > box). > > OK, thanks for the PR, I'll merge into and get rid of the obsolete stuff > from my branch this days. > > I have some weird customized fixes all over, but this should work. > > One question though: > > have you had success with parsing admin-api.rst (as converted by pandoc from > md?)
I think so, yes. > > I get the error when parsing with docutils in order to post-process it for > qubes: > > docutils.utils.SystemMessage: /home/user/testingfilez/admin-api.rst:74: > (SEVERE/4) Unexpected section title IIUC this was issue with overly wrapped table, so '_' or '-' in some cells landed at unfortunate locations and were mis-parsed. In my PR I set line length much longer to avoid this table wrapping and it seems to work. The final sphinx-generated HTML looks a bit weird (no vertical cell borders), but I think that's up to the theme, not RST. > and it cannot get over the table as it is...:/ > > all the best, > > m > > > > > > I massaged the links fixup a bit, and now the only thing it complains > > about is arch-spec-0.3.pdf, and a single "c" lexer issue. That's all. > > Lists starting with non-1 number works too. > > > > I'll push my state in few minutes into separate branch. > > > > BR, > > Marek > > > > > > On Sun, Sep 25, 2022 at 11:31:22PM +0200, mm wrote: > > > Hey Tobias, > > > > > > > I do not know unfortunately what you are referring to? > > > > > I mean the objective is to convert the markdown documentation to rst > > asap > > > > > Unfortunately it did not work out out of the box, due to docutils > > niceties. > > > > > background: I refuse to publish my regular-expressions-monster-convert > > > script. > > > > > I had to write a new one using docutils, as it should be. > > > > > Status as now is: > > > > > there are some minor fixes to be dealt with, such as container for > > > video-tours directive, registering of doc and ref roles > > > > > and a directive for strike through handling, so that the conversion > > can be > > > done with minor headaches by the qubes os team > > > > > (hint: I just pushed master branch on qubes-translation-utilz where the > > > current status can be feared :) ) > > > > > > > Regarding translation as a whole: Michael suggested weblate, as tails > > have > > > experience with it and it seems very nice as OS alternative to > > transifex. > > > Once there are further infos on that will summarize and write. > > > > > Do you mean that or smth else I forget to mention here? > > > > > All the best, > > > m > > > > > On 9/17/22 20:43, Tobias Killer wrote: > > >> Hi, m, > > >> > > >> thank you for all the work! > > >> > > >> As far as I can remember, you talked with Marek about i18n and l10n on > > >> the Qubes OS summit 2022. Could you (or Marek) please give us a summary > > >> of the results of those talks? > > >> > > >> Thank you! > > >> Tobias > > >> > > > > > -- > > > You received this message because you are subscribed to the Google > > Groups "qubes-devel" group. > > > To unsubscribe from this group and stop receiving emails from it, send > > an email to qubes-devel+unsubscr...@googlegroups.com. > > > To view this discussion on the web visit > > > https://groups.google.com/d/msgid/qubes-devel/75e76fab-da0d-058f-c8e9-4db4006c15ed%40maiski.net. > > > > - -- Best Regards, Marek Marczykowski-Górecki Invisible Things Lab -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEhrpukzGPukRmQqkK24/THMrX1ywFAmMyMqwACgkQ24/THMrX 1yxvdQf/edqGoIOTCO+vUWbGhcga0TtFZ3Wusa3nhk0fAzlZeWMcAtnu002UH86R fUwIhlLnpxGBOsbqIOVZV6LKGV86sMSAsxdkrGBil2dzdzcSk7T+c9SerI8JcTDe T2OehXRyelbjUVCVX41gKKR2J5mFfp+5Xo7/QLhaquLC9AIZs+k6WPpcp0C8LIO6 NIrxW5uyDs2u4bf2RJaggH1U6x2RD2qQADAPP9t7DR+5lfUW841ZkPCPBC9NBNbV dShnuSWD2XnTZPfzAhjQiSG+b196Uc8rt/lHUOJYgis7qZ438W/G5ZG/DDu+B1XG SvF1C+1zaDwqUhpWTRZLIG2KvfRzVg== =qAw9 -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "qubes-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-devel/YzIyrHM/M8kP6qEe%40mail-itl.