-unsubscribe
-unsubscribe
-unsubscribe
AW: Problems with nesting fo:graphic in fo:block?
Here is an example of a FO result from xslt file and xml file. The words Studenten an einer solchen Losung beyond the fo:external-graphic are not displayed in the pdf. fo:block text-align=justify space-after.optimum=10pt line-height=15pt text-decoration=none font-style=normal font-size=12pt font-family=serif color=black id= Das erste Semester bestand im wesentlichen aus der Definition konkreter Ziele, Evaluierungen verschiedener Techniken und der Entwicklung verschiedener Prototypen. Die Auflosung des Study-Shops der FH, der bis dahin fur die Verteilung von Skripten zustandig war fuhrte zur Entwicklung einer eines fo:basic-link text-align=justify space-after.optimum=10pt line-height=18pt text-decoration=underline font-weight=normal font-style=normal font-size=12pt font-family=sans-serif color=blue internal- destination=chapAltsystemManagementsystems/fo:basic-link (Altsystem), welches uber Weihnachten 2001 entwickelt wurde und auf einer Relationalen Datenbank beruht. Die Zugriffsraten hierauf beweisen das Interesse der Studenten an einer solchen Losung. fo:external-graphic id=picZugriffe src=picsSW/sortiertZugriff.jpg/ fo:block padding-top=3pt text-align=justify space-after.optimum=10pt line-height=17pt text-decoration=none font-weight=normal font-style=oblique font-size=11pt font-family=sans-serif color=#00a0a0 Abbildungen1: Top Zugriffe auf Dokumente im Altsystem /fo:block -Ursprungliche Nachricht- Von: Oleg Tkachenko [mailto:[EMAIL PROTECTED] Gesendet: Sonntag, 16. Juni 2002 22:20 An: [EMAIL PROTECTED] Betreff: Re: Problems with nesting fo:graphic in fo:block? Jens Posingies wrote: We have a very, very strange problem: Our project DTD contains p- and graphic-tags which work absolutely fine, if the tags are called seperated - but when testet this combination (nesting graphic in p): p foo... graphic.../ bar... /p we lose the last line of the text beyond the graphic. Could this be a FOP problem with nesting fo:graphic in fo:block? All the other elements don't have problem with being nesting in p. Could you provide example of such buggy fo document? -- Oleg Tkachenko Multiconn International Ltd
Problems with nesting fo:graphic in fo:block?
Hi folks, We have a very, very strange problem: Our project DTD contains p- and graphic-tags which work absolutely fine, if the tags are called seperated - but when testet this combination (nesting graphic in p): p foo... graphic.../ bar... /p we lose the last line of the text beyond the graphic. Could this be a FOP problem with nesting fo:graphic in fo:block? All the other elements don't have problem with being nesting in p. These are the templates: xsl:template match=p fo:block id=[EMAIL PROTECTED] ... xsl:apply-templates select=text() | thesis | formula | em | gloss | footnote | link | ref | def | ulist | olist | table | graphic | code | note | conclude | quote/ /fo:block /xsl:template xsl:template match=graphic fo:external-graphic id=[EMAIL PROTECTED] xsl:attribute name=srcxsl:choosexsl:when test=starts-with(@source, 'http')/xsl:when/xsl:choose xsl:value-of select=@source//xsl:attribute /fo:external-graphic fo:block ... xsl:value-of select=$lang/illustrations/ xsl:number count=graphic level=any/: xsl:value-of select=@alt/ /fo:block /xsl:template Jens Posingies, Lüneburg (Germany) ___ COMMODORE 64 BASIC V2 64K RAM SYSTEM 38911 BASIC BYTES FREE READY. _ ___
AW: PDF table of contents - possible with FOP?
Title: PDF table of contents - possible with FOP? Here an xsl example, takenfrom my current project: xsl:template match="chapter" mode="content" fox:outline internal-destination="[EMAIL PROTECTED]}" fox:label xsl:number count="chapter" level="multiple"/ xsl:text./xsl:textxsl:value-of select="title"/ /fox:label xsl:apply-templates select="chapter" mode="content"/ /fox:outline /xsl:template Don't forget the name space: xmlns:fox="http://xml.apache.org/fop/extensions" version="1.0" This works with all FOP version I have useduntil now (0.18.1 - 0.20.3). -Ursprüngliche Nachricht-Von: Schweigl, Johann [mailto:[EMAIL PROTECTED]Gesendet: Montag, 27. Mai 2002 14:48An: '[EMAIL PROTECTED]'Betreff: PDF table of contents - possible with FOP? Hi all, is it possible to have Apache FOP generate a table of contents and maybe thumbnails for a PDF file? Is there any other FOP that can do that? Best Regards, Johann
AW: Image problems
I never did that myself, but here's a hint I recieved: You have to download a jimi.jar from sun (don't know the link, but I guess it's pretty easy to find), add it to the jars in your fop installation and rebuild your fop (so you should have the sources of fop). In earlier version of fop the jimi.jar was distributed with fop, but because of some sort of copyright problems you have to download it seperately from sun. This should solve the problem. Jens Posingies Lüneburg (Germany) -Ursprüngliche Nachricht- Von: Kevin Pearcey [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 23. Mai 2002 16:26 An: [EMAIL PROTECTED] Betreff: Image problems I'm having problems with some external-graphic images. I have a block: fo:external-graphic src=Image.png/ And depending upon the image I get: [ERROR] Error while creating area : Error creating FopImage object (Error creating FopImage object (file:Image.png) : org.apache.fop.image.JimiImage Does anyone have any thoughts about why certain images won't work? Cheers Kevin Pearcey
Newbie: html-like table to fo-table
Hi folks, again we need your help: We are using FOP and XSLT for creating pdf documents which works fine - excepting tables! The dtd contains a table-tag like similar to html: [...] !ENTITY % alignes align (left | center | right) #IMPLIED valign (top | middle | bottom | baseline) #IMPLIED !ENTITY % alignes_span %alignes; rowspan NMTOKEN '1' colspan NMTOKEN '1' [...] !ELEMENT table (title?, thead?, tbody+, tfoot?) !ATTLIST table %id_req; width CDATA #IMPLIED summary CDATA #IMPLIED cellspacing CDATA #IMPLIED cellpadding CDATA #IMPLIED !ELEMENT thead (tr)+ !ATTLIST thead %id_imp; %alignes; !ELEMENT tfoot (tr)+ !ATTLIST tfoot %id_imp; %alignes; !ELEMENT tbody (tr)+ !ATTLIST tbody %id_imp; %alignes; !ELEMENT tr (th | td)+ !ATTLIST tr %id_imp; %alignes; !ELEMENT th (%outer;)* !ATTLIST th %id_imp; %alignes_span; !ELEMENT td (%outer;)* !ATTLIST td %id_imp; %alignes_span; [...] Transforming into html with xslt was no problem as expected, but how could a template look like in fo (a bit heavy for newbies because of counting columns etc.)? The fo:table-markups are a bit confusing, and some of them don't seem to work as expected in the current FOP-version (like table-and-caption). Who has experiences with fo:tables and xslt and could give us a hint? Jens Posingies ___ COMMODORE 64 BASIC V2 64K RAM SYSTEM 38911 BASIC BYTES FREE READY. _ ___
page break
Hi, this may sound very easy for fop-cracks, but it's killing beginners like us: How can I generate page-breaks in fo? There seem to be fitting fo-markups (page-break-after, page-break-before etc.), but sadly they are not implemented yet. Ideas? Thanks, Jens ___ COMMODORE 64 BASIC V2 64K RAM SYSTEM 38911 BASIC BYTES FREE READY. _ ___