Skip to content

Discrepancies in Token Names and Values #65

@tajmone

Description

@tajmone
  • Fix document source (see below).
  • Document the changes in CHANGES.md.
  • Document in ChangeLog.
  • Get @tessman approval for these changes.
    • Updated commented notes in source files.

In his annotated PDF, @roodyyogurt pointed some discrepancies between the tokens names or values found §15.1. Tokens and those found in Appendix H: Code Patterns:

§15.1 App. H htokens.h
$47 textdata# $47 text# $47 textdata#
$49 label# $49 debugdata# $49 debugdata#
$75 colour $74 colour $74 colour
$76 picture $75 picture $75 picture
$76 picture $76 label# $76 label#
$7A addcontext (missing) $7A addcontext
$7B video (missing) $7B video

The correct list of Hugo token names (and associated values) can be found in the htokens.h header from the Hugo sources repository (as indicated in the third column of the above table).

  • Resolve all discrepancies in the tokens names and values by referring to the definition in htokens.h:
  • Check if the amended tokens names/values also occur in other places of the book:
    • None found by searching for the tokens by names.
    • Check hex values in binary examples:
      • couldn't find any.

NOTE — Addition of the missing tokens (addcontext and video) to App. H has been moved to a separate Issue (#73) because it involves adding new contents, and might therefore require a separate discussion.

Reference Links

Metadata

Metadata

Labels

📚 CHANGELOGDocumenting changes between releases📋 Roody NotesFrom @roodyyogurt annotated PDF of Hugo Book🕑 pending approvalIssue requires approval by Ken Tessman🕑 pending decisionIssue requires decisions by maintainers💀 bugSomething isn't working💀 text problemsText problems, typos or obsolete contents.⚠️ importantPriority: High

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions