Skip to content

Commit

Permalink
Tried to implement that indents are applyable again nrnrnr#24 followi…
Browse files Browse the repository at this point in the history
…ng the idee from arcfide and test it.
  • Loading branch information
Mechtilde committed Jan 29, 2023
1 parent 6299682 commit 4c9b4e2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/tex/noweb.sty
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,15 @@ I'll try to avoid such incompatible changes in the future.}%
\@@par
\def\par{\leavevmode\null \@@par \penalty\nwcodepenalty}%
\obeylines
% \@noligs \ifx\verbatim@nolig@list\undefined\else
% \let\do=\nw@makeother \verbatim@nolig@list \do@noligs\`
% \fi
% \setupcode \frenchspacing \@vobeyspaces
\nowebsize \setupcode
\@noligs \ifx\verbatim@nolig@list\undefined\else
\let\do=\nw@makeother \verbatim@nolig@list \do@noligs\`
\fi
\setupcode \frenchspacing \@vobeyspaces
\nowebsize \setupcode
\let\maybehbox\mbox }
\newskip\nwcodetopsep \nwcodetopsep = 3pt plus 1.2pt minus 1pt
\let\nowebsize=\normalsize
Expand Down
3 changes: 2 additions & 1 deletion src/tex/support.nw
Original file line number Diff line number Diff line change
Expand Up @@ -356,8 +356,9 @@ be broken anyhow (even within chunk names because of the
<<[[\trivlist]] clich\'e (\`a la {\Tt verbatim})>>
\linewidth\codehsize
<<[[\obeylines]] setup>>
<<zap ligatures, fix spaces>>
% <<zap ligatures, fix spaces>>
\nowebsize \setupcode
<<zap ligatures, fix spaces>>
\let\maybehbox\mbox }
@ \iffalse
<<man page: [[\noweboptions]]>>=
Expand Down

0 comments on commit 4c9b4e2

Please sign in to comment.