Skip to content

Unexpected behaviour when ttline>0 #121

@robertbachmann

Description

@robertbachmann

Given the following input:

\ttline=0

Listing 1: 
\begtt\hisyntax{C}
int main() {
  return 0;
}
\endtt

% \ttline=0

Listing 2: 
\begtt\hisyntax{C}
int foo() {
  return 0;
}
\endtt

\bye

I get the following result:
image

Is this intended?
Do I need to (re)set \ttline=0 for each listing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions