• SeattleRain@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      6 months ago

      Well in this thread people were saying you can set up your own local git repository? What’s a newbie friendly way of doing that. I’ve watched videos and understand that git version control system but I can’t quite seem to grasp more than that.

      • PlexSheep@infosec.pub
        link
        fedilink
        English
        arrow-up
        0
        ·
        6 months ago

        You can just create a local repo with git init, and then never push to a (non existent) remote repository. Git is decentralized, meaning that you always have a functional and complete repo when you’re working with it.

        Depending on your tooling, you probably have a GUI for git if you’re a noob, which can usually “initialize a git repo” for you. I use the cli/lagygit tui, so I can’t help with that.

          • dependencyinjection@discuss.tchncs.de
            link
            fedilink
            English
            arrow-up
            0
            ·
            6 months 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
              0
              ·
              6 months 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.

                • Zagorath@aussie.zone
                  link
                  fedilink
                  English
                  arrow-up
                  0
                  ·
                  6 months 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.

                • DerGottesknecht@feddit.de
                  link
                  fedilink
                  English
                  arrow-up
                  0
                  ·
                  6 months 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.

          • howrar@lemmy.ca
            link
            fedilink
            English
            arrow-up
            0
            ·
            6 months ago

            Everyone still uses LaTeX for CS/Math at my school. It’s not an age thing. Just different circles. I don’t think anything similar even comes close to LaTeX yet.

      • A_Chilean_Cyborg@feddit.cl
        link
        fedilink
        English
        arrow-up
        0
        ·
        6 months ago
        \documentclass{article}
        \usepackage{soul
        \begin{document}
        I'm 19 and I know how to use \LaTeX, \LaTeX is more used in academia, they taught me latex in Uni, but a lot of other people just won't ever heard of it because is rare to find in other places, most technical degrees and even a lot of uni ones won't use it \st{even if it's vastly superior to word}.
        
        \huge \LaTeX rules
        \end{document}
        
        
        • PlexSheep@infosec.pub
          link
          fedilink
          English
          arrow-up
          0
          ·
          edit-2
          6 months ago

          Same except that I taught myself. Written two essays for uni already with it and knew from the start that I wouldn’t touch word if I didn’t absolutely need it.

          Latex is confusing, the errors are often even less clear than Python or Java tracebacks, some packages have weird API or don’t work together, and I had to make a build script to work with it, but besides that, I have a good language and environment now to create pretty good PDFs with, including VCS with git and not having to use an editor that is not neovim.

          If you want to look deeper, there are a few more typesetting languages, some with more modern syntax. Markdown is surely the easiest, but not quite as powerful.

          Btw, is soul a real package?