Skip to content

Commit 1c0144f

Browse files
committed
Add note about more and pause
1 parent 7e1de36 commit 1c0144f

File tree

3 files changed

+22
-1
lines changed

3 files changed

+22
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ is needlessly clunky if you are working primarily with Stata).
4848
- rich text:
4949
1. lists
5050
2. **Headings**
51-
3. <img align="left" width="54" height="18.6" src="index_files/figure-commonmark/fc5682dc-1-image-2.png">
51+
3. <img align="left" width="54" height="18.6" src="index_files/figure-commonmark/8f5d101f-1-image-2.png">
5252
4. [links](https://hugetim.github.io/nbstata/)
5353
5. math: $y_{it}=\beta_0+\varepsilon_{it}$
5454

@@ -204,6 +204,13 @@ can also avoid such potential issues by setting the config
204204
`echo = False`, which will at least not echo single-line Stata commands
205205
though it will echo multiple commands.
206206

207+
### `more` and `pause`
208+
209+
Stata’s [more](https://www.stata.com/help.cgi?more) and
210+
[pause](https://www.stata.com/help.cgi?pause) commands do not work in a
211+
notebook, so these features should remain in their default “off” state
212+
(i.e., `set more off` and `pause off`).
213+
207214
## Contributing
208215

209216
`nbstata` is being developed using
2.06 KB
Loading

nbs/index.ipynb

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,20 @@
259259
"The default `echo = None` configuration does some complicated things under the hood to emulate functionality that `pystata` does not directly support: running multi-line Stata code without echoing the commands. While extensive automatic tests are in place to help ensure its reliability, unanticipated issues may arise. If, while using this mode, a particular code cell is not working as expected, try placing the `%noecho` magic at the top of it to see if that resolves the issue. (If so, please report that [here](https://github.com/hugetim/nbstata/issues/new?labels=bug).) You can also avoid such potential issues by setting the config `echo = False`, which will at least not echo single-line Stata commands though it will echo multiple commands."
260260
]
261261
},
262+
{
263+
"cell_type": "markdown",
264+
"metadata": {},
265+
"source": [
266+
"### `more` and `pause`"
267+
]
268+
},
269+
{
270+
"cell_type": "markdown",
271+
"metadata": {},
272+
"source": [
273+
"Stata's [more](https://www.stata.com/help.cgi?more) and [pause](https://www.stata.com/help.cgi?pause) commands do not work in a notebook, so these features should remain in their default \"off\" state (i.e., `set more off` and `pause off`)."
274+
]
275+
},
262276
{
263277
"cell_type": "markdown",
264278
"metadata": {},

0 commit comments

Comments
 (0)