From: Alan G I. <ala...@gm...> - 2010-04-27 17:18:12
|
Is there a best approach to turning reST into a presentation? I know that possibilities include: - rst2pdf http://lateral.netmanagers.com.ar/stories/BBS52.html - rst2s5 http://docutils.sourceforge.net/docs/user/slide-shows.html http://docutils.sourceforge.net/docs/user/slide-shows.html http://www.python.org/doc/slideshows/5min-reST-demo.txt - Bruce http://pypi.python.org/pypi/bruce http://sites.google.com/site/r1chardj0n3s/howto - rst2odp http://panela.blog-city.com/rst2odp_on_pypi.htm - rst2beamer http://www.agapow.net/programming/python/rst2beamer http://home.cs.siue.edu/~rkrauss/python_website/ - rst2slidy (umm, does not exist??) http://www.w3.org/Talks/Tools/Slidy I'm leaning toward rst2pdf so that I get a single file, but rst2s5 looks pretty amazing, and Bruce seems to be extremely flexible (you can actually embed a Python interpreter in a presentation page!). Thanks, Alan Isaac |
From: David G. <go...@py...> - 2010-04-27 18:40:50
|
On Tue, Apr 27, 2010 at 13:18, Alan G Isaac <ala...@gm...> wrote: > Is there a best approach to turning reST into a presentation? Different strokes for different folks. IOW, it depends on your personal preferences, how much software you're willing to install, what back-ends you're comfortable with, etc. There is no objectively and universally correct answer. -- David Goodger |
From: Roberto A. <ra...@ne...> - 2010-04-27 21:28:36
|
On Tuesday 27 April 2010 15:40:42 David Goodger wrote: > On Tue, Apr 27, 2010 at 13:18, Alan G Isaac <ala...@gm...> wrote: > > Is there a best approach to turning reST into a presentation? > > Different strokes for different folks. > > IOW, it depends on your personal preferences, how much software you're > willing to install, what back-ends you're comfortable with, etc. > > There is no objectively and universally correct answer. Right. The rst2pdf solution has several drawbacks: * Fancy transitions are hard * Handouts have to be another document * There is no way to easily center something vertically * Need to create different versions for different screen aspect ratios And some advantages: * Single file * Can play almost anywhere * You know exactly how it will look |
From: Jens J. M. <je...@fy...> - 2010-04-29 10:17:41
|
On Tue, 2010-04-27 at 13:18 -0400, Alan G Isaac wrote: > Is there a best approach to turning reST into a presentation? > I know that possibilities include: > > - rst2pdf http://lateral.netmanagers.com.ar/stories/BBS52.html > - rst2s5 http://docutils.sourceforge.net/docs/user/slide-shows.html > http://docutils.sourceforge.net/docs/user/slide-shows.html > http://www.python.org/doc/slideshows/5min-reST-demo.txt > - Bruce http://pypi.python.org/pypi/bruce > http://sites.google.com/site/r1chardj0n3s/howto > - rst2odp http://panela.blog-city.com/rst2odp_on_pypi.htm > - rst2beamer http://www.agapow.net/programming/python/rst2beamer > http://home.cs.siue.edu/~rkrauss/python_website/ > - rst2slidy (umm, does not exist??) > http://www.w3.org/Talks/Tools/Slidy > > I'm leaning toward rst2pdf so that I get a single file, > but rst2s5 looks pretty amazing, > and Bruce seems to be extremely flexible > (you can actually embed a Python interpreter > in a presentation page!). Last week I prepared a presentation using reST. I started with rst2pdf, but it didn't understand all my LaTeX math equations, and the rendering of the math that it did understand was not as pretty as I would like. So, I used rst2beamer instead, but it doesn't have a :math: role or a .. math:: directive. I added this to rst2beamer.py with 20 lines of code, and then it worked very well. Jens Jørgen > Thanks, > Alan Isaac > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Docutils-users mailing list > Doc...@li... > https://lists.sourceforge.net/lists/listinfo/docutils-users > > Please use "Reply All" to reply to the list. |
From: Alan G I. <ai...@am...> - 2010-04-29 12:35:19
|
On 4/29/2010 5:34 AM, Jens Jørgen Mortensen wrote: > I started with rst2pdf, > but it didn't understand all my LaTeX math equations Just curious: how is rst2pdf handling the math? It might be valuable to grab mathtext from Matplotlib for this. Hmmm, I feel I may already have suggested this ... If so, sorry. Alan |
From: Roberto A. <ra...@ne...> - 2010-04-29 12:47:42
|
On Thursday 29 April 2010 09:34:44 Alan G Isaac wrote: > On 4/29/2010 5:34 AM, Jens Jørgen Mortensen wrote: > > I started with rst2pdf, > > but it didn't understand all my LaTeX math equations > > Just curious: how is rst2pdf handling the math? > It might be valuable to grab mathtext from Matplotlib > for this. That's exactly what it's doing. However, matplotlib only supports a subset of LaTeX equations, I suspect that's what happened. |
From: Alan G I. <ai...@am...> - 2010-04-29 12:33:06
|
On 4/29/2010 5:34 AM, Jens Jørgen Mortensen wrote: > I used rst2beamer instead, but it doesn't have a :math: role or a .. > math:: directive. I added this to rst2beamer.py with 20 lines of code, > and then it worked very well. Hoping you will send this to Ryan Krauss: rkrauss at siue dot edu Alan |
From: Jens J. M. <je...@fy...> - 2010-05-03 07:20:05
Attachments:
latex-math.patch
|
On Thu, 2010-04-29 at 08:32 -0400, Alan G Isaac wrote: > On 4/29/2010 5:34 AM, Jens Jørgen Mortensen wrote: > > I used rst2beamer instead, but it doesn't have a :math: role or a .. > > math:: directive. I added this to rst2beamer.py with 20 lines of code, > > and then it worked very well. > > Hoping you will send this to Ryan Krauss: rkrauss at siue dot edu I've attached a patch against version 0.6.6. Jens Jørgen > Alan > > ------------------------------------------------------------------------------ > _______________________________________________ > Docutils-users mailing list > Doc...@li... > https://lists.sourceforge.net/lists/listinfo/docutils-users > > Please use "Reply All" to reply to the list. |
From: Alan G I. <ai...@am...> - 2010-04-29 13:04:42
|
>> On 4/29/2010 5:34 AM, Jens Jørgen Mortensen wrote: >>> I started with rst2pdf, >>> but it didn't understand all my LaTeX math equations > On Thursday 29 April 2010 09:34:44 Alan G Isaac wrote: >> Just curious: how is rst2pdf handling the math? >> It might be valuable to grab mathtext from Matplotlib >> for this. On 4/29/2010 8:48 AM, Roberto Alsina wrote: > That's exactly what it's doing. However, matplotlib only supports > a subset of LaTeX equations, I suspect that's what happened. OK. Thanks. Jens, would you mind saying what LaTeX features failed? Thanks, Alan |
From: Jens J. M. <je...@fy...> - 2010-05-03 07:27:45
|
On Thu, 2010-04-29 at 09:04 -0400, Alan G Isaac wrote: > >> On 4/29/2010 5:34 AM, Jens Jørgen Mortensen wrote: > >>> I started with rst2pdf, > >>> but it didn't understand all my LaTeX math equations > > > On Thursday 29 April 2010 09:34:44 Alan G Isaac wrote: > >> Just curious: how is rst2pdf handling the math? > >> It might be valuable to grab mathtext from Matplotlib > >> for this. > > On 4/29/2010 8:48 AM, Roberto Alsina wrote: > > That's exactly what it's doing. However, matplotlib only supports > > a subset of LaTeX equations, I suspect that's what happened. > > > OK. Thanks. > > Jens, would you mind saying what LaTeX features failed? I looked again more carefully at the problems I had. This works fine: .. math:: \psi a but on two lines: .. math:: \psi a it will try to parse it as \psia without a space - that caused problems for my long formulas on several lines. Another problem is that I would like to use "-- default-role:: math" so that I don't have to do :math:`abcdefg` but instead can do `abcdefg` - however, this chops off the abcdef part (the first 6 characters). Jens Jørgen > Thanks, > Alan > > ------------------------------------------------------------------------------ > _______________________________________________ > Docutils-users mailing list > Doc...@li... > https://lists.sourceforge.net/lists/listinfo/docutils-users > > Please use "Reply All" to reply to the list. |
From: Roberto A. <ra...@ne...> - 2010-05-03 09:12:46
|
On Monday 03 May 2010 04:27:30 Jens Jørgen Mortensen wrote: > Another problem is that I would like to use "-- default-role:: math" so > that I don't have to do :math:`abcdefg` but instead can do `abcdefg` - > however, this chops off the abcdef part (the first 6 characters). This part is probably a rst2pdf bug. |
From: Roberto A. <ra...@ne...> - 2010-05-03 09:24:22
Attachments:
test_math_default_role.pdf
|
On Monday 03 May 2010 06:14:02 Roberto Alsina wrote: > On Monday 03 May 2010 04:27:30 Jens Jørgen Mortensen wrote: > > Another problem is that I would like to use "-- default-role:: math" so > > that I don't have to do :math:`abcdefg` but instead can do `abcdefg` - > > however, this chops off the abcdef part (the first 6 characters). > > This part is probably a rst2pdf bug. I can't reproduce it on current SVN. This source produces the attached PDF. -------------Cut here------------ These two should produce the same output: .. default-role:: math :math:`abcdefgh` `abcdefgh` |