When using Asciidoctor PDF, you can remove the indent using the following
theme key:

https://github.com/asciidoctor/asciidoctor-pdf/blob/master/docs/theming-guide.adoc#key-prefix-outline-list

outline-list-indent: 0

Best Regards,

-Dan

On Tue, Nov 24, 2020 at 8:57 AM Alexander Schwartz <
[email protected]> wrote:

> Hi MS,
>
> sorry - I'm not aware of a solution using pure AsciiDoc syntax for PDF
> output of asciidoctor-pdf.
>
> You could have a look at asciidoctor-web-pdf that uses CSS to style the
> PDF. It is still alpha https://github.com/Mogztter/asciidoctor-web-pdf
>
> Regards,
> Alexander
> On 24.11.2020 15:14, MS wrote:
>
> Hi, output is PDF. Only "pure" AsciiDoc syntax is of interest, to ensure
> easy and hassle free updates in the future. I've tried a few different
> things, but without the outcome I was hoping for.
>
> Using "20b.::" standalone makes a line shift for the sentence, and the
> "20b"-text is bold. Giving me an output like this:
> 20. Sentence 1
> *20b.*
>      Sentence 2
> 21. Sentence 3
>
> Using [horizontal] to get rid of the line shift, followed by "20b.::",
> gives me an indent in front of "20b", followed by a larger indent for the
> body of sentence 2 as well. "20b" is also still bold.
> If there is a way to get rid of that automatic indent, and make the text
> not bold - this would be a solution that works.
> 20. Sentence 1
>   *20b.* Sentence 2
> 21. Sentence 3
>
> Compared to the outcome I wish for:
> 20. Sentence 1
> 20b. Sentence 2
> 21. Sentence 3
> mandag 23. november 2020 kl. 21:41:31 UTC+1 skrev [email protected]:
>
>> Hi,
>>
>> what is the output format you're aiming for: PDF, HTML or something else?
>>
>> If it is HTML, some CSS might help you:
>> https://stackoverflow.com/questions/13841771/ordered-list-css-style-includes-parent-number
>> Regards,
>> Alexander
>>
>>
>> On 23.11.2020 14:12, MS wrote:
>>
>> Hi,
>>
>> I need some help on figuring out how to write "20b" in an ordered list,
>> see examples below. The "[start]" values cannot be pushed as this document
>> contains hundreds of starts. Document isn't structurally generated to
>> perfection, but that's a fix for another time.
>>
>> Syntax as of today:
>> [start=20]
>> . Sentence 1
>> .. Sentence 2
>> [Start=21]
>> . Sentence 3
>>
>> Output as of today:
>> 20. Sentence 1
>>     b. Sentence 2
>> 21. Sentence 3
>>
>> Output i need:
>> 20. Sentence 1
>> 20b. Sentence 2
>> 21. Sentence 3
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "asciidoc" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/asciidoc/1c9a5bc2-49ed-4fd7-8d96-2a48858bf63fn%40googlegroups.com
>> <https://groups.google.com/d/msgid/asciidoc/1c9a5bc2-49ed-4fd7-8d96-2a48858bf63fn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> --
>> Alexander Schwartz ([email protected])https://www.ahus1.de
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "asciidoc" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/asciidoc/33d7cf20-a31c-4217-afdf-cb2ba89527a5n%40googlegroups.com
> <https://groups.google.com/d/msgid/asciidoc/33d7cf20-a31c-4217-afdf-cb2ba89527a5n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> --
> Alexander Schwartz ([email protected])https://www.ahus1.de
>
> --
> You received this message because you are subscribed to the Google Groups
> "asciidoc" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/asciidoc/33ce2ab6-7007-af34-3580-4b628285008c%40gmx.net
> <https://groups.google.com/d/msgid/asciidoc/33ce2ab6-7007-af34-3580-4b628285008c%40gmx.net?utm_medium=email&utm_source=footer>
> .
>


-- 
Dan Allen (he, him, his) | @mojavelinux | https://twitter.com/mojavelinux

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/asciidoc/CAKeHnO4%3DwvJa3F5gB_rWHNamOeydxybFLG5ck%3Dpsf0ZdxzW47Q%40mail.gmail.com.

Reply via email to