MEGA65 / mega65-user-guide

MEGA65 User Guide
73 stars 49 forks source link

Switch BASIC reference to use screenoutput environment #557

Closed dansanderson closed 8 months ago

dansanderson commented 10 months ago

The BASIC reference currently uses six lines of boilerplate for code examples that has since been captured in the screenoutput listing environment. It should use screenoutput instead, so we can apply changes to this environment consistently across the doc set, and to reassure future authors that the boilerplate does not differ between the entries.

See also this pending task to rename screenoutput: https://github.com/MEGA65/mega65-user-guide/issues/556

dansanderson commented 10 months ago

I notice there are a few cases that are not a simple white text on black background area. Entries like CATALOG use tcolorbox to manually draw reversed text. I don't know if we already have better macros for that kind of thing, worth looking into.

dansanderson commented 8 months ago

I'm going to resolve this as Will Not Fix, at least for now. A complete fix needs a plan for rendering reversed text in a screencode (nee screenoutput) environment. In the meantime, it's better for the BASIC environment to use manually-coded verbatim environments consistently.