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
[BUG] Missing lang in includedir
value for PDF. It is different than for html
#556
Comments
I'll try to have a look on the weekend. |
Thank you. I tried ifdef but failed. |
Hi, any update on this? |
Hi, |
I think the cause of the bug is because I think the @ysb33r : Could you please confirm? Also a bug fix in this case would be to move the locale code in the base plugin. WDYT? |
It seems I fixed the problem by adding the languages to PDF plugin as well:
So this means that this is not a bug, just a miss-understanding on my part. I do think the language could/should be available in the base since all plugins will use something like this but I'm no expert on asciidoctor and this is just a week opinion. |
Have a go at it. We would like to do a 3.3.0 release at soiem stage and it would be good if this is part of it.
From experience in using this I am also leaning over to the capability of defining it once for all tasks (as and when needed). The only way for this would be to add the functionliaty to both the I have not looked at his code for a while, but it should be do-able as long as it the test refactoring is done first before actually changing the functionality. |
After giving it some thought I think the solution is ok as it is right now. |
Improved docs to avoid asciidoctor#556
Hi,
I have my CV written in asciidoc and I want to build it with gradle and this gradle plugin.
I've noticed that the includedir value when generating PDF does not contain the
lang
attributeMy build file is here https://github.com/ieugen/ieugen.ro/blob/gradle-build/cv/build.gradle
Running the command:
./gradlew clean asciidoctor asciidoctorPdf
builds the HTML files ok but PDF's are with error:The text was updated successfully, but these errors were encountered: