Skip to content

Examples are outdated #446

@madum31

Description

@madum31

Hi Brecht and support team,

First, I really like this way of generating PDF documents.
With rinohtype 0.5.5, I'm trying to run the test.py file present in examples/restructuredtext, but the python output gives :

Traceback (most recent call last):
File "C:\Temp\rinohtype-master\examples\restructuredtext\test.py", line 3, in < module >
from rinoh.structure import AdmonitionTitles
ImportError: cannot import name 'AdmonitionTitles' from 'rinoh.structure'

I suppose, this should run with an old rinohtype version. I'm I right ?
I tried to update the test.py file with AdmonitionStyle rather than AdmonitionTitles but get new issues running it.
Which rinohtype package version do I use to run the examples/restructuredtext/test.py ?

Thanks for your help,
best regards,
Martial

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions