yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #05916
Re: newline in class attribute docs
Ok, thanks for explanation, I haven't considered some TeX specialties :-)
so is it possible to create a new paragraph with no vertical indent (it would look as simple new line)?
thanks
Jan
______________________________________________________________
> Od: "Vaclav Smilauer" <eudoxos@xxxxxxxx>
> Komu: yade-dev@xxxxxxxxxxxxxxxxxxx
> Datum: 15.10.2010 15:23
> Předmět: Re: [Yade-dev] newline in class attribute docs
>
>> sometext n Example:
>>
>> creates no new line (no matter if there is space or not between n and surrounded words)
>>
>> sometextnnExample:
>>
>> creates new paragraph, but with space between the end of previous and the beginning of next paragraph, what I did not want..
>OK, that is a confusion on your side. You create new paragraph by an
>empty line (which means two linebreaks, i.e. nn). If you just break
>line, the text still continues -- like in TeX, newline has no effect,
>while empty line creates a new paragraph. The nn does not create a new
>paragraph with and empty line in-between, but a new paragraph, which has
>a vertical indent as defined in the stylesheet.
>
>> I tried to solve this "problem" using _extraDocs.py, (adding for example Peri3dController.stress there)
>> wrapper.Peri3dController.stress.__doc__=r'''text'''
>> but this imply error in startup of yade:
>It will be no different in extradocs, python just gives you an easier
>way how to write plaintext, but sphinx will interpret it just the same.
>
>HTH, v
>
>
>_______________________________________________
>Mailing list: https://launchpad.net/~yade-dev
>Post to : yade-dev@xxxxxxxxxxxxxxxxxxx
>Unsubscribe : https://launchpad.net/~yade-dev
>More help : https://help.launchpad.net/ListHelp
>
References