From e525e2d3246c2540018f38e939ac784277ba1147 Mon Sep 17 00:00:00 2001 From: Pierre-Marie Pédrot Date: Wed, 15 Apr 2015 11:01:19 +0200 Subject: Documenting the recommandation of toplevel-only commands. --- doc/refman/RefMan-oth.tex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/refman/RefMan-oth.tex b/doc/refman/RefMan-oth.tex index 4952ed7785..7d7a4c9a0c 100644 --- a/doc/refman/RefMan-oth.tex +++ b/doc/refman/RefMan-oth.tex @@ -680,7 +680,8 @@ should use the command \texttt{Locate File} (see Section~\ref{Locate File}) Loadpaths are preferably managed using {\Coq} command line options (see Section~\ref{loadpath}) but there remain vernacular commands to -manage them. +manage them for practical puposes. Such commands are only meant to be issued in +the toplevel, and using them in source files is discouraged. \subsection[\tt Pwd.]{\tt Pwd.\comindex{Pwd}\label{Pwd}} This command displays the current working directory. -- cgit v1.2.3 From ec462f70ae8062696d4aec8b89c1bb5da3f6a19a Mon Sep 17 00:00:00 2001 From: Hugo Herbelin Date: Wed, 1 Apr 2015 21:32:38 +0200 Subject: Fixing a few typos + some uniformization of writing in doc. --- doc/refman/RefMan-oth.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/refman/RefMan-oth.tex b/doc/refman/RefMan-oth.tex index 7d7a4c9a0c..0a28a93a41 100644 --- a/doc/refman/RefMan-oth.tex +++ b/doc/refman/RefMan-oth.tex @@ -680,7 +680,7 @@ should use the command \texttt{Locate File} (see Section~\ref{Locate File}) Loadpaths are preferably managed using {\Coq} command line options (see Section~\ref{loadpath}) but there remain vernacular commands to -manage them for practical puposes. Such commands are only meant to be issued in +manage them for practical purposes. Such commands are only meant to be issued in the toplevel, and using them in source files is discouraged. \subsection[\tt Pwd.]{\tt Pwd.\comindex{Pwd}\label{Pwd}} -- cgit v1.2.3 From 2a295131a1a72dd56e6e7abdeaeca07b1b69ab6d Mon Sep 17 00:00:00 2001 From: Clément Pit--Claudel Date: Thu, 23 Apr 2015 01:14:49 -0400 Subject: Add a [Redirect] vernacular command The command [Redirect "filename" (...)] redirects all the output of [(...)] to file "filename.out". This is useful for storing the results of an [Eval compute], for redirecting the results of a large search, for automatically generating traces of interesting developments, and so on. --- doc/refman/RefMan-oth.tex | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc') diff --git a/doc/refman/RefMan-oth.tex b/doc/refman/RefMan-oth.tex index 0a28a93a41..aa0291a23f 100644 --- a/doc/refman/RefMan-oth.tex +++ b/doc/refman/RefMan-oth.tex @@ -877,6 +877,9 @@ go();; This command executes the vernacular command \textrm{\textsl{command}} and display the time needed to execute it. +\subsection[\tt Time \textrm{\textsl{command}}.]{\tt Redirect "\textrm{\textsl{file}}" \textrm{\textsl{command}}.\comindex{Redirect} +\label{redirect}} +This command executes the vernacular command \textrm{\textsl{command}}, redirecting its output to ``\textrm{\textsl{file}}.out''. \subsection[\tt Timeout \textrm{\textsl{int}} \textrm{\textsl{command}}.]{\tt Timeout \textrm{\textsl{int}} \textrm{\textsl{command}}.\comindex{Timeout} \label{timeout}} -- cgit v1.2.3 From 5d504553a068e97ec4ac01b0ddbc251d7dfc1ea3 Mon Sep 17 00:00:00 2001 From: Enrico Tassi Date: Mon, 4 May 2015 15:07:33 +0200 Subject: Fix documentation of Redirect --- doc/refman/RefMan-oth.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/refman/RefMan-oth.tex b/doc/refman/RefMan-oth.tex index aa0291a23f..739a89af4c 100644 --- a/doc/refman/RefMan-oth.tex +++ b/doc/refman/RefMan-oth.tex @@ -877,7 +877,7 @@ go();; This command executes the vernacular command \textrm{\textsl{command}} and display the time needed to execute it. -\subsection[\tt Time \textrm{\textsl{command}}.]{\tt Redirect "\textrm{\textsl{file}}" \textrm{\textsl{command}}.\comindex{Redirect} +\subsection[\tt Redirect "\textrm{\textsl{file}}" \textrm{\textsl{command}}.]{\tt Redirect "\textrm{\textsl{file}}" \textrm{\textsl{command}}.\comindex{Redirect} \label{redirect}} This command executes the vernacular command \textrm{\textsl{command}}, redirecting its output to ``\textrm{\textsl{file}}.out''. -- cgit v1.2.3