- ornery_chemist ( @ornery_chemist@mander.xyz ) English69•4 months ago
Counterpoint: advisor said no.
“Just use Word, everyone else does. I have never heard of this latex thing, so must be just some trendy useless overengineered software that does Word’s job but worse. Word can track changes just fine, and you can leave comments.” proceeds to strikethrough, highlight, and inline comment everything instead of using either of those features “I want to read what you wrote, not fight technology” proceeds to email you three separate times after forgetting to attach v28 about how a graphic looks wrong because Word ate it
- Fushuan [he/him] ( @fushuan@lemm.ee ) English8•4 months ago
I’m going to send you a pdf, you van email me back with the notes or comments in the PDF itself, whatever souts your fancy, and I’ll keep those notes and send you a new PDF with them.
I did this and I had no issues with any of the thesises I have submitted in my bachelors or masters.
First year calculus teacher, thank you SO much for forcing us to write submissions in latex.
Also, overleaf is a thing, this is not like my 1st year of uni, this 11 years later or so. If your fucking professor never heard of latex they are just bad at academia and shouldn’t be teaching honestly. It’s not just about the field knowledge.
- WhatIsH2O4 ( @WhatIsH2O4@lemmy.ml ) English0•4 months ago
That’s assuming they are competent enough to even use a PDF.
- MudMan ( @MudMan@fedia.io ) 47•4 months ago
The weird part is that most modern office software has version control built right in.
And I still do this with all my files anyway.
- Otter ( @otter@lemmy.ca ) English22•4 months ago
I’ve had the built in version control do unexpected things, so I play it safe and create named backup files. I usually end up using that one file, but I’ve been saved on occasion
- Steve ( @Steve@startrek.website ) English14•4 months ago
Its just not trustworthy
- BearOfaTime ( @BearOfaTime@lemm.ee ) English8•4 months ago
Use date/time in your file name,using GMT:
Metrics of Sales 2024-05-22_14-29.docx
Very unlikely to have 2 docs with the same down-to-the-minute time stamp in the name.
- MudMan ( @MudMan@fedia.io ) 6•4 months ago
If you think this process involves enough mindpower to check the time, let alone figure out where the dashes are in whatever language keyboard setup I’m using at the time, you are wildly overestimating how much care goes into doing this.
- mexicancartel ( @mexicancartel@lemmy.dbzer0.com ) English3•4 months ago
Eh. I think he reffers to auto naming on save with date, not manually
- blindsight ( @blindsight@beehaw.org ) English7•4 months ago
I have an AutoHotkey script that drops the current date in ISO8601. I don’t need timestamps often, so date is sufficient. I like to have manual control of file names since I very frequently do not want files renamed.
Cute related story: I taught my 6 y.o. son this macro so he can save his Krita art with the date (and then some keyboard spam ending in “poop”, usually). The macro shortcut I set is `T so he now calls the date “ticky tee”. Any set of numbers with dashes is a “ticky tee” to him, and if AutoHotkey is closed he runs to get me because “ticky tee isn’t working, Daddy!”
- BearOfaTime ( @BearOfaTime@lemm.ee ) English4•4 months ago
Dammit, why have I never thought to use AHK for this? I already use the custom context menu script someone developed about 15 years ago (Favorite Folders? It’s on the AHK/AutoIT forum) , I can just add it to that.
AHK/AutoIT are game changers. I feel naked on a machine without it, I’m so used to Ctrl-Middle -click to get to all sorts of things… Folders, scripts, tools, automations (like your date idea), etc.
Ticky-tee! Hahahaha, love it!
- BearOfaTime ( @BearOfaTime@lemm.ee ) English1•4 months ago
Well, if you can’t be bothered to ensure file names mean something, then you get to enjoy the results.
In the Real World®, sometimes files get shared and traded around, and conversations happen about them, and you need to be able to quickly verify you’re looking at the same doc.
We can’t all be connected to the same version control system.
- MudMan ( @MudMan@fedia.io ) 1•4 months ago
Well, if you can’t be bothered to ensure file names mean something, then you get to enjoy the results.
Now you’re getting it.
- mortrek ( @mortrek@lemmy.ml ) English1•4 months ago
I generally do this on my NAS, combined with nightly and bi-weekly backups, plus a 6-mo safety backup, to a backup drive. Also, basic off-site nightly backups for important stuff. If I worked on really important stuff that required lots of versioning, though, I’d probably go with a versioning system instead of inserting the date.
- notthebees ( @notthebees@reddthat.com ) English37•4 months ago
I should write my resume in LaTeX.
- Magnor ( @magnor@lemmy.magnor.ovh ) English8•4 months ago
Wait there are other ways to write a resume?
- PlexSheep ( @PlexSheep@infosec.pub ) English1•4 months ago
HTML. Some it people have their CV on their personal website.
(And CSS and JS, I guess)
- Magnor ( @magnor@lemmy.magnor.ovh ) English1•4 months ago
I do too, by embedding a pdf :p.
Oh, maybe I should try mathjax…
- v_krishna ( @v_krishna@lemmy.ml ) English6•4 months ago
Haha my first thought seeing this meme is “do you want to start writing LaTeX by hand? Because this is how you start…”
- urda ( @urda@lebowski.social ) English3•4 months ago
I have it is so worth it. I then use GitHub / GitLab releases to “release” a built PDF for my reference.
- bl_r ( @bl_r@lemmy.dbzer0.com ) English3•4 months ago
I wrote mine in LaTeX, highly recommend.
I mean, I spent years writing LaTeX for school so it was real simple and mindless. YMMV
- Turun ( @Turun@feddit.de ) English36•4 months ago
git tag "FINAL FINAL FINAL DRAFT - v20"
- qjkxbmwvz ( @qjkxbmwvz@startrek.website ) English32•4 months ago
I also added a Makefile for mine (LaTeX), and it would add the commit hash to the front page (with an asterisk if the repository had uncommitted changes).
So, if I gave a draft to someone and got feedback, I’d know exactly which revision it was.
- GarlicToast ( @GarlicToast@programming.dev ) English5•4 months ago
This is brilliant
- flango ( @flango@lemmy.eco.br ) English2•4 months ago
Hey, amazing idea, can you share the code?
- qjkxbmwvz ( @qjkxbmwvz@startrek.website ) English4•4 months ago
Makefile in other comments. You’ll need something like this on the title page (this assumes you use my Makefile which puts the version in
VERSION.tex
[that’s the literal name of the file, not a placeholder]):{\bf{\color{red}DOCUMENT REVISION:}} {\color{blue}\input{VERSION}}
- qjkxbmwvz ( @qjkxbmwvz@startrek.website ) English4•4 months ago
Sure thing. This also includes the beamer bit which I used for my defense. It’s all pretty hacky but hope it’s useful!
# # Errors aren't handled gracefully (tex doesn't write to stderr, it seems) # If you encounter errors, use "make verbose" # # For small changes (probably those without references), use "make quick" # # Thanks to https://gist.github.com/Miliox/4035649 for dependency outline TEX = pdflatex BTEX = biber MAKE = make -s TEXFLAGS = -halt-on-error # $(MAIN).log is dumb if we have multiple targets! SILENT = > /dev/null || cat $(MAIN).log SILENT_NOER = 2>/dev/null 1>/dev/null EDITOR = vim -p PDFVIEW = evince MAIN = main PRES = presentation ALL = $(MAIN).pdf RECURS = media/ manuscripts/ VERSION := $(shell git rev-parse --short HEAD | cut -c 1-4)$(shell git diff-index --quiet HEAD && (echo -n ' ';git log -1 --format=[%cd]) || (echo -n '* '; date -u '+[%c]')) all: recurs $(ALL) pres: $(PRES).pdf scratch: scratch.pdf scratch.pdf: scratch.tex @echo "TEX (final) $<" @$(TEX) $(TEXFLAGS) $< $(SILENT) verbose: SILENT = '' verbose: $(ALL) recurs: $(RECURS) @$(foreach DIR, $(RECURS), \ echo "MAKE (CD) $(CURDIR)/$(DIR)"; \ $(MAKE) -C $(DIR) $(MAKECMDGOALS);) @echo "MAKE (CD) ./" clean: @echo "SH (RM) Not recursing; 'make allclean' to clear generated files." @rm -f *.aux *.log *.out *.pdf *.bbl *.blg *.toc *.lof *.lot *.bcf *.run.xml allclean: recurs @echo "SH (RM) A clean directory is a happy directory" @rm -f *.aux *.log *.out *.pdf *.bbl *.blg *.toc *.lof *.lot *.bcf *.run.xml version: @echo "SH (ver) $(VERSION)" @echo $(VERSION) > VERSION.tex nixpages: main.pdf @echo "PDF (pdftk)" @pdftk main.pdf cat 1 4-end output final.pdf quick: $(MAIN).tex version @echo "TEX (final) $<" @$(TEX) $(TEXFLAGS) $< $(SILENT) $(MAIN).pdf: $(MAIN).tex $(MAIN).bbl all.tex tex/abstract.tex tex/intro.tex tex/appendix.tex tex/some_section.tex tex/some_other_section.tex @echo "TEX (draft) $<" @$(TEX) $(TEXFLAGS) --draftmode $< $(SILENT) @echo "TEX (final) $<" @$(TEX) $(TEXFLAGS) $< $(SILENT) $(MAIN).bbl: $(MAIN).aux @echo "BIB (bib) $(MAIN)" @$(BTEX) $(MAIN) > /dev/null $(MAIN).aux: $(MAIN).tex $(MAIN).bib version @echo "TEX (draft) $<" @$(TEX) $(TEXFLAGS) --draftmode $< $(SILENT) $(PRES).pdf: $(PRES).tex $(PRES).bbl tex/beamer*.tex tex/slides/*.tex @echo "TEX (draft) $<" @$(TEX) $(TEXFLAGS) --draftmode $< $(SILENT) @echo "TEX (final) $<" @$(TEX) $(TEXFLAGS) $< $(SILENT) $(PRES).bbl: $(PRES).aux @echo "BIB (bib) $(PRES)" @$(BTEX) $(PRES) > /dev/null $(PRES).aux: $(PRES).tex $(MAIN).bib @echo "TEX (draft) $<" @$(TEX) $(TEXFLAGS) --draftmode $< $(SILENT) edit: @echo "EDIT (fork) $(EDITOR)" @$(EDITOR) ./tex/*.tex *.tex view: @echo "VIEW (fork) $(PDFVIEW)" @$(PDFVIEW) $(ALL) $(SILENT_NOER) &
- qjkxbmwvz ( @qjkxbmwvz@startrek.website ) English3•4 months ago
I also had some Makefiles in other directories, e.g., for my
media/
I had:MAKE = make -s RECURS = svgs/ recurs: $(RECURS) @$(foreach DIR, $(RECURS), \ echo "MAKE (CD) $(CURDIR)/$(DIR)"; \ $(MAKE) -C $(DIR) $(MAKECMDGOALS);) @echo "MAKE (CD) $(CURDIR)/" all: recurs clean: allclean: recurs clean
and for
media/svgs/
:SVG_FILES := $(wildcard *.svg) PDFDIR := ./ PDF_FILES := $(patsubst %.svg,$(PDFDIR)/%.pdf,$(SVG_FILES)) all: $(PDF_FILES) clean: @rm -f $(PDF_FILES) @echo "SH (RM) Tidying up derived PDFs" allclean: clean $(PDFDIR)/%.pdf: %.svg @inkscape -T --export-pdf=$@ $< @echo "INK (PDF) $<"
- flango ( @flango@lemmy.eco.br ) English2•4 months ago
Thank you!!! I’ll see if I manage to make it work for me.
- lowleveldata ( @lowleveldata@programming.dev ) English31•4 months ago
Git is like shit for Word documents
- Tolookah ( @Tolookah@discuss.tchncs.de ) English40•4 months ago
But better for LaTeX
- drre ( @drre@feddit.de ) English11•4 months ago
and then there are fucking PIs insisting on word files who never heard of tracked charges let alone of file naming conventions.
- Zagorath ( @Zagorath@aussie.zone ) English5•4 months ago
I dunno what a PI is, but my honours thesis supervisor was the person who first introduced me to TeX. And gods, I wish I had known about it earlier in uni, or even back in high school. It is so useful when writing any sort of papers with sections and diagrams and bibliography.
- 01101000_01101001 ( @01101000_01101001@mander.xyz ) English8•4 months ago
Principal Investigator. It’s the lead scientist in charge of the project.
- Hundun ( @Hundun@beehaw.org ) English2•4 months ago
Check out Typst (a newer TeX-like layout engine) if you have time, I’m interested in your opinion. I find it a bit simpler to use than TeX.
- Zagorath ( @Zagorath@aussie.zone ) English2•4 months ago
Un(?)fortunately I don’t have much cause these days for either TeX or some equivalent to it. Anything I’m writing today is simple enough that it doesn’t need anything more sophisticated than markdown for formatting.
- Jeena ( @jeena@jemmy.jeena.net ) English25•4 months ago
That’s why we wrote our thesis in LaTeX: https://github.com/jonte/GGS-report/blob/a9d9d20bcc22a524629e371ce5984f131490b743/report.lyx#L362
- Programmer Belch ( @programmer_belch@lemmy.dbzer0.com ) English6•4 months ago
I also have my reports in latex inside a git repo, complete with a makefile to generate graphs from csv containing simulation results. However I am too ashamed to publish the entire version control to a public repo
- u/lukmly013 💾 (lemmy.sdf.org) ( @user224@lemmy.sdf.org ) English1•4 months ago
#LyX 2.0 created this file. For more info see http://www.lyx.org/
Wait, I thought you guys did it manually…
Anyway, I should still learn it.
- Jeena ( @jeena@jemmy.jeena.net ) English1•4 months ago
It’s a editor helping you writing it, you cat still go inside and change things manually if you need/want to do that.
- vzq ( @vzq@lemmy.blahaj.zone ) English17•4 months ago
Unzip the docx with a pre-commit hook
(This is not a serious suggestion)
- Hundun ( @Hundun@beehaw.org ) English11•4 months ago
Why on Earth would you curse yourself with MS Office anyway, especially if writing docs is your professional responsibility?
Why not use Git+Markdown+Pandoc, have your copy, data and layout separate?
I understand that a lot of istitutions/companies impose stylistic/technical requirements for docs and publications, - still doesn’t mean you gotta stay married to the worst tooling.
- lowleveldata ( @lowleveldata@programming.dev ) English6•4 months ago
Why on Earth would you curse yourself with MS Office anyway
idk it says
.docx
in OP’s image- Hundun ( @Hundun@beehaw.org ) English1•4 months ago
Oh sorry, I was too focused on calling out the silliness of the idea.
This is the way.
- TiTeY` ( @titey@jlai.lu ) English2•4 months ago
This is the way.
- Opafi ( @Opafi@feddit.de ) English6•4 months ago
Still better than using file names.
- jol ( @jol@discuss.tchncs.de ) English30•4 months ago
I learned LaTeX just so I could effectively use git in it.
- lud ( @lud@lemm.ee ) English3•4 months ago
I kinda want to learn LaTeX but I rarely write anything and I hate doing it so won’t have much use for it. It’s pretty neat though.
I also saw that there was a way to use LaTex to generate PowerPoint which seems extremely useful because PowerPoint is extremely annoying to use.
- IrritableOcelot ( @IrritableOcelot@beehaw.org ) English2•4 months ago
I mean yes you can use beamer to make slides, but it is a lot less flexible than ppt/LibreOffice Present.
- jol ( @jol@discuss.tchncs.de ) English2•4 months ago
Yes, I also mde my. Thesis slides in LaTeX which was nice as I coukd reuse the figures.
- Waterdoc ( @Waterdoc@lemmy.ca ) English16•4 months ago
I wrote about half of my thesis in R Markdown using Git to backup my work. It’s fantastic because you can have your plots and statistics integrated directly into your paper and formatting in Markdown is much easier than straight up latex.
- notthebees ( @notthebees@reddthat.com ) English7•4 months ago
R markdown is awesome. I’d always use it for my biostatistics tests and assignments.
- IrritableOcelot ( @IrritableOcelot@beehaw.org ) English1•4 months ago
Me with Jupyter Notebooks
- justme ( @justme@lemmy.dbzer0.com ) English11•4 months ago
I recently read a tutorial titled: “how to annoy your collaborators: a git CI pipeline for LaTeX” ;)
- ryannathans ( @ryannathans@aussie.zone ) English9•4 months ago
Don’t put binary files in git
- qjkxbmwvz ( @qjkxbmwvz@startrek.website ) English10•4 months ago
It’s not ideal, but for a thesis — which ideally has an end date after which it won’t be used — it’s not a huge problem I’d argue.
- IrritableOcelot ( @IrritableOcelot@beehaw.org ) English2•4 months ago
What’s the issue with binaries in git? Just that diff’ing binary files is useless?
- ryannathans ( @ryannathans@aussie.zone ) English2•4 months ago
They are generally large, uncompressable and replaced instead of updated like text files. All files stay in the repo history forever, they make repos big and slow compared to text files with no advantages provided (e.g. as you said, diffing etc is useless).
If a binary file needs to be stored in git, it’s usually more appropriate to use git LFS for that file. Git LFS stores the binary outside of the repo in the same way that database engines store binary outside of the respective table.
In this case, it would be much smarter to use version control on the text in the document, not tte binary file, which is a feature of essentially every document writer program.
- IrritableOcelot ( @IrritableOcelot@beehaw.org ) English2•4 months ago
Cool! Good to know.
- The Bard in Green ( @thebardingreen@lemmy.starlightkel.xyz ) English9•4 months ago
I encountered an engineering firm that did this. I wanted to do it too.
The company I worked for at the time (said engineering firm was doing subcontracting for us) was full of older business people who could never in a million years have wrapped their heads around the idea.
I also met this at a contracting job. Drove me bonkers.
- TheReturnOfPEB ( @TheReturnOfPEB@reddthat.com ) English8•4 months ago
“Delete this repository” ate my homework.