Re: [docbook-apps] Content model for caption wrong?

2016-02-04 Thread Frank Arensmeier
Hi! Ok, I see. Thank you Radu! /frank > 4 feb 2016 kl. 12:16 skrev Radu Coravu : > > Hi Frank, > > Your link is from the Docbook 4 Guide. > The Docbook 5 specs for "caption" does not seem to allow mixed content inside > it: > >>

[docbook-apps] Content model for caption wrong?

2016-02-04 Thread Frank Arensmeier
Hello! I am reading the content model definition for the "caption" element - http://www.docbook.org/tdg/en/html/caption.html The content model clearly states that captions can contain plain text. However, this little snippet does not pass

Re: [docbook-apps] Content model for caption wrong?

2016-02-04 Thread Radu Coravu
Hi Frank, Your link is from the Docbook 4 Guide. The Docbook 5 specs for "caption" does not seem to allow mixed content inside it: http://www.docbook.org/tdg5/en/html/caption.html Regards, Radu Radu Coravu XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On

AW: AW: [docbook-apps] Centered table cells

2016-02-04 Thread Kallauch, Benjamin (EEIN/5)
Hi Bob, dear all you say, the block inside the cell may reset the text-align attribute. This is indeed the case in my fo-export. Here is a code snippet, where you can see, that the cell has got the text-align attribute set correctly to 'center', but then the following child block element

[docbook-apps] Centered table cells

2016-02-04 Thread Kallauch, Benjamin (EEIN/5)
Dear community I encountered a problem using XSL --> FO where I can't get centered table cells (horizontally). In my opinion the cause is in a false fo-structure, where the 'text-align' attribute is set in the fo:table-cell element rather than in the fo:block child element. The problem is

[docbook] Generic GUI component element

2016-02-04 Thread Anders Svensson
Hi, I'm wondering what would be the recommended best practice for a GUI component element in DocBook? I know there are a number of different elements for GUI components, like guilabel, guiicon, guibutton, etc. The problem is, it's too specific. In most cases I see there is a wish to mark up

Re: [docbook-apps] Centered table cells

2016-02-04 Thread Ron Catterall
Is your problem centering the whole table, or just the content of each cell On 02/04/2016 08:57 AM, Kallauch, Benjamin (EEIN/5) wrote: Dear community I encountered a problem using XSL --> FO where I can’t get centered table cells (horizontally). In my opinion the cause is in a false

[docbook] Breaking tables across pages, repeating header row

2016-02-04 Thread Emery, Norma (HGR)
I’ve searched the archives for this list and I can’t find an answer to this question. I’m trying to get my table headings to repeat when the table breaks across pages. I’ve looked at attributes for table, thead and row and can’t find any attribute for this. I’ve also checked transform

Re: [docbook] Generic GUI component element

2016-02-04 Thread Peter Lavin
Using only guilabel sounds sensible to me. I've used DocBook for years and only ever found a need for guibutton, guimenu and guilabel. -- Excuse brevity. Sent from mobile device. On Feb 4, 2016 8:51 AM, "Anders Svensson" wrote: > Hi, > > I'm wondering what would be

[docbook-apps] Re: [docbook] Breaking tables across pages, repeating header row

2016-02-04 Thread Peter Desjardins
[Moving to docbook-apps list, where publishing tools and problems are discussed] It sounds like you're having trouble with PDF output. Is that correct? I'm surprised that your headings are not repeated after a page break. I think that is the default behavior. Table breaking across pages is

Re: AW: [docbook-apps] Centered table cells

2016-02-04 Thread Ron Catterall
I have no problem centering content of cells for Docbook 5.1 using Oxygen 17.1 with docbook-xsl-ns-1.79.1 (or 1.79.0) I do NOT implement the extensions - this might possibly be relevant. Just for the record I do have some table customization but these do not appear to be relevant) These I

RE: [docbook-apps] RE: [docbook] Breaking tables across pages, repeating header row

2016-02-04 Thread Emery, Norma (HGR)
Saxon 6.5.5. Anything else you need to know? -Original Message- From: Bob Stayton [mailto:b...@sagehill.net] Sent: Thursday, February 04, 2016 12:20 PM To: Emery, Norma (HGR) ; Peter Desjardins ; DocBook Apps

Re: AW: [docbook-apps] Centered table cells

2016-02-04 Thread Bob Stayton
The text-align property is an inherited property in FO, so setting it on the cell should center its content unless the block inside the cell resets the text-align property. Are you using para inside the cell, and does the para's fo:block have a text-align property on it? Also, what is the FO

Re: [docbook-apps] RE: [docbook] Breaking tables across pages, repeating header row

2016-02-04 Thread Bob Stayton
Saxon will convert the DocBook XML to XSL-FO, but you must be using an XSL-FO processor such as FOP to generate the PDF. Bob Stayton Sagehill Enterprises b...@sagehill.net On 2/4/2016 9:29 AM, Emery, Norma (HGR) wrote: Saxon 6.5.5. Anything else you need to know? -Original Message-

AW: [docbook-apps] Centered table cells

2016-02-04 Thread Kallauch, Benjamin (EEIN/5)
Dear Ron, it's about centering only the content/text within a single or more cells. regards, Ben -Ursprüngliche Nachricht- Von: Ron Catterall [mailto:r...@catterall.net] Gesendet: Donnerstag, 4. Februar 2016 16:01 An: Kallauch, Benjamin (EEIN/5); Docbook Betreff: Re: [docbook-apps]

[docbook-apps] RE: [docbook] Breaking tables across pages, repeating header row

2016-02-04 Thread Emery, Norma (HGR)
Peter, Thanks for responding. Yes, the problem is with PDF. I was surprised, too. I thought that thead alone would take care of this and I have done no table customization. I’ll have a developer here take a look and see if he can diagnose the problem. Regards, Norma From: Peter Desjardins

Re: [docbook-apps] RE: [docbook] Breaking tables across pages, repeating header row

2016-02-04 Thread Bob Stayton
Yes, thead should be enough. What tools are you using to process the document? Bob Stayton Sagehill Enterprises b...@sagehill.net On 2/4/2016 7:23 AM, Emery, Norma (HGR) wrote: Peter, Thanks for responding. Yes, the problem is with PDF. I was surprised, too. I thought that thead alone would

RE: [docbook-apps] RE: [docbook] Breaking tables across pages, repeating header row

2016-02-04 Thread Emery, Norma (HGR)
Bob, Sorry, using: Implementation-Title: Apache FOP Implementation-Version: 1.1 Regards, Norma -Original Message- From: Bob Stayton [mailto:b...@sagehill.net] Sent: Thursday, February 04, 2016 12:39 PM To: Emery, Norma (HGR) ; Peter Desjardins

RE: [docbook-apps] RE: [docbook] Breaking tables across pages, repeating header row

2016-02-04 Thread Emery, Norma (HGR)
Bob, OK, it is working now. Pilot error -- I was editing the wrong table. Thanks for your help. Regards, Norma -Original Message- From: Bob Stayton [mailto:b...@sagehill.net] Sent: Thursday, February 04, 2016 12:39 PM To: Emery, Norma (HGR) ; Peter Desjardins