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
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
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
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]
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]
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
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
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
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
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 .//
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.
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
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
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
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:
? 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,
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]
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
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
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
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,
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:
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
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 ---
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,
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
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
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
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]
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
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
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]
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]
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
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]>
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 --
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
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
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
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
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
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
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
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]
. 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
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
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
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
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
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
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
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
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
) 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 -
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
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
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
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
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
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
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
without producing an empty line.
HTH
Jay Bryant
Bryant Communication
Services
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
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
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
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
---
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
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
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
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
Im trying to us
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
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
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
---
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
74 matches
Mail list logo