-
-
Notifications
You must be signed in to change notification settings - Fork 230
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
convertToDocx and convertToEpub not working #220
Comments
thanx for reporting this issue. I will check this out later today... |
hm. I think the problem in this case is the it containts the
The goal of this map is to define
Not all files in a project are suitable for all output formats. So, for the
should do the trick. @w-wong can you please verify this? I think we have to create a better user experience here... I could imagine the following changes:
what do you think? |
Thanks rdmueller. It works. Regarding user experience, I think the format missing in Config.groovy should be warned if a specific task is called, otherwise, the task should try run with its best effort by ignoring the config formats. After all, task should run the way as the name means to be. It is just my opinion. I am happy as long as it works and you did a great job indeed. |
thanx for the feedback! |
Except from that you mentioned that the order is relevant, i am wondering if pandoc is part of the current existing container.
Ends up for me in File not found exceptions. A look into the container also looks like it is missing. |
@dr460neye yes, it is currently not part of the container. |
Expected behavior and actual behavior.
docToolchain/bin/doctoolchain . convertToDocx
The above command works until after the commit 552a123 on scripts/pandoc.gradle
I made a small change onto the file under task convertToDocx as follow:
-def sourceFilesDocx = sourceFiles.findAll { 'docx' in it.formats }
+def sourceFilesDocx = sourceFiles.findAll { 'docbook' in it.formats }
It works again. Please confirm and fix the master file if it is correct.
However, there is another similar issue on running convertToEpub, which is related to the same file but it isn't able to fix by changing docx to docbook under convertToEpub task
-def sourceFilesEpub = sourceFiles.findAll { 'epub' in it.formats }
+def sourceFilesEpub = sourceFiles.findAll { 'dockbook' in it.formats }
Always get the below error
Execution failed for task ':convertToEpub'.
Steps to reproduce the problem.
checkout out docToolchain project
run ./gradlew -b init.gradle initArc42EN -PnewDocDir=/tmp/Arc42EN
cd /tmp/Arc42EN
${docToolchain_home}/bin/doctoolchain . convertToDocx
Specifications like the version of the project, operating system, or hardware.
The latest version
I am on fedora 28 but it should be the same problem on other OS platforms
The text was updated successfully, but these errors were encountered: