Asciidoctor PDF customize unordered List

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Asciidoctor PDF customize unordered List

MonaElsa
I want to customize the marker of the unordered list with following code.

font:
  catalog:
    DejaVuSans:
      normal: DejaVuSans.ttf
      italic: DejaVuSans-Oblique.ttf
      bold: DejaVuSans-Bold.ttf
      bold_italic: DejaVuSans-BoldOblique.ttf
base:
  font_color: #000000
  font_family: Helvetica
ulist:
  marker:
    disc:
      content: "\u25aa"
      font_family: DejaVuSans
    square:
      content: "\u25aa"
      font_family: DejaVuSans
    circle:
      content: "\u25aa"
      font_family: DejaVuSans

It doesn't work. It has no effect. Can anybody help me?
I want to change the markers of the unordered list to other unicode symbols.
Reply | Threaded
Open this post in threaded view
|

Re: Asciidoctor PDF customize unordered List

1marc1
MonaElsa,

There was a discussion on this recently. Have a look to see if the following can assist in achieving your goal:

https://github.com/asciidoctor/asciidoctor-pdf/issues/997

Marc.
Reply | Threaded
Open this post in threaded view
|

Re: Asciidoctor PDF customize unordered List

MonaElsa
Thank you for the prompt reply!

I read the issue 997 at github.

What means the statemet "You can use ulist if you're running Asciidoctor PDF from master."?

I use asciidoctorj-pdf-1.5.0-alpha.16. Can I use the ulist keys with this release?


Reply | Threaded
Open this post in threaded view
|

Re: Asciidoctor PDF customize unordered List

abelsromero
MonaElsa wrote
What means the statemet "You can use ulist if you're running Asciidoctor PDF from master."?

I use asciidoctorj-pdf-1.5.0-alpha.16. Can I use the ulist keys with this release?
I am sorry to say you can't.
It precisely means that "ulist" element is a feature not available in the last released versions. Here is the reference to the documentation of the released version: https://github.com/asciidoctor/asciidoctor-pdf/blob/v1.5.0.alpha.16/docs/theming-guide.adoc.

If you want to know more, "master" is a reference to the most recent development version, you can download the code and install it if you want though. -> EDIT: if you want to convert the doc with the ruby CLI, if you are using Java, not much you can do until it is released.
Reply | Threaded
Open this post in threaded view
|

Re: Asciidoctor PDF customize unordered List

MonaElsa
Thank you for your reply.

Now I understand. I think I have to wait until it is released.