Skip to content

un-styling of nested text #1242

Description

@davidg-sil

If the default stylesheet marks a style as, say, italic but the user does not want to specify if the the text is italic or not (e.g. they are applying a colour or before/after marks), there is no way to tell the style sheet to negate the default without specifying /never/ italic.
E.g:

\Marker add
\Italic -

Applies the non-italic style to this marker. This is different to making it as though \Italic had not been specified by an earlier style sheet.

E.g. \qt And the Lord God said \add to me\add* <<Sit at my right hand......\qt
The \qt (by default) applies italic and the nested \add removes it, leaving to me regular.

Other than knowing enough about the internals of how styles function, of course, and adding something like this into ptxprint-mods.tex:
\expandafter\let\csname add:italic\endcsname\relax

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    info neededThis issue is blocked until the requested information is supplied.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions