Page 1 of 1

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

Posted: Mon Oct 03, 2022 5:58 pm
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!

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

Posted: Tue Oct 04, 2022 12:04 am
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?

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

Posted: Tue Oct 04, 2022 9:22 am
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

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

Posted: Tue Oct 04, 2022 3:05 pm
by chrispitude
Hi Julien,

I did not know about the Tab/Shift-Tab method. Thank you! I have shared this with my team.

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

Posted: Tue Oct 04, 2022 6:01 pm
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?

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

Posted: Thu Oct 06, 2022 10:31 am
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

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

Posted: Thu Oct 06, 2022 1:04 pm
by chrispitude
Hi Dan,

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

collapse_list_item.gif

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

Posted: Thu Oct 06, 2022 4:21 pm
by DAN SEA
Thanks everyone, I got it!