• dependencyinjection@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 month ago

    I become a software developer later in life and never had the privilege to go to university, so sometimes I’m out of the loop on older tech.

    How did Latex compare to modern Git?

    • DerGottesknecht@feddit.de
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 month ago

      Latex is no versioning tool but a textsetting language. It outputs perfectly formatted Documents after building and takes care of aranging images, quotes and all the tedious stuff so after setting up your template you only have to care about content. It works well with git.

      Not like word where adding an image fucks the whole formatting.

        • DerGottesknecht@feddit.de
          link
          fedilink
          English
          arrow-up
          4
          ·
          1 month ago

          I’m a softwaredev too, we use this for our manual. Its writen in markdown, which we convert with pandoc to latex. We can use git for versioning and merging and the manuals always look very nice.

        • Zagorath@aussie.zone
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 month ago

          As a software developer, LaTeX makes writing documents feel elegant in the way good code is elegant. No more manually going back and saying things like “as shown in diagram 4” and updating the number when the number of diagrams changes; LaTeX can do that for you by referencing the object. Citations and bibliography are an absolute breeze to generate. It can generate various kinds of plots and diagrams themselves for you, making it much easier when you then need to make changes to it later.

          With the right packages (think: code libraries) you can do all sorts of things. I like the acrodef and ac commands which lets you specify a bunch of acronyms, and then the first time you use them in a document it automatically expands it to the full version, but uses the acronym on all subsequent uses. When writing code snippets, you can have it automatically apply the correct syntax highlighting for the language you specify; though this is admittedly a feature many markdown implementations also have.