đž Archived View for ttrpgs.com âş latex.gmi captured on 2024-06-16 at 12:36:52. Gemini links have been rewritten to link to archived content
âŹ ď¸ Previous capture (2023-07-10)
âĄď¸ Next capture (2024-07-08)
-=-=-=-=-=-=-
In Word and Acrobat, you can make some limited environments, like a header. But in LaTeX, you can make literally any type of environment you want. Need 10 encounter environments? Just make one macro.
Arranging some encounter table then copy/ pasting it and filling in new monsters doesnât sound like a lot of work, because it isnât. What is a lot of work is changing how your columns work, and then redoing every encounter table.
Even the most ethereal story-telling RPGs out there have statblocks. If enemies donât have numbers then youâre not playing an RPG, youâre playing Fiasco. Those statblocks typically have derived stats. If your monsters has 8 Hit Dice, that means a number of Hit Points, which is something youâll have to work out. If they have a longsword (which deals 1D8 Damage) and Strength 14 (which gives a +2 Damage bonus), then the sheet should say Dam: 1D8+2 somewhere, or the GM will have to work out all the derived stats on the spot.
LaTeX not only prints the statblocks, but calculates all those HP, Damage, and anything else you want.
Old A,D&D listed monsters with things like âTreasure Type Aâ. The DM was then supposed to open up the Dungeon Masterâs Guide, locate the Treasure Table, and note that this particular monster had something like â1 magical scroll, and 1D4 precious Gems, worth 1D6 x 10gp eachâ.
This then requires selecting a magical scroll (no random table would help you there), then rolling 1D4 to find there were â3â precious gems. Rolling 3D6, the now-tired DM sees the result of â2,4,4â, and figures - finally - that the party has stumbled upon one gem of approximately 20gp value, and two more of approximately 40gp value.
Exactly what the griffin was doing with these gems, and how it got them remains a mystery which lies beyond the scope of my current bitching. The problem I wanted to address (before being waylaid by bling-ridden griffin-nests) was that THE BOOK SHOULD HAVE JUST GIVEN THE RESULTS.
BIND has similar treasure types, but the commands are things like \small_loot, and \magical_loot, which is a lot easier to remember and understand than âTreasure type Câ. Once the command is in, the elf/ griffin/ Tasmanian Devil in question simply gets that loot printed onto the page, and the DM reading the thing doesnât have to roll a single die.
D&D once had all goblins with exactly the same stat-blocks, and the Dungeon Master was supposed to add different weapons for variation. Newer D&D editions decided to add multiple creature types, so the entry for âorcsâ has a few different archetypes such as âberserker orcâ, or âshaman orcâ.
The D&D books usually advise the DM to look up the stat-blocks, leaving the DM with two books open, and using make-shift bookmarks.
White Wolf went the opposite way and said that all Lasombra should be total individuals, so all Storytellers who want to include a story with 10 members of the Sabbat should hand-craft 10 character sheets.
The LaTeX solution here is to simply write:
You see a goblin.
This can then generate a goblin, (or indeed a Lasombra), and the stats can be as randomized as you like. It allows an easy way for writers to stick the stat-block down on the page, so all antagonists in the encounter will be there.
RPGs rely on referencing more than most books. People will have to look up the rules on wrestling or how low-lighting works on the fly, while the GM is busy getting an overview of the story in a miniature table of contents just for that part of the book.
Adventures can also get a dynamic miniature table of contents. BINDâs adventures always get two - one shows each part of the adventure, while the other table appears at the back, and shows each part by their location-type, so the parts of an adventure which should appear in a forest remain together for easy-referencing while the PCs wander in a forest.
Making indexes and tables of contents isnât anyone idea of fun, so for writing to remain fun, you need a tool which does all of this automatically, and nothing comes close to LaTeX.
LaTeX has basic if-statements, which allows people to display one paragraph sometimes, and another at other times.
In the BIND core book, Iâve used this to create a standard book (with lots of flowery examples of combat, spells, and the rest, being used), and a reference version. The reference version simply contains the rules, without comment or example.
Various paragraphs state
{ blah blah long example } else { add +1 damage }
This difference means I donât have to maintain a separate reference book - itâs the same book, with a different toggle.
The BIND campaign setting (and sort-of Dungeon Masterâs Guide) has a different toggle to turn it into a playerâs guide. The playerâs guide contains only a dozen pages, talking about the world, but none of the monster stats, adventures, or lists of magical places.
People who want to work with others on an RPG naturally tend towards Google docs. It seems so easy. They send the link out, people make edit suggestions, and you click âapproveâ or âdenyâ. Spelling corrections are happening at 100 MPH, spells are being added, and it all looks great.
Git, meanwhile, looks like a technocratic chore, posing a massive barrier to entry for a great many contributors who just wanted to view the file and maybe add in their two cents.
However, problems will become apparent soon.
Once the document reaches 100 pages, it no longer loads properly. Flipping between sections is a bore, prompting a quick check on some website, and soon the work just feels like a stutter.
Next, contributors find they canât make any suggestions which consist of more than 1 line. Someone changing a spell will also have to change the example-text for that spell later on. Someone altering racial bonuses will have to account for that later in the document. People donât really want to suggest line-changes - they want to suggest ideas, which may consist of any number of lines being changed. However, Google Docs will only accept or reject changes to a block of text, not whole ideas.
Contributors also want to explain why a change is necessary, if itâs not completely obvious. Their only recourse is that âadd commentâ button, which then needs to place a comment on an already messy document, and the small box which pops up gives people the strong impression that they should not write too much.
Once the Google doc feels ready, itâs time to export it to a more reasonable tool to do the actual formatting. At this point, the document is sealed - no more changes will be accepted without returning to the Google doc, exporting it, and preparing the whole thing again.
The natural LaTeX-friendly alternative here would be git.
Despite the massive barriers to entry, I prefer git to having the above problems. I also suspect that barriers to entry will raise the quality of suggestions. Iâve had a few ideas shot my way which (while well intentioned) simply showed that the commenter had not really read the book. This basic barrier to entry may ensure that only people with a solid idea of the work, who are sure they have something to contribute, will actually start using the tool.
Besides that, itâs really not that hard to sign up to a Gitlab portal, press âforkâ, then press âeditâ.
Itâs important that an open project be the polar opposite of anything from Adobe. Adobe products tell people theyâre not welcome if theyâre using the wrong OS, that they need money before they can start working, and have no guarantees about backwards compatibility.
The âOpen Sourceâ nature of LaTeX isnât just a principle - it makes open availability inevitable.