css2xslfo-support Mailing List for CSSToXSLFO (Page 5)
Brought to you by:
wdonne
You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
(9) |
Apr
(6) |
May
(24) |
Jun
(14) |
Jul
|
Aug
(4) |
Sep
|
Oct
(1) |
Nov
|
Dec
(2) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
|
Feb
(4) |
Mar
(17) |
Apr
(8) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(5) |
Dec
(2) |
2007 |
Jan
(4) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(11) |
Jul
(2) |
Aug
(6) |
Sep
|
Oct
(1) |
Nov
(7) |
Dec
(5) |
2008 |
Jan
(2) |
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
(12) |
Jul
(2) |
Aug
(4) |
Sep
(5) |
Oct
(21) |
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
(3) |
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(8) |
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(16) |
Oct
|
Nov
|
Dec
|
From: Andreas J. <li...@zo...> - 2007-06-29 15:29:20
|
Thanks for the reply Werner. This explains it. However some FO converters like XINC don't implement page-break-after but only break-after. Any chance to make this filtering optional? Not a big deal since I have already a XSLFO post-processing step where I could converter page-break-after back into break-after. Andreas --On 29. Juni 2007 16:51:36 +0200 Werner Donn=C3=A9 <wer...@re...> = wrote: > Hi Andreas, > > This is a feature. Since version 1.4.1 there is a filter in CSSToXSLFO > which discards invalid CSS properties. The CSS specification prescribes > that such properties should be ignored. Before, they all ended up in > the generated XSL-FO document. The break-after property is valid in > XSL-FO, but not in CSS, which is why it is blocked. In this case the > page-break-after property should be used instead. > > Best regards, > > Werner. > > Andreas Jung wrote: >> I have the following test HTML file where each DIV should start >> on a new page (break-after: page). >> >> >> <?xml version=3D"1.0" ?> >> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" >> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> >> <html xmlns=3D"http://www.w3.org/1999/xhtml" > >> <head> >> <style type=3D"text/css"> >> >> >> div.sp-page { >> break-after:page; >> } >> >> </style> >> </head> >> <body> >> <div class=3D"main"> >> >> <div class=3D"sp-page">hello world</div> >> <div class=3D"sp-page">hello world</div> >> <div class=3D"sp-page">hello world</div> >> >> </div> >> </body> >> </html> >> >> However css2xslfo 1.4.2 generates this: >> >> .... >> <fo:block margin-left=3D"0pt" margin-right=3D"0pt" >> unicode-bidi=3D"embed">hello world</fo:block> >> <fo:block margin-left=3D"0pt" margin-right=3D"0pt" >> unicode-bidi=3D"embed">hello world</fo:block> >> <fo:block margin-left=3D"0pt" margin-right=3D"0pt" >> unicode-bidi=3D"embed">hello world</fo:block> >> >> ... >> >> where the break-after attibute isn't passed through. Bug or Feature? >> >> Thanks in advance, >> Andreas >> >> >> ------------------------------------------------------------------------ >> >> = ------------------------------------------------------------------------- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> css2xslfo-support mailing list >> css...@li... >> https://lists.sourceforge.net/lists/listinfo/css2xslfo-support > > -- > Werner Donn=C3=A9 -- Re > Engelbeekstraat 8 > B-3300 Tienen > tel: (+32) 486 425803 e-mail: wer...@re... > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > css2xslfo-support mailing list > css...@li... > https://lists.sourceforge.net/lists/listinfo/css2xslfo-support --=20 ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 T=C3=BCbingen - Germany Web: www.zopyx.com - Email: in...@zo... - Phone +49 - 7071 - 793376 Registergericht: Amtsgericht Stuttgart, Handelsregister A 381535 Gesch=C3=A4ftsf=C3=BChrer/Gesellschafter: ZOPYX Limited, Birmingham, UK ------------------------------------------------------------------------ E-Publishing, Python, Zope & Plone development, Consulting |
From: <wer...@re...> - 2007-06-29 14:52:16
|
Hi Andreas, This is a feature. Since version 1.4.1 there is a filter in CSSToXSLFO which discards invalid CSS properties. The CSS specification prescribes that such properties should be ignored. Before, they all ended up in the generated XSL-FO document. The break-after property is valid in XSL-FO, but not in CSS, which is why it is blocked. In this case the page-break-after property should be used instead. Best regards, Werner. Andreas Jung wrote: > I have the following test HTML file where each DIV should start > on a new page (break-after: page). > > > <?xml version="1.0" ?> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml" > > <head> > <style type="text/css"> > > > div.sp-page { > break-after:page; > } > > </style> > </head> > <body> > <div class="main"> > > <div class="sp-page">hello world</div> > <div class="sp-page">hello world</div> > <div class="sp-page">hello world</div> > > </div> > </body> > </html> > > However css2xslfo 1.4.2 generates this: > > .... > <fo:block margin-left="0pt" margin-right="0pt" > unicode-bidi="embed">hello world</fo:block> > <fo:block margin-left="0pt" margin-right="0pt" > unicode-bidi="embed">hello world</fo:block> > <fo:block margin-left="0pt" margin-right="0pt" > unicode-bidi="embed">hello world</fo:block> > > ... > > where the break-after attibute isn't passed through. Bug or Feature? > > Thanks in advance, > Andreas > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > css2xslfo-support mailing list > css...@li... > https://lists.sourceforge.net/lists/listinfo/css2xslfo-support -- Werner Donné -- Re Engelbeekstraat 8 B-3300 Tienen tel: (+32) 486 425803 e-mail: wer...@re... |
From: Andreas J. <li...@zo...> - 2007-06-29 14:34:37
|
I have the following test HTML file where each DIV should start on a new page (break-after: page). <?xml version=3D"1.0" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns=3D"http://www.w3.org/1999/xhtml" > <head> <style type=3D"text/css"> div.sp-page { break-after:page; } </style> </head> <body> <div class=3D"main"> <div class=3D"sp-page">hello world</div> <div class=3D"sp-page">hello world</div> <div class=3D"sp-page">hello world</div> </div> </body> </html> However css2xslfo 1.4.2 generates this: .... <fo:block margin-left=3D"0pt" margin-right=3D"0pt"=20 unicode-bidi=3D"embed">hello world</fo:block> <fo:block margin-left=3D"0pt" margin-right=3D"0pt"=20 unicode-bidi=3D"embed">hello world</fo:block> <fo:block margin-left=3D"0pt" margin-right=3D"0pt"=20 unicode-bidi=3D"embed">hello world</fo:block> ... where the break-after attibute isn't passed through. Bug or Feature? Thanks in advance, Andreas |
From: Cornelius H. <ha...@ic...> - 2007-06-08 15:09:23
|
Hi Werner, the patch works like a charm. Thank you again for fixing :) Werner Donné wrote: > Hi Conny, > > This is not regression of the previous patch. It is just another > bug in the InvalidPropertyFilter. The list for "graphic" contained > only the properties mentioned in the manual, which doesn't include > "width" and "height". The manual is wrong and so I created bug > 1733555 and patch 1733561 to fix the problem. Thank you again for > reporting it. > > Best regards, > > Werner. > > Cornelius Hald wrote: >> Hi Werner, >> >> the patch is working fine as it adds the missing "vertical-align" >> attribute, however there seems to be a small regression with this >> patch, because now I'm missing the "height" and "width" attributes. >> >> Best regards! >> Conny >> >> >> Werner Donné wrote: >>> Hi Conny, >>> >>> This is a bug. I have created bug 1731447 for this and >>> patch 1731449 to fix it. Thank you for reporting it. >>> >>> Best regards, >>> >>> Werner. >>> >>> Cornelius Hald wrote: >>>> Hi, >>>> >>>> I've some inline images in my html document, the css for those >>>> images defines the "vertical-align" attribute with values like >>>> "text-top" or "text-bottom". The problem is, this attribute does not >>>> show up in the generated fo file. However if I add it manually to >>>> the fo file and then run it through fop I get the desired output - >>>> so I guess this should be supported... >>>> >>>> Am I doing something wrong? For me the spec looks like it should be >>>> ok to add the attribute "vertical-align" to the >>>> "fo:external-graphic" element. >>>> >>>> It would be nice if someone could clarify this. >>>> >>>> Thanks! >>>> Conny >>>> >>>> P.S. I'm using version 1.4.2 >>>> >>>> >>>> ------------------------------------------------------------------------- >>>> >>>> This SF.net email is sponsored by DB2 Express >>>> Download DB2 Express C - the FREE version of DB2 express and take >>>> control of your XML. No limits. Just data. Click to get it now. >>>> http://sourceforge.net/powerbar/db2/ >>>> _______________________________________________ >>>> css2xslfo-support mailing list >>>> css...@li... >>>> https://lists.sourceforge.net/lists/listinfo/css2xslfo-support >>>> >>> >> > |
From: <wer...@re...> - 2007-06-08 14:25:17
|
Hi Conny, This is not regression of the previous patch. It is just another bug in the InvalidPropertyFilter. The list for "graphic" contained only the properties mentioned in the manual, which doesn't include "width" and "height". The manual is wrong and so I created bug 1733555 and patch 1733561 to fix the problem. Thank you again for reporting it. Best regards, Werner. Cornelius Hald wrote: > Hi Werner, > > the patch is working fine as it adds the missing "vertical-align" > attribute, however there seems to be a small regression with this patch, > because now I'm missing the "height" and "width" attributes. > > Best regards! > Conny > > > Werner Donné wrote: >> Hi Conny, >> >> This is a bug. I have created bug 1731447 for this and >> patch 1731449 to fix it. Thank you for reporting it. >> >> Best regards, >> >> Werner. >> >> Cornelius Hald wrote: >>> Hi, >>> >>> I've some inline images in my html document, the css for those images >>> defines the "vertical-align" attribute with values like "text-top" or >>> "text-bottom". The problem is, this attribute does not show up in the >>> generated fo file. However if I add it manually to the fo file and >>> then run it through fop I get the desired output - so I guess this >>> should be supported... >>> >>> Am I doing something wrong? For me the spec looks like it should be >>> ok to add the attribute "vertical-align" to the "fo:external-graphic" >>> element. >>> >>> It would be nice if someone could clarify this. >>> >>> Thanks! >>> Conny >>> >>> P.S. I'm using version 1.4.2 >>> >>> >>> ------------------------------------------------------------------------- >>> >>> This SF.net email is sponsored by DB2 Express >>> Download DB2 Express C - the FREE version of DB2 express and take >>> control of your XML. No limits. Just data. Click to get it now. >>> http://sourceforge.net/powerbar/db2/ >>> _______________________________________________ >>> css2xslfo-support mailing list >>> css...@li... >>> https://lists.sourceforge.net/lists/listinfo/css2xslfo-support >>> >> > -- Werner Donné -- Re Engelbeekstraat 8 B-3300 Tienen tel: (+32) 486 425803 e-mail: wer...@re... |
From: Cornelius H. <ha...@ic...> - 2007-06-08 13:40:55
|
Hi Werner, the patch is working fine as it adds the missing "vertical-align" attribute, however there seems to be a small regression with this patch, because now I'm missing the "height" and "width" attributes. Best regards! Conny Werner Donné wrote: > Hi Conny, > > This is a bug. I have created bug 1731447 for this and > patch 1731449 to fix it. Thank you for reporting it. > > Best regards, > > Werner. > > Cornelius Hald wrote: >> Hi, >> >> I've some inline images in my html document, the css for those images >> defines the "vertical-align" attribute with values like "text-top" or >> "text-bottom". The problem is, this attribute does not show up in the >> generated fo file. However if I add it manually to the fo file and >> then run it through fop I get the desired output - so I guess this >> should be supported... >> >> Am I doing something wrong? For me the spec looks like it should be ok >> to add the attribute "vertical-align" to the "fo:external-graphic" >> element. >> >> It would be nice if someone could clarify this. >> >> Thanks! >> Conny >> >> P.S. I'm using version 1.4.2 >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> css2xslfo-support mailing list >> css...@li... >> https://lists.sourceforge.net/lists/listinfo/css2xslfo-support >> > |
From: Cornelius H. <ha...@ic...> - 2007-06-05 14:47:57
|
Thank you Werner! This was really fast :) Best regards Conny Werner Donné wrote: > Hi Conny, > > This is a bug. I have created bug 1731447 for this and > patch 1731449 to fix it. Thank you for reporting it. > > Best regards, > > Werner. > > Cornelius Hald wrote: >> Hi, >> >> I've some inline images in my html document, the css for those images >> defines the "vertical-align" attribute with values like "text-top" or >> "text-bottom". The problem is, this attribute does not show up in the >> generated fo file. However if I add it manually to the fo file and >> then run it through fop I get the desired output - so I guess this >> should be supported... >> >> Am I doing something wrong? For me the spec looks like it should be ok >> to add the attribute "vertical-align" to the "fo:external-graphic" >> element. >> >> It would be nice if someone could clarify this. >> >> Thanks! >> Conny >> >> P.S. I'm using version 1.4.2 >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> css2xslfo-support mailing list >> css...@li... >> https://lists.sourceforge.net/lists/listinfo/css2xslfo-support >> > |
From: <wer...@re...> - 2007-06-05 14:45:24
|
Hi Conny, This is a bug. I have created bug 1731447 for this and patch 1731449 to fix it. Thank you for reporting it. Best regards, Werner. Cornelius Hald wrote: > Hi, > > I've some inline images in my html document, the css for those images > defines the "vertical-align" attribute with values like "text-top" or > "text-bottom". The problem is, this attribute does not show up in the > generated fo file. However if I add it manually to the fo file and then > run it through fop I get the desired output - so I guess this should be > supported... > > Am I doing something wrong? For me the spec looks like it should be ok > to add the attribute "vertical-align" to the "fo:external-graphic" element. > > It would be nice if someone could clarify this. > > Thanks! > Conny > > P.S. I'm using version 1.4.2 > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > css2xslfo-support mailing list > css...@li... > https://lists.sourceforge.net/lists/listinfo/css2xslfo-support > -- Werner Donné -- Re Engelbeekstraat 8 B-3300 Tienen tel: (+32) 486 425803 e-mail: wer...@re... |
From: Cornelius H. <ha...@ic...> - 2007-06-05 14:15:39
|
Hi, I've some inline images in my html document, the css for those images defines the "vertical-align" attribute with values like "text-top" or "text-bottom". The problem is, this attribute does not show up in the generated fo file. However if I add it manually to the fo file and then run it through fop I get the desired output - so I guess this should be supported... Am I doing something wrong? For me the spec looks like it should be ok to add the attribute "vertical-align" to the "fo:external-graphic" element. It would be nice if someone could clarify this. Thanks! Conny P.S. I'm using version 1.4.2 |
From: <wer...@re...> - 2007-01-12 08:25:48
|
Andreas, The bootclasspath is only necessary if the built-in XSLT processor is not good enough. It should still work, but in your example there was only the XML parser Xerces in the bootclasspath, not Xalan itself. That is why the class couldn't be found. What I still don't understand is how the system property that drives the transformer factory resolution got set to refer to Xalan. Regards, Werner. Andreas Jung wrote: > Removing the bootclasspath works with. You recommended the bootclasspa= th > some time ago. Obviously this is no longer needed under JDK 1.6. (I am = not > a Java guru in order to figure out why). But I can detect the JDK=20 > Version and care about the proper handling of the bootclasspath Option. >=20 > Andreas >=20 >=20 >=20 > """ >=20 > Andreas, >=20 > Xalan should be added to the boot class path. You do that as follows: >=20 > java -Xbootclasspath/p:<xalan.jar> -jar css2xslfo.jar /home/ajung/test.= html >=20 > Regards, >=20 > Werner. >=20 > Andreas Jung wrote: >> Jup. >> >> --On Freitag, 25. M=E4rz 2005 13:38 Uhr +0100 Werner Donn=E9 >> <wer...@re...> wrote: >> >>> Hi Andreas, >>> >>> Is it JDK 1.5 you are using? >>> >>> Werner. >>> >>> Andreas Jung wrote: >>> >>>> >>>> Trying to convert a simple XHTML fails (also when I added xalan.jar = to >>>> $CLASSPATH): >>>> >>>> >>>> java -jar css2xslfo.jar /home/ajung/test.html >>>> Exception in thread "main" >>>> javax.xml.transform.TransformerFactoryConfigurationError: Provider >>>> org.apache.xalan.processor.TransformerFactoryImpl not found >>>> at >>>> javax.xml.transform.TransformerFactory.newInstance(TransformerFactor= y.ja=20 >>>> >>>> va:109) >>>> >>>> at >>>> be.re.css.CSSToXSLFOFilter.loadStyleSheet(CSSToXSLFOFilter.java:211) >>>> at be.re.css.CSSToXSLFOFilter.<clinit>(CSSToXSLFOFilter.java:= 39) >>>> at be.re.css.CSSToXSLFO.convert(CSSToXSLFO.java:112) >>>> at be.re.css.CSSToXSLFO.main(CSSToXSLFO.java:277) >>>> >=20 > """" >=20 > --On 11. Januar 2007 10:10:07 +0100 Werner Donn=E9 <wer...@re...>= =20 > wrote: >=20 >> Hi Andreas, >> >> I just tried it with the CSSToXSLFO manual and it works fine. >> The only difference I see is that I didn't modify the bootclasspath. >> It is strange that the class >> org.apache.xalan.processor.TransformerFactoryImpl >> is the resolution for the transformer factory, because it isn't >> specified anywhere and the default factory in JDK1.6.0 is >> com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl. A= t >> least I didn't find any other. >> >> Would you have Xalan somewhere in an extension directory like >> /home/ajung/jdk1.6.0/jre/lib/ext? >> >> Best regards, >> >> Werner. >> >> Andreas Jung wrote: >>> Hello Werner, >>> >>> I am trying to run csstoxsl (1.3.X) together under JDK 1.6.0. The sam= e >>> code that worked with JDK 1.4 and 1.5 now fails under 1.6. I also tri= ed >>> to update >>> Xalan to 2.7.1 however without success. >>> >>> Any ideas what might be the problem? >>> >>> Andreas >>> >>> >>> 2007-01-11 08:40:34 INFO xslfo running: "/home/ajung/jdk1.6.0/bin/jav= a" >>> -Xbootclasspath/p:"/data6/home/sandkasten/ajung/hr2_head/COMMON/Zope/= hel >>> pers/lib/xslfo/lib_xalan/xercesImpl.jar":"/data6/home/sandkasten/ajun= g/h >>> r2_head/COMMON/Zope/helpers/lib/xslfo/lib_xalan/xml-apis.jar" -Xms12= 8m >>> -Xmx128m -jar >>> "/data6/home/sandkasten/ajung/hr2_head/COMMON/Zope/helpers/lib/xslfo/= lib >>> _css2xslfo/css2xslfo.jar" >>> "/data6/home/sandkasten/ajung/hr2_head/COMMON/Zope/tmp/xslfo/tmp6B8ox= N/t >>> mpN5ZXz6.html" -fo >>> "/data6/home/sandkasten/ajung/hr2_head/COMMON/Zope/tmp/xslfo/tmp6B8ox= N/t >>> mpO_eDkc.html.fo" country=3Den >>> 2007-01-11 08:40:34 INFO xslfo exitcode=3D0 >>> 2007-01-11 08:40:34 INFO xslfo output: Provider >>> org.apache.xalan.processor.TransformerFactoryImpl not found >>> >>> >>> ---------------------------------------------------------------------= --- >>> >>> ---------------------------------------------------------------------= ----=20 >>> >>> Take Surveys. Earn Cash. Influence the Future of IT >>> Join SourceForge.net's Techsay panel and you'll get the chance to sha= re >>> your opinions on IT & business topics through brief surveys - and ear= n >>> cash >>> http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CI= D=3DDEVDEV=20 >>> >>> >>> >>> ---------------------------------------------------------------------= --- >>> >>> _______________________________________________ >>> css2xslfo-support mailing list >>> css...@li... >>> https://lists.sourceforge.net/lists/listinfo/css2xslfo-support >> >> --=20 >> Werner Donn=E9 -- Re >> Engelbeekstraat 8 >> B-3300 Tienen >> tel: (+32) 486 425803 e-mail: wer...@re... >=20 >=20 >=20 >=20 > -----------------------------------------------------------------------= - >=20 > -----------------------------------------------------------------------= -- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share= your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV >=20 >=20 > -----------------------------------------------------------------------= - >=20 > _______________________________________________ > css2xslfo-support mailing list > css...@li... > https://lists.sourceforge.net/lists/listinfo/css2xslfo-support --=20 Werner Donn=E9 -- Re Engelbeekstraat 8 B-3300 Tienen tel: (+32) 486 425803 e-mail: wer...@re... |
From: Andreas J. <li...@zo...> - 2007-01-12 08:17:54
|
Removing the bootclasspath works with. You recommended the bootclasspath some time ago. Obviously this is no longer needed under JDK 1.6. (I am not a Java guru in order to figure out why). But I can detect the JDK Version=20 and care about the proper handling of the bootclasspath Option. Andreas """ Andreas, Xalan should be added to the boot class path. You do that as follows: java -Xbootclasspath/p:<xalan.jar> -jar css2xslfo.jar /home/ajung/test.html Regards, Werner. Andreas Jung wrote: > Jup. > > --On Freitag, 25. M=C3=A4rz 2005 13:38 Uhr +0100 Werner Donn=C3=A9 > <wer...@re...> wrote: > >> Hi Andreas, >> >> Is it JDK 1.5 you are using? >> >> Werner. >> >> Andreas Jung wrote: >> >>> >>> Trying to convert a simple XHTML fails (also when I added xalan.jar to >>> $CLASSPATH): >>> >>> >>> java -jar css2xslfo.jar /home/ajung/test.html >>> Exception in thread "main" >>> javax.xml.transform.TransformerFactoryConfigurationError: Provider >>> org.apache.xalan.processor.TransformerFactoryImpl not found >>> at >>> = javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.ja >>> va:109) >>> >>> at >>> be.re.css.CSSToXSLFOFilter.loadStyleSheet(CSSToXSLFOFilter.java:211) >>> at be.re.css.CSSToXSLFOFilter.<clinit>(CSSToXSLFOFilter.java:39) >>> at be.re.css.CSSToXSLFO.convert(CSSToXSLFO.java:112) >>> at be.re.css.CSSToXSLFO.main(CSSToXSLFO.java:277) >>> """" --On 11. Januar 2007 10:10:07 +0100 Werner Donn=C3=A9 <wer...@re...>=20 wrote: > Hi Andreas, > > I just tried it with the CSSToXSLFO manual and it works fine. > The only difference I see is that I didn't modify the bootclasspath. > It is strange that the class > org.apache.xalan.processor.TransformerFactoryImpl > is the resolution for the transformer factory, because it isn't > specified anywhere and the default factory in JDK1.6.0 is > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl. At > least I didn't find any other. > > Would you have Xalan somewhere in an extension directory like > /home/ajung/jdk1.6.0/jre/lib/ext? > > Best regards, > > Werner. > > Andreas Jung wrote: >> Hello Werner, >> >> I am trying to run csstoxsl (1.3.X) together under JDK 1.6.0. The same >> code that worked with JDK 1.4 and 1.5 now fails under 1.6. I also tried >> to update >> Xalan to 2.7.1 however without success. >> >> Any ideas what might be the problem? >> >> Andreas >> >> >> 2007-01-11 08:40:34 INFO xslfo running: "/home/ajung/jdk1.6.0/bin/java" >> -Xbootclasspath/p:"/data6/home/sandkasten/ajung/hr2_head/COMMON/Zope/hel >> pers/lib/xslfo/lib_xalan/xercesImpl.jar":"/data6/home/sandkasten/ajung/h >> r2_head/COMMON/Zope/helpers/lib/xslfo/lib_xalan/xml-apis.jar" -Xms128m >> -Xmx128m -jar >> "/data6/home/sandkasten/ajung/hr2_head/COMMON/Zope/helpers/lib/xslfo/lib >> _css2xslfo/css2xslfo.jar" >> "/data6/home/sandkasten/ajung/hr2_head/COMMON/Zope/tmp/xslfo/tmp6B8oxN/t >> mpN5ZXz6.html" -fo >> "/data6/home/sandkasten/ajung/hr2_head/COMMON/Zope/tmp/xslfo/tmp6B8oxN/t >> mpO_eDkc.html.fo" country=3Den >> 2007-01-11 08:40:34 INFO xslfo exitcode=3D0 >> 2007-01-11 08:40:34 INFO xslfo output: Provider >> org.apache.xalan.processor.TransformerFactoryImpl not found >> >> >> ------------------------------------------------------------------------ >> >> = ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share >> your opinions on IT & business topics through brief surveys - and earn >> cash >> = http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDEV= DEV >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> css2xslfo-support mailing list >> css...@li... >> https://lists.sourceforge.net/lists/listinfo/css2xslfo-support > > -- > Werner Donn=C3=A9 -- Re > Engelbeekstraat 8 > B-3300 Tienen > tel: (+32) 486 425803 e-mail: wer...@re... --=20 ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 T=C3=BCbingen - Germany Web: www.zopyx.com - Email: in...@zo... - Phone +49 - 7071 - 793376 E-Publishing, Python, Zope & Plone development, Consulting |
From: <wer...@re...> - 2007-01-11 09:09:54
|
Hi Andreas, I just tried it with the CSSToXSLFO manual and it works fine. The only difference I see is that I didn't modify the bootclasspath. It is strange that the class org.apache.xalan.processor.TransformerFactor= yImpl is the resolution for the transformer factory, because it isn't specified anywhere and the default factory in JDK1.6.0 is com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl. At least I didn't find any other. Would you have Xalan somewhere in an extension directory like /home/ajung/jdk1.6.0/jre/lib/ext? Best regards, Werner. Andreas Jung wrote: > Hello Werner, >=20 > I am trying to run csstoxsl (1.3.X) together under JDK 1.6.0. The same = code > that worked with JDK 1.4 and 1.5 now fails under 1.6. I also tried to=20 > update > Xalan to 2.7.1 however without success. >=20 > Any ideas what might be the problem? >=20 > Andreas >=20 >=20 > 2007-01-11 08:40:34 INFO xslfo running: "/home/ajung/jdk1.6.0/bin/java"= =20 > -Xbootclasspath/p:"/data6/home/sandkasten/ajung/hr2_head/COMMON/Zope/he= lpers/lib/xslfo/lib_xalan/xercesImpl.jar":"/data6/home/sandkasten/ajung/h= r2_head/COMMON/Zope/helpers/lib/xslfo/lib_xalan/xml-apis.jar"=20 > -Xms128m -Xmx128m -jar=20 > "/data6/home/sandkasten/ajung/hr2_head/COMMON/Zope/helpers/lib/xslfo/li= b_css2xslfo/css2xslfo.jar"=20 > "/data6/home/sandkasten/ajung/hr2_head/COMMON/Zope/tmp/xslfo/tmp6B8oxN/= tmpN5ZXz6.html"=20 > -fo=20 > "/data6/home/sandkasten/ajung/hr2_head/COMMON/Zope/tmp/xslfo/tmp6B8oxN/= tmpO_eDkc.html.fo"=20 > country=3Den > 2007-01-11 08:40:34 INFO xslfo exitcode=3D0 > 2007-01-11 08:40:34 INFO xslfo output: Provider=20 > org.apache.xalan.processor.TransformerFactoryImpl not found >=20 >=20 > -----------------------------------------------------------------------= - >=20 > -----------------------------------------------------------------------= -- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share= your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV >=20 >=20 > -----------------------------------------------------------------------= - >=20 > _______________________________________________ > css2xslfo-support mailing list > css...@li... > https://lists.sourceforge.net/lists/listinfo/css2xslfo-support --=20 Werner Donn=E9 -- Re Engelbeekstraat 8 B-3300 Tienen tel: (+32) 486 425803 e-mail: wer...@re... |
From: Andreas J. <li...@zo...> - 2007-01-11 07:47:06
|
Hello Werner, I am trying to run csstoxsl (1.3.X) together under JDK 1.6.0. The same code that worked with JDK 1.4 and 1.5 now fails under 1.6. I also tried to=20 update Xalan to 2.7.1 however without success. Any ideas what might be the problem? Andreas 2007-01-11 08:40:34 INFO xslfo running: "/home/ajung/jdk1.6.0/bin/java"=20 -Xbootclasspath/p:"/data6/home/sandkasten/ajung/hr2_head/COMMON/Zope/helpers= /lib/xslfo/lib_xalan/xercesImpl.jar":"/data6/home/sandkasten/ajung/hr2_head/= COMMON/Zope/helpers/lib/xslfo/lib_xalan/xml-apis.jar"=20 -Xms128m -Xmx128m -jar=20 "/data6/home/sandkasten/ajung/hr2_head/COMMON/Zope/helpers/lib/xslfo/lib_css= 2xslfo/css2xslfo.jar"=20 "/data6/home/sandkasten/ajung/hr2_head/COMMON/Zope/tmp/xslfo/tmp6B8oxN/tmpN5= ZXz6.html"=20 -fo=20 "/data6/home/sandkasten/ajung/hr2_head/COMMON/Zope/tmp/xslfo/tmp6B8oxN/tmpO_= eDkc.html.fo"=20 country=3Den 2007-01-11 08:40:34 INFO xslfo exitcode=3D0 2007-01-11 08:40:34 INFO xslfo output: Provider=20 org.apache.xalan.processor.TransformerFactoryImpl not found --=20 ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 T=C3=BCbingen - Germany Web: www.zopyx.com - Email: in...@zo... - Phone +49 - 7071 - 793376 E-Publishing, Python, Zope & Plone development, Consulting |
From: <wer...@re...> - 2006-12-26 11:37:41
|
Hi John, This is because the base URL has not been set, which makes it impossible to resolve relative URLs. You should use the full version of CSSToXSLFO.convert. The one you have used is only a convenience method for anonymous streams. Best regards, Werner. bai xiaobo wrote: > Hi, >=20 > I'm trying to use CSStoXSLFO in my project. Unfortunately it's not quit= e > working as expected. >=20 > I add following link element in my html header > <link rel=3D"stylesheet" type=3D"text/css" href=3D"mystyle.css"> >=20 > "mystyle.css" file was placed in the same location with the html file. > when run the CSSToXSLFO.convert(InputStream in, OutputStream out) func= tion, > following exception throwed: > java.net.MalformedURLException: no protocol: mystyle.css >=20 > can you help me how to solve this problem? > Thank you in advance. > --=20 > best regards > John >=20 >=20 > -----------------------------------------------------------------------= - >=20 > -----------------------------------------------------------------------= -- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share= your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV >=20 >=20 > -----------------------------------------------------------------------= - >=20 > _______________________________________________ > css2xslfo-support mailing list > css...@li... > https://lists.sourceforge.net/lists/listinfo/css2xslfo-support --=20 Werner Donn=E9 -- Re Engelbeekstraat 8 B-3300 Tienen tel: (+32) 486 425803 e-mail: wer...@re... |
From: bai x. <bx...@gm...> - 2006-12-25 19:53:45
|
Hi, I'm trying to use CSStoXSLFO in my project. Unfortunately it's not quite working as expected. I add following link element in my html header <link rel="stylesheet" type="text/css" href="mystyle.css"> "mystyle.css" file was placed in the same location with the html file. when run the CSSToXSLFO.convert(InputStream in, OutputStream out) function, following exception throwed: java.net.MalformedURLException: no protocol: mystyle.css can you help me how to solve this problem? Thank you in advance. -- best regards John |
From: Cornelius H. <ha...@ic...> - 2006-11-13 10:56:17
|
Hi Werner, now I add the proper link element to the head of my documents and it's=20 working like a charm. Thanks a lot for your fast answers and for this=20 great software! Best regards Conny Werner Donn=E9 wrote: > Hi Conny, >=20 > Both your propositions would work. Without amending the input > document you would have to go via the User Agent style sheet > way. That is still possible if you take the xhtml.css and > xhtml_print.css files from the CSSToXSLFO distribution and > put them in a central place. All your style sheets would then > have to import xhtml_print.css and themselves be speficied as > User Agent style sheet. >=20 > Best regards, >=20 > Werner. >=20 > Cornelius Hald wrote: >> Hi Werner, >> >> thanks for the quick answer! It seems that I misunderstood the meaning= =20 >> of User Agent style sheet. I thought, I could have a xhtml document=20 >> without linked css and then somehow link it using this API. But=20 >> obviously I'm wrong... >> >> So here is what I want to achieve: >> I have a strict xhtml file without any style information. Now the user= =20 >> should be allowed to select a css file on the local filesystem and=20 >> generate a pdf file out of those two files. >> >> I think now I have two possibilities: >> 1. Dynamically add a <link> element to the header before converting. >> 2. Dynamically add a xml-stylesheet processing instruction before=20 >> converting. >> >> Right? >> >> Thanks a lot! >> Conny >> >> Werner Donn=E9 wrote: >>> Hi Conny, >>> >>> You are trying to replace the User Agent style sheet. Is this >>> what you want or do you want to link your document to your >>> style sheet? If you want to replace the UA style sheet, you >>> have to define style sheet rules for everything. The reason >>> you get no output is that there should be one element which >>> has the "region" property set to "body". In the built-in >>> UA style sheet the element "body" has this property. >>> >>> Best regards, >>> >>> Werner. >>> >>> Cornelius Hald wrote: >>>> Hi, >>>> >>>> I'm trying to use CSStoXSLFO in my project. Unfortunately it's not=20 >>>> quite working as expected... Here is what I'm doing: >>>> >>>> I'm trying to use: CSStoXSLFO.convert(input, output, cssUrl); but=20 >>>> then I always get 0-bytes output files. When I'm using=20 >>>> CSStoXSLFO.convert(input, output, null) I get output but it is (of=20 >>>> cause) formatted with the default css. >>>> >>>> I don't get any exceptions and I'm sure the css file gets opened=20 >>>> during the program run. >>>> >>>> I also tried using >>>> CSSToXSLFO.convert(input, output, baseUrl, cssUrl, null, new=20 >>>> HashMap(), new URL[]{}, false, true); >>>> to get some debug output, but I don't get it - or I'm too stupid to=20 >>>> find it... >>>> >>>> So, what am I doing wrong here? I'm grateful for all hints and=20 >>>> pointers. >>>> >>>> Best regards >>>> Conny >>>> >>>> >>>> --------------------------------------------------------------------= -----=20 >>>> >>>> Using Tomcat but need to do more? Need to support web services,=20 >>>> security? >>>> Get stuff done quickly with pre-integrated technology to make your=20 >>>> job easier >>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache=20 >>>> Geronimo >>>> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&= dat=3D121642=20 >>>> >>>> _______________________________________________ >>>> css2xslfo-support mailing list >>>> css...@li... >>>> https://lists.sourceforge.net/lists/listinfo/css2xslfo-support >>>> >> >> >> ----------------------------------------------------------------------= --- >> Using Tomcat but need to do more? Need to support web services, securi= ty? >> Get stuff done quickly with pre-integrated technology to make your job= =20 >> easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache=20 >> Geronimo >> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&da= t=3D121642 >> _______________________________________________ >> css2xslfo-support mailing list >> css...@li... >> https://lists.sourceforge.net/lists/listinfo/css2xslfo-support >> >=20 |
From: <wer...@re...> - 2006-11-13 10:40:14
|
Hi Conny, Both your propositions would work. Without amending the input document you would have to go via the User Agent style sheet way. That is still possible if you take the xhtml.css and xhtml_print.css files from the CSSToXSLFO distribution and put them in a central place. All your style sheets would then have to import xhtml_print.css and themselves be speficied as User Agent style sheet. Best regards, Werner. Cornelius Hald wrote: > Hi Werner, >=20 > thanks for the quick answer! It seems that I misunderstood the meaning=20 > of User Agent style sheet. I thought, I could have a xhtml document=20 > without linked css and then somehow link it using this API. But=20 > obviously I'm wrong... >=20 > So here is what I want to achieve: > I have a strict xhtml file without any style information. Now the user=20 > should be allowed to select a css file on the local filesystem and=20 > generate a pdf file out of those two files. >=20 > I think now I have two possibilities: > 1. Dynamically add a <link> element to the header before converting. > 2. Dynamically add a xml-stylesheet processing instruction before=20 > converting. >=20 > Right? >=20 > Thanks a lot! > Conny >=20 > Werner Donn=E9 wrote: >> Hi Conny, >> >> You are trying to replace the User Agent style sheet. Is this >> what you want or do you want to link your document to your >> style sheet? If you want to replace the UA style sheet, you >> have to define style sheet rules for everything. The reason >> you get no output is that there should be one element which >> has the "region" property set to "body". In the built-in >> UA style sheet the element "body" has this property. >> >> Best regards, >> >> Werner. >> >> Cornelius Hald wrote: >>> Hi, >>> >>> I'm trying to use CSStoXSLFO in my project. Unfortunately it's not=20 >>> quite working as expected... Here is what I'm doing: >>> >>> I'm trying to use: CSStoXSLFO.convert(input, output, cssUrl); but the= n=20 >>> I always get 0-bytes output files. When I'm using=20 >>> CSStoXSLFO.convert(input, output, null) I get output but it is (of=20 >>> cause) formatted with the default css. >>> >>> I don't get any exceptions and I'm sure the css file gets opened=20 >>> during the program run. >>> >>> I also tried using >>> CSSToXSLFO.convert(input, output, baseUrl, cssUrl, null, new=20 >>> HashMap(), new URL[]{}, false, true); >>> to get some debug output, but I don't get it - or I'm too stupid to=20 >>> find it... >>> >>> So, what am I doing wrong here? I'm grateful for all hints and pointe= rs. >>> >>> Best regards >>> Conny >>> >>> >>> ---------------------------------------------------------------------= ---- >>> Using Tomcat but need to do more? Need to support web services, secur= ity? >>> Get stuff done quickly with pre-integrated technology to make your jo= b=20 >>> easier >>> Download IBM WebSphere Application Server v.1.0.1 based on Apache=20 >>> Geronimo >>> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&d= at=3D121642 >>> _______________________________________________ >>> css2xslfo-support mailing list >>> css...@li... >>> https://lists.sourceforge.net/lists/listinfo/css2xslfo-support >>> >=20 >=20 > -----------------------------------------------------------------------= -- > Using Tomcat but need to do more? Need to support web services, securit= y? > Get stuff done quickly with pre-integrated technology to make your job = easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geron= imo > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= =3D121642 > _______________________________________________ > css2xslfo-support mailing list > css...@li... > https://lists.sourceforge.net/lists/listinfo/css2xslfo-support >=20 --=20 Werner Donn=E9 -- Re Engelbeekstraat 8 B-3300 Tienen tel: (+32) 486 425803 e-mail: wer...@re... |
From: Cornelius H. <ha...@ic...> - 2006-11-13 10:10:46
|
Hi Werner, thanks for the quick answer! It seems that I misunderstood the meaning=20 of User Agent style sheet. I thought, I could have a xhtml document=20 without linked css and then somehow link it using this API. But=20 obviously I'm wrong... So here is what I want to achieve: I have a strict xhtml file without any style information. Now the user=20 should be allowed to select a css file on the local filesystem and=20 generate a pdf file out of those two files. I think now I have two possibilities: 1. Dynamically add a <link> element to the header before converting. 2. Dynamically add a xml-stylesheet processing instruction before=20 converting. Right? Thanks a lot! Conny Werner Donn=E9 wrote: > Hi Conny, >=20 > You are trying to replace the User Agent style sheet. Is this > what you want or do you want to link your document to your > style sheet? If you want to replace the UA style sheet, you > have to define style sheet rules for everything. The reason > you get no output is that there should be one element which > has the "region" property set to "body". In the built-in > UA style sheet the element "body" has this property. >=20 > Best regards, >=20 > Werner. >=20 > Cornelius Hald wrote: >> Hi, >> >> I'm trying to use CSStoXSLFO in my project. Unfortunately it's not=20 >> quite working as expected... Here is what I'm doing: >> >> I'm trying to use: CSStoXSLFO.convert(input, output, cssUrl); but then= =20 >> I always get 0-bytes output files. When I'm using=20 >> CSStoXSLFO.convert(input, output, null) I get output but it is (of=20 >> cause) formatted with the default css. >> >> I don't get any exceptions and I'm sure the css file gets opened=20 >> during the program run. >> >> I also tried using >> CSSToXSLFO.convert(input, output, baseUrl, cssUrl, null, new=20 >> HashMap(), new URL[]{}, false, true); >> to get some debug output, but I don't get it - or I'm too stupid to=20 >> find it... >> >> So, what am I doing wrong here? I'm grateful for all hints and pointer= s. >> >> Best regards >> Conny >> >> >> ----------------------------------------------------------------------= --- >> Using Tomcat but need to do more? Need to support web services, securi= ty? >> Get stuff done quickly with pre-integrated technology to make your job= =20 >> easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache=20 >> Geronimo >> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&da= t=3D121642 >> _______________________________________________ >> css2xslfo-support mailing list >> css...@li... >> https://lists.sourceforge.net/lists/listinfo/css2xslfo-support >> >=20 |
From: <wer...@re...> - 2006-11-13 10:00:26
|
Hi Conny, You are trying to replace the User Agent style sheet. Is this what you want or do you want to link your document to your style sheet? If you want to replace the UA style sheet, you have to define style sheet rules for everything. The reason you get no output is that there should be one element which has the "region" property set to "body". In the built-in UA style sheet the element "body" has this property. Best regards, Werner. Cornelius Hald wrote: > Hi, >=20 > I'm trying to use CSStoXSLFO in my project. Unfortunately it's not quit= e=20 > working as expected... Here is what I'm doing: >=20 > I'm trying to use: CSStoXSLFO.convert(input, output, cssUrl); but then = I=20 > always get 0-bytes output files. When I'm using=20 > CSStoXSLFO.convert(input, output, null) I get output but it is (of=20 > cause) formatted with the default css. >=20 > I don't get any exceptions and I'm sure the css file gets opened during= =20 > the program run. >=20 > I also tried using > CSSToXSLFO.convert(input, output, baseUrl, cssUrl, null, new HashMap(),= =20 > new URL[]{}, false, true); > to get some debug output, but I don't get it - or I'm too stupid to fin= d=20 > it... >=20 > So, what am I doing wrong here? I'm grateful for all hints and pointers= . >=20 > Best regards > Conny >=20 >=20 > -----------------------------------------------------------------------= -- > Using Tomcat but need to do more? Need to support web services, securit= y? > Get stuff done quickly with pre-integrated technology to make your job = easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geron= imo > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= =3D121642 > _______________________________________________ > css2xslfo-support mailing list > css...@li... > https://lists.sourceforge.net/lists/listinfo/css2xslfo-support >=20 --=20 Werner Donn=E9 -- Re Engelbeekstraat 8 B-3300 Tienen tel: (+32) 486 425803 e-mail: wer...@re... |
From: Cornelius H. <ha...@ic...> - 2006-11-13 09:30:30
|
Hi, I'm trying to use CSStoXSLFO in my project. Unfortunately it's not quite working as expected... Here is what I'm doing: I'm trying to use: CSStoXSLFO.convert(input, output, cssUrl); but then I always get 0-bytes output files. When I'm using CSStoXSLFO.convert(input, output, null) I get output but it is (of cause) formatted with the default css. I don't get any exceptions and I'm sure the css file gets opened during the program run. I also tried using CSSToXSLFO.convert(input, output, baseUrl, cssUrl, null, new HashMap(), new URL[]{}, false, true); to get some debug output, but I don't get it - or I'm too stupid to find it... So, what am I doing wrong here? I'm grateful for all hints and pointers. Best regards Conny |
From: <wer...@re...> - 2006-04-10 12:34:35
|
Hi Andreas, Bug 1359835 wasn't properly fixed. I have reopened it. Best regards, Werner. Werner Donn=E9 wrote: > Hi Andreas, >=20 > Sorry for the late reaction, but I was on a hollyday last week. >=20 > This is something that was supposed to be fixed in version 1.3 > (bug 1359835), so I'm not sure yet what the problem is. As a > workaround you can change the style sheet by putting the display > property for div.bottom-left and div.bottom-right in the "screen" > media like this: >=20 > @media screen > { > div.bottom-left, div.bottom-right { display: none; } > } >=20 > I'll look into the problem and let you know about it. >=20 > Best regards, >=20 > Werner. >=20 > Andreas Jung wrote: >> Werner, >> >> I am trying to upgrade from V 1.0 to V 1.3 but having problems >> with page regions again. The code of the attached html file is taken >> from the 1.3 manual however I don't see the page numbers on the pdf/rt= f >> (using XINC, XFC). >> >> Andre >> as >> >> ----------------------------------------------------------------------= -- >> >> =20 >> >> =20 >> >> labber labber labber labber labber labber labber labber labber labber >> labber labber labber labber labber labber labber labber labber labber >> labber labber labber labber labber labber labber labber labber labber >> labber labber labber labber labber labber labber labber labber labber >> labber labber labber labber labber labber labber labber labber labber >> labber labber labber labber labber labber labber labber labber labber >> labber labber labber labber labber labber labber labber labber labber >> labber labber labber labber labber labber labber labber labber labber >> labber labber labber labber labber labber labber labber labber labber >> labber labber labber labber labber labber labber labber labber labber >> labber labber labber labber labber labber labber labber labber labber >> labber labber labber labber labber labber labber labber labber labber >> labber labber labber labber labber labber labber labber labber labber >> labber labber labber labber labber labber labber labber labber labber >> labber labber labber labber labber labber labber labber labber labber >> labber labber labber labber labber labber labber labber labber labber >> labber labber labber labber labber labber labber labber labber labber >> labber labber labber labber labber labber labber labber labber labber >> labber labber labber labber labber labber labber labber labber labber >> labber labber labber labber labber labber labber labber labber labber >> labber labber labber labber labber labber labber labber labber labber >> labber labber labber labber labber labber labber labber labber labber >> labber labber labber labber labber labber labber labber labber labber >> labber labber labber labber labber labber labber labber labber labber >=20 --=20 Werner Donn=E9 -- Re Engelbeekstraat 8 B-3300 Tienen tel: (+32) 486 425803 e-mail: wer...@re... |
From: <wer...@re...> - 2006-04-10 10:10:36
|
Hi Andreas, This happens only when the surrounding element meets one of the following conditions: - It is a table-cell; - It has no width; - Its width is set to "auto". I did this because a percentage of an unknown width is unknown. This is in fact the interpretation that corresponds to the definition of the "inline-progression-dimension" property of XSL-FO. One could say that I should leave the interpretation to the XSL-FO processor instead of setting it myself, but the result should be exactly the same and it won't be portable because of the definition for the value "auto". The CSS2 spec says that if the width of the "containing block" is not given, the UA should supply it. I should adhere to that. I'll investigate it. Best regards, Werner. Andreas Jung wrote: > I have a table with class=3D"liste1". >=20 > .liste1 { > width: 100% > } >=20 > This is translated into a fo:table with fo:width=3D"auto". > When I define >=20 > .liste1 { > width:800px; > } >=20 > then fo:width is set to "800px"...so how can I make the table to use th= e > width of the page? >=20 > Thanks, > Andre > as --=20 Werner Donn=E9 -- Re Engelbeekstraat 8 B-3300 Tienen tel: (+32) 486 425803 e-mail: wer...@re... |
From: <wer...@re...> - 2006-04-10 09:13:53
|
Hi Brad, I just tried it with version 1.3 on http://www.re.be/css2xslfo/index.html and it works. Could you try it too with that URL? Can you also dump the command-line your script generates? The tool reads from stdin only when no file or URL is given. Perhaps the argument of the script doesn't end up at the right place. Regarding the -q option I'll see what I can do. It is not the same as with FOP 0.20.5. Best regards, Werner. Brad Clements wrote: > I am trying to get version 1.3 of CSSToFOPNew to load xhtml via a url, = but it=20 > always ignores the url and instead reads from stdin. >=20 > It doesn't generate an error when a url is specified. It just ignores i= t. >=20 > ie >=20 > ./csstofop http://somewhere.com/somefile.htm -ps /tmp/test.ps >=20 > always tries to read from stdin. >=20 > I have to use >=20 > links -source 1 http://somewhere.com/somefile.htm | ./csstofop -ps /tmp= /test.ps >=20 > Is this a known bug? >=20 > For output, I'd like to pipe the postscript output to lpr, but can't se= em to do that=20 > without using /dev/stdout.=20 >=20 > Also, the -q option isn't supported by CSSToFOPNew >=20 > I tried. >=20 > ./csstofop -ps - >=20 > that doesn't work.. >=20 > and FOP libraries output lots of debugging stuff I don't need to see. >=20 > I can work around these issues with another script, but just a heads up= that at=20 > least reading from a url doesn't seem to work. >=20 >=20 --=20 Werner Donn=E9 -- Re Engelbeekstraat 8 B-3300 Tienen tel: (+32) 486 425803 e-mail: wer...@re... |
From: <wer...@re...> - 2006-04-10 08:55:56
|
Hi Andreas, Sorry for the late reaction, but I was on a hollyday last week. This is something that was supposed to be fixed in version 1.3 (bug 1359835), so I'm not sure yet what the problem is. As a workaround you can change the style sheet by putting the display property for div.bottom-left and div.bottom-right in the "screen" media like this: @media screen { div.bottom-left, div.bottom-right { display: none; } } I'll look into the problem and let you know about it. Best regards, Werner. Andreas Jung wrote: > Werner, >=20 > I am trying to upgrade from V 1.0 to V 1.3 but having problems > with page regions again. The code of the attached html file is taken > from the 1.3 manual however I don't see the page numbers on the pdf/rtf > (using XINC, XFC). >=20 > Andre > as >=20 > -----------------------------------------------------------------------= - >=20 > =20 >=20 > =20 >=20 > labber labber labber labber labber labber labber labber labber labber > labber labber labber labber labber labber labber labber labber labber > labber labber labber labber labber labber labber labber labber labber > labber labber labber labber labber labber labber labber labber labber > labber labber labber labber labber labber labber labber labber labber > labber labber labber labber labber labber labber labber labber labber > labber labber labber labber labber labber labber labber labber labber > labber labber labber labber labber labber labber labber labber labber > labber labber labber labber labber labber labber labber labber labber > labber labber labber labber labber labber labber labber labber labber > labber labber labber labber labber labber labber labber labber labber > labber labber labber labber labber labber labber labber labber labber > labber labber labber labber labber labber labber labber labber labber > labber labber labber labber labber labber labber labber labber labber > labber labber labber labber labber labber labber labber labber labber > labber labber labber labber labber labber labber labber labber labber > labber labber labber labber labber labber labber labber labber labber > labber labber labber labber labber labber labber labber labber labber > labber labber labber labber labber labber labber labber labber labber > labber labber labber labber labber labber labber labber labber labber > labber labber labber labber labber labber labber labber labber labber > labber labber labber labber labber labber labber labber labber labber > labber labber labber labber labber labber labber labber labber labber > labber labber labber labber labber labber labber labber labber labber --=20 Werner Donn=E9 -- Re Engelbeekstraat 8 B-3300 Tienen tel: (+32) 486 425803 e-mail: wer...@re... |
From: Andreas J. <li...@an...> - 2006-04-06 11:25:46
|
I have a table with class=3D"liste1". .liste1 { width: 100% } This is translated into a fo:table with fo:width=3D"auto". When I define .liste1 { width:800px; } then fo:width is set to "800px"...so how can I make the table to use the width of the page? Thanks, Andreas |