Re: Pronunciation

2008-11-17 Thread Jay Bryant
Yes, you're right. My mistake. As one pedant to another, thanks for catching my slip. :) Jay Bryant -- From: "Martin Jacobson" <[EMAIL PROTECTED]> Sent: Monday, November 17, 2008 3:43 AM To: Subject: Re: Pronunciation Su

Re: Pronunciation

2008-11-15 Thread Jay Bryant
perils of a Master's degree in English Literature.... Jay Bryant -- From: "foretopman" <[EMAIL PROTECTED]> Sent: Saturday, November 15, 2008 1:36 PM To: Subject: Pronunciation Here's a silly question: how do you

Re: Out of bounds exception

2008-11-10 Thread Jay Bryant
Those details matter sometimes but not this time. This time, your problem comes from templates that don't properly handle the input. That'll blow up on any OS and any version of FOP (or any other FO processor). In other words, you had an XSL error rather than a FOP or OS error. It is a good id

Re: Once again I need a little more help please.

2008-10-19 Thread Jay Bryant
that do all the heavy lifting. Much as I love XSL, it's just the tail end of a much larger and much more complex process. Jay Bryant - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Once again I need a little more help please.

2008-10-19 Thread Jay Bryant
ecialized xsl stuff. Next time! Thanks again for your tremendous help. I'm happy to do it. XSL (both T and FO) is a great language, and FOP is a great tool. I'm glad to see another person using both. Jay Bryant - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Once again I need a little more help please.

2008-10-19 Thread Jay Bryant
t; cells to the cell's background color. Also, fo:table doesn't have a line-height attribute, so I put that on the blocks. I have attached the modified XSLT file. I am off to a movie, so I can't show you exactly how to control the borders individually right now. I hope thes

Re: I need a little more help please.

2008-10-13 Thread Jay Bryant
And so I forget to attach the files, of course. Sigh J - Original Message - From: "Jay Bryant" <[EMAIL PROTECTED]> To: Sent: Monday, October 13, 2008 9:29 PM Subject: Re: I need a little more help please. Hi, Sheldon, Since this is a purely XSLT issue, you

Re: I need a little more help please.

2008-10-13 Thread Jay Bryant
ginal file, use t.xsl. If you want to try it my way, use t_jb.xsl. I know you've got much more to do in this transform and that you can't just substitute files, but I'm sure you get the idea. Let me know (preferably on list, as others may have the same questions someday) if you need

Re: Using CHOOSE to control image in region-body

2008-10-07 Thread Jay Bryant
No joy When I run that XML file against that XSL file, I get "found it" on my command line. I bet you can extrapolate from there how to get the XSL-FO content you want. If not, let me know and I'll try to help further. HTH Jay Bryant - Original

Re: Using CHOOSE to control image in region-body

