-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Latex publisher and custom template not work! #614
Comments
Hi @MarcelGep, I will look into it. Does it work with other output formats? E.g., if you use --markdown instead of --latex. Kindly, |
Hi @MarcelGep, the problem is only very bad documentation from my part. The So, in your case:
Please note that you have to supply both a I hope this helps, and I will try to update the documentation as soon as possible. Kind regards, |
Hey @neerdoc That means that i can add for each document folder a separate template folder and can using separate templates for each document?
|
Ok if i put only the "template" folder into the "reqs" folder it doesn't work!
It only works if i put the "template" folder into the document folder "sys" -> "reqs/sys/template".
|
This beta release contains a fix for this issue: https://pypi.org/project/doorstop/3.0b11/ cc @neerdoc |
Hello together,
maybe i'm stupid but the latex publisher works not with a custom template?
I run
doorstop publish all ./dist --latex --template PATH/TO/TEMPLATE
and i get an Error
doorstop.common.DoorstopError: Template flag set, but no 'template' folder was found.
I try a template folder as parameter or a .tex file or a .html file but i get only this error.
What should i set as --template parameter?
(I'm using doorstop v3.0b10)
Update:
I look at the source code and the variable "document_template" (template.py) is always "None" because the "template" attribute of a document will never set and the parameter --template is never used only for if/else query.
I don't understand!!?!?!?
The text was updated successfully, but these errors were encountered: