TP | 2 Nov 04:27 2011
Fischer, Felix | 9 Nov 11:12 2011
Picon

newpage in restructuredtext

Dear List,

 

i use restructuredtext to sweave my statistical analysis from R into html, odt and pdf (via latex). However, to improve readability I would like to start a section on a new page. Is there any kind of a “newpage” command in restructuredtext?

 

Best,

Felix

 

Dr. rer. nat. Dipl.-Psych. Felix Fischer
Institut für Sozialmedizin, Epidemiologie und Gesundheitsökonomie

Charité - Universitätsmedizin Berlin
Luisenstrasse 57
10117 Berlin

Tel: 030 450 529 104
Fax: 030 450 529 902
http://epidemiologie.charite.de

 

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
Peter Funk | 9 Nov 11:38 2011
X-Face
Picon

Re: newpage in restructuredtext

Hello,

Fischer, Felix (Mittwoch, den 09.11.2011 um 11:12):
> Dear List,
> 
>  
> 
> i use restructuredtext to sweave my statistical analysis from R into html, odt
> and pdf (via latex). However, to improve readability I would like to start a
> section on a new page. Is there any kind of a “newpage” command in
> restructuredtext?

There is already a way to force a page break in LaTeX described
in the docutils Documentation:

Commands directly to LaTeX
==========================

By means of the reST-raw directive one can give commands directly to 
LaTeX, e.g. forcing a page break::

  .. raw:: LaTeX

     \newpage

But I can't decide, whether this already what you are looking for.

What do you want to achieve?  
A new page in your LaTeX generated .pdfs or also in .odt?
Or should each section start on new page automatically? 

Viele Grüße nach Berlin, 
Peter Funk
--

-- 
Peter Funk, home: ✉Oldenburger Str.86, D-27777 Ganderkesee
mobile:+49-179-640-8878 phone:+49-421-20419-0 <http://www.artcom-gmbh.de/>
office: ArtCom GmbH, ✉Haferwende 2, D-28357 Bremen, Germany
DRUPA 3.5.-16.5.2012: Besuchen Sie uns in Halle 4 auf Stand B02

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Docutils-users mailing list
Docutils-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/docutils-users

Please use "Reply All" to reply to the list.
Fischer, Felix | 9 Nov 15:00 2011
Picon

Re: newpage in restructuredtext


Dear Peter,

Thanks for your suggestion!

> But I can't decide, whether this already what you are looking for.
>
> What do you want to achieve?  
> A new page in your LaTeX generated .pdfs or also in .odt?
> Or should each section start on new page automatically?

I would be glad, if newpage would also work in odt. I guess, each section/subsection on a new page would be the
best solution!

Best,
Felix

-----Ursprüngliche Nachricht-----
Von: Peter Funk [mailto:pf <at> artcom-gmbh.de] 
Gesendet: Mittwoch, 9. November 2011 11:39
An: docutils-users <at> lists.sourceforge.net
Betreff: Re: [Docutils-users] newpage in restructuredtext

Hello,

Fischer, Felix (Mittwoch, den 09.11.2011 um 11:12):
> Dear List,
> 
>  
> 
> i use restructuredtext to sweave my statistical analysis from R into html, odt
> and pdf (via latex). However, to improve readability I would like to start a
> section on a new page. Is there any kind of a “newpage” command in
> restructuredtext?

There is already a way to force a page break in LaTeX described
in the docutils Documentation:

Commands directly to LaTeX
==========================

By means of the reST-raw directive one can give commands directly to 
LaTeX, e.g. forcing a page break::

  .. raw:: LaTeX

     \newpage

But I can't decide, whether this already what you are looking for.

What do you want to achieve?  
A new page in your LaTeX generated .pdfs or also in .odt?
Or should each section start on new page automatically? 

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Docutils-users mailing list
Docutils-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/docutils-users

Please use "Reply All" to reply to the list.
Guenter Milde | 9 Nov 23:33 2011
Picon

Re: newpage in restructuredtext

On 2011-11-09, Fischer, Felix wrote:

>> What do you want to achieve?  
>> A new page in your LaTeX generated .pdfs or also in .odt?
>> Or should each section start on new page automatically?

> I would be glad, if newpage would also work in odt. I guess, each
> section/subsection on a new page would be the best solution!

This looks very much like a task for a custom style sheet.
I don't know whether/how this can be achieved in ODT.

I know that it is possible with a custom style or just LaTeX preamble code
with LaTeX. However, I don't know the details so you will need to search the
web or ask the TeXperts about "LaTeX, start every section on a new page".

Günter

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Docutils-users mailing list
Docutils-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/docutils-users

Please use "Reply All" to reply to the list.
Alli Quaknaa | 11 Nov 00:27 2011
Martin Bless | 11 Nov 10:37 2011
Paul Tremblay | 12 Nov 00:28 2011
Alan G Isaac | 12 Nov 02:06 2011
Paul Tremblay | 12 Nov 03:45 2011

Gmane