2008-10-07 Thread Jay Bryant
count(.//send-fax). ./send-fax is the same as just send-fax because the child axis (represented by .) is the default axis. However, // starts at the document root unless it's preceded by an axis specifier. Conseqently, you don't need the . (or the /) in ./send-fax, but you do need it in .//

Re: blocks flowing from left to right?

2008-08-14 Thread Jay Bryant
d (and better example) looks like this: BLOCK1 BLOCK2 BLOCK3 DATA1 DATA2 DATA3 BLOCK4VERYWIDE BL5 BLOCK6 DATA_6 XXX DATA6 BLOCK7NOMORE DATA 7 It's pretty ugly, but it is a custom document for a client and this is the way they want it. BTW, cell background colors work great.

Re: blocks flowing from left to right?

2008-08-14 Thread Jay Bryant
That sure looks like a table, Lou. You know enough about document design to realize that, too, so I'm guessing there's some other factor that makes you think a table isn't a good fit. Are the blocks irregular in size or something like that? Or is it that you can't get a table to have different

Re: How to underline a graphic

2008-04-21 Thread Jay Bryant
I would try setting the bottom border on the fo:block, thus: Text and graphic here Jay Bryant - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: Sent: Monday, April 21, 2008 8:32 AM Subject: How to underline a graphic Hello, I insert a littl

Re: FOP 0.94 - Unkown Error

2008-03-13 Thread Jay Bryant
ount cells, and see if they match. Also, remember that spans in FO require that the cell being spanned not be present, so check your spans, too. HTH Jay Bryant Bryant Communication Services http://www.bryantcs.com/ - Original Message - From: "bonekrusher" <[EMAIL PROTECTED

Re: FOP 0.20.5 - Tables with "intelligent" cell-widths

2008-03-07 Thread Jay Bryant
times past, I've solved this problem by doing calculations in XSLT while creating the table. Here's a link to my solution from another thread: http://marc.info/?l=fop-user&m=112732887606348&w=2 HTH Jay Bryant Bryant Communication Services http:

Re: fo:simple-page-master is missing child elements

2008-03-03 Thread Jay Bryant
? means 0 or 1 (so optional, yes) + means 1 or more (required and may repeat) * means 0 or more (optional and may repeat) (no mark) means just 1 (required and may not repeat) Jay Bryant Bryant Communication Services http://www.bryantcs.com/ - Original Message - From: "Fournier,

Re: Any approach for nearly identical pages.

2008-02-14 Thread Jay Bryant
That'll work in XSLT with a named template or in C++ or Java with a method. HTH Jay Bryant Bryant Communication Services http://www.bryantcs.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Sequence of pages

2008-01-22 Thread Jay Bryant
yPage"> Hi, Tatiyana, Exactly. Then the rest of your templates can create the necessary FO elements within the two different page masters and you're all set. I'm glad you figured it out. Let us know if you need any more help. Jay Brya

Re: Sequence of pages

2008-01-22 Thread Jay Bryant
page sequences that all use different page masters. If you provide more detail about the data your trying to turn into a document, we can probably help you get where you're going. Jay Bryant Bryant Communication Services http://www.br

Re: Making serialization documents in FOP

2008-01-16 Thread Jay Bryant
nce. The less FOP has to keep in memory before it can write objects to the PDF file, the larger document you can build. Jay Bryant Bryant Communication Services http://www.bryantcs.com/ - To unsubscribe, e-mail: [EMAIL PR

Re: How to supress page breaks between bullet and text?

2008-01-03 Thread Jay Bryant
ndreds of pages long (think software manuals with lots of images and tables). HTH Jay Bryant Bryant Communication Services http://www.bryantcs.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: anything wrong with this XSL snippet

2007-11-30 Thread Jay Bryant
I don't see a problem with what you've shown here. Can you send the actual XSLT code (and a chunk of the XML input) that you use? Jay Bryant Bryant Communication Services http://www.bryantcs.com/ - Original Message - From: "Daling Xu" <[EMAIL PROTECTED]> To:

Re: FOP 0.93: Java Heap Space OutOfMemory

2007-07-11 Thread Jay Bryant
with your end users (explaining the situation and offering some choices) both gets one out of a tough box and gives the users some choices they like. FWIW Jay Bryant Bryant Communication Services - Original Message - From: [EMAIL PROTECTED] To: fop-users@xmlgraphics.apache.org

Re: word page break

2007-04-02 Thread Jay Bryant
he pPr element for the paragraph): So, to catch them both, you need corresponding templates, thus: If you do the same thing with the two kinds of breaks, you can process them in the same template, thus: HTH Jay Bryant Bryant Communication Services - Original Message ---

Re: Out Of Memory Error

2007-02-06 Thread Jay Bryant
x27;t have images (they were data catalogs for a data warehouse). Jay Bryant Bryant Communication Services - Original Message - From: [EMAIL PROTECTED] To: fop-users@xmlgraphics.apache.org Sent: Tuesday, February 06, 2007 4:54 PM Subject: Out Of Memory Error Hello All,

Re: block-container and margin/padding properties

2007-02-03 Thread Jay Bryant
Just as a work-around, you can specify all four margins and divide the left and right margins by 2, thus: margin-top="{$card-margin}" margin-bottom="{$card-margin}" margin-left="{$card-margin div 2}" margin-right="{$card-ma

