r/AskProgramming • u/MaestroLifts • May 22 '20
Potentially off topic, but does anybody know if writers use Git or version control in general for writing novels?
Just a random thought I had. Seems like it would be a great tool for that.
7
u/Mr_Nice_ May 22 '20
I don't know but I wish the government used it for laws so we could see what amendments are made and by which politician
4
20
u/lunetick May 22 '20 edited May 22 '20
Now office have a version history.
EDIT: beside that I really doubt a writer know what is a commit, a branch, etc... Editors probably use a DMS https://en.m.wikipedia.org/wiki/Document_management_system
9
u/plsunban May 22 '20
Yeah I found out last year that word had version control, because I went to print a lab report I was working on, and it printed out the diffs instead of the actual paper. It was really hard to figure out how to turn it off and just print out the actual paper.
4
1
u/Poddster May 22 '20
Words version history is pretty painful. But it's miles better than the OpenOffice version!
1
19
u/maestro2005 May 22 '20
For writers that draft in plaintext, Git might work, but it would be a poor tool for anyone using a word processor, which I suspect is the vast majority of writers. The file formats include far more data than just the text itself, such that even small edits will result in huge diffs. A VCS that works on change sets is going to make a mess out of things. An older VCS that works on whole files might work better, but then again, the true power of VCS is in branching and allowing multiple people to work on a codebase without stepping on each other. It just seems like the wrong tool.
9
u/oparisy May 22 '20
This is I think the crux of the matter. Git shines at tracking textual files, with local modifications and a format intelligible enough that merge conflicts can be resolved "by hand" if needed. My take is that many writers-friendly document formats don't comply with those features (markdown being a notable modern exception).
3
May 22 '20
This. I don't think git knows how to track changes within Microsoft office files. That means your "version control" is at the file level and not the Delta's to the file.
1
u/CoffeeVector May 23 '20
This would a great if you happen to write documents in latex or R markdown. I don't think this would make sense in context of a novel; first being that it's unwieldy for non-technical people, second being that a "merge" probably isn't as trivial and gluing two blocks of text together with a little of magic in between.
In the context of a textbook, I think this is the way to go!
7
u/absurdadam1 May 22 '20
I make music and it's the same for project files. The great thing about version control isn't the many saves, but the difference detection and merging etc. All of that stuff would be really handy when writing/composing too I suspect.
13
May 22 '20 edited May 22 '20
Not a writer, but a student. I have to write a lot of stuff for Uni and I got fed up with word constantly crashing, so I switched to LaTeX. I have different templates for different things I have to write frequently (especially scientific stuff is awesome with LaTeX). And I track versions in Git on GitHub.
It's a great tool if you know how to use it anyways, but if you have no technical background I assume using it could be pretty hard, especially considering Office added Version control as well.
5
May 22 '20
LaTeX+GIT is awesome.
1
u/Adaddr May 23 '20 edited May 23 '20
Do you use the 1 sentence per line system? I heard that's something some people do...
1
May 23 '20
I do. I also use vim to write it, so I can move sentences around by doing
dd (Various movements to position) p1
u/MoldyWolf May 23 '20
A must have for any CS majors especially! Posters are super easy once you get the hang of it too
6
u/Poddster May 22 '20
Technical authors do. But they're usually writing in a text based markup format, and they'll make heavy use of things like https://sembr.org/ to try and twist git into being useful.
Some source control systems, like plasticscm, do track inside of docx files.
However any version control is better than no version control. It just means that things like git diff won't be meaningful and you'll need to rely on third party tools like beyondcompare etc. No third party tool that I know off handles merging docx very well.
6
u/fzammetti May 22 '20
I use Subversion (SVN) for all my writing, yes. Personal preference over Git, but same idea.
I've been doing so for over a decade, and it doesn't matter whether it's my non-fiction tech writing or my fiction writing. I actually have TWO levels of version control in play for my fiction writing because I use Scrivener, which has its own version control mechanism. But then, every time I finish a writing session, I check the entire Scrivener project into SVN.
I definitely have never understood why basically ANY person who creates digital content of ANY sort wouldn't use version control unless they simply aren't aware of it. It's a natural fit in my mind. I'm a musician too, so I spend a lot of time in a DAW, and I throw all that into SVN as well. I've even taken to putting my family photos in SVN as I manipulate them. It's a piece of cake in the Windows world at least where we have TortoiseSVN (and TortoiseGit too) that adds context menu options to Explorer (or equivalent) so you can just right-click a directory, hit Check In, and you're good to go.
If anyone is interested but unfamiliar with the concept of version control and/or wants help setting it up, and for some reason you don't want to ask here publicly, feel free to DM me. FYI, I'm a software architect by day, have been for nearly 25 years professionally, and author of a dozen tech books on various software engineering topics, so I kinda have a background in and experience with this stuff is my point :)
5
u/patrizzick May 22 '20
My wife is a writer and I've been thinking about trying to design an app around this idea. She uses a program called Scrivner that looks a little like an IDE for writers. GitHub would be great for gathering beta reader feedback for her novels too.
2
3
u/wrosecrans May 22 '20
Rare, but not strictly unheard of. A buddy of mine and I used to use SVN and later migrated to git for scripts for short films and things we wanted to make. "Fountain" is a plain text screenplay format that is easy to keep in git, but can be used to generate properly formatted screenplay PDF's. But I expect this sort of workflow is quite rare, especially when somebody is working along rather than with a partner where you might need to merge.
3
u/tomkatt May 23 '20 edited May 23 '20
I worked on a book once (not IT/programming related), but I didn't use git, and wouldn't. Not everything is a nail to git's hammer. I used a database/project based writing program called Quoll Writer.
When I switched over to Linux and was still writing I think I ended up using either Scrivener or Plume Creator, but neither worked for me as well as Quoll Writer did.
Git never crossed my mind simply because it's not a writing tool, and if you're using proper software, version control is not needed when novelization is concerned.
2
u/nathan_lesage May 22 '20
I can mainly speak for the academic community, but in the arts and humanities it‘s looking dire. Most of it is just sending back and forth annotated word documents. As for the sciences, it looks differently …
2
u/julianeone May 22 '20
I think the magic search keywords that will turn up results for you would be LaTeX and Git. Reason: LaTeX users are power users who write novel-length manuscripts, who use Git.
Quick example link:
2
u/CreativeGPX May 23 '20
I use it when I do conworlding and conlanging, which involves writing and designs.
I don't think it'd be that useful for novels, but maybe that's just the way I write. Branching or going back to prior versions doesn't really apply that much.
2
u/cube-drone May 23 '20
I have seen evidence that at least two bestselling authors STILL use WordStar (originally for CP/M), because it was the thing they wrote their first big book on and Why Change? I'm not sure if that's relevant to your comment, except to note that writers will find a thing that works well enough and stick with it.
2
Jun 18 '20 edited Jun 18 '20
If I'm writing a large LaTeX project, absolutely I use Git. I take advantage of the .gitignore file to filter out everything but my actual TeX docs.
3
u/revesvans May 22 '20
I am a writer and have honestly never thought about it. As a hobby programmer I've only used Git like once, so I'm not that familiar with how it works, or how it could be useful working on a script for example.
All I know about it is that you do some programming and then commit the changes if things seem to be working. And then you have the ability to restore from previous working versions. It felt a bit fiddly to me, but I understand that real programmers find it invaluable, so I bet the benefits make themselves clear after working professionally with it a little while.
Now there system for remembering old versions in both google docs and Highland 2, which is where I write most of my stuff. Are there any other features in Git that could be useful, and that most writing software lacks?
1
May 23 '20
Collaborative ones, yeah. I know a few friends of mine at Brown and Purdue who collaborate over novels through github. It's not that efficient though. I would suggest google docs (lol) for collaborative novels.
1
u/Kikiyoshima May 23 '20
As a programmer who also writes as a hobby: i tried, but git doesn't really fit into the writing workflow, expecially if you write a lot on mobile.
Them, another major problem is that git works with pure text formats, so to use it to it's fullest you need to write in .md, .rtf or plain .txt, and the formatting options there are quite poor if compared to more document focused formats like .odf or .docx
In the end, while I still use git for coding, to keep my writing stuff in sync I use Syncthing along with my home server.
45
u/myusernameisunique1 May 22 '20
I have thought about why our designers as work don't use it since they are always joking about having the constantly rename their PSD files in photoshop, final, final_final, very_last, etc.
Git is just not really user friendly.
Someone looking for an interesting project to do might look at doing a usable front-end for non-tech users