SWIG turns code like

    %feature("docstring")  dolfin::PeriodicBC "This class . . . "

into

    class PeriodicBC(BoundaryCondition):
        """
        This cla . . .
        """

but we need

    class PeriodicBC(BoundaryCondition):
        r"""
        This cla . . .
        """

(note the 'r'). The 'r' is needed to stop math (Latex) markup getting
screwed up since the backslashes lead to problems. Does anyone know how
to make SWIG insert the 'r'?

Garth

_______________________________________________
Mailing list: https://launchpad.net/~fenics
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~fenics
More help   : https://help.launchpad.net/ListHelp

Reply via email to