coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Edsko de Vries <devriese AT cs.tcd.ie>
- To: coq-club AT pauillac.inria.fr
- Subject: Re: [Coq-Club] Bug in coqdoc
- Date: Thu, 12 Apr 2007 17:50:43 +0100
- List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>
Furher to my previous bugreport,
> I suspect it's a bug in coqdoc. When I run a UTF8 validity tester
> over the .tex file generated by coqdoc, it reports loads of malformed
> UTF8 sequences.
>
> I think they are all due to the same problem. Here's a line with such
> a malformed sequence:
>
> \coqdockw{Notation} "\coqdocid{<E2>}<80><A2>" :=
> \coqdocid{Unique}.\coqdoceol
>
> where I've replaced the UTF8 sequence with their ASCII codes for
> clarity. The sequence <E2><80><A2> corresponds to the unicode 0x2202
> (I think), but the problem is clear: the closing curly is in the
> middle of the sequence! It should read
>
> \coqdockw{Notation} "\coqdocid{<E2><80><A2>}" :=
> \coqdocid{Unique}.\coqdoceol
>
> If I manually fix those curlies (and insert the
> DeclareUnicodeCharacter statements), everything works.
Here is a small script that fixes these errors. If I run this script
over the file generated by coqdoc, everything works:
#!/bin/bash
perl -pi -e "s/([\x80-\xFF])}([\x80-\xFF]+)/\1\2}/g" $1
May be useful to someone.
Edsko
- [Coq-Club]coqdoc and UTF8, Edsko de Vries
- [Coq-Club] Re: coqdoc and UTF8,
Geoffrey Alan Washburn
- [Coq-Club] Bug in coqdoc,
Edsko de Vries
- Re: [Coq-Club] Bug in coqdoc, Edsko de Vries
- [Coq-Club] Re: Bug in coqdoc, Geoffrey Alan Washburn
- [Coq-Club] Bug in coqdoc,
Edsko de Vries
- [Coq-Club] Re: coqdoc and UTF8,
Geoffrey Alan Washburn
Archive powered by MhonArc 2.6.16.