Closed luisfcorreia closed 7 months ago
adding a bit more info, we use a cukedoctor.properties with the following content:
title.features = Funcionalidades title.summary = Sum\u00e1rio title.scenario = Cen\u00e1rio
I could get the behavior playing with the manual id within [[ ]]
, but not with the actual section titles. But this is not a malfunction, ids cannot start with a number, same as anchors https://docs.asciidoctor.org/asciidoc/latest/attributes/id/#anchor.
Btw, I am not familiar with cukedoctor, but maybe it's doing some extra manipulation? The example file is not valid (for example, 2 level 0 sections, attributes at the beginning)...maybe I am missing something?
I'm still analysing the issue. It seems that we should have empty lines "around" sections, which cukedoctor-converter isn't placing.
will close the issue if problems are elsewhere
2 "level 0 sections" are ignored, that's not the issue
Closing as problem was found ans it not related to this project
Hi,
during our new iteration on generating a PDF for documentation, we discovered if a section starts with a number, the converter/generator considers it as a section number, not a section title.
We're creating the PDF from code on Java code: Asciidoctor asciidoctor = Asciidoctor.Factory.create(); asciidoctor.requireLibrary("asciidoctor-diagram"); asciidoctor.convertFile(documentationAdocFile, asciiDoctorOptions); asciidoctor.shutdown();
The error occours in this line
=== 9003-GPOC
if we add any other caracter before, no error occours
=== º9003-GPOC
The following is an edited .adoc intermediate file: