CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum
Deutsche Version English version russian version 
It is currently Tue Oct 17, 2017 1:16 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Mon Feb 27, 2017 4:16 pm 
Offline

Joined: Thu Feb 25, 2016 9:43 am
Posts: 9
Hello,
I have the following code in an enum declaration:
Code:
// | Acknowledge Control Byte
// Implemented according to:
//
// * SAE
//     * J1939
//         * -11
//             * Figure 9 - Acknowledgment Parameter Group Number Definition
//
// .. note:: This data/ parameter type is used in the ACK parameter group.


I have tried around with the indentation of the unordered list, but did not get a tree as a result. Sometimes the indentation in the output is there, but the bullets are missing. In other cases the lines are all or groupwise written in one with a * between the points.

What am I doing wrong?

Thanks in Advance
Torsten Knodt


Top
   
PostPosted: Wed Mar 01, 2017 11:12 am 
Offline
Frequent User
Frequent User

Joined: Tue Nov 13, 2012 9:20 am
Posts: 216
Hi Torsten.

Every time you start a new sub level in your list you have to add an empty line before and after it. See Lists and Quote-like blocks from the reStructuredText Primer.

Code:
// | Acknowledge Control Byte
//
// Implemented according to:
//
// * SAE
//
//     * J1939
//
//         * -11
//
//             * Figure 9 - Acknowledgment Parameter Group Number Definition
//
// .. note:: This data/ parameter type is used in the ACK parameter group.


Here the screenshot:
Attachment:
Nested_List_reST.PNG

BR
Martin


You do not have the required permissions to view the files attached to this post.

_________________
Check out the CODESYS store: http://store.codesys.com/

CODESYS® a trademark of 3S-Smart Software Solutions GmbH
Inspiring Automation Solutions


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited