1. Dan Drake
  2. SageTeX


Dan Drake  committed b428595

add % to end of lines in ST@sage;
fixes spacing problem reported by Jason Grout

  • Participants
  • Parent commits da8ccb1
  • Branches default

Comments (0)

Files changed (1)

File py-and-sty.dtx

View file
  • Ignore whitespace
 % a |NoHyper| environment.
 %    \begin{macrocode}
-  \begin{NoHyper}\ref{@sageinline\theST@inline}\end{NoHyper}
+  \begin{NoHyper}\ref{@sageinline\theST@inline}\end{NoHyper}%
 %    \end{macrocode}
 % Now check if the label has already been defined. (The internal
 % implementation of labels in \LTX involves defining a macro called
 % ``|r@@labelname|''.) If it hasn't, we set a flag so that we can tell
 % the user to run Sage on the |.sage| file at the end of the run.
 %    \begin{macrocode}
-  \@ifundefined{r@@sageinline\theST@inline}{\gdef\ST@rerun{x}}{}
+  \@ifundefined{r@@sageinline\theST@inline}{\gdef\ST@rerun{x}}{}%
 %    \end{macrocode}
 % In any case, the last thing to do is step the counter.