-
Notifications
You must be signed in to change notification settings - Fork 4
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
how to show command line parameters for coradoc program #128
Comments
an update after the release of coradoc, mentioned here: i edited the Gemfile which now has:
then after doing a
from the command line (based on the documentation readme):
even tried this (from notes with another conversion a few months back):
LibreOffice SDI was installed prior to running these test. (thinking that was possibly needed) any advice on understanding the command line parameters, or how to run this command is most appreciated. thank you. |
Thanks @ReesePlews. Seems like there's a conflict of a version of |
@ReesePlews Can you move to the git version and retry? We need to check which gem's dependencies will need updating. |
thanks @hmdne here is some information Gemfile is now set back to:
check of coradoc version:
then now output from two runs, however i still dont know if i am using the correct parameters. which one is the correct one? please tell me.
and the other run
thank you for your help. |
@ReesePlews Thank you. You can now add another line to your Gemfile and hopefully it will work now (ensure to also run gem "fontist", git: "https://github.com/hmdne/fontist", ref: "patch-1" |
thank you @hmdne added to the Gemfile:
output from
coradoc confirmation:
fontist confirmation:
check of the conversion method 1:
check of the conversion method 2:
please let me know which method to use, 1 or 2. thank you |
@ReesePlews Now your |
thank you @hmdne the both methods worked without any messages; the images folder was created with renumbered images; the output .adoc file was created;
looks to be working well. thank you for your help. please advise if my understanding is correct on the next step: i am not sure how much is converted, but should i now manually edit the document to break it into clauses, or is there a command line parameter that will work with coradoc to create separate clauses based on the document clauses, like 1 Scope, 2 Normative refs, 3 Terminology, etc? |
@ReesePlews You probably mean |
thank you very much, i will try with i see the command line parameter usage is now displayed, for both commands. thank you for fixing that too. the HTML was generated from an "official SDO published document -- meaning the styles in the MS-Word docx were manually editing and checked and approved for publication by that SDO"; knowing this, thank you. |
@ReesePlews Unfortunately I have no idea. You can always pass a |
i understand. thank you @hmdne ; i will try with the docx too. i did try this:
but the only the index.adoc was created. i will keep checking. thank you for all the help. i will write back with some status later. thanks! |
@ReesePlews As I noted before, you must use the |
adding these lines to the gem file enabled the program to run and command line information (via --help) be displayed.
--split-sections did not seem to work, so another issue will be opened. |
UPDATE: after writing this issue, there was an update to coradoc. please see my tests using the updated version in the next comment;
hello, i am trying to run the coradoc to translate html output (created by libreoffice from a well-structured/styled docx file) to adoc
after adding this to my Gemfile
Then run
bundle install
andbundle exec coradoc help convert
i receive this error:
other permutations show a similar error
i was trying to run from another repo, then i cloned the coradoc repo and tried again. both were not successful.
how can i show the command line parameters to run this program or is there some additional documentation elsewhere?
thank you.
The text was updated successfully, but these errors were encountered: