Table rules for empty cells

Is there a simple way to force a table to actually generate rules around all cells when generating html from docbook? <table rules="all"> is not doing it. Right now, I'm having to insert non-breaking spaces to force empty cells to get rules, which means I have a lot of lines like this: <td> <!-- nonbreaking space --></td> in a sparse table. This is okay - easily generated with global replace - but a but of a nuisance. PDFs generated from the same source are ruled correctly, but the HTML is not, unless the   is inserted. Or, for a workaround, is it possible to add a non-breaking space to the "insert from character map" options in a future version? (speaking of the character map, it would be really nice if the non-printing characters were labelled - I can usually remember that U+000D is a CR, but the others I have to look up) Cheers, -Jon Kiparsky

Hello, I tried the default scenarios Docbook HTML and Docbook PDF on a table with the rules="all" attribute and the rule lines were created correctly between all the rows and columns. The table looks the same in the HTML and PDF outputs. For the border lines of the table, that is the lines that surround the first and/or last rows and/or columns you need to add the frame attribute on the table element. For example if you want to surround the table on all four sides you have to add frame="border". If this does not work for you please send a small Docbook sample document for reproducing the problem. What Oxygen version do you use? If you want equal heights on the table rows of a sparse table you have to place non-empty content in at least one cell of each row. An XML comment or white spaces do not qualify as non-empty content. Also the column width can be adjusted with col elements added in the table, for example: <table rules="all" frame="border"> <caption>HTML table</caption> <col width="25%"/> <col width="50%"/> <col width="25%"/> <tbody> . . . Otherwise in case of a sparse table the default width and height of a cell located on an empty row an empty column are very small in the output result of the transformation making that empty row and empty column almost invisible. Regards, Sorin Kiparsky, Jon wrote:
Is there a simple way to force a table to actually generate rules around all cells when generating html from docbook? <table rules="all"> is not doing it. Right now, I’m having to insert non-breaking spaces to force empty cells to get rules, which means I have a lot of lines like this:
<td> <!-- nonbreaking space --></td>
in a sparse table. This is okay – easily generated with global replace – but a but of a nuisance. PDFs generated from the same source are ruled correctly, but the HTML is not, unless the   is inserted.
Or, for a workaround, is it possible to add a non-breaking space to the “insert from character map” options in a future version?
(speaking of the character map, it would be really nice if the non-printing characters were labelled – I can usually remember that U+000D is a CR, but the others I have to look up)
Cheers,
-Jon Kiparsky

Hi, I was wondering recently if the formal Unicode name for each character could appear on the character map (maybe next to the nice picture of the character on the lower right) -- and if it could be searchable ... I'm always going on line to do this. Many users would probably also like the ISO entity names for characters built into many common DTDs including HTML, MathML and so on ... but these are DTD-dependent, so properly a different issue and a more complicated one. (After all, we already have an Entities View that works fairly well.) Cheers, Wendell -- ====================================================================== Wendell Piez mailto:wapiez@mulberrytech.com Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================

Hi Wendell, Thanks for the suggestion. Actually this has been asked before but we somehow need to automatically compile a list of characters and their unicode names in an XML file and then use this file to provide information in the dialog. The issue is for now scheduled to be resolved in Oxygen 13 (in a couple of months) but I can give no guarantees. Regards, Radu Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 5/13/2011 5:13 PM, Wendell Piez wrote:
Hi,
I was wondering recently if the formal Unicode name for each character could appear on the character map (maybe next to the nice picture of the character on the lower right) -- and if it could be searchable ... I'm always going on line to do this.
Many users would probably also like the ISO entity names for characters built into many common DTDs including HTML, MathML and so on ... but these are DTD-dependent, so properly a different issue and a more complicated one. (After all, we already have an Entities View that works fairly well.)
Cheers, Wendell

Radu Coravu wrote:
Actually this has been asked before but we somehow need to automatically compile a list of characters and their unicode names in an XML file and then use this file to provide information in the dialog.
If text file is enough, you can grab it directly from Unicode at http://www.unicode.org/Public/UNIDATA/UnicodeData.txt Jirka -- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz ------------------------------------------------------------------ Professional XML consulting and training services DocBook customization, custom XSLT/XSL-FO document processing ------------------------------------------------------------------ OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member ------------------------------------------------------------------

