Re: [sphinx-dev] Problems in a make html

2012-09-03 Thread Federico Bruni
Il 03/09/2012 23:42, e-friend-partner ha scritto: Hi comunity ! I'm trying to generate my doc, but this error arise : Exception occurred: File C:\Python27\lib\site-packages\sphinx-1.1.3-py2.7.egg\sphinx\environment. py, line 737, in decode return data.decode(self_.encoding, 'sphinx')

Re: [sphinx-dev] Re: styles for root and normal user shell command

2012-06-13 Thread Federico Bruni
Il 13/06/2012 09:25, Guenter Milde ha scritto: On 2012-06-12, Federico Bruni wrote: Il 12/06/2012 11:31, Guenter Milde ha scritto: (The code directive is new in reStructuredText (docutils 0.9 (2012-05-02). Use the Sphinx extension sourcecode with earlier Docutils versions

Re: [sphinx-dev] Re: styles for root and normal user shell command

2012-06-13 Thread Federico Bruni
Il 13/06/2012 09:23, Guenter Milde ha scritto: .. code:: sh :class: root cdthe unpacked archive' root python3 setup.py install python setup.py install (The last setup command should use the default Python version, as distutils puts the command it was called with in the shebang

Re: [sphinx-dev] auto numbering and figures

2012-06-13 Thread Federico Bruni
Il 13/06/2012 11:06, SFL ha scritto: I would like to combine documents dynamically, therefore I intend to use the automatic numbering feature. However, including figures seems to break the numbering. All topics will start with 1 instead of continuous counting steps. Probably in your example

Re: [sphinx-dev] Re: styles for root and normal user shell command

2012-06-13 Thread Federico Bruni
Il 13/06/2012 21:18, Federico Bruni ha scritto: I see: I think I'll end up using a general style for shell prompt and use 'sudo' to show the commands which need root privileges. Thinking twice, it's better, because quite often a single code block might include root and normal user commands. So

[sphinx-dev] styles for root and normal user shell command

2012-06-12 Thread Federico Bruni
Hi, the easiest way to enter shell commands is probably not using any $ and # sign in front of the command and using sudo for commands to be run as root. But it would be nice to handle it differently. I'd like to be able to define two styles for shell commands. I don't want to use sudo in

Re: [sphinx-dev] Re: styles for root and normal user shell command

2012-06-12 Thread Federico Bruni
Il 12/06/2012 11:31, Guenter Milde ha scritto: a) use the sh lexer, give a class value to the input and use a custom style (CSS rule with class selector with HTML, tricky or maybe impossible with LaTeX/PDF):: .. code:: sh :class: user python program.py

Re: [sphinx-dev] Re: styles for root and normal user shell command

2012-06-12 Thread Federico Bruni
Il 13/06/2012 00:48, Federico Bruni ha scritto: Currently I have docutils 0.8 on my debian system. I've tried installing latest svn version but code is not recognized: Nevermind, it didn't work because I followed the README in docutils source code (which recommended using python3), so Sphinx

Re: [sphinx-dev] Re: styles for root and normal user shell command

2012-06-12 Thread Federico Bruni
Il 12/06/2012 11:31, Guenter Milde ha scritto: a) use the sh lexer, give a class value to the input and use a custom style (CSS rule with class selector with HTML What's the best way to add a custom style? I can imagine it's been asked before, but I couldn't find anything useful in the

Re: [sphinx-dev] recipe for multiple volumes?

2012-05-25 Thread Federico Bruni
Il 23/05/2012 20:52, Paul Dubois ha scritto: Right now I have simply two directories with their own Makefile, source subdirectory, conf.py and index files. So far when one book has to refer to the other I just use :title' to refer to the other book but I'd prefer of course to make a link when

Re: [sphinx-dev] Thinking about using Sphinx to generate a static photo website

2011-12-07 Thread Federico Bruni
If it's a photo website you should use a different tool. I recommend lazygal (written in python): http://sousmonlit.dyndns.org/~niol/playa/oss/projects/lazygal/ (it's in the debian repository, in case you use linux) I don't know what you really mean with relative linking... anyway, lazygal

Re: [sphinx-dev] Re: A new extension for including Lilypond

2011-02-27 Thread Federico Bruni
Il giorno dom, 27/02/2011 alle 23.34 +0200, Luc Saffre ha scritto: Oops, I found some more messages of this thread only later, and also the sphinx-contrib, and the pnglily_preamble config variable. That should be enough for my needs. Great work! Version on bitbucket is not up-to-date.

Re: [sphinx-dev] Two newbie questions

2011-01-13 Thread Federico Bruni
2011/1/13 Curiouslearn curiousle...@gmail.com Hello All, Sphinx seems great. I am trying it out and I think I will start using it for most of my writing. I have two basic questions: (1) How to get rid of the text v0.1 or something like that which refers to the version. I am writing some

Re: [sphinx-dev] Re: lilypond extension

2010-07-28 Thread Federico Bruni
Il giorno mer, 28/07/2010 alle 00.01 -0400, Vadim Gubergrits ha scritto: Hi Federico, It looks like lilypond failed at some stage. Try to run the following commands (Linux or MacOS): $ mkdir out $ echo \relative c'' {c4 a d c} music.ly $ lilypond -dbackend=eps

[sphinx-dev] Re: problems with lilypond extension

2010-07-27 Thread Federico Bruni
please consider this post as the main one and discard all the others I thaught that the other emails didn't reach the mailing list.. .. but I've just read that posts of new members are moderated. Sorry for the noise On 26 Lug, 17:40, Federico Bruni fedel...@gmail.com wrote: Hi, I'm a new

[sphinx-dev] problems with lilypond extension

2010-07-26 Thread Federico Bruni
Hi, I'm a new (enthusiast) user of Sphinx. I've successfully installed the lilypond extension available in sphinx-contrib[1], but unfortunately it's not working. It creates the .ly file in /tmp but the .png is not created so the build fails. Please find attached a minimal example and the log

[sphinx-dev] lilypond extension

2010-07-26 Thread Federico Bruni
Hi all, I'm a brand new Sphinx user (really impressed by your software). I'm planning to write a tutorial about LilyPond (http://lilypond.org/) and I've found out that last year a specific extension for LilyPond was written:

[sphinx-dev] Re: lilypond extension

2010-07-26 Thread Federico Bruni
in relative fontsize. I wonder: why putting it in Installing section? Maybe is it required? I've tried to put in conf.py: pnglily_fontsize = ['6', '-3'] But I get the same errors. Cheers, Federico Il giorno dom, 25/07/2010 alle 22.36 +0200, Federico Bruni ha scritto: I've realized

[sphinx-dev] Re: lilypond extension

2010-07-26 Thread Federico Bruni
/2010 alle 07.24 -0700, Federico Bruni ha scritto: Hi all, I'm a brand new Sphinx user (really impressed by your software). I'm planning to write a tutorial about LilyPond (http://lilypond.org/) and I've found out that last year a specific extension for LilyPond was written: http