From: Gerrit H. <ge...@nl...> - 2004-01-19 20:46:35
|
Hi, I'm trying to include a double arrow (chemical reaction). It works fine with HTML, but not with Latex: 21:41:55:24588:gerrit@topjaklont:~/studie/procestechnologie$ ~/cvs/docutils/tools/rst2latex.py --traceback opdracht.rst > opdracht.latex Traceback (most recent call last): File "/home/gerrit/cvs/docutils/tools/rst2latex.py", line 25, in ? publish_cmdline(writer_name='latex', description=description) File "/usr/local/lib/python2.3/site-packages/docutils/core.py", line 267, in publish_cmdline config_section=config_section, enable_exit=enable_exit) File "/usr/local/lib/python2.3/site-packages/docutils/core.py", line 182, in publish output = self.writer.write(document, self.destination) File "/usr/local/lib/python2.3/site-packages/docutils/writers/__init__.py", line 53, in write output = self.destination.write(self.output) File "/usr/local/lib/python2.3/site-packages/docutils/io.py", line 233, in write output = self.encode(data) File "/usr/local/lib/python2.3/site-packages/docutils/io.py", line 127, in encode return data.encode(self.encoding, self.error_handler) UnicodeEncodeError: 'latin-1' codec can't encode character u'\u21d4' in position 6185: ordinal not in range(256) I use |hArr| with .. include:: isoamsa.txt. Is there any way to solve this? yours, Gerrit. -- 254. If he take the seed-corn for himself, and do not use the yoke of oxen, he shall compensate him for the amount of the seed-corn. -- 1780 BC, Hammurabi, Code of Law -- Asperger Syndroom - een persoonlijke benadering: http://people.nl.linux.org/~gerrit/ Kom in verzet tegen dit kabinet: http://www.sp.nl/ |