• thevoidzero@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    5 hours ago

    Yup. When I rerun my things, in latex I just overwrite the plots file (pdf/png) and compile latex. In word I have to find where it was and replace it there. It’s way easier on latex if you make your code just write plot files in the same location.

    • AnIndefiniteArticle@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      ·
      5 hours ago

      You can use a symlink to point to the figures directory of a certain run of the code. Add git history to the mix, and now you have an auditable record of what version of the code’s output ended up in each version of the paper.

      You can be so anal and precise about everything.

      • thevoidzero@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 hours ago

        Yup simlink is so nice. I sometimes use it for color vs monocrome plots. Change simlink and compile. Although I learned you can also use if statements in latex, I use that now.