caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Matt Gushee <matt@gushee.net>
To: caml-list@inria.fr
Subject: ocamldoc-latex error
Date: Sat, 31 May 2008 13:29:03 -0600	[thread overview]
Message-ID: <4841A6FF.6050203@gushee.net> (raw)

Hello, all--

I just compiled Camomile 0.7.1, and generated the latex documentation 
with 'make doclatex'. Much to my surprise, when I attempt to process the 
  LaTeX file with either the 'latex' or 'pdflatex' program, I get the 
following error:

   ! You can't use `macro parameter character #' in horizontal mode.
   <argument> ...n Unicode Technical Report \verb `##
                                                   `21
   l.9 ...ned in Unicode Technical Report \verb`#`21}

   ?
   ! Emergency stop.
   <argument> ...n Unicode Technical Report \verb `##
                                                   `21
   l.9 ...ned in Unicode Technical Report \verb`#`21}


I am using TeXLive 2007.2 ... given the caution with which TeX is 
developed, it's hard to believe this is a bug in the TeX distribution. 
On the other hand, it's hard to believe that OCamlDoc is generating 
incorrect LaTeX code. Maybe some misconfiguration in my TeX 
installation? Any hints appreciated.

BTW, if I edit the generated LaTeX file, replacing every instance of
\verb`#` with \#{}, it runs fine.

-- 
Matt Gushee
: Bantam - lightweight file manager : matt.gushee.net/software/bantam/ :
: RASCL's A Simple Configuration Language :     matt.gushee.net/rascl/ :


             reply	other threads:[~2008-05-31 19:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-31 19:29 Matt Gushee [this message]
2008-06-01  9:46 ` [Caml-list] " David Allsopp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4841A6FF.6050203@gushee.net \
    --to=matt@gushee.net \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).