Em Fri, 04 Mar 2016 15:09:09 +0100 Johannes Stezenbach <js@xxxxxxxxxxx> escreveu: > On Fri, Mar 04, 2016 at 09:59:50AM -0300, Mauro Carvalho Chehab wrote: > > > > 3) I tried to use a .. cssclass, as Johannes suggested, but > > I was not able to include the CSS file. I suspect that this is > > easy to fix, but I want to see if the cssclass will also work for > > the pdf output as well. > > "cssclass" was (I think) a custom role defined in the example, > unless you also have defined a custom role you can use plain "class". > I have not looked deeper into the theming and template stuff. Well, it accepted cssclass for html (well, it didn't find the templates - so I guess it is just me failing to understand how to tell sphinx to get the stylesheet), but it rejects it for latexPDF. > > > 4) It seems that it can't produce nested tables in pdf: > > > > Markup is unsupported in LaTeX: > > v4l-table-within-table:: nested tables are not yet implemented. > > Makefile:115: recipe for target 'latexpdf' failed > > This: > http://www.sphinx-doc.org/en/stable/markup/misc.html#tables > > suggests you need to add the tabularcolumns directive > for complex tables. > > BTW, as an alternative to the ASCII-art input > there is also support for CSV and list tables: > http://docutils.sourceforge.net/docs/ref/rst/directives.html#table I converted one of the big tables to CSV. At least now it recognized it as a table. Yet, the table was very badly formated: https://mchehab.fedorapeople.org/media-kabi-docs-test/rst_tests/packed-rgb.html This is how this table should look like: https://linuxtv.org/downloads/v4l-dvb-apis/packed-rgb.html Also, as this table has merged cells at the legend. I've no idea how to tell sphinx to do that on csv format. The RST files are on this git tree: https://git.linuxtv.org/mchehab/v4l2-docs-poc.git/ Regards, Mauro -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html