aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--etc/coq/coqdoc-egs.v26
1 files changed, 26 insertions, 0 deletions
diff --git a/etc/coq/coqdoc-egs.v b/etc/coq/coqdoc-egs.v
new file mode 100644
index 00000000..d79d44e5
--- /dev/null
+++ b/etc/coq/coqdoc-egs.v
@@ -0,0 +1,26 @@
+(* Some tests/examples of coqdoc regions in Coq files,
+ used with MMM configuration (ProofGeneral -> Options -> Multiple Modes. *)
+
+
+(** This is a coqdoc plain text region.
+
+ After editing/changing regions in mmm mode, use C-x % C-b to reparse
+*)
+
+
+(** %This is a special case of a \LaTeX{} region recognised by MMM.
+\begin{quote}
+Emacs will be in \texttt{LaTeX} mode when editing this region.
+\end{quote}
+ % *)
+
+
+(** #Similarly, this is an HTML region, edited in HTML mode # *)
+
+
+(* Finally, here is some *)
+<<
+verbatim text
+>>
+(* in text mode *)
+