Replace mdBook with Typst - #416
Conversation
|
Hello @burrbull, Thank you for tagging me in this draft PR. First of all, if you are asking for my opinion on this PR, I'm not entirely in favor of this change. Since you tagged me, I assume you've likely seen the rust-embedded-book-l10n project I announced in #401. Therefore, if rust-embedded/book migrates from mdBook to another documentation generator, this l10n project will no longer be able to function (unless the new tool also supports gettext-based internationalization). Additionally, I noticed you mentioned the German translation in #415. If you are interested in translating The Embedded Rust Book, you are more than welcome to join the rust-embedded-book-l10n project! If German is not available yet, feel free to open an issue to request adding a new language. Once the requested language is added, you can start translating right away! |
This comment was marked as outdated.
This comment was marked as outdated.
17f1371 to
fdf3309
Compare
|
CI caching does not work. What I did wrong? All works as expected except one thing with sidebar in localized book. P.S. It would be nice to add some |
|
Added German translation from #415. @braunharald please review. |
|
I think I still have a bit of trouble understanding this.
Should I just compare the two PDF files and let you know whether I think
the implementation is good or bad?
Or is there a branch on GitHub for the “typ” directory and its
subdirectories so that I can put together a patch if necessary? If so,
I'd appreciate the link.
/Harald
Am 04.08.26 um 17:43 schrieb Zgarbul Andrey:
*burrbull* left a comment (rust-embedded/book#416)
<#416 (comment)>
Added German translation from #415
<#415>. @braunharald
<https://github.com/braunharald> please review.
cc @eldruin <https://github.com/eldruin> @therealprof
<https://github.com/therealprof>
rust_embedded_book_en.pdf
<https://github.com/user-attachments/files/30710500/rust_embedded_book_en.pdf>
rust_embedded_book_de.pdf
<https://github.com/user-attachments/files/30710506/rust_embedded_book_de.pdf>
—
Reply to this email directly, view it on GitHub
<#416?email_source=notifications&email_token=ASFDTGBIKIYUYNF3EY6QDIT5IIABVA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMJYGEZTINBVGYZKM4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJLDGN5XXIZLSL5RWY2LDNM#issuecomment-5181344562>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASFDTGGCGXITFVP74GNMCAT5IIABVAVCNFSNUABFKJSXA33TNF2G64TZHMYTINBSGE2TSMJXHNEXG43VMU5TKMBTHAYTCOJRG422C5QC>.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
<https://github.com/notifications/mobile/ios/ASFDTGDC4MPREDLHQ557VEL5IIABVA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMJYGEZTINBVGYZKM4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJKTGN5XXIZLSL5UW64Y>
and Android
<https://github.com/notifications/mobile/android/ASFDTGCH4ZKH43RRPXW3WW35IIABVA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMJYGEZTINBVGYZKM4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJLTGN5XXIZLSL5QW4ZDSN5UWI>.
Download it today!
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Mit freundlichem Gruß
Harald Braun
In der Aue 6
36282 Hauneck-Rotensee
Tel.: +49 6621 7966123
***@***.***
|
There is example in first message how you could to compile the book locally. In The original text and translation were added manually. P.S. My recommendations to use vs code: |
This is my answer to multi-language book. cc @hwhsu1231
We can keep translations in same file if use Typst instead. See
typ/intro/index.typfor example.This is a draft yet, but it is already looks and works very similar to mdBook version as it reuses original CSS and scripts.
How to compile:
English:
German:
See rendered PDF:
rust_embedded_book_en.pdf