Thanks Jirka, Looks exactly like what we needed. Regards, Radu Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 5/13/2011 6:11 PM, Jirka Kosek wrote:
Radu Coravu wrote:
Actually this has been asked before but we somehow need to automatically compile a list of characters and their unicode names in an XML file and then use this file to provide information in the dialog.
If text file is enough, you can grab it directly from Unicode at
http://www.unicode.org/Public/UNIDATA/UnicodeData.txt
Jirka

Radu Coravu wrote:
Looks exactly like what we needed.
You are welcomed ;-) Also as Wendell pointed out it would be good if lookup can be done using entity names as well. Most comprehensive list of entities is probably this one: http://www.w3.org/2003/entities/2007/w3centities-f.ent There is XML source for this file which might be easier to process for you: http://www.w3.org/2003/entities/2007xml/unicode.xml HTH, Jirka -- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz ------------------------------------------------------------------ Professional XML consulting and training services DocBook customization, custom XSLT/XSL-FO document processing ------------------------------------------------------------------ OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member ------------------------------------------------------------------

Andrew West of BabelStone just did an amazing online character lookup tool, here: http://www.babelstone.co.uk/Unicode/babelmap.html and you can grab his JavaScript, which has a lot of useful metadata of all the characters (not just their names) here: http://www.babelstone.co.uk/Unicode/unicode.js Cheers! On Mon, May 16, 2011 at 3:03 AM, Jirka Kosek <jirka@kosek.cz> wrote:
Radu Coravu wrote:
Looks exactly like what we needed.
You are welcomed ;-)
Also as Wendell pointed out it would be good if lookup can be done using entity names as well. Most comprehensive list of entities is probably this one:
http://www.w3.org/2003/entities/2007/w3centities-f.ent
There is XML source for this file which might be easier to process for you:
http://www.w3.org/2003/entities/2007xml/unicode.xml
HTH,
Jirka
-- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz ------------------------------------------------------------------ Professional XML consulting and training services DocBook customization, custom XSLT/XSL-FO document processing ------------------------------------------------------------------ OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member ------------------------------------------------------------------
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user

Greetings, i just updated to Oxygen 12.2 - and now the menu-line with text menus (File etc.) has disappeared - instead I have icons from selected menus. If I right-click up where the icons are, I se that the first choice says "Menu" (before "File" and "Edit" etc.), but this choice is a) checked and b) greyed out. How ca I get back the text-menu headers (File, Edit etc.)? Espen Ore, University of Oslo

Hello, Thank you for letting us know about this. The menu was not removed in v12.2, you've probably encountered a bug. Could you please send us a screenshot of the problem to support@oxygenxml.com ? Regards, Adrian Adrian Buza oXygen XML Editor and Author Support support@oxygenxml.com http://www.oxygenxml.com Espen S. Ore wrote:
Greetings,
i just updated to Oxygen 12.2 - and now the menu-line with text menus (File etc.) has disappeared - instead I have icons from selected menus. If I right-click up where the icons are, I se that the first choice says "Menu" (before "File" and "Edit" etc.), but this choice is a) checked and b) greyed out. How ca I get back the text-menu headers (File, Edit etc.)?
Espen Ore, University of Oslo _______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user

To clarify for the rest of the list. The main menu is dockable and in this particular case it somehow got docked to the right side of the editor(vertical orientation), making it difficult to spot. So it is not a bug in v12.2, just a coincidence. Regards, Adrian Adrian Buza wrote:
Hello,
Thank you for letting us know about this.
The menu was not removed in v12.2, you've probably encountered a bug. Could you please send us a screenshot of the problem to support@oxygenxml.com ?
Regards, Adrian
Adrian Buza oXygen XML Editor and Author Support support@oxygenxml.com http://www.oxygenxml.com
Espen S. Ore wrote:
Greetings,
i just updated to Oxygen 12.2 - and now the menu-line with text menus (File etc.) has disappeared - instead I have icons from selected menus. If I right-click up where the icons are, I se that the first choice says "Menu" (before "File" and "Edit" etc.), but this choice is a) checked and b) greyed out. How ca I get back the text-menu headers (File, Edit etc.)?
Espen Ore, University of Oslo _______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
participants (8)
-
Adrian Buza
-
Chris Maloney
-
Espen S. Ore
-
Jirka Kosek
-
Kiparsky, Jon
-
Radu Coravu
-
Sorin Ristache
-
Wendell Piez