On Wednesday 15 September 2010 10:17:23 werner wrote:
Hi Roberto,
On 14/09/2010 15:55, Roberto Alsina wrote:
On Sunday 12 September 2010 05:47:20 werner wrote:
I looked through the changes for 0.6.5 to 1.0.3 but don't see anything
in relation to modules - rst2pdf with 0.6.5 worked
On Sunday 12 September 2010 05:47:20 werner wrote:
I looked through the changes for 0.6.5 to 1.0.3 but don't see anything
in relation to modules - rst2pdf with 0.6.5 worked for me, so I guess I
have just overlooked a change I need to make to my setup.
Sorry about the late reply!
Sphinx has
On Tuesday 14 September 2010 11:01:23 Michael P. Soulier wrote:
On 14/09/10 Roberto Alsina said:
Sorry about the late reply!
Sphinx has changed something internally, and rst2pdf has not been able
to follow it. Specifically, what was before the module index is now
something else
On Monday 23 August 2010 10:56:12 Infinity77 wrote:
A while ago I have tried with Latex, but on Windows it is a nightmare
to install and use, not to mention that Latex gets stuck processing
the AGW docs and spits impossible errors. I am currently trying with
rst2pdf: it's been running for some
On Monday 23 August 2010 11:15:40 Infinity77 wrote:
# A comma-separated list of custom stylesheets. Example:
pdf_stylesheets = ['sphinx', 'kerning', 'a4', AGW.json]
# A colon-separated list of folders to search for fonts. Example:
pdf_font_path = ['E:\\AGW\\agw\\fonts', 'C:\\Windows\\Fonts']
Version 0.15 of rst2pdf, a tool to generate PDFs from restructured text
directly via reportlab is out at its site: http://rst2pdf.googlecode.com
Rst2pdf supports the full restructured text syntax and a few extensions (code-
block and math, for example). It can any TTF or Type1 font, and custom
I can't find any good restructured-text-oriented docstring extraction tools,
and ... well, sphinx has one ;-)
So, I am wondering, anyone has given any thought about using autodoc outside
sphinx to generate restructured text files?
Any tips?
--
You received this message because you are
If I have several graphviz graphs and want to use circo instead of dot for
one of them, is that doable?
AFAICS, setting graphviz_dot to circo or graphviz_dot_args to -Kcirco
would change **all** of them?
--
You received this message because you are subscribed to the Google Groups
sphinx-dev
DasIch writes:
autodoc is a sphinx extension and it doesn't generate restructured text
so I suppose that nobody has really given it some thought.
It seems to me after a quick reading of the code that it does
At least internally, this is from Documenter.generate:
---
def
On Thursday 08 April 2010 11:55:31 Alpha Zo wrote:
Hi Roberto,
Any compelling reason to use rst2pdf over LaTeX? The rst2pdf version
of Sphinx manual found on the homepage looks much less attractive
(from a typographic standpoint) than its counterpart created with
LaTeX. If there are
On Wednesday 07 April 2010 17:21:37 Guenter Milde wrote:
If LaTex is capable of setting bold, italic, monospaced font and
foreground colour, then a set of such macros could be autogenerated
from the pygment stylesheets (I create rst2pdf's stylesheets that way)
thus allowing the LaTeX
On Tuesday 06 April 2010 14:18:57 Georg Brandl wrote:
What Pygments does is also very output-format specific.
And doesn't need to. Here's a version of the code block directive,
that's not output-format specific, if the writer can handle inline nodes with
classes it should work, because all it
On Tuesday 06 April 2010 14:42:37 Georg Brandl wrote:
- gpg control packet
Am 06.04.2010 19:34, schrieb Roberto Alsina:
On Tuesday 06 April 2010 14:18:57 Georg Brandl wrote:
What Pygments does is also very output-format specific.
And doesn't need to. Here's a version of the code
On Tuesday 30 March 2010 04:21:44 Guenter Milde wrote:
On 2010-03-30, werner wrote:
I use UliPad, but it has the same limitations - it would be nice if
there is a way to preview a single .rst file - with Sphinx directives
also working, but I don't think there is such a build command in
It's my pleasure to announce that I just uploaded rst2pdf 0.14 to the site at
http://rst2pdf.googlecode.com.
Rst2pdf is a program and a library to convert restructured text directly into
PDF using Reportlab.
It supports True Type and Type 1 font embedding, most raster and vector image
On Wednesday 17 March 2010 01:33:37 Alaric Haag wrote:
In article 201003162054.51640.rals...@netmanagers.com.ar,
Roberto Alsina rals...@netmanagers.com.ar wrote:
On Tuesday 16 March 2010 20:41:48 Alaric Haag wrote:
Hello all,
I'm most grateful for the rst2pdf development! And love
Hello, I have spent a while now trying to implement production list support
for rst2pdf when used with sphinx, and I think I have noticed a pattern in the
code that makes these things harder than they need to be.
Here's sphinx's html writer's implementation of production lists:
def
On Tuesday 16 March 2010 15:44:26 anatoly techtonik wrote:
Ahem. So. How to use rst2pdf with sphinx?
Check the rst2pdf manual:
http://lateral.netmanagers.com.ar/static/manual.pdf
Section 16: Sphinx
--
You received this message because you are subscribed to the Google Groups
sphinx-dev
On Tuesday 16 March 2010 20:41:48 Alaric Haag wrote:
Hello all,
I'm most grateful for the rst2pdf development! And love the hook into
Sphinx, as it provides a nice alternative to the LaTeX route.
I am unable to get page numbers on the PDF output when making the
document from Sphinx
On Monday 15 March 2010 08:46:31 werner wrote:
Hi Roberto,
On 15/03/2010 12:09, Roberto Alsina wrote:
I've just uploaded the 0.13 version of rst2pdf, a tool to convert
reStructured text to PDF using Reportlab to
http://rst2pdf.googlecode.com
Just updated and tried it.
I see
Since I suck at making releases, 0.13 had a bug in its setup.py and was
missing a crucial file.
So, I just released 0.13.1 with that fixed.
On Monday 15 March 2010 08:09:31 Roberto Alsina wrote:
I've just uploaded the 0.13 version of rst2pdf, a tool to convert
reStructured text to PDF using
On Monday 15 March 2010 12:11:56 werner wrote:
Hi Robert,
Thanks for the quick reply.
On 15/03/2010 15:50, Roberto Alsina wrote:
On Monday 15 March 2010 09:39:09 werner wrote:
Roberto,
...
Congratulations, you just found a bug in the stylesheet cascading code
On Monday 15 March 2010 13:27:21 werner wrote:
Hi Roberto,
In the doc it refers to a sample config file, can't find this on my
machine. I am on Windows so looked in users/userid/.rst2pdf and the
rst2pdf installation folder.
Some of these configuration options can be defined in the Sphinx
BTW, the custom header/footer problemis fixed, and there's an example sphinx
project with it here:
http://code.google.com/p/rst2pdf/source/browse/#svn/trunk/rst2pdf/tests/input/sphinx-
issue280
--
You received this message because you are subscribed to the Google Groups
sphinx-dev group.
To
On Monday 15 March 2010 15:36:11 werner wrote:
Hi Roberto,
On 15/03/2010 17:47, Roberto Alsina wrote:
...
Well, the manual is shipped with the software, too :-)
I am very good in overlooking things, but where is it being installed
to? There is no doc folder nor do I find
, task reports, etc).
--
(\''/).__..-''`-. . Roberto Alsina
`9_ 9 ) `-. ().`-._.`) KDE Developer (MFCH)
(_Y_.)' ._ ) `._`. -.-' http://lateral.netmanagers.com.ar
_..`-'_..-_/ /-'_.' The 6,855th most popular site of Slovenia
(l)-'' ((i).' ((!.' according
Jason S writes:
Never mind, I figured something out.
In my source .rst file, I changed
.. literalinclude:: tennis.espdf
to
.. include:: tennis.espdf
:literal:
:tab-width: 3
Is literalinclude a sphinx convenience directive? Because it's not
mentioned
in
;-)
--
(\''/).__..-''`-. . Roberto Alsina
`9_ 9 ) `-. ().`-._.`) KDE Developer (MFCH)
(_Y_.)' ._ ) `._`. -.-' http://lateral.netmanagers.com.ar
_..`-'_..-_/ /-'_.' The 6,855th most popular site of Slovenia
(l)-'' ((i).' ((!.' according to alexa.com (27/5/2007)
--
You received
On Wednesday 25 November 2009 11:12:40 werner wrote:
Hi Roberto,
Roberto Alsina wrote:
On Wednesday 25 November 2009 10:11:36 werner wrote:
That would be great.
Any chance that you could also allow for page numbers (e.g. Page 'n' or
Page 'n' of 'tn' or similar), either in the header
No luck, above solution does not work or just having a sphinx-mine
without sphinx does not work.
I.e. the style is definitely changing, but there is no page number at
the bottom.
Give me a little while and I'll try to produce a self-contained example.
--
You received this message
.
What is the easiest way to get a logo onto the PDF cover page?
This still needs work, the cover page is pretty much fixed. You could just
replace the first page after the PDF is done, but that's not a real solution.
--
(\''/).__..-''`-. . Roberto Alsina
`9_ 9
.
Simple tables are... not so simple :-(
--
(\''/).__..-''`-. . Roberto Alsina
`9_ 9 ) `-. ().`-._.`) KDE Developer (MFCH)
(_Y_.)' ._ ) `._`. -.-' http://lateral.netmanagers.com.ar
_..`-'_..-_/ /-'_.' The 6,855th most popular site of Slovenia
(l)-'' ((i
.
--
(\''/).__..-''`-. . Roberto Alsina
`9_ 9 ) `-. ().`-._.`) KDE Developer (MFCH)
(_Y_.)' ._ ) `._`. -.-' http://lateral.netmanagers.com.ar
_..`-'_..-_/ /-'_.' The 6,855th most popular site of Slovenia
(l)-'' ((i).' ((!.' according to alexa.com (27/5/2007
On Friday 16 October 2009 05:49:37 werner wrote:
Roberto,
Roberto Alsina wrote:
On Thursday 15 October 2009 11:43:23 werner wrote:
Roberto,
Made a little bit of progress.
Added this to my conf.py:
import pkg_resources
pkg_resources.require(rst2pdf) # get latest version
can find the manual in rst2pdf, or here:
http://lateral.netmanagers.com.ar/static/manual.pdf
--
(\''/).__..-''`-. . Roberto Alsina
`9_ 9 ) `-. ().`-._.`) KDE Developer (MFCH)
(_Y_.)' ._ ) `._`. -.-' http://lateral.netmanagers.com.ar
_..`-'_..-_/ /-'_.' The 6,855th
to
follow the official Python documentation conventions and tools. I'm
quite surprised Sphinx does not spend much attention to
straightforward API doc generation.
Why not use the doc generator to create sphinx's source files? The best of
both worlds ;-)
--
(\''/).__..-''`-. . Roberto Alsina
to restructured text.
Which tools can help me with step 3?
rst2rst.py can take a docutils doctree and turn it back into rst, so if you
can turn your XML into a doctree, you are there.
http://lateral.netmanagers.com.ar/static/rst2rst/rst2rst.py
--
(\''/).__..-''`-. . Roberto Alsina
`9_ 9
we want is to have many chapter, but instead
we are getting one chapter with many sections.
Any thoughts of what might be causing this?
Try setting the 6th argument in your latex_documents to True.
--
(\''/).__..-''`-. . Roberto Alsina
`9_ 9 ) `-. ().`-._.`) KDE Developer
On Monday 21 September 2009 15:05:00 Tom Hoffman wrote:
Hi all,
Is there any way to force page breaks in pdf generation?
Via latex or via rst2pdf?
--
(\''/).__..-''`-. . Roberto Alsina
`9_ 9 ) `-. ().`-._.`) KDE Developer (MFCH)
(_Y_.)' ._ ) `._`. -.-' http
On Monday 21 September 2009 16:39:22 MishaS wrote:
On Sep 21, 9:45 pm, Roberto Alsina rals...@netmanagers.com.ar wrote:
On Monday 21 September 2009 15:05:00 Tom Hoffman wrote:
Is there any way to force page breaks in pdf generation?
Via latex or via rst2pdf?
My take is: via rst2pdf
On Monday 21 September 2009 16:52:17 Tom Hoffman wrote:
On Mon, Sep 21, 2009 at 2:45 PM, Roberto Alsina
rals...@netmanagers.com.ar wrote:
On Monday 21 September 2009 15:05:00 Tom Hoffman wrote:
Hi all,
Is there any way to force page breaks in pdf generation?
Via latex or via
not
the ideal solution.
Any help very much appreciated.
--
(\''/).__..-''`-. . Roberto Alsina
`9_ 9 ) `-. ().`-._.`) KDE Developer (MFCH)
(_Y_.)' ._ ) `._`. -.-' http://lateral.netmanagers.com.ar
_..`-'_..-_/ /-'_.' The 6,855th most popular site of Slovenia
(l)-'' ((i
.
And the really bad news: you probably need to format it by hand again for
printing, if you want to print.
[1] Ok, if you know the language you *could* wrap it in some cases. But in
arbitrary code blocks you don't.
--
(\''/).__..-''`-. . Roberto Alsina
`9_ 9 ) `-. ().`-._.`) KDE
all MS core fonts).
--
(\''/).__..-''`-. . Roberto Alsina
`9_ 9 ) `-. ().`-._.`) KDE Developer (MFCH)
(_Y_.)' ._ ) `._`. -.-' http://lateral.netmanagers.com.ar
_..`-'_..-_/ /-'_.' The 6,855th most popular site of Slovenia
(l)-'' ((i).' ((!.' according
something like pre-wrap
and overflow-visible.
http://www.w3schools.com/Css/pr_pos_overflow.asp
http://www.w3schools.com/CSS/pr_text_white-space.asp
--
(\''/).__..-''`-. . Roberto Alsina
`9_ 9 ) `-. ().`-._.`) KDE Developer (MFCH)
(_Y_.)' ._ ) `._`. -.-' http
discovery in windows is pretty much untested.
Perhaps you can privately mail me your PDF? I promess I will delete it
immediately ;-)
--
(\''/).__..-''`-. . Roberto Alsina
`9_ 9 ) `-. ().`-._.`) KDE Developer (MFCH)
(_Y_.)' ._ ) `._`. -.-' http://lateral.netmanagers.com.ar
is wanted, since the heading of the master doc and
these indices and tables links are redundant in the built doc.
Oh, cool, I know how to do it then :-)
--
(\''/).__..-''`-. . Roberto Alsina
`9_ 9 ) `-. ().`-._.`) KDE Developer (MFCH)
(_Y_.)' ._ ) `._`. -.-' http
If this boilerplate rst is in the index.rst, the LaTeX builder produces no
output. How does it do that?
Indices and tables
==
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
* :ref:`glossary`
Is it special-cased?
--
(\''/).__..-''`-. . Roberto Alsina
`9_ 9
On Wednesday 09 September 2009 03:36:55 Guenter Milde wrote:
On 2009-09-08, Roberto Alsina wrote:
On Tuesday 08 September 2009 05:04:20 Gael Varoquaux wrote:
On Mon, Sep 07, 2009 at 06:01:31PM -0300, Roberto Alsina wrote:
On Monday 07 September 2009 15:53:41 Santiago Suarez Ordoñez wrote
On Tuesday 08 September 2009 05:04:20 Gael Varoquaux wrote:
On Mon, Sep 07, 2009 at 06:01:31PM -0300, Roberto Alsina wrote:
On Monday 07 September 2009 15:53:41 Santiago Suarez Ordoñez wrote:
Hm, looks like the images didn't reach the list. Could you upload them
somewhere and share
On Monday 07 September 2009 21:18:17 Roberto Alsina wrote:
On Monday 07 September 2009 18:56:09 Tim Michelsen wrote:
Here are a few images of a book that was typeset using sphinx and
rst2pdf.
So, is this builder already stable?
It is stable in the sense that if it processes your
?
Get rst2pdf from SVN at http://rst2pdf.googlecode.com, then check the manual
(use manual.txt, manual.pdf is only generated on releases), specifically the
Sphinx section.
--
(\''/).__..-''`-. . Roberto Alsina
`9_ 9 ) `-. ().`-._.`) KDE Developer (MFCH)
(_Y_
traditional
books: The cost may be as low as U$S 2 per 120-page book, while most
traditional 400-page programming books cost, in Argentina, about U$S 50.
Best regards,
--
(\''/).__..-''`-. . Roberto Alsina
`9_ 9 ) `-. ().`-._.`) KDE Developer (MFCH)
(_Y_
On Monday 07 September 2009 15:53:41 Santiago Suarez Ordoñez wrote:
Hm, looks like the images didn't reach the list. Could you upload them
somewhere and share the links?
Just forgot to paste them :-)
http://www.flickr.com/photos/ralsina/tags/libro/
--
(\''/).__..-''`-. . Roberto
than that... YMWV.
--
(\''/).__..-''`-. . Roberto Alsina
`9_ 9 ) `-. ().`-._.`) KDE Developer (MFCH)
(_Y_.)' ._ ) `._`. -.-' http://lateral.netmanagers.com.ar
_..`-'_..-_/ /-'_.' The 6,855th most popular site of Slovenia
(l)-'' ((i).' ((!.' according
this is not a problem, since
modules.rst is always compiled to modules.html.
I *could* create a modules.pdf but I think that's exceedingly ugly.
Is there a way to know what toctrees contain modules.rst in this example?
Best regards,
--
(\''/).__..-''`-. . Roberto Alsina
`9_ 9
restructured text, not sphinx, but the idea should be the same.
--
(\''/).__..-''`-. . Roberto Alsina
`9_ 9 ) `-. ().`-._.`) KDE Developer (MFCH)
(_Y_.)' ._ ) `._`. -.-' http://lateral.netmanagers.com.ar
_..`-'_..-_/ /-'_.' The 6,855th most popular site of Slovenia
.
--
(\''/).__..-''`-. . Roberto Alsina
`9_ 9 ) `-. ().`-._.`) KDE Developer (MFCH)
(_Y_.)' ._ ) `._`. -.-' http://lateral.netmanagers.com.ar
_..`-'_..-_/ /-'_.' The 6,855th most popular site of Slovenia
(l)-'' ((i).' ((!.' according to alexa.com (27/5/2007
sphinx
that tries to look a bit like the web output.
- Is is possible / planned to add chapter numbering ?
Sure. The TOC support is incomplete, it lacks that and a working maxdepth.
--
(\''/).__..-''`-. . Roberto Alsina
`9_ 9 ) `-. ().`-._.`) KDE Developer (MFCH)
(_Y_
this as an extension?
The code is pretty much limited to builders/pdf.py and writers/pdf.py plus
some minimal stuff in config.py and the quickstart script.
--
(\''/).__..-''`-. . Roberto Alsina
`9_ 9 ) `-. ().`-._.`) KDE Developer (MFCH)
(_Y_.)' ._ ) `._`. -.-' http
on the builder/writer, really.
In rst2pdf there are some mechanisms to have styles for tables which can
define things for each cell, I am pretty sure you can do that in HTML, too
using custom CSS.
--
(\''/).__..-''`-. . Roberto Alsina
`9_ 9 ) `-. ().`-._.`) KDE Developer (MFCH)
(_Y_
is generated, so here the complete steps you
need to run to try out the pdf generator:
Will take a look at it tonight.
I am currently trying to run the django docs thtough rst2pdf and it's just
*this* close to working :-)
--
(\''/).__..-''`-. . Roberto Alsina
`9_ 9
documents
since there is probably a lot I am not even looking at.
Currently you need to use this fork of sphinx:
http://bitbucket.org/gminick/sphinx-rst2pdf-builder
And the SVN version of rst2pdf:
http://code.google.com/p/rst2pdf/source/checkout
--
(\''/).__..-''`-. . Roberto Alsina
ids=s1p2 names=s1p2titleS1P2/title/section
section ids=s2p2 names=s2p2titleS2P2/title/section
/section
/document
Basically, I get a paragraph with Contents: but not the rest of it.
Am I missing something in the builder? Some preprocessing of the tree?
--
(\''/).__..-''`-. . Roberto
Hello,
If there is a unique heading at the beginning of index.rst, which in docutils
would be taken as document title, in sphinx it seems to become a first-
level section, and then everything else is second-level or lower.
Is that expected behaviour?
--
(\''/).__..-''`-. . Roberto
;-)
Should I just fork that bitbucket repo and put it there?
--
(\''/).__..-''`-. . Roberto Alsina
`9_ 9 ) `-. ().`-._.`) KDE Developer (MFCH)
(_Y_.)' ._ ) `._`. -.-' http://lateral.netmanagers.com.ar
_..`-'_..-_/ /-'_.' The 6,855th most popular site of Slovenia
(l
On Wednesday 01 July 2009 16:30:17 Roberto Alsina wrote:
I have been working a bit on it, and it is pretty much working, with minor
changes from what's here: http://bitbucket.org/gminick/sphinx-rst2pdf-
builder/overview/
What's the suggested course of action? Does it have a chance
regards,
--
(\''/).__..-''`-. . Roberto Alsina
`9_ 9 ) `-. ().`-._.`) KDE Developer (MFCH)
(_Y_.)' ._ ) `._`. -.-' http://lateral.netmanagers.com.ar
_..`-'_..-_/ /-'_.' The 6,855th most popular site of Slovenia
(l)-'' ((i).' ((!.' according to alexa.com (27/5
list for just this functionality.
Same here, let me know if there's anything that needs doing on the rst2pdf
side.
--
(\''/).__..-''`-. . Roberto Alsina
`9_ 9 ) `-. ().`-._.`) KDE Developer (MFCH)
(_Y_.)' ._ ) `._`. -.-' http://lateral.netmanagers.com.ar
On Wednesday 25 March 2009 15:02:45 Wojtek Walczak wrote:
Roberto Alsina wrote:
'''
For this kind of app, I would give some thought to something like Pyjamas,
where you can create a modern AJAXy interface and all you would have to
implement as backend is some JSONRPC handlers, which
at all with
any web framework (or without one, either).
--
(\''/).__..-''`-. . Roberto Alsina
`9_ 9 ) `-. ().`-._.`) KDE Developer (MFCH)
(_Y_.)' ._ ) `._`. -.-' http://lateral.netmanagers.com.ar
_..`-'_..-_/ /-'_.' The 6,855th most popular site of Slovenia
(l
On Wednesday 21 January 2009 08:42:43 Luc Saffre wrote:
On 16.11.2008 19:16, Georg Brandl wrote:
Roberto Alsina schrieb:
I posted it in the issue:
http://www.bitbucket.org/birkenfeld/sphinx/issue/27
(...)
Many thanks! I'll look at it after 0.5 is out.
I'm not sure whether this fits
, but apart
from that I don't know of a tool.
I wrote a rst2rst script that can standardize things like section
decorations. It's a bit abandoned, but just google for rst2rst.py to take a
look.
--
(\''/).__..-''`-. . Roberto Alsina
`9_ 9 ) `-. ().`-._.`) KDE Developer (MFCH
just changing calls to the HTML writer to the rst2pdf-
provided writer). I would appreciate any pointers in that direction, too.
--
(\''/).__..-''`-. . Roberto Alsina
`9_ 9 ) `-. ().`-._.`) KDE Developer (MFCH)
(_Y_.)' ._ ) `._`. -.-' http://lateral.netmanagers.com.ar
wanting to integrate rst2pdf and sphinx. However I
just don't understand the sphinx code well enough :-(
I managed to achieve *some* success by blindly hacking stuff inside sphinx,
but not really anything I would show anyone.
--
(\''/).__..-''`-. . Roberto Alsina
`9_ 9
75 matches
Mail list logo