diff options
| author | coqbot-app[bot] | 2021-03-10 13:53:55 +0000 |
|---|---|---|
| committer | GitHub | 2021-03-10 13:53:55 +0000 |
| commit | 317db327c21ac78bd921020118b19afaf1c02350 (patch) | |
| tree | 27d7a9b94f39d92a88796bd532c59317af942dc6 /doc | |
| parent | e16a73156d92a6510e34e54a829f43f294820646 (diff) | |
| parent | b6fb8c0f87652463c3269f97c8d0ad4f33e89617 (diff) | |
Merge PR #13840: [notation] option to fine tune printing of literals
Reviewed-by: SkySkimmer
Ack-by: jfehrle
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/changelog/03-notations/13840-print-prim.rst | 11 | ||||
| -rw-r--r-- | doc/sphinx/user-extensions/syntax-extensions.rst | 6 |
2 files changed, 17 insertions, 0 deletions
diff --git a/doc/changelog/03-notations/13840-print-prim.rst b/doc/changelog/03-notations/13840-print-prim.rst new file mode 100644 index 0000000000..d6e3184662 --- /dev/null +++ b/doc/changelog/03-notations/13840-print-prim.rst @@ -0,0 +1,11 @@ +- **Changed:** + Flag :flag:`Printing Notations` no longer controls + whether strings and numbers are printed raw + (`#13840 <https://github.com/coq/coq/pull/13840>`_, + by Enrico Tassi). + +- **Added:** + Flag :flag:`Printing Raw Literals` to control whether + strings and numbers are printed raw. + (`#13840 <https://github.com/coq/coq/pull/13840>`_, + by Enrico Tassi). diff --git a/doc/sphinx/user-extensions/syntax-extensions.rst b/doc/sphinx/user-extensions/syntax-extensions.rst index 557ef10555..453e878a5d 100644 --- a/doc/sphinx/user-extensions/syntax-extensions.rst +++ b/doc/sphinx/user-extensions/syntax-extensions.rst @@ -442,6 +442,12 @@ Displaying information about notations Controls whether to use notations for printing terms wherever possible. Default is on. +.. flag:: Printing Raw Literals + + Controls whether to use string and number notations for printing terms + wherever possible (see :ref:`string-notations`). + Default is off. + .. flag:: Printing Parentheses If on, parentheses are printed even if implied by associativity and precedence |
