-
-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Small batch of documentation remarks #1351
Comments
This is one reason I'd like to see your crossrefs package brought up to 1st-party/core status. Any self respecting book class needs to be able to cross reference things without updating references manually. |
Slightly different topic here, though. Package documentations should not refer to manual chapters, as we might want to include them in other docs. They should be self-contained, but several package docs refer to the manual. |
Hmm, good point on aiming for the package docs to be self contained in case we adopt them to a context other than the manual. |
There might even be a time where we'd want to split the manual and the packages, or reorganize them, etc. (I was tempted to do so at one point, rather than a not-so-alphabetical list)... So yeah, packages should very probably be independent from assuming the manual says something about them. |
N.B. Added a remark on the lorem package to the list in the issue description. |
Description updated + I am ticking checkboxes as I address items in #1794 |
Item from sile-typesetter#1351 (low-hanging fruit)
Item from sile-typesetter#1351 (low-hanging fruit)
Another item from sile-typesetter#1351: Remove undocumented chormode.lineheight setting. Its 4mm default where dubious anyway... But it turns how there was other problems: - Hook chordmode:chordfont was not applied where expected - A proper line height computation is likely what one would expect so as to avoid overlaps with previous content...
Item from sile-typesetter#1351 It can be both correct and less technical for casual users!
A bunch of things I noted at various times and didn't report yet. The first items are mostly documentation-related, the final ones are more on the boundary of bugs/refactors.
Notes "in passing" on a few package documentation
chordmode package
chormode.lineheight
is undocumented.color-fonts package
converters package
converters:check
is not documented. (At quick glance, it does perform a file conversion, but all the user will get is (maybe) warnings: not sure why there ought to be such a command exposed to SILE-language level.)inputfilter package
class:loadPackage()
. Confusing: it doesn't seem necessary (in many other cases of packages using it, the package is just loaded withSILE.require
) i.e. doesn't seem this package HAS to be class-loaded (as opposed, say, to footonotes etc. where the class SHALL use some of the provided methods). -- Removing the checkbox here, this was written at the time the new class/package API wasn't fully the same as of now (May 2023), and it does seem decent enoughfeatures package
footnotes package
lorem package
twoside package
"It has no user-serviceable parts." = Wrong currently, what aboutThis was fixed earlier when new commands were added.\open-double-page
? But see further below thoughxmltricks
Other important notes
Wrong details about outputInsertions --> Fixed during Refactor typesetter, removed last usage of Lua stdlib #1392
c10-classdesign.sil
) mentions outputInsertions() having to be called at the end of each page.Regarding
\open-double-page
in the twoside package N.B. Removing the checkbox here, other commands where added later and the design decision is still bad IMHO but anyway, it's not blocking...Other minor things
\font
). Erm, but:\strong
(via the plain class, IIRC). That command is incidentally discussed in Does SILE (intend to) support nesting\em
? #1048The text was updated successfully, but these errors were encountered: