[sphinx-dev] problem with part, section and so on
Hi, I already spoke about this prob, but I quicky resume: When I create a proof document in thi way: part 1 chapter 1 section 1.1 subsection 1.1.1 chapter 2 section 1.1 subsection 1.1.1 part 2 chapter 1 section 1.1 subsection 1.1.1 chapter 2 section 1.1 subsection 1.1.1 I obtain a good html (with parts, section and subsection). But not the same in pdf (using make latexpdf) i.e. the parts disappear. So I try with make latex and then opened the .tex produced. I saw that the prob is that. the make latex, substitue the part with chapter. But Latex permit the use of part (I changed the chapter with part, and it works great). So I would like to know if this is a know bug, and if it exist a workaround (tha is not to re open the .tex and change it) hope to be been clear Renato -- You received this message because you are subscribed to the Google Groups sphinx-dev group. To post to this group, send email to sphinx-dev@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.
[sphinx-dev] another step ahead...
I hope... :-( the original .rst Part title.1 *** Chapter title 1 *** Section title 1.1 = produce this .tex file \part{Chapter title 1} \label{index:part-title-1}\label{index:chapter-title-1} \chapter{Section title 1.1} \label{index:section-title-1-1} \section{Subsection title 1.1.1} \label{index:subsection-title-1-1-1} _ and so on... (I've copied just a part of the .rst) it exchange the name of the statement, with the name of the step ahead... i.e. the REAL name of the statement \part, of course is: Part 1 not {Chapter title 1}, that is the real name of the statemen ahesd (\chapter, tha of course take the name of the statemen ahead (section title) really very strange prob. Any Idea? TIA Renato -- You received this message because you are subscribed to the Google Groups sphinx-dev group. To post to this group, send email to sphinx-dev@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.
[sphinx-dev] Re: OS independent make script
I've got the same idea, but wrong arguments. Perhaps you should try once more. https://bitbucket.org/birkenfeld/sphinx/issue/456/makepy-command-script The reason why .bat file is inconvenient, because Sphinx is still strictly Python application that should be installed with Python and AFAIK it doesn't set any of required environment variables On Friday, August 24, 2012 12:32:02 AM UTC+3, Tawez wrote: I am working with the team on quite a big project that utilizes Sphinx. We have a heterogeneous environment (Win, Linux, Mac OS X). We had to change a bit the make script to fit it to our requirements. Doing it twice (make.bat and Makefile) is not so user friendly and it is hard to maintain. Moreover, it is not possible to do everything in Windows shell. So, why not to use Python to write make script? IMHO it sounds more natural. This is what we have done actually. We've got make.py that runs on every team machine. It is specific to our project, but I think it will be easy to extract universal core similar to the current make scripts. Sounds interesting? I'm waiting for Your opinions. -- Tawez -- You received this message because you are subscribed to the Google Groups sphinx-dev group. To view this discussion on the web visit https://groups.google.com/d/msg/sphinx-dev/-/_OjpcB7TEmQJ. To post to this group, send email to sphinx-dev@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.
[sphinx-dev] Installer for Windows
Sphinx is not only Python-only tool anymore and not many people familiar with pythonic ways. I wonder what is the state of things for not generating installers for Windows? They could them add Sphinx to the path or set SPHINXBUILD as global environment variable for make.bat files. I remember it was even possible to generate installers on Linux. -- You received this message because you are subscribed to the Google Groups sphinx-dev group. To view this discussion on the web visit https://groups.google.com/d/msg/sphinx-dev/-/VULyM29ZLbsJ. To post to this group, send email to sphinx-dev@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.
Re: [sphinx-dev] Re: How to install on machine with no internet access
What do You mean by distrib? Distribution of what? -- regards Tawez On Saturday, September 29, 2012 9:16:12 PM UTC+2, gsavix wrote: i use debian squeeze and have download these source python (sphinx, docutils, jinja2, pygments) and others (latex to produce pdf docs created by sphinx) using python setup.py install, and after that these sphinx works. (for machine that not have internet access i have downloaded 8 dvds (for i386) of debian distrib squeeze and use mount with option -o loop. .ps what is distrib that you are running? 2012/9/28, Tawez taw...@gmail.com javascript:: On Tuesday, September 25, 2012 3:25:17 PM UTC+2, Alexander Gray II wrote: Hi, We have machines that do not have internet access and we would like to install Sphinx on them. I downloaded the egg and used the easy-install utility to install it. It fails when it tries to download the dependencies from the internet. Is there an easy way to install this on a machine that does not have internet access? Or is there a list of all the dependencies that Sphinx has? Thanks! Hi, Take a look at easy_install documentation. http://packages.python.org/distribute/easy_install.html#installing-on-un-networked-machines Download all the dependencies on networked machine: easy_install -zmaxd /where/store/eggs Sphinx Then copy all the eggs to un-networked machine and run: easy_install -H None -f /where/are/eggs Sphinx HINT: Copy eggs to folder on un-networked machine, go to this folder and run: easy_install -H None -f . Sphinx If You need list of dependencies, at the moment of writing it is: - sphinx - docutils - jinja2 - pygments -- regards Tawez -- You received this message because you are subscribed to the Google Groups sphinx-dev group. To view this discussion on the web visit https://groups.google.com/d/msg/sphinx-dev/-/eRcn-_-MnCkJ. To post to this group, send email to sphin...@googlegroups.comjavascript:. To unsubscribe from this group, send email to sphinx-dev+...@googlegroups.com javascript:. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en. -- gilberto dos santos alves +55.11.98646-5049 são paulo - sp - brasil -- You received this message because you are subscribed to the Google Groups sphinx-dev group. To view this discussion on the web visit https://groups.google.com/d/msg/sphinx-dev/-/PV1TyT89lXsJ. To post to this group, send email to sphinx-dev@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.
[sphinx-dev] Sphinx not found patch for make.bat
The attached patch instructs Windows users what to do in case 'sphinx-build' is not found and where to get it. # HG changeset patch # User anatoly techtonik techto...@gmail.com # Date 1350916093 -10800 # Node ID eca7146dc07ed4d2ccbcece31cef89ef19eee452 # Parent 1f3a2749df398b4893bff71b0b243fad1851f093 Provide instructions for make.bat in case sphinx-build is not found diff -r 1f3a2749df39 -r eca7146dc07e sphinx/quickstart.py --- a/sphinx/quickstart.py Sun Jul 29 19:27:36 2012 +0200 +++ b/sphinx/quickstart.py Mon Oct 22 17:28:13 2012 +0300 @@ -414,6 +414,20 @@ clean: \t-rm -rf $(BUILDDIR)/* + +%SPHINXBUILD% 2 nul +if errorlevel 9009 ( +echo. +echo.'sphinx-build' command is not found. Make sure you have Sphinx +echo.installed, then set SPHINXBUILD environment variable to point +echo.to a full path of 'sphinx-build' executable. Alternatively you +echo.may add Sphinx directory to PATH. +echo. +echo.If you don't have Sphinx installed, grab it from +echo.http://sphinx.pocoo.org/ +exit /b 1 +) + html: \t$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html \t@echo -- You received this message because you are subscribed to the Google Groups sphinx-dev group. To view this discussion on the web visit https://groups.google.com/d/msg/sphinx-dev/-/bDKnYFMGHIsJ. To post to this group, send email to sphinx-dev@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.
[sphinx-dev] [PATCH] Sphinx not found patch for make.bat
I don't know why, but I can not attach files to posts, so I've pasted it as-is. BTW, windows .bat files are not tab-sensitive, so there is no point in keeping \t chars in template. -- You received this message because you are subscribed to the Google Groups sphinx-dev group. To view this discussion on the web visit https://groups.google.com/d/msg/sphinx-dev/-/BNDo_HV8tkkJ. To post to this group, send email to sphinx-dev@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.
[sphinx-dev] [PATCH] Sphinx not found patch for make.bat
I don't know why, but I can not attach files to posts, so I've pasted it as-is. BTW, windows .bat files are not tab-sensitive, so there is no point in keeping \t chars in template. -- You received this message because you are subscribed to the Google Groups sphinx-dev group. To view this discussion on the web visit https://groups.google.com/d/msg/sphinx-dev/-/805wLOSWk_sJ. To post to this group, send email to sphinx-dev@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.
Re: [sphinx-dev] Installer for Windows
i do not understand very well what is your doubt or comment but anyway, you know about this link: http://packages.python.org/an_example_pypi_project/setuptools.html http://packages.python.org/an_example_pypi_project/setuptools.htmlbest regards! 2012/10/22 anatoly techtonik techto...@gmail.com Sphinx is not only Python-only tool anymore and not many people familiar with pythonic ways. I wonder what is the state of things for not generating installers for Windows? They could them add Sphinx to the path or set SPHINXBUILD as global environment variable for make.bat files. I remember it was even possible to generate installers on Linux. -- You received this message because you are subscribed to the Google Groups sphinx-dev group. To view this discussion on the web visit https://groups.google.com/d/msg/sphinx-dev/-/VULyM29ZLbsJ. To post to this group, send email to sphinx-dev@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en. -- gilberto dos santos alves +55.11.98646-5049 são paulo - sp - brasil -- You received this message because you are subscribed to the Google Groups sphinx-dev group. To post to this group, send email to sphinx-dev@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.
Re: [sphinx-dev] Re: OS independent make script
if you see concept of python setup.py install you will find good way. but see also (cmake) and other tools for running heterogeneous (linux environments) and other plataforms, processors, etc. this job is for Golias. 2012/10/22 anatoly techtonik techto...@gmail.com I've got the same idea, but wrong arguments. Perhaps you should try once more. https://bitbucket.org/birkenfeld/sphinx/issue/456/makepy-command-script The reason why .bat file is inconvenient, because Sphinx is still strictly Python application that should be installed with Python and AFAIK it doesn't set any of required environment variables On Friday, August 24, 2012 12:32:02 AM UTC+3, Tawez wrote: I am working with the team on quite a big project that utilizes Sphinx. We have a heterogeneous environment (Win, Linux, Mac OS X). We had to change a bit the make script to fit it to our requirements. Doing it twice (make.bat and Makefile) is not so user friendly and it is hard to maintain. Moreover, it is not possible to do everything in Windows shell. So, why not to use Python to write make script? IMHO it sounds more natural. This is what we have done actually. We've got make.py that runs on every team machine. It is specific to our project, but I think it will be easy to extract universal core similar to the current make scripts. Sounds interesting? I'm waiting for Your opinions. -- Tawez -- You received this message because you are subscribed to the Google Groups sphinx-dev group. To view this discussion on the web visit https://groups.google.com/d/msg/sphinx-dev/-/_OjpcB7TEmQJ. To post to this group, send email to sphinx-dev@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en. -- gilberto dos santos alves +55.11.98646-5049 são paulo - sp - brasil -- You received this message because you are subscribed to the Google Groups sphinx-dev group. To post to this group, send email to sphinx-dev@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.