Re: FOP 0.93 - PDF Bookmarks

2007-01-08 Thread Jay Bryant
Hi, Andrea, fop.extensions=1 makes me think you are using DocBook. If so, use fop1.extensions=1. fop.extensions corresponds to version 0.20.5, while fop1.extensions corresponds to the current effort (currently at version 0.93). Jay Bryant Bryant Communication Services - Original

Re: Question to Repository

2006-12-12 Thread Jay Bryant
I downloaded and built from the SVN source this week, and it all worked fine for me. What troubles are you having? Jay Bryant Bryant Communication Services - Original Message - From: "Kris Wolff" <[EMAIL PROTECTED]> To: Sent: Tuesday, December 12, 2006 7:33 PM Subj

Re: Width issue

2006-12-09 Thread Jay Bryant
double 3.0pt 10.5in 0pt 24pt black (In case you wonder about the length, it was for a report that was printed landscape on 8.5x11in paper and had quarter-inch margins.) HTH Jay Bryant Bryant Communication Services - Original Message - From: [EMAIL PROTECTED]

Re: specify values for attribute once and then refer to it.

2006-12-04 Thread Jay Bryant
http://www.w3.org/1999/XSL/Transform"; xmlns:fo="http://www.w3.org/1999/XSL/Format"; xmlns:xs="http://www.w3.org/2001/XMLSchema"; exclude-result-prefixes="fo xs"> I hope that helps. Jay Bryant Bryant Communication Services - Original Messag

Breezin' in to say thanks

2006-11-09 Thread Jay Bryant
ost a link, to serve as a real-world example.) Anyway, thanks again, not just to Jeremias but to all of you who work on FOP. Jay Bryant Bryant Communication Services - To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

Bug in table rendering (version 0.92beta)

2006-11-02 Thread Jay Bryant
go to the width specified by the total of the column widths, even if that violates the margin. (I would prefer the latter.) Other than that, FOP 0.92beta is working fine for my newest client (so far, anyway - we're not done with all the customizations yet). Thanks Jay Bryant Bryant Communication Services - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Tables breaking borders in 0.92beta

2006-11-01 Thread Jay Bryant
ght-width="0.5pt" border-right-style="solid" border-right-color="black"> space-before.maximum="1.2em">font-family="monospace">Courier padding-top="2pt" padding-bottom="2pt"> space-before.maximum="1.2em">Courier is used for literal commands and options, and output from the computer. Any ideas? Thanks. Jay Bryant Bryant Communication Services table-border-problem.png Description: PNG image - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to make "directives" look better? Customizing/defining elements and formatting...

2006-10-19 Thread Jay Bryant
he styling when you run the DocBook XSL stylesheets to generate FO content for FOP. So, once you have the content in DocBook, you want to look at customizing the styling layer. THE book on the subject is Bob Stayton's DocBook XSL. Keep asking questions and showing us your code

Re: How to make "directives" look better? Customizing/defining elements and formatting...

2006-10-18 Thread Jay Bryant
essage than it is to attach files or links. I don't know how other folks work, but I generally ignore attachments and links, even though I have anti-virus software. Jay Bryant Bryant Communication Services - Original Message - From: "Dan Carwin" <[EMAIL PROTECTED]>

Re: Newbie needs help controlling line wrap in PDF

2006-10-18 Thread Jay Bryant
you can write a transform that identifies strings with more than some number of characters and then chops those strings (perhaps into separate blocks, if you like). You can do similar things with other languages, of course. HTH Jay Bryant Bryant Communication Services - Original Message --

Re: Ending a row and starting a new one.

2006-08-10 Thread Jay Bryant
t tasks to run that process on all kinds of input files. HTH Jay Bryant Bryant Communication Services - Original Message - From: "Patrick" <[EMAIL PROTECTED]> To: Sent: Thursday, August 10, 2006 1:23 PM Subject: Re: Ending a row and starting a new one. > I'm try

Re: Ending a row and starting a new one.

2006-08-10 Thread Jay Bryant
k, but it's one solution. The real fun comes when you have a variable number of columns, but that can be solved, too. For now, I'll assume you have the simple version of the problem. [1] http://www.mulberrytech.com/xsl/xsl-list/ [2] http://www.dpawson.co.uk/xsl/index.html Jay Bryant Brya

Re: User Types

2006-08-09 Thread Jay Bryant
That sounds a lot like what I'm doing for my current client, Glen. I love Ant. Jay Bryant Bryant Communication Services - Original Message - From: "Glen Mazza" <[EMAIL PROTECTED]> To: Sent: Wednesday, August 09, 2006 11:50 AM Subject: Re: User Types > We use

Re: User Types

2006-08-09 Thread Jay Bryant
o document production (though they also work on authoring tools and content management). FWIW Jay Bryant Bryant Communication Services - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Wednesday, August 09, 2006 9:40 AM Subject: User Types > I'd be interested to k

Re: Commercial Documents

2006-08-03 Thread Jay Bryant
ommunity. I've never yet had an issue for which I didn't get help in a hurry. Generally, if I have a question, I post and get more than one helpful message within 24 hours (often much less). I never get that kind of support from any company, even though I paid for their product. Jay Bryant

Re: Pretty cool stuff with Apache FOP

2006-07-13 Thread Jay Bryant
That's a very attractive poster. It'll make a nice sample to show what FOP can do. I know I can do similar work, but (at least so far) my clients want pretty simple documents (typical user manuals and reference books). One of these days Jay Bryant Bryant Communicatio

Re: Using bulleted points

2006-07-06 Thread Jay Bryant
that route). As it happens, • works without having to use a font metrics file.   HTH   Jay Bryant Bryant Communication Services - Original Message - From: Shamem Miah To: fop-users@xmlgraphics.apache.org Sent: Thursday, July 06, 2006 11:32 AM Subject: Using bulleted p

