comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Ending a code listing section with IDLdoc
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Ending a code listing section with IDLdoc [message #73678] Mon, 22 November 2010 09:32
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 11/22/10 7:33 AM, Fabzou wrote:
> Hi again,
>
> I found out what the problem was: the indentation of my documentation
> was not consequent. Note for myself: it is important to follow a strict
> indentation in the file header, too.
>
> Sorry!
>
>
>
> On 11/22/2010 12:54 PM, Fabzou wrote:
>> Dear all,
>>
>> Probably this have been asked and solved many times but I could not find
>> the info...
>>
>> In my file header I want to write a "code formated section" using
>> markups like this:
>>
>> ; The structure is defined as::
>> ;
>> ; {ABS_Date,
>> ; year: 0L, Gregorian year
>> ; ...
>> ; }
>> ;
>>
>> And then I would like to write some standard text again without
>> formatting.
>>
>> How do I do that? Skipping lines or removing the indentation did not
>> work.
>>
>> Thanks in advance, and thanks to IDLdoc which is *right now*
>> revolutionizing the way I document my code

I'm glad you found the problem. Yes, the rst format is very particular
to indentation: keep the indentation consistent and use spaces not tabs.

For those following along, the comment should look something like:

; The structure is defined as::
;
; {ABS_Date,
; year: 0L, Gregorian year
; ...
; }
;
; More comments.

Mike
--
www.michaelgalloy.com
Research Mathematician
Tech-X Corporation
Re: Ending a code listing section with IDLdoc [message #73685 is a reply to message #73678] Mon, 22 November 2010 06:33 Go to previous message
Fabzou is currently offline  Fabzou
Messages: 76
Registered: November 2010
Member
Hi again,

I found out what the problem was: the indentation of my documentation
was not consequent. Note for myself: it is important to follow a strict
indentation in the file header, too.

Sorry!



On 11/22/2010 12:54 PM, Fabzou wrote:
> Dear all,
>
> Probably this have been asked and solved many times but I could not find
> the info...
>
> In my file header I want to write a "code formated section" using
> markups like this:
>
> ; The structure is defined as::
> ;
> ; {ABS_Date,
> ; year: 0L, Gregorian year
> ; ...
> ; }
> ;
>
> And then I would like to write some standard text again without formatting.
>
> How do I do that? Skipping lines or removing the indentation did not work.
>
> Thanks in advance, and thanks to IDLdoc which is *right now*
> revolutionizing the way I document my code
>
> Fab
>
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: problem with multiple page postscript plots
Next Topic: How to create a .sav file the right way ?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:38:24 PDT 2025

Total time taken to generate the page: 0.00471 seconds