sagemath / sagetex

Embed code, results of computations, and plots from the Sage mathematics software suite (https://www.sagemath.org) into LaTeX documents. Source repository for https://pypi.org/project/sagetex/ and https://ctan.org/pkg/sagetex
https://ctan.org/pkg/sagetex
Other
58 stars 22 forks source link

Fix some typos #59

Closed MarcusAichmayr closed 2 years ago

MarcusAichmayr commented 2 years ago

While reading through the documentation, I found some typos.

kcrisman commented 2 years ago

Thanks! This looks fine, except I think that the "magic" was not intended to be a sentence in the first place. See the same markup for "The imagemagick option" later in the source. So I don't think the exclamation point is necessary.

In fact, the real question is why the following \paragraph little section does not show up in the pdf, as far as I can tell!

% \paragraph{Arguments with side effects}
%
% Be careful when feeding |\sage| and |\sagestr| arguments that have
% side effects, since in some situations they can get evaluated more
% than once; see section \ref{sec:sage-inside-align}.
%

If you can figure that out and fix it, that would be useful. The other \paragraph instances all seem to show up in the pdf.

MarcusAichmayr commented 2 years ago

I was not used to the \paragraph command but I understand now what it does.

I'm also wondering why this \paragraph you mentioned appears in the code like this. But I don't think this is something that needs to be fixed. I think the \paragraph command just ignores empty lines that follow it.

I have replaced \paragraph with \subsubsection. Is this okay?

kcrisman commented 2 years ago

I see. I guess at worst that material still won't appear ... Assuming this doesn't cause any compilation errors (how could it?) the next time @dimpase makes a version, this will be in it. Thanks!