texbrew icon indicating copy to clipboard operation
texbrew copied to clipboard

Conversion to Documentclass or Package?

Open bashterm opened this issue 8 years ago • 4 comments

How hard would it be to convert texbrew into a documentclass or package? I'd be happy to help with the little knowledge of latex that I have.

Am I missing some design philosophy of the way the code is designed?

Thanks,

bashterm

bashterm avatar Apr 07 '17 14:04 bashterm

I'm sure it's possible.

What would be a good use case for doing it though? The code base assumes that memoir is being used, especially for setting up the layout, the sectioning, the table of contents…

Artefact2 avatar Apr 07 '17 17:04 Artefact2

It would modularize it. This way people can just throw \documentclass[10pt,letterpaper,twoside]{dndbook} or whatever you'd want to call it, and then can use the built in commands without needing to make a new copy of the code each time they do so.

As for the memoir class that can actually be extended upon by using the \LoadClass[options]{memoir} flag in the .cls file itself.

I've done some research and if it's alright with you I'd like to tackle it in my free time. I haven't done a lot of work with making documentclasses before, so this is a fun challenge for me.

bashterm avatar Apr 07 '17 17:04 bashterm

Sure! If it works and is more easily customisable, I'll gladly merge it. I would name it dndmemoir though, as to avoid confusion with the book document class.

Artefact2 avatar Apr 07 '17 17:04 Artefact2

Ok thanks.

bashterm avatar Apr 07 '17 17:04 bashterm