You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation lays out how to create a new template by subclassing an existing template like article. http://www.mos6581.org/rinohtype/master/templates.html
However, it doesnt say how to access the new template you created. In the source directory I have the conf.py file, which specifies the project-template.rtt file I created and the newtemplate.py file I created to subclass the article template. When I try to specify the new template I created in the project-template.rtt file it gives me an error saying it cant find my template. Is there a specific place I have to put the template? Is there a script I have to run to get rhinotype to see my template?
The text was updated successfully, but these errors were encountered:
You have to register your custom template using the register_template() function. 'my_template' in the example below is the name by which you can then reference it in your .rtt file.
The documentation lays out how to create a new template by subclassing an existing template like article. http://www.mos6581.org/rinohtype/master/templates.html
However, it doesnt say how to access the new template you created. In the source directory I have the conf.py file, which specifies the project-template.rtt file I created and the newtemplate.py file I created to subclass the article template. When I try to specify the new template I created in the project-template.rtt file it gives me an error saying it cant find my template. Is there a specific place I have to put the template? Is there a script I have to run to get rhinotype to see my template?
The text was updated successfully, but these errors were encountered: