Skip to content

Commit

Permalink
adjust newlines in PTX output
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-Jordan authored and glennricster committed Jul 1, 2021
1 parent 8e80390 commit d692458
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion macros/PGbasicmacros.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1320,7 +1320,7 @@ sub statement {
}

sub STATEMENT {
if ($displayMode eq 'PTX') { TEXT('<statement>', "\n", statement(@_), "\n", '</statement>', "\n\n"); }
if ($displayMode eq 'PTX') { TEXT('<statement>', "\n", statement(@_), "\n", '</statement>', "\n"); }
else { TEXT(statement(@_)) };
}

Expand Down
2 changes: 1 addition & 1 deletion macros/scaffold.pl
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ sub add_container {
'<div class="accordion-inner">'
],
TeX => ["\\par{\\bf $number $title}\\addtolength{\\leftskip}{15pt}\\par "],
PTX => $name ? ["<task>\n", "<title>$name</title>"] : ["<task>\n"],
PTX => $name ? ["<task>\n", "<title>$name</title>\n"] : ["<task>\n"],
)});
push(@$PG_OUTPUT,main::MODES(
HTML => '</div></div></div>',
Expand Down

0 comments on commit d692458

Please sign in to comment.