Rows of tables don't line up
Apologies for such a helpless question. In the attached fo: doc, I am laying out 4 visible tables formatted inside another table. (I assume standard operating procedure for managing page layout.) The three right-most tables all have their rows lined up correctly with each other. I cannot figure out how to line up the left-most table with the others. I have tried playing with the font-size, line-height, space-after.optimum, etc. in different combinations but the left-most table just simply will not line up with the others. The clue is pretty clear -- the left-most table has text in cells and the others don't -- but I can't see how this should matter. Is there something else? Thanks very much in advance for any help. The doc follows (apologies for size, but I thought the whole doc might help): fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; fo:layout-master-set fo:simple-page-master master-name=first page-height =21cm page-width=29.7cm margin-top=1cm margin-bottom=2cm margin-left=2.5cm margin-right=2.5cm fo:region-body margin-top=3cm / fo:region-before extent=3cm / fo:region-after extent=1.5cm / /fo:simple-page-master /fo:layout-master-set fo:page-sequence master-reference=first fo:flow flow-name=xsl-region-body fo:block font-size=11pt font-family=sans-serif font-weight=bold text-align=left border-top-width=5px border-top-style=solid border-top-color=blue border-bottom-width=5px border-bottom-style=solid border-bottom-color=blue space-after.optimum =10ptMonthly Histogram for Apr 2003/fo:block fo:table border-collapse=separate fo:table-column column-width=36mm / fo:table-column column-width=4mm / fo:table-column column-width=61mm / fo:table-column column-width=4mm / fo:table-column column-width=83mm / fo:table-column column-width=4mm / fo:table-column column-width=61mm / fo:table-body fo:table-row fo:table-cell border-width =0.0mm border-style=solid background-color=white fo:table border-collapse=separate fo:table-column column-width=35mm / fo:table-body font-size=8pt font-family=sans-serif fo:table-row font-size=10pt font-family=sans-serif fo:table-cell background-color=aqua fo:block text-align=centerApplications/Systems/fo:block /fo:table-cell /fo:table-row fo:table-row line-height=10pt fo:table-cell background-color=lightblue fo:block text-align=centerMONTH/fo:block /fo:table-cell /fo:table-row fo:table-row line-height=10pt fo:table-cell background-color=blue fo:block color=white text-align=centerWEEK/fo:block /fo:table-cell /fo:table-row fo:table-row line-height=10pt fo:table-cell border-width=0.175mm border-style=solid background-color =white fo:block font-size=8ptACBS/fo:block /fo:table-cell /fo:table-row fo:table-row line-height=10pt fo:table-cell border-width=0.175mm border-style=solid background-color =white fo:block font-size=8ptACBS-ALPHA/fo:block /fo:table-cell /fo:table-row fo:table-row line-height=10pt fo:table-cell border-width=0.175mm border-style=solid background-color =white fo:block font-size=8ptCARS/fo:block /fo:table-cell /fo:table-row fo:table-row line-height=10pt fo:table-cell border-width=0.175mm border-style=solid background-color =white fo:block font-size=8ptCASSETT/fo:block /fo:table-cell /fo:table-row fo:table-row line-height=10pt fo:table-cell border-width=0.175mm border-style=solid background-color =white fo:block font-size=8ptCFAS/fo:block /fo:table-cell /fo:table-row fo:table-row line-height=10pt fo:table-cell border-width=0.175mm border-style=solid background-color =white fo:block font-size=8ptCHECK PROCESSOR/fo:block /fo:table-cell /fo:table-row fo:table-row line-height=10pt fo:table-cell border-width=0.175mm border-style=solid background-color =white fo:block font-size=8ptCHINA EXIMBILLS/fo:block /fo:table-cell /fo:table-row fo:table-row line-height=10pt fo:table-cell border-width=0.175mm border-style=solid background-color =white fo:block font-size=8ptCIF/fo:block /fo:table-cell /fo:table-row fo:table-row line-height=10pt fo:table-cell border-width=0.175mm border-style=solid background-color =white fo:block font-size=8ptCLO/fo:block /fo:table-cell /fo:table-row fo:table-row line-height=10pt fo:table-cell border-width=0.175mm border-style=solid background-color =white fo:block font-size=8ptCTDS/fo:block /fo:table-cell /fo:table-row fo:table-row line-height=10pt fo:table-cell border-width=0.175mm border-style=solid background-color =white fo:block
RE: AW: Number alignment in TOC
Anton Wardaschko (PA) wrote: Unfortunatly you wrote firstly only mantain without branch number. So i thougt, that the main may be correct. How can i see, which version of FOP contain the branch? I mean, that branch fop-0_20_2-maintain contains fop version 0.20.5rc3, so the number of the branch do not fit the number of the fop-version and i don't find in the WebCVS http://cvs.apache.org/viewcvs.cgi/xml-fop/ overview out how to see the really FOP-Version inside this branch. Actually, what he wrote was: --start-- Be sure to get the code from the maintenance branch: http://xml.apache.org/fop/dev/index.html#lines --end-- The answer to your question is clearly listed at that link. There is no necessary relationship between CVS revision numbers or branch tags with release numbers. Victor Mote - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Some Resources (was Re: newbie help on error message)
Clay Leeds wrote: While we're on the subject of books and resources for FOP Resources, here's a couple things to add. One of my previous posts included a list of good books on XSL-FO (some of which you've listed). Here's a link to my post. http://marc.theaimsgroup.com/?l=fop-userm=104463666315238w=2 OK, I have added links to XPath and XPointer (yes, that is a good one), the XPath Visualizer tool, XSL Essentials. The XML Bible was already on the list, but I did rework the whole thing today to link to both the online version the hardcopy version. - Definitive XSL-FO, by G. Ken Holman - ISBN: 0131403745 (Chapter 8 - Floats Footnotes online at Amazon) - XSL Formatting Objects, by Doug Lovell - ISBN: 0672322811 (Chapter 3 - Tools Implementations online at Amazon) I have added them. BTW, it'd be great to add Amazon.com links to the selected books which include donation information for FOP (or Apache or Jeremias--I'm pluggin' for ya!--or whomever?). That way, links to good books from the highly trafficked FOP Resources page could actually bring in a bit of $$ to help pay for coffee, Mtn Dew, donuts or paper? I am not sure what Apache's policies are, but my preference is to keep the links extremely professional. If we add Amazon links, do we need to add BN? What about Amazon UK or Amazon Japan? I don't think I want to go there. I think our users can probably figure out how to find their favorite online bookstore. (It is a good idea though -- feel free to raise it on the fop-dev mailing list if you feel strongly about it). Victor Mote - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: feature overview
Clay Leeds wrote: - To help with searching the FOP site, put the title of the image format in parentheses for all image formats (if known) like you've done with ICO, PICT PSD--i.e., GIF (Graphics Interchange Format); PNG (Portable Network Graphics); etc. OK. Done in CVS. - at the bottom of the JPG and/or Graphics Resolution section(s), add a hint (FAQ?) about increasing the resolution of the JPG image to improve rendering. My JPG images looked pixelated until I changed it from 72dpi to 300dpi in Photoshop. OK, I have added (in CVS) a paragraph at the bottom of the Graphics Resolution section that addresses this in general terms. - I don't know if you can automate this, but it would be nice to have the Batik version indicated. OK, added (in CVS) in the Batik section (as opposed to the SVG section). - You might also indicate FOP uses the SVG library from the a href=http://www.apache.org/;Apache Foundation/a's a href=http://xml.apache.org/batik/;Batik/a OK, I reworked this a bit (in CVS), adding the Apache name in the Batik section, and adding a link to Batik from the SVG section. - it also might be nice to include why someone might want to use SVG instead of JPG, PNG or one of the other graphics formats (resolution independent, standard, vector-based, small size? dunno...) I'm not going to do that one. The page needs to be informative, not persuasive. I don't care what format they use, and there are much better forums (fora?) for getting that information. Thanks for all of the good input. Victor Mote - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: feature overview
Clay Leeds wrote: Here's a link which has a list of graphics formats: http://www.dcs.ed.ac.uk/home/mxr/gfx/ Thanks, I had just gotten them from my handy O'Reilly Encyclopedia of Graphics File Formats book. The good news is that all agree! BTW, perhaps these messages should be going to/from fop-dev? Dunno... I agree. I think this started with a user question about graphics, and kind of got out of hand from there :-). Victor Mote - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Newbie question about SVG
Clay Leeds wrote: NOTE TO VICTOR: since/if EPS (Encapsulated PostSript) can be used by FOP (can it?), should it be added to the list? To my knowledge, FOP doesn't support EPS right now. I think Jeremias has a project underway to add that. I would think it to be pretty doable, especially for PDF and PostScript output. Perhaps he will comment when he returns. Victor Mote - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: list-blocks causing text to repeat
Marcelo Jaccoud Amaral wrote: Well, I tried to download a new snapshot from CVS, but these are from the redesign branch, which is still not fully functional -- the result was a mess. I searched the CVS server for a updated to the maintainance branch, but couldn't locate the files. May you help? (I cannot access the repository with a CVS client because of a firewall.) I switched back to 0.20.4 in the meantime. Maybe I should just wait for a definitive 0.20.5 -- is there a prevision for it? Snapshots are not built for the maintenance branch: http://xml.apache.org/fop/download.html#Source+Download I don't think there is a good solution. We could conceivably get the snapshots built for the maintenance branch, but since we are so close to releasing 0.20.5, and since that is hopefully the last release that will be made from that branch of code (releases after to come from the redesign or trunk), it really doesn't make sense. If it helps for me to create a tarball email it to you, I'll be glad to do that. Just email me offline (mailto:[EMAIL PROTECTED]) I'll work on it. Victor Mote - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Newbie question about FOP
I downloaded FOP(fop-0.20.5rc2-bin.tar.gz) from http://xml.apache.org/dist/fop/. It is giving error " Error reading header after processing 0 entries". Is there any other place I can download FOP? I faced the same problem with old version of FOP from the same site. Regards, Adinarayana
AW: automatic Page breaks on longer sections?
Hi! The XSL-FO solution to your problem is put keep-with-next=always on your heading blocks to ensure the text block always follows it or both are moved to the next page together. Unfortunately, keep-* properties are not implemented on fo:block in FOP yet. yes, i read this. Is there a time line, where is listed, when this function probably will be added? One work around, is to put all your block into a fo:table, since keep-* properties have been implemented on fo:table-row This don't really help on big documents. I thought, that this problem should have evrybody, and there may exists some others possibilities, like the use of vertical-align instead of baseline-shift. CU Anton - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Newbie question about SVG
J.Pietschmann wrote: EPS is supported, in some sense. FOP will basically dump it more or less unchanged into the PDF, and Acrobat Reader isn't able to display it. However, a PS printer will happily print the PDF including the EPS, and IIRC ghostscript will display it correctly. There's good information on SVG here (other graphic formats are on that page as well): http://xml.apache.org/fop/graphics.html#svg Doesn't cover the question (Why SVG is not resized). It is somewhat FAQish, should probably be added there. I just added (in CVS) a section on the graphics page, in the SVG section dealing with this issue. NOTE TO VICTOR: since/if EPS (Encapsulated PostSript) can be used by FOP (can it?), should it be added to the list? Certainly, with the caveats explained. (Why doesn't my EPS show up in Acrobat Reader? is almost a FAQ, nearly everyone first time facing the problems seems to wonder). I have added (in CVS) an EPS section to the graphics page documenting the limited support and the related issues. Victor Mote - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Newbie question about FOP
Pabolu, Adinarayana wrote: ---start--- I downloaded FOP(fop-0.20.5rc2-bin.tar.gz) from http://xml.apache.org/dist/fop/. It is giving error Error reading header after processing 0 entries. Is there any other place I can download FOP? I faced the same problem with old version of FOP from the same site. ---end--- The direct answer to your questions is found at: http://xml.apache.org/fop/download.html However, I doubt that this is a problem with the download. I don't recognize the error message. Where is it coming from? The download? The unzip? The untar? xalan? fop? the web server? a servlet engine? a browser? Please also review: http://xml.apache.org/fop/resources.html#mailing-lists-general especially the second paragraph, regarding sending plain text emails. Victor Mote - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: automatic Page breaks on longer sections?
Anton Wardaschko (PA) wrote: Unfortunately, keep-* properties are not implemented on fo:block in FOP yet. yes, i read this. Is there a time line, where is listed, when this function probably will be added? No. See: http://xml.apache.org/fop/gethelp.html#compliance Victor Mote - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: AW: AW: Number alignment in TOC
Hi! The output of the TOC-Numbers looks now much better, but it is not perfect. The Numbers of sect2 fit not exact with the oders. Is this problem known and would be corrected in the next version? Could you supply a slightly more explicit problem description, preferably augmented by a small, self-contained FO document demonstrating it? Not everyone around has a clone of your DocBook development environment installed. DocBook DTD 4.2 XSL-Stylesheet 1.60.1 from Norm Walsh FOP 0.25.5rc3 See the screenshot. Chapters and all the sections numbers are OK, only the sect2 Numbers do not fit. The FO-File is hard to read, cause of no indents in the TOC-generated parts, a part of fo file is attached to this mail too. CU Anton attachment: toc-0.20.5rc3.gifattachment: toc.zip - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Newbie question about FOP
Return Receipt Your Newbie question about FOP document : was Johan Lofgren/IRD/Intentia received by: at: 2003-04-29 11:42:04 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Embedded OCR Font not embedding
Hello, I have followed the steps to set up for embedding an OCR font (True Type). The document generates fine (on our web server) and I can see the OCR fonts on one PC, but not on others. I think the PC that shows the font correctly is the one on which I initially built the userconfig file. I expected this font to be embedded in the PDF file so that it does not need to be installed on each target pc. Am I missing something in the setup? The font section of my userconfig is below. Thanks, Paul font metrics-file=OCRAttf.xml kerning=yes embed-file=c:\WINNT\fonts\ocarr.ttf font-triplet name=OCRA style=normal weight=normal/ /font font metrics-file=OCRAttf.xml kerning=yes embed-file=c:\WINNT\fonts\ocarr.ttf font-triplet name=OCRA style=normal weight=bold/ /font - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Newbie question about line breaks
Hello everyone, I have a question about line breaks (maybe too simple for some of you ;-)). My XML: ... data valuehere is my text/value /data ... I want to keep the line breaks in my PDF output. But how do I have to say that in XSL:FO??? Thanks Harald - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Embedded OCR Font not embedding
Never mind on my previous append - the font was not installed on the server, so the embed failed. Apologies... -Original Message- From: Thibodeaux, Paul Sent: Tuesday, April 29, 2003 9:21 AM To: '[EMAIL PROTECTED]' Subject: Embedded OCR Font not embedding Hello, I have followed the steps to set up for embedding an OCR font (True Type). The document generates fine (on our web server) and I can see the OCR fonts on one PC, but not on others. I think the PC that shows the font correctly is the one on which I initially built the userconfig file. I expected this font to be embedded in the PDF file so that it does not need to be installed on each target pc. Am I missing something in the setup? The font section of my userconfig is below. Thanks, Paul font metrics-file=OCRAttf.xml kerning=yes embed-file=c:\WINNT\fonts\ocarr.ttf font-triplet name=OCRA style=normal weight=normal/ /font font metrics-file=OCRAttf.xml kerning=yes embed-file=c:\WINNT\fonts\ocarr.ttf font-triplet name=OCRA style=normal weight=bold/ /font - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Newbie question about line breaks
Harald, That's not too simple for me! It looks like you need to set the white-space-collapse=false. fo:block white-space-collapse=false xsl:value-of select=//data/value/ /fo:block Hope this helps! ;-p Dipl.-Oec. Harald Meyer wrote: Hello everyone, I have a question about line breaks (maybe too simple for some of you ;-)). My XML: ... data valuehere is my text/value /data ... I want to keep the line breaks in my PDF output. But how do I have to say that in XSL:FO??? Thanks Harald -- Clay Leeds - [EMAIL PROTECTED] Web Developer - Medata, Inc. - http://www.medata.com PGP Public Key: https://mail.medata.com/pgp/cleeds.asc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Newbie question about line breaks
Add this in your fo:block white-space-collapse=false linefeed-treatment=preserve white-space-treatment=preserve Hope this helps. Dipl.-Oec. Harald Meyer wrote: Hello everyone, I have a question about line breaks (maybe too simple for some of you ;-)). My XML: ... data valuehere is my text/value /data ... I want to keep the line breaks in my PDF output. But how do I have to say that in XSL:FO??? Thanks Harald - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Newbie question about line breaks
Harald Meyer wrote: I want to keep the line breaks in my PDF output. But how do I have to say that in XSL:FO??? See: http://xml.apache.org/fop/fo.html#fo-preformat Also, there are Unicode paragraph separator (U+2029) and line separator (U+2028) characters that can be used for this purpose if you place them in XML. Don't hold me to this, but I think they work in FOP. Victor Mote - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Newbie question about FOP
Pabolu, Adinarayana (MED, GEMS-IT) wrote: I downloaded FOP( http://xml.apache.org/dist/fop/fop-0.20.5rc2-bin.tar.gz fop-0.20.5rc2-bin.tar.gz) from http://xml.apache.org/dist/fop/. It is giving error Error reading header after processing 0 entries. Sounds like your untar utility is confused. I remember that *very* old tars have incompatiblities with more modern tars, in particular GNU tar, which may result in this error message. Another possiblity is that it either missed uncompressing, or that uncompressing failed and the error message was dropped somehow. In either case, you can try with another toolset, or at least identify the toolset you are using. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: AW: AW: Number alignment in TOC
Anton Wardaschko (PA) wrote: See the screenshot. Chapters and all the sections numbers are OK, only the sect2 Numbers do not fit. The FO-File is hard to read, cause of no indents in the TOC-generated parts, a part of fo file is attached to this mail too. Sorry, it cuts off just before it gets interesting. I can't do anything without data to reproduce the problem. If you could produce a *simple* *small* DocBook file with just a sect1/sect2 and enough text to reproduce the problem and post the *complete* fo file it would be much more helpful. You can start with a copy of your real file and successively cut stuff. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Seeking advice on HSSF
Hi, I figured I'd ask this here just in case anyone had any opinions. We have a web-app which currently uses FOP in a servlet to generate PDFs. We are looking into using HSSF to generate .xls files in a similar fashion. Is anyone out there swapping FOP and HSSF like this? I've read all of the HSSF/POI and Cocoon-HSSF-Serializer stuff from the Apache site and I am still unclear on how I would go from XML to GMR (via XSLT) to .xls (via serializer) as I would with FOP. Do we have to go through cocoon? It seems like a lot of overhead for this one function. I know this is a little off topic but if any FOP people out here have experience on this I would really appreciate hearing it. thanks a lot, Matt Savino - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Seeking advice on HSSF
I am currently seeking the same information. I'll post some info if I come up with something. -Adam -Original Message- From: Savino, Matt C [mailto:[EMAIL PROTECTED] Sent: April 29, 2003 3:41 PM To: [EMAIL PROTECTED] Subject: Seeking advice on HSSF Hi, I figured I'd ask this here just in case anyone had any opinions. We have a web-app which currently uses FOP in a servlet to generate PDFs. We are looking into using HSSF to generate .xls files in a similar fashion. Is anyone out there swapping FOP and HSSF like this? I've read all of the HSSF/POI and Cocoon-HSSF-Serializer stuff from the Apache site and I am still unclear on how I would go from XML to GMR (via XSLT) to .xls (via serializer) as I would with FOP. Do we have to go through cocoon? It seems like a lot of overhead for this one function. I know this is a little off topic but if any FOP people out here have experience on this I would really appreciate hearing it. thanks a lot, Matt Savino - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]