Re: on the fly PDF creation from object array

2006-05-11 Thread Jay Bryant
ransformStream = new ByteArrayInputStream(transformResult.toByteArray()); makePDF(transformStream, res); } HTH Jay Bryant Bryant Communication Services - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Disappearing table-header

2006-05-10 Thread Jay Bryant
. Could you please post a sample FO file that is as small as possible but that still produces the problem? Then people like me can see if something like an attribute is causing the problem and the developers can see if it's a bug. Jay Bryant Bryant Communication Services

Re: Pitney Bowes bar codes

2006-05-09 Thread Jay Bryant
de39), for which the various specifications are readily available. The question will be which formats they use. Mind you, my experience with them is eight years of out date. FWIW Jay Bryant Bryant Communication Services - To

Re: JBryant's XSLT 2.0 column width hack - odd results?

2006-03-23 Thread Jay Bryant
I got the attached result. As you can see, I didn't get ghosting table cells. Try Jeremias's suggestion of using border-collapse="separate" on the fo:table element. Jay Bryant Bryant Communication Services - Original Message - From: "sono" <[EMAIL PROTEC

Re: JBryant's XSLT 2.0 column width hack - odd results?

2006-03-22 Thread Jay Bryant
What do you want to have done differently? What do you find odd about the result? Jay Bryant Bryant Communication Services - Original Message - From: "sono" <[EMAIL PROTECTED]> To: Sent: Wednesday, March 22, 2006 9:24 PM Subject: JBryant's XSLT 2.0 column wid

Re: concatenate output

2006-03-21 Thread Jay Bryant
You could use XSLT to do it.   I don't have any examples, though.   If your input is XML, I'd push the concatenation back a level and do it when you create the FO.   Jay Bryant Bryant Communication Services - Original Message - From: Cam T To: FOP-Users Sen

Re: Java/POJO based FOP transformation (instead of XSL) like in JasperReports

2006-03-16 Thread Jay Bryant
I don't know of such a library (which doesn't mean one doesn't exist), but the concept is sound. All FOP needs is valid FO, regardless of how it's generated. Jay Bryant Bryant Communication Services - Original Message - From: "Geoffrey De Smet" <[EMAI

Re: Help with table-of-contents:don't understand ref-id attribute

2006-03-03 Thread Jay Bryant
source document like this: P1 P2 I'd use a template like this: Then the ToC template would be something like: (Of course, both blocks would have many more attributes to specify formatting, which is why I love attribute-sets.) HTH Jay Bryant B

Re: Help with table-of-contents:don't understand ref-id attribute

2006-03-03 Thread Jay Bryant
ver template is supposed to do that is doing the right thing. To do that, examine the FO file and see what shows up. HTH Jay Bryant Bryant Communication Services - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Friday, March 03, 2006 1:06 PM Subject: Re: Help with ta

Re: Help with table-of-contents:don't understand ref-id attribute

2006-03-03 Thread Jay Bryant
a trimmed-down demonstration of the problem? If so, I'll be happy to try to help figure out the problem. Jay Bryant Bryant Communication Services - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Friday, March 03, 2006 10:16 AM Subject: Help with table-of-contents:don

Re: table-layout

2006-02-26 Thread Jay Bryant
) every day. We can help you solve similar problems if you can tell us exactly what obstacles you encounter. However, it's hard to give generic advice that means anything, because each problem has its own characteristics. Jay Bryant Bryant Communication Services - Original Message -

Re: Behavoiur of Text nodes??

2006-02-18 Thread Jay Bryant
both sample data and your stylesheet (trim both down to show just the issue that troubles you) or no one will be able to help you, except in the most general way, as I did in the first paragraph. Good luck. Jay Bryant Bryant Communication Services - Original Message - From: "Sascha Pu

Re: convert from XSL-FO to MSWORD

2006-02-16 Thread Jay Bryant
you are dealing with a well-known set of documents, it shouldn't be too hard.   I've done other kinds of XML to WordML, and XSL-FO is just another kind of XML.   HTH   Jay Bryant Bryant Communication Services

Re: New User - Fop error.

2006-01-30 Thread Jay Bryant
Hi, Patrick, FOP can't function without some page-definition information. Try adding the following template to your XSL file (to tell FOP the page layout details): http://www.w3.org/1999/XSL/Format";> HT

Re: New User - Fop error.

2006-01-27 Thread Jay Bryant
u can post the XML and XSL files, we can puzzle out exactly what's going wrong. If it's not too much bother, please copy and past the contents of the files right into the message. I am a bit paranoid about opening attachments Jay Bryant Bryant Communication Services - Original Mess

Re: How to create a list in FO?

2006-01-26 Thread Jay Bryant
lement. In FO, that means the inner list goes within the list-item-body element.   Also, note that there are a bunch of attributes you can add to these elements, to control font size and family, line height, and so on. I whipped up a stripped down list for the sake of an example.   HTH   Jay Bry

Re: xsl-fo cascading styles?

2006-01-25 Thread Jay Bryant
Also, you can put all the attribute sets in a separate file and use xsl:include to add them to all your transformations that produce XSL-FO. I do that for most of my projects, so that I can get a consistent appearance across a large set of documents. Jay Bryant Bryant Communication Services

Re: xml to html

2006-01-23 Thread Jay Bryant
n (or servlet or whatever). Saxon and Xalan-J are both possibilities.   Jay Bryant Bryant Communication Services - Original Message - From: Reza Ghaffaripour To: fop-users@xmlgraphics.apache.org Sent: Monday, January 23, 2006 9:36 AM Subject: xml to html hi list,I st

Re: line break ()

2006-01-16 Thread Jay Bryant
without producing an empty line.   HTH   Jay Bryant Bryant Communication Services

Re: Either keeps in table rows in 0.20.5 or non-collapsing paragraphs in .90alpha

2005-12-21 Thread Jay Bryant
7;s a snippet from what I tested: 0.90 collapses those empty blocks. Jay Bryant Bryant Communication Services - To unsubscribe, e-mail: [EMAIL PROTE

Re: Either keeps in table rows in 0.20.5 or non-collapsing paragraphs in .90alpha

2005-12-21 Thread Jay Bryant
I want to take a week off. I lurk on the dev list, so I've been seeing your discussion of the beta. I look forward to it, as it will make it easier to talk my clients into using 0.90. They are justifiably leary of anything called "alpha". Of course, they'll still be leary of a

Re: Either keeps in table rows in 0.20.5 or non-collapsing paragraphs in .90alpha - followup

2005-12-21 Thread Jay Bryant
Hi, Jeremias, > > I used block-containers with height attribute values wrapped around empty > > blocks to make my spacer blocks, so I've gotten the .90alpha solution to > > work. Combined with the -q option to shut off all the to-do messages, it'll > > work. > > That seems like a hack. Please try

Re: Either keeps in table rows in 0.20.5 or non-collapsing paragraphs in .90alpha - followup

2005-12-21 Thread Jay Bryant
h the -q option to shut off all the to-do messages, it'll work. I'd still like to know how to prevent page breaks within table cells in 0.20.5 in case my client (or some future client) resists going to .90alpha. Thanks some more. Jay Bryant Bryant Communication Services ---

Either keeps in table rows in 0.20.5 or non-collapsing paragraphs in .90alpha

2005-12-21 Thread Jay Bryant
occur within table cells (that is, only at the rows between cells) in 0.20.5 or I need to know how to prevent blocks that contain spaces from collapsing in .90alpha. The 0.20.5 solution would be preferred, but I think I can talk my client into moving to .90alpha if it fixes the page break p

Re: 0.90alpha1: content-width="scale-to-fit" creates damaged PDF - workaround found

2005-12-10 Thread Jay Bryant
terpreted something? My solution entails reading the width of the graphic (in pixels) through a Java extension to the XSL processor (Saxon). Then, if the image is less than 396 pixels wide, I just put it in (with . Else, if the image is more than 396 pixels wide, I force its width to be 396 pixels (with

Re: 0.90alpha1: content-width="scale-to-fit" creates damaged PDF

2005-12-10 Thread Jay Bryant
I'll see what I can do along that line. Jay Bryant Bryant Communication Services - Original Message - From: "Andreas L Delmelle" <[EMAIL PROTECTED]> To: Sent: Saturday, December 10, 2005 3:09 PM Subject: Re: 0.90alpha1: content-width="scale-to-fit" creates da

Re: Excel format

2005-12-06 Thread Jay Bryant
I suspect that SpreadsheetML would be pretty straightforward, too. Jay Bryant Bryant Communication Services - Original Message - From: Farid Adhami To: fop-users@xmlgraphics.apache.org Sent: Tuesday, December 06, 2005 5:56 PM Subject: Excel format I’m trying to us

Re: Vertical text

2005-08-01 Thread Jay Bryant
Just put each character (or word or whatever unit of text you like) in its own block, thus:   Make Me Vertical   Depending on the properties of the flow containing the blocks, you may also need to set position attributes, but I think the default values stack blocks vertically.   Jay Bryant

Re: Problem when link has "contentid"

2005-07-21 Thread Jay Bryant
Hi, Fabrizio, Try rather than text(). The two are very similar in most cases, but . tends to be more reliable because it picks up the text value of the entire node. Also, it's more standard XSLT. Jay Bryant Bryant Communication Services - Original Message - From: "Fabri

Re: page-number

2005-07-05 Thread Jay Bryant
fo-property-format However, converting to Roman numerals is a type of number-to-string conversion (as defined by both the spec and common sense), and that works. So try format="a" Jay Bryant Bryant Communication Services ---

Specification Stylesheet Ready

2005-04-12 Thread Jay Bryant
ither as a sample or for testing (or both), I can check it into the project. I look forward to your feedback. Oh, by the way, it took about a week of full-time effort, but that time had to be found here and there between other projects and hobbies, so it took a while. I'm sure you all know how