|
From:
<ber...@gl...> - 2007-07-10 12:08:53
|
I had problems with using::
documentclass: scrartcl
and::
use_verbatim_when_possible: on
Here are the Bugfixes
hoel@pc047299:docutils LANG=3DC svn diff =
docutils/writers/latex2e/__init__.py
Index: docutils/writers/latex2e/__init__.py
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- docutils/writers/latex2e/__init__.py (revision 5331)
+++ docutils/writers/latex2e/__init__.py (working copy)
@@ -362,9 +362,9 @@
Level is 1,2,3..., as level 0 is the title."""
sections =3D [ 'section', 'subsection', 'subsubsection',
'paragraph', 'subparagraph' ]
- if self.document_class in ('book', 'report', 'scrartcl', =
'scrbook'):
+ if self.document_class in ('book', 'report', 'scrreprt', =
'scrbook'):
sections.insert(0, 'chapter')
if self._with_part:
sections.insert(0, 'part')
@@ -1744,7 +1744,7 @@
def depart_literal_block(self, node):
if self.verbatim:
- self.body.append('\n\\end{verbatim}')
+ self.body.append('\n\\end{verbatim}\n')
self.verbatim =3D 0
else:
self.body.append('\n}')
Kind regards
Berthold H=F6llmann
--=20
Germanischer Lloyd AG
CAE Development
Vorsetzen 35
20459 Hamburg
Phone: +49(0)40 36149-7374
Fax: +49(0)40 36149-7320
e-mail: ber...@gl...
Internet: http://www.gl-group.com
This e-mail and any attachment thereto may contain confidential =
information and/or information protected by intellectual property rights =
for the exclusive attention of the intended addressees named above. Any =
access of third parties to this e-mail is unauthorised. Any use of this =
e-mail by unintended recipients such as total or partial copying, =
distribution, disclosure etc. is prohibited and may be unlawful. When =
addressed to our clients the content of this e-mail is subject to the =
General Terms and Conditions of GL's Group of Companies applicable at =
the date of this e-mail.=20
If you have received this e-mail in error, please notify the sender =
either by telephone or by e-mail and delete the material from any =
computer.
GL's Group of Companies does not warrant and/or guarantee that this =
message at the moment of receipt is authentic, correct and its =
communication free of errors, interruption etc.=20
Germanischer Lloyd AG, 31393 AG HH, Hamburg, Vorstand: Dr. Hermann J. =
Klein, Rainer Sch=F6ndube, Vorsitzender des Aufsichtsrats: Dr. Wolfgang =
Peiner
|