On Wednesday 15 September 2010 11:26:14 werner wrote: > Hi Roberto, > > That was ultra fast! :-) > > On 15/09/2010 15:46, Roberto Alsina wrote: > > ... > > > - I get a warning " Using undefined style 'kbd', aliased to style > > > > 'normal'.", but I can't find where style "kbd" is referenced > > Probably sphinx is assigning class kbd to some element, and it's not in > > rst2pdf's stylesheet. Usually that's harmless unless of course it looks > > ugly, in which case a style needs to be added to the stylesheet :-) > > Hhm, maybe this? ":kbd:`Alt-s` ", I am pretty sure this worked/showed > nicely before. I think it was «Alt-s», but I am not sure.
Yes, that's it. It seems sphinx's CSS for kbd is... nothing. Or at least I don't see it styled, so I'll just add a dummy kbd style. Done in r2339, that should take care of that warning. > >> - on the cover page the date is shown a strangely, i.e. "day" is in bold > >> and uses a larger font then the rest, i.e. "month" and "year" are about > >> 2/3 of a line down and over to the right by a few spaces. > > > > That's weird. I'll take a look tonight. > > Just realized that it is fine in my "english" doc but not in my "german" > version. > > English: > > > German: > > Aha, an issue with the date format, i.e. I guess Sphinx is switching it > to German locale format as the language in conf.py is defined as "de" > and then the above tries to translate 15 to the month name. > > Do I need to set something special for this in the conf.py rst2pdf section? No idea, really. Could you do a sphinx project, as small as possible and send it to me privately with instructions on how to change it to german, etc? I will then take a look. -- 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.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.