@jutge.org/toolkit 4.4.50 → 4.4.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,6 +6,7 @@
6
6
 
7
7
  % redefine commands to simplify text output
8
8
  \renewcommand{\Sample}{}
9
+ \renewcommand{\SampleSession}{}
9
10
  \renewcommand{\Statement}{}
10
11
  \renewcommand{\Problem}[1]{\section{#1}}
11
12
  \ProblemId{{curly id}}
@@ -7,6 +7,7 @@
7
7
 
8
8
  % redefine commands to simplify text output
9
9
  \renewcommand{\Sample}{}
10
+ \renewcommand{\SampleSession}{}
10
11
  \renewcommand{\Statement}{}
11
12
  \renewcommand{\Problem}[1]{}. % hide problem title
12
13
  \ProblemId{} % hide problem id
@@ -120,7 +120,7 @@ This optional section describes the output of the problem.
120
120
 
121
121
  The `\Sample` section will contain the sample test cases. It is possible to adjust the formatting of the sample test cases: `\SampleOneCol` places input and output test cases one below the other, while `\SampleTwoCol` places them side by side.
122
122
 
123
- `RunPython` users should use `\SampleSession` to get their sample test cases properly formatted as interactive Python sessions using `sample.dt`. The `sample.dt` file should contain the sample test cases using the [doctest](https://docs.python.org/3/library/doctest.html) format and currently must be generated by hand.
123
+ It is also possible to use `\SampleSession` to get their sample test cases properly formatted as interactive Python sessions using `sample.dt`. The `sample.dt` file should contain the sample test cases using the [doctest](https://docs.python.org/3/library/doctest.html) format and currently must be generated by hand. Using `sample.dt` for compilers different than Python is not explicetely supported, but many users do so.
124
124
 
125
125
  The title inside the `\Problem{}` macro should match the title in the metadata given in the `problem.lang.yml` file, but the title in the LaTeX file can contain math or LaTeX macros whereas the title in the YAML file should be plain text.
126
126
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jutge.org/toolkit",
3
3
  "description": "Toolkit to prepare problems for Jutge.org",
4
- "version": "4.4.50",
4
+ "version": "4.4.51",
5
5
  "homepage": "https://jutge.org",
6
6
  "author": {
7
7
  "name": "Jutge.org",