Skip to content

Simplify cpp.tex #10

@LeviSchuck

Description

@LeviSchuck

The TeX file seems to have a lot of contents that are very specific and relatively constant.

For example,

  • Kickstarter Contributors
  • Hyphenation training data
  • Some of the settings

Ideally, at least in my opinion, the main TeX file should be like

\documentclass[...]{...}
\title{..}
% Other base stuff that goes on the front page
% Include settings tex here
% Include new commands tex here

% Finally start the content!
\begin{document}

% Include some content preludes here

\include{chapter1.tex}
...
\include{chapter20.tex}
% include settings for back matter
\include{backmatter.tex}

To me, this makes it easier to comprehend and to edit. This is not to say to force things like \LevelA to be separate from the chapter tex's.
This way, it also means that records on specific parts are easier to track over time.

Let the preprocessor do the work for us here, we don't write all of our classes in main.cpp for a reason 😄

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions