Hi Jacques, I have tested docbookrx convertion with HELP_ACCOUNTING_agreements.xml and the files mentioned in it and generate html with ./gradlew publishDocumentation All the generated files seem correct, adoc and html.
When it will be a place (choosen by Documentation Team) to put files to work on, I will put them. In the generate file HELP_ACCOUNTING_agreements.html, there is no anchor defined and we will need it if we need contextual link, so now, I will try to find the good asciidoc syntax for that. Olivier Le 10/02/2018 à 11:21, Jacques Le Roux a écrit : > Hi Olivier, > > I read at https://github.com/asciidoctor/docbookrx that > "This converter is far from perfect at the moment and some of the conversion > is done hastily. The plan is to evolve it into a robust library for > performing this conversion in a reliable way." > > The last version of Pandoc (2.1.1) supports conversion from docbook to > asciido. I have tried it but it seems not all is supported for instance using > HELP_ACCOUNTING_agreements.xml (picked by chance) > pandoc -f docbook -t asciidoc HELP_ACCOUNTING_agreements.xml -o test.txt > in > applications\accounting\data\helpdata > > I get this: > << > Agreements. > ----------- > > An agreement is a way of recording a business arrangements or contract > that your business makes with other companies or individuals. Common > examples include Payment Terms (where you allow a customer up to 30 days > to pay you) or Prompt Payment Discounts (where you offer a reduction on > the amount owing if your customer pays you before a certain date) > > It can be used for the following: > > * Defining Payment Terms for Customers or Suppliers > * Defining Sales Commissions > * Setting up Prompt Payment Discounts > * Setting up Price Lists (NOTE TO DO: Need to investigate how this logic > overlaps with PRICE RULES in Catalog Manager) > * Defining Late Fee Penalties > * Defining preferred freight carriers or specific codes to be used > >> > > At 1st glance the text is limited in width to something like 72 chars I > guess/hope this can be changed. > And the included/linked documents are not present. > And yes, asciidoc can link > http://asciidoctor.org/docs/asciidoc-syntax-quick-reference/#links > https://github.com/asciidoctor/asciidoctor/wiki/How-to-link-to-a-relative-AsciiDoc-document > > Could you please try the same with docbookrx to see if we get something > better?