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.

  • thevoidzero@lemmy.worldOP
    link
    fedilink
    arrow-up
    0
    ·
    9 months ago

    If anyone here is familiar with making GUIs with rust using gtk4-rs, I’d appreciate some guidance. It’s been a challenging road as I’m trying to learn GUI developement.

      • thevoidzero@lemmy.worldOP
        link
        fedilink
        arrow-up
        0
        ·
        9 months ago

        Thank you, I’ll go over them. I think I got a little bit of the basics now. But I need a little advanced knowledge. And most tutorials seems to be for gtk3 and many widgets are now deprecated.

        Originally my plan was to make each slide edited separately when you right click and do edit. And be able to drag them up and down and everything, but my skills were not enough. After trying to make that for a week I gave up and made this simpler version. So listview and treeview models from that tutorial could give me more info.

  • Hexarei@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    9 months ago

    That’s pretty sick! I didn’t even realize there were gtk bindings; I might have to use that for an app I’m wanting to build. Torn between that and Tauri

    • thevoidzero@lemmy.worldOP
      link
      fedilink
      arrow-up
      0
      ·
      9 months ago

      Yeah, the bindings were a great help. I also tried tauri, iced, beavy, and a lot of libraries. At the end just using gtk4 seemed to be the best for my use case. I went through the grk4-rs book, and then started experimenting. I don’t like GUI at all, but for simple cases it works well

    • thevoidzero@lemmy.worldOP
      link
      fedilink
      arrow-up
      0
      ·
      9 months ago

      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.

      • superbirra@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        9 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!