Skip to content

Commit 903d1c7

Browse files
authored
document 1-para limitation of \sagestr
This addresses sagetex/issues/64
1 parent f8884e8 commit 903d1c7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

sagetex.dtx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
% \iffalse meta-comment
22
%
33
% Copyright (C) 2008--2015 by Dan Drake <dr.dan.drake (at) gmail (dot) com>
4-
% Copyright (C) 2016--2020 by SageMath Developers <sage-devel (at) googlegroups (dot) com>
4+
% Copyright (C) 2016--2023 by SageMath Developers <sage-devel (at) googlegroups (dot) com>
55
% -------------------------------------------------------
66
%
77
% See the "Copying and licenses" section in this file for the terms
@@ -524,7 +524,10 @@ suggestions.
524524
% pulls the result into your \LTX file. This is useful for calling
525525
% functions that return \LTX code; see the example file distributed
526526
% along with \ST for a demonstration of using this command to easily
527-
% produce a table.
527+
% produce a table. A limitation of this macro is that the \LTX code
528+
% it consumes on the 2nd run of \LTX must be in a single paragraph,
529+
% otherwise one will get a \LTX error
530+
% |! Paragraph ended before \@newl@bel was complete|.
528531
%
529532
% \DescribeMacro{\percent} If you are doing modular arithmetic or string
530533
% formatting and need a percent sign in a call to |\sage| (or

0 commit comments

Comments
 (0)