Skip to content

Irregular markup #15

@StevenClontz

Description

@StevenClontz

As I work through writing custom XSL to create Jupyter notebooks from Active Calculus activities, I'm finding irregular markup. It's probably valid PreTeXt in general (and I'm writing my conversion XSL to handle these non-conventional cases), but since these pieces of content are marked up differently than others, I thought it'd be worth logging them as an issue in case there's interest in tweaking things to fit the convention.

  • In Preview Activity 1.3.1, the content is not given as part of a <statement/>.
  • In Activity 1.6.2, item (c) is not wrapped in a <p/>.
  • In Activity 3.2.2, an <ol/> is used as a generic list. Usually the text uses <ol/> within activities to enumerate tasks.
  • In Preview Activity 3.4.1, the second table has an empty middle row.
  • Activities 4.4.4 and 4.4.5 seem to have multiple parts, but aren't organized with <ol/>.
  • Tables are using <caption/>s, but this is deprecated in favor of having <title/>s.

On the note of Activity 3.2.2: it'd appear that the "PreTeXt way" to create multipart activities would be to subdivide them into <task/>s, rather than using an <ol/> . https://pretextbook.org/doc/guide/html/basics-ch-project.html I didn't spend much time digging into the official PreTeXt-to-Jupyter experiment, but I'd imagine it'd expect tasks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions