Does anyone have a LaTeX Template (format) built for p2e?


Pathfinder Second Edition General Discussion


1 person marked this as a favorite.

In an attempt to get organized and stop typing up my game prep notes in Notepad,
I've learned how to use >LaTeX (Texmaker)<.

There are a >lot of samples< for many different publishing activities. But ...

=> Does anyone have a Template .tex file for Pathfinder 2nd Edition looking stuffs?

.

::looks around

(i found one for dnd5, but... meh.)

Sovereign Court

I like LaTeX. I used it a great deal for PF1 prep. But what exactly are you looking for?


Not LaTeX, but there are some good similar tools in pf2.tools.


Ascalaphus wrote:
I like LaTeX. I used it a great deal for PF1 prep. But what exactly are you looking for?

I'm looking to snag somebody's LaTeX template which instantiates Pathfider motif.

because:

I can't make one.

Because once (if) I start building my own it will invariably turn out to
be Cyberpunk/Cthulhu themed. That gendre-intersection is a place I'm unable to avoid.


This is the first time I've ever heard of LaTeX. It looks interesting, but I have to say that I'm completely and utterly confused by this.

My understanding of the LaTeX developers' mission statement is that the entire point is that you don't care about the layout. You just right the text. Then you send it off to someone else who specializes in layouts to lay it out for you.

The entire concept of a template seems to be antithetical to the purpose of the project. At that point, why not just use a Word template and fill it out as you like? That seems quicker and easier than adding code tags to every bit of the document.

Sorry, not trying to hijack your thread, I'm just both intrigued and confused by this concept.


Aratorin wrote:

This is the first time I've ever heard of LaTeX. It looks interesting, but I have to say that I'm completely and utterly confused by this.

My understanding of the LaTeX developers' mission statement is that the entire point is that you don't care about the layout. You just right the text. Then you send it off to someone else who specializes in layouts to lay it out for you.

Your η is mighty!

Aratorin wrote:
The entire concept of a template seems to be antithetical to the purpose of the project. At that point, why not just use a Word template and fill it out as you like? That seems quicker and easier than adding code tags to every bit of the document. ...

I'm using LaTeX now.

Sovereign Court

2 people marked this as a favorite.
Aratorin wrote:

This is the first time I've ever heard of LaTeX. It looks interesting, but I have to say that I'm completely and utterly confused by this.

My understanding of the LaTeX developers' mission statement is that the entire point is that you don't care about the layout. You just right the text. Then you send it off to someone else who specializes in layouts to lay it out for you.

The entire concept of a template seems to be antithetical to the purpose of the project. At that point, why not just use a Word template and fill it out as you like? That seems quicker and easier than adding code tags to every bit of the document.

Sorry, not trying to hijack your thread, I'm just both intrigued and confused by this concept.

Modern day Word copied a lot of stuff from examples set by LaTeX. LaTeX is like other markup languages - the idea is to have a clear separation between content and style. You can change the style rules (for example, submitting a paper to a different journal, that uses a different bibliography style) and it'll get the new look and feel. In a way it's not that different from HTML/CSS.

Another trait of LaTeX is that it's more like "programming" a text than just writing it. You can easily re-use chunks of text. For PF1 I had several folders with the text of feats and spells and I could add a few keywords to a document to assemble a spellbook with full spell texts for that character.


Ascalaphus wrote:
... Another trait of LaTeX is that it's more like "programming" a text than just writing it. You can easily re-use chunks of text. For PF1 I had several folders with the text of feats and spells and I could add a few keywords to a document to assemble a spellbook with full spell texts for that character.

I've just discovered this programming aspect of using LaTeX.

