Skip to Content.
Sympa Menu

coq-club - [Coq-Club] coqdoc inconsistent colors

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] coqdoc inconsistent colors


Chronological Thread 
  • From: Abhishek Anand <abhishek.anand.iitg AT gmail.com>
  • To: coq-club <coq-club AT inria.fr>
  • Subject: [Coq-Club] coqdoc inconsistent colors
  • Date: Mon, 20 Jan 2014 18:18:45 -0500

The coqdoc manual says:
Coq material is quoted between the delimiters [ and ]

Suppose I define an Inductive type
Inductive Void := .

When I generated the latex file using coqdoc, this occurrence of 
Void exported to latex as \coqdocinductive{Void
Hence it is colored correctly.

However, if I refer to it later in comments:

(**  [Void] denotes the false proposition *)

this occurrence gets exported to latex as \coqdocvar{Void}.
I was expecting it to be exported as \coqdocinductive{Void} to be consistent.

Am I doing something wrong?
Or it was supposed to work in this (inconsistent) way?
If so, why would one want to use this [] feature?


-- Abhishek
http://www.cs.cornell.edu/~aa755/



Archive powered by MHonArc 2.6.18.

Top of Page