Re: [sphinx-dev] Using Sphinx to generate snippets

2010-12-02 Thread Michael Hull
Hi Kevin, Sorry for the delay, I am still interested in the problem, I will check out the code as soon as! Mike On Fri, Nov 12, 2010 at 1:12 PM, Kevin Dunn wrote: > On Wed, Nov 10, 2010 at 19:28, Mike Hull wrote: >> HI, >> I really like sphinx, but I am having some problem adapting it :) >> B

[sphinx-dev] Getting another page's local TOC

2010-12-02 Thread hanna
Hi! I'm trying to write a sidebar template that will display the the toc of the current page's parent (in the sidebar for the pages html_sidebars says it should). I've know that you can display a global toc with: {# Filename #} {{ toctree() }} a local toc with: {# Filename #} {{ toc }} and a

[sphinx-dev] Re: Getting another page's local TOC

2010-12-02 Thread Hanna Mendes Levitin
Oops I omitted a line from the example of how to print a link to a page's parent. The actual code is: {# Filename #} {% set parents = parents.pop() %} {% if parents %} {{ parents.title }} {% endif %} It probably doesn't matter much for the solution, but I wanted to comment for the sake of corre

[sphinx-dev] Re: Changing table header fonts for latex?

2010-12-02 Thread Lennart Regebro
Or, I can find some other way of doing it. What I want is a short box or subsection giving some information under each heading. The best option I found so far is doing this: .. rubric:: 2to3 fixer ☑ six support ☐ Yeah, that's a unicode checkbox and a unicode empty box. This way I for every sectio

Re: [sphinx-dev] Re: Forewords / Preface

2010-12-02 Thread Lennart Regebro
On Thu, Dec 2, 2010 at 13:51, Jan Ulrich Hasecke wrote: > > Am 02.12.2010 um 13:47 schrieb Lennart Regebro: > >> wrote: >>> \frontmatter >> >> That gave the error "undefined control sequence", weirdly enough. > > In Sphinx or LaTeX? Maybo not all classes support this. :-( In LaTeX. It seems so,

Re: [sphinx-dev] Re: Forewords / Preface

2010-12-02 Thread Jan Ulrich Hasecke
Am 02.12.2010 um 13:47 schrieb Lennart Regebro: > wrote: >> \frontmatter > > That gave the error "undefined control sequence", weirdly enough. In Sphinx or LaTeX? Maybo not all classes support this. :-( juh smime.p7s Description: S/MIME cryptographic signature

Re: [sphinx-dev] Re: Forewords / Preface

2010-12-02 Thread Lennart Regebro
On Wed, Dec 1, 2010 at 11:50, Jan Ulrich Hasecke wrote: > \frontmatter That gave the error "undefined control sequence", weirdly enough. -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-...@googlegroups

[sphinx-dev] Changing table header fonts for latex?

2010-12-02 Thread Lennart Regebro
Is there a way I can change the table header font for latex output? I want it not to just be bold, but to be the same font as in headings in general. It seems (but I'm unsure) that I will have to actually change the latex writer, which I'm happy to do, but then comes the question of what latex cod