You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Commit 7fa4dff brought to my attention that we're not that clear on what kinds of things should go into which ones, and which of the above should include which other of the above.
For example, should otsreport.cls just include ots.sty, so that (say) a document we're writing in the otsreport documentclass that happens to use the acronym environment doesn't have to explicitly have \usepackage{ots} in its header?
I think maybe the following is the state we want to get to:
We have .cls files that just define what is necessary to distinctively define their respective classes;
Each .cls file does \usepackage{ots} (this loads ots.sty).
All the non-class-specific stuff we use, whether OTS-defined (e.g., \fullref) or not (e.g., the acronym env), goes into ots.sty.
This implies moving any non-class-specific stuff that currently happens to be defined in .cls files into ots.sty.
The text was updated successfully, but these errors were encountered:
kfogel
changed the title
Sort out .cls vs .sty (class vs style files) and what we use them for.
Sort out LaTeX .cls vs .sty (class vs style files) and what we use them for.
Apr 24, 2019
As of right now, we have these files:
Commit 7fa4dff brought to my attention that we're not that clear on what kinds of things should go into which ones, and which of the above should include which other of the above.
For example, should
otsreport.cls
just includeots.sty
, so that (say) a document we're writing in theotsreport
documentclass that happens to use theacronym
environment doesn't have to explicitly have\usepackage{ots}
in its header?I think maybe the following is the state we want to get to:
\usepackage{ots}
(this loadsots.sty
).\fullref
) or not (e.g., theacronym
env), goes intoots.sty
.This implies moving any non-class-specific stuff that currently happens to be defined in .cls files into
ots.sty
.See What are .cls and .sty files? How are they different? and Classes and packages – what's the difference? for background on classes versus packages (style files).
The text was updated successfully, but these errors were encountered: