Mr. Hussein, Even looking at the sites whose links you gave me, I'm unable to discover how I have to do to delete the grids in both the tables and their cells in the HTML output.
Would you be so kind to seek yourself it for me (or ask someone who knows) and tell me how? I've a real (and somewhat pressing) need of knowing it. Kind regards Pere Porta 2010/10/21 Hussein Shafie <[email protected]> > On 10/21/2010 06:52 AM, Pere Porta wrote: > > Thank you! > > > > Now, which are the steps to achieve the same thing (namely, tables > > without any kind of grid) at converting the document to HTML? > > > > Is the procedure exactly the same as for to get a PDF outcome? > > I generally don't know the answer to your questions. I need to look at: > > http://docbook.sourceforge.net/release/xsl/current/doc/ > > Either: > > * HTML Parameter Reference > http://docbook.sourceforge.net/release/xsl/current/doc/html/index.html > > Or: > > * FO Parameter Reference > http://docbook.sourceforge.net/release/xsl/current/doc/fo/index.html > > (FO is the intermediate format used when converting a document to PDF, > PostScript, RTF, .odt, .docx, etc.) > > Now that you have understood how works the "Change Document Conversion > Parameters" facility, why don't you look at the above reference manual > by yourself? > > According to > http://docbook.sourceforge.net/release/xsl/current/doc/html/index.html, > the answer to your question is yes. (I've not tested it though.) > > Simply select in the dialog box displayed by "Options|Customize > Configuration|Change Document Conversion Parameters" one of the two > parameter groups corresponding to HTML rather than the one corresponding > to PDF. > > > > > Pere Porta > > > > 2010/10/20 Hussein Shafie <[email protected] <mailto: > [email protected]>> > > > > On 10/20/2010 04:17 PM, Pere Porta wrote: > > > > > > Sometimes I need that when converting a docbook document to pdf the > > > tables I inserted in the docbook document to appear in the PDF > output > > > -and to be printed- WITHOUT the grid. > > > > > > Is this really possible? > > > > Yes, this is done by setting both the "table.cell.border.style" and > > "table.frame.border.style" XSLT stylesheet > > parameters to "none". See attached screenshot. > > > > About "-and to be printed-", File|Print is not the recommended way to > > print in XXE. It works fine (better than in most Web browsers!) but > it > > will just print you a copy of what you see on screen. > > > > The recommended way to print is to use "DocBook|Convert > Document|Print > > PostScript". See > > > http://www.xmlmind.com/xmleditor/_distrib/doc/docbook/docbook_menu.html#docbook_convert_menu > . > > Of course, this requires you to have a PostScript-compatible printer. > > > > > > > > > Which is the shortest way to get this? > > > > Procedure for both "Convert to PDF" and "Print PostScript": > > > > [1] Open your document. > > > > [2] Select "Options|Customize Configuration|Change Document > Conversion > > Parameters". > > > > [3] Select a group of parameter using the combobox. For Example: > > "Converter to PDF, PostScript" > > > > [4] Click Add. > > > > [5] Type: > > --- > > table.cell.border.style > > --- > > then: > > --- > > none > > --- > > > > [6] Click OK to close the Add dialog box. > > > > [7] Click Add. > > > > [8] Type: > > --- > > table.frame.border.style > > --- > > then: > > --- > > none > > --- > > > > [9] Click OK to close the Add dialog box. > > > > [10] Click OK to close the main dialog box. > > > > This setting is specified once for all and not each time you'll have > to > > convert a DocBook 4 or 5 document. > > > > Also note that you can also save this kind of special conversion > > parameter set for later use and then restore your usual conversion > > parameter set. See > > > http://www.xmlmind.com/xmleditor/_distrib/doc/help/com.xmlmind.xmleditapp.kit.part.ConversionParametersEditor.html#com.xmlmind.xmleditapp.kit.part.ParameterSetChooser > > > > > > > > > > -- > > Pere Porta > > "Ei nekrói ouk eguéirontai, fágomen kai píomen áurion gar apothnéskomen" > > (1Cor 15:32) > > > > > > > > > > -- > > XMLmind XML Editor Support List > > [email protected] > > http://www.xmlmind.com/mailman/listinfo/xmleditor-support > > > > -- Pere Porta "Ei nekrói ouk eguéirontai, fágomen kai píomen áurion gar apothnéskomen" (1Cor 15:32)
-- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support

