Fast way to make and work with unordered lists in different levels. How?

Having trouble installing Oxygen? Got a bug to report? Post it all here.
DAN SEA
Posts: 59
Joined: Tue Sep 13, 2022 4:13 pm

Fast way to make and work with unordered lists in different levels. How?

Post by DAN SEA »

Good day everyone!
I've been trying to figure out the design of lists for several days, while it's going hard :-)
I have read the instructions here:
https://www.oxygenxml.com/doc/versions/ ... lists.html
https://www.oxygenxml.com/doc/versions/ ... ed%2Clists

But they concern more design. Could you tell me how to quickly create lists of different nesting in oxygen? Since in the program itself I see only 1 list button.
But there is no way to create lists of different levels (for example, as it is done in the Microsoft Word program). I understand that this is a different program and oxygen has its own logic of work :-)
I just would like to understand - how to quickly create and edit lists in the text?

Thank you in advance!
Jamil
Posts: 99
Joined: Thu Oct 23, 2008 6:29 am

Re: Fast way to make and work with unordered lists in different levels. How?

Post by Jamil »

I am by no means a DITA expert, but what happens if you nest a list within a list? Do you see the desired indentation result?
julien_lacour
Posts: 665
Joined: Wed Oct 16, 2019 3:47 pm

Re: Fast way to make and work with unordered lists in different levels. How?

Post by julien_lacour »

Hello,

If you are in Author mode, after adding the first item in a list, clicking again the button should create a nested list.
After each item, pressing Enter will open the content completion dialog that will propose, between others, if you want to insert another item or another list, this is another solution.
You can also indent the lists by using the Tab key.

Best regards,
Julien
chrispitude
Posts: 922
Joined: Thu May 02, 2019 2:32 pm

Re: Fast way to make and work with unordered lists in different levels. How?

Post by chrispitude »

Hi Julien,

I did not know about the Tab/Shift-Tab method. Thank you! I have shared this with my team.
DAN SEA
Posts: 59
Joined: Tue Sep 13, 2022 4:13 pm

Re: Fast way to make and work with unordered lists in different levels. How?

Post by DAN SEA »

Thank you all very much! Everything worked out!
And to finish with the lists - here's the last question I'll ask:
how to turn text in lists into plain text? :-)
So far, I've only been able to find one way: "backspace, backspace, backspace!"
Is there another way? For example, select a list item /
a few paragraphs and turn them back into plain text?
julien_lacour
Posts: 665
Joined: Wed Oct 16, 2019 3:47 pm

Re: Fast way to make and work with unordered lists in different levels. How?

Post by julien_lacour »

Hello,

If you are using DITA, you can surround the text by either codeph or codeblock element. For the other document types, a equivalent should be available.
You just need to select the text, press Enter, the content completion will propose those elements for surrounding the text.

Just make sure the result of the surrounding match your needs, depending on the context you may need to surround the text only or an element and the text.

Regards,
Julien
chrispitude
Posts: 922
Joined: Thu May 02, 2019 2:32 pm

Re: Fast way to make and work with unordered lists in different levels. How?

Post by chrispitude »

Hi Dan,

Put your cursor at the beginning of the <li> element, then press the Backspace key:

collapse_list_item.gif
You do not have the required permissions to view the files attached to this post.
DAN SEA
Posts: 59
Joined: Tue Sep 13, 2022 4:13 pm

Re: Fast way to make and work with unordered lists in different levels. How?

Post by DAN SEA »

Thanks everyone, I got it!
Post Reply