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 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

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.



--
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/d0d7ce9d-f05d-8e82-3d2a-5a8e796f85cd%40maiski.net.

Reply via email to