I wrote my 1st perl script a few days ago to insert top-level tags into a flat file.
(A file with a room description and the room's encounters.)

Your example of creating customized spell lists has inspired me. Good stuff !

Sovereign Court

... but why Perl? It's not the 90s anymore. Just use Python with

"some string with a {variable} I want to fill in".format(variable=value)

(Although TeX's propensity towards {} and \ make it a bit of a pain to code for.)


Ascalaphus wrote:

... but why Perl? It's not the 90s anymore. Just use Python with

"some string with a {variable} I want to fill in".format(variable=value)

(Although TeX's propensity towards {} and \ make it a bit of a pain to code for.)

It's a choice:

I once used Python to code up a Tank Battle simulator, in 2010.
I implemented some machine learning codez and had it learn team tactics.

However, the use of white space for scoping annoys me. I did persevere
and attended >PyCon 2011< and enjoyed the community.
But the language did not stick with me.

As the old saying goes, "You can't write Python on the battlefield."
I agree.

-------------------------

The reason I'm using Perl is because my 'Bash scripting' skill is not
strong enough yet.

So, I'm going to stick with Perl, and as time passes try to replicate
each function with a Bash script.

A *goal* may be: From the command line, drive the generation of an
Encounter's .tex file, in Pathfinder motif, to produce .pdfs I can
print-out, or link to the players. And, with command-line arguments
create various encounter .tex files.

This functionality will soon be added with, "And, create character
sheets and/or pregens" (after your example!)

This should only take a few weeks. I'll github what I come up with.

At the moment, I'm looking through format examples.


2 people marked this as a favorite.

No one has seen my comment apparently, but I think it is very close to what you are looking for so I'll repeat it: http://pf2.tools/

In particular, http://scribe.pf2.tools/ and http://template.pf2.tools/ do the job quite well.

If you can achieve at least the same quality within an Overleaf template, that would be awesome, but these tools are already pretty good with being able to save things to your account and exporting and sharing links and what not.


Pathfinder Adventure, Adventure Path, Rulebook Subscriber
Lawrencelot wrote:

No one has seen my comment apparently, but I think it is very close to what you are looking for so I'll repeat it: http://pf2.tools/

In particular, http://scribe.pf2.tools/ and http://template.pf2.tools/ do the job quite well.

If you can achieve at least the same quality within an Overleaf template, that would be awesome, but these tools are already pretty good with being able to save things to your account and exporting and sharing links and what not.

Yeah, it's not LaTeX, but I think one or both of these could do the job.

I'll be honest, I don't quite follow how helpful your program would be as far as creating encounter files from the command line. Are you looking to procedurally generate encounters on the fly or something?


2 people marked this as a favorite.

I know a guy who's building this: https://github.com/serialhex/PF2e-TeX it's a complete setup that supposedly is supposed to do all the things. I need to kick his butt a bit to make some documentation, but most everything you might need is there and available.

I think he needs to update it too...

And to all the command line haters: if there is a command line version available, it's usually 5-10x faster to do it there, as you don't have to manually point and click things with a dumb mouse. Typing is way fast, and having a thing render at a single {ENTER} is much faster than scrolling through drop-down menus and clicking a button, then clicking {OK}, then double-clicking {I ACCEPT} then triple-clicking {YES I REALLY WANT TO DO THIS} then right-clicking and selecting the {YES I REALLY WANT TO DO THE THING I JUST TOLD YOU TO DO} buttons...

GUIs really stink sometimes...


Pathfinder Adventure, Adventure Path, Rulebook Subscriber
R0b0tBadgr wrote:

I know a guy who's building this: https://github.com/serialhex/PF2e-TeX it's a complete setup that supposedly is supposed to do all the things. I need to kick his butt a bit to make some documentation, but most everything you might need is there and available.

I think he needs to update it too...

And to all the command line haters: if there is a command line version available, it's usually 5-10x faster to do it there, as you don't have to manually point and click things with a dumb mouse. Typing is way fast, and having a thing render at a single {ENTER} is much faster than scrolling through drop-down menus and clicking a button, then clicking {OK}, then double-clicking {I ACCEPT} then triple-clicking {YES I REALLY WANT TO DO THIS} then right-clicking and selecting the {YES I REALLY WANT TO DO THE THING I JUST TOLD YOU TO DO} buttons...

GUIs really stink sometimes...

That project looks really cool! Yeah, I hope he updates it!

And I'm not sure where the command line hate is. I only brought up my confusion for the idea because, from what I understand of the project at least, it would either involve a whole list of scripts, or one script with a silly number of optional arguments. What you're describing certainly does sound like a nightmare UI. Thankfully in a large program only one "Are you sure?" dialog is necessary, and even then only sometimes. Especially since this is something OP is writing themselves, I'm sure we're at low risk of going full enterprise with it, lol.


4 people marked this as a favorite.
Aratorin wrote:

This is the first time I've ever heard of LaTeX. It looks interesting, but I have to say that I'm completely and utterly confused by this.

My understanding of the LaTeX developers' mission statement is that the entire point is that you don't care about the layout. You just right the text. Then you send it off to someone else who specializes in layouts to lay it out for you.

The entire concept of a template seems to be antithetical to the purpose of the project. At that point, why not just use a Word template and fill it out as you like? That seems quicker and easier than adding code tags to every bit of the document.

Sorry, not trying to hijack your thread, I'm just both intrigued and confused by this concept.

The about page for the LaTeX project website, imo, doesn't give good reasons for why LaTeX is preferable over other document preparation systems. The real reason to use LaTeX is because one cares about high-quality typographical layout (that's what it was originally designed for) and it has stayed as the standard for technical writing in numerous fields because it achieves this by almost completely automating the process, remaining stable across different computer systems, being free and open source, and preserving in a plain text format which will keep the original document's content for as long as computers and the file exist. There isn't anything that can compete with it in this regard.


As an aside comment, check this out -> https://homebrewery.naturalcrit.com/


Tensor wrote:

As an aside comment, check this out -> https://homebrewery.naturalcrit.com/

Yeah, I've seen that. It's not offline, and I personally have an aversion of using cloud technologies when I don't absolutely have to. And for most things, you don't absolutely have to.

Have you taken a look at the PF2e TeX thing yet? The more interest there is in it the more likely documentation (and updates) will be forthcoming.

Community / Forums / Pathfinder / Pathfinder Second Edition / General Discussion / Does anyone have a LaTeX Template (format) built for p2e? All Messageboards

Want to post a reply? Sign in.