Skip to content

Support more separator characters #7

@sebastiankuhnert

Description

@sebastiankuhnert
  • New separator "+" (and "&"?): Book/chapter/verse (range) before, same or higher level behind.
  • New separator ".": Verse (range) before, verse (range) behind. (Complication: the parts before and behind might together form the name of a numbered book)
  • Modified separator ",": depending on context either chapter/verse (range) before, same level or chapter behind (maybe also book?). or: chapter before, verse behind. In bibleref-parse, the behavior of "," can be switched using the following options:
    • comma=list: Always the former behavior
    • comma=chvsep: Always the latter behavior
    • comma=likeBR: The latter behavior if \BRchvsep contains a comma, the former otherwise
    • comma=preferchvsep: The letter behavior unless the specified passage contains a colon
    • comma=preferlikeBR (default in bibleref-parse): The latter behaviour if \BRchvsep contains a comma and the passage contains no colon, and the former otherwise.
  • New separator newline: Act like semicolon or plus. Implementation might require catcode changes or clever uses of something like \expandafter\NextParserMacro\string#1.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions