this post was submitted on 28 Jan 2024
32 points (94.4% liked)

Rust Programming

7734 readers
2 users here now

founded 5 years ago
MODERATORS
 

cross-posted from: https://lemmy.world/post/11271385

Basically, you can choose some slides from an opened .tex file to copy. It also has the function to see which graphics files are included in the selected files, so you know which ones to copy.

Here is the Github link: https://github.com/Atreyagaurav/beamer-quickie

The PDF pages are shown using the SyncTeX (if available) so that you can visually choose the slides as long as there is a single .tex source file, (might still work without synctex for simple cases).

I've made it on Linux, so it hasn't been tested in windows. You probably will need to compile gtk on Windows if you want to make it work. So if someone is really interested let me know, I can give instructions. Even in linux you'll need to install dependencies.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 7 months ago (1 children)

nice job! Are the ui files designed with glade?

[–] [email protected] 2 points 7 months ago (1 children)

Glade doesn't work for gtk4. There's cambanche, but it didn't work as smoothly as glade. Originally I tried just using glade and converting to gtk4 for a bit, didn't work great as some classes were different.

So at the end I went with just looking at gtk4 docs and writing xml on the editor. It'd be problematic once in a while if I miss closing some tags, other than that it went well.

[–] [email protected] 2 points 7 months ago

thank you for your reply. Yes it was sadly known to me, but every time I see something done right in gtk I am rekindled in hope that they have put a patch on this totally inexplicable choice to abandon a designer that would allow you not to write xml by hand. I guess I'll have to make peace with that fact :) anyway, nice work you did!