On 20 October 2011 15:34, Xuesong Lu <[email protected]> wrote: > Hi, > I got a quite long table in my asciidoc, and wanted to put it in the > orientation of "landscape" style so that all in the table can be display > properly either in genereated pdf or html. > > I searched and found that docbook has orient="land" attribute > http://www.informatik.tu-cottbus.de/~agiurca/tutorials/DocBook/index.htm > > so I tested in asciidoc like following: > .table 1 > [format="csv",cols="",orient="land",options="header"] > |=================================================== > COL1,COL2,COL3 > include::table1.csv[] > |=================================================== > > But the orient="land" took no effect, nothing changed. > > Could anyone tell me what's wrong, or how to get it work?
Hi, It won't work because it isn't currently supported by asciidoc. It does seem to be potentially useful to add. In the meantime you can define a local customisation using the attached (WARNING poorly tested) add_table_orient.conf. You need to tell asciidoc to use this file by adding --conf-file=path on the command line or add a line :conf-files: path in the header of the document. Cheers Lex > > Thanks in advance > > Regards, > Cedar > > -- > You received this message because you are subscribed to the Google Groups > "asciidoc" 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/asciidoc?hl=en. > > -- You received this message because you are subscribed to the Google Groups "asciidoc" 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/asciidoc?hl=en.
add_table_orient.conf
Description: Binary data
