Hi Roberto,

Roberto Alsina wrote:
> On Wednesday 25 November 2009 12:20:45 werner wrote:
>   
>> Do I understand correctly, as I only want to add page numbers I could do:
>>
>> pdf_stylesheets = ['sphinx', 'sphinx-mine', ]
>>
>> And sphinx-mine.json would just need to contain:
>>
>> {
>>   "pageTemplates" : {
>>     "cutePage": {
>>         "showFooter" : true,
>>         "defaultFooter" : "###Page###"
>>     }
>>   }
>> }
>>
>>     
>
> Yes, that should work.
>   
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.

I just did another test.

my sphinx-mine.json contains:
{
  "pageTemplates" : {
    "cutePage": {
        "frames": [
            ["0%", "0%", "100%", "100%"]
        ],
        "showHeader" : true,
        "showFooter" : true,
        "defaultHeader" : "something page for the header ###Page###",
        "defaultFooter" : "something page ###Page###"
    }
  }
}
and conf.py:
pdf_stylesheets = ['sphinx-mine']

The PDF is generated with just about no formating but there is no 
footer, nor any header.  I know that style-mine is used as when I forgot 
the comma after the newly inserted line for "defaultHeader" I got an error.

Werner



--

You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.


Reply via email to