Re: Event feedback logging

2012-03-12 Thread Tom Browder
On Thu, Mar 1, 2012 at 05:48, Chris Bowditch bowditch_ch...@hotmail.com wrote:
 On 24/02/2012 15:03, Steve Ebersole wrote:

 Hi Stevem

 I develop a library (jDocBook) that does DocBook related tasks as part of
 Maven or Gradle builds.  Initially, the output from FOP was so verbose that
 I ended up redirecting all console output to a file for a variety of
 reasons.

 On recently upgrading to 1.0 I noticed that some logging was again
 appearing in the build console.  Which led me to discover the addition of
 feedback events in 1.0 and that these were (at least some of) the messages
 showing up in the console.  So I whipped up a custom
 org.apache.fop.events.EventListener based on the well detailed
 http://xmlgraphics.apache.org/fop/1.0/events.html page and some of the
 messages were again gone from the console and showing up in the redirection
 file again.  Yaay!

Is there any way to get those effects with a binary installation of
fop 1.0?  I'm getting tired of the warnings I can do nothing about
while the few SEVERE messages are almost hidden in the spew into the
console.

Thanks.

Best regards,

-Tom

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: ttf fonts for SVG in debian

2011-04-20 Thread Tom Browder
You also might want to try the GNU FreeFont fonts (FreeSerif,
FreeSans, and FreMono) ttf fonts which have a large number of glyphs
compared to most ttf fonts.  I have been very happy with them for SVG
equations.  See:

  http://www.gnu.org/software/freefont/

Best regards,

-Tom

Thomas M. Browder, Jr.
Niceville, Florida
USA

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Missing Font for SVG to PDF Output

2011-04-19 Thread Tom Browder
On Tue, Apr 19, 2011 at 05:07, Vincent Hennebert vhenneb...@gmail.com wrote:
...
 Make sure that the family name you declare in fop.xconf matches the name
 under which the font is known on the system.

 Let’s take the font ‘Linux Libertine’ as an example. Java would know
 this font under that name. Since Batik uses the Java font system, it
 will also use that name and pass it on to FOP. So you must have
 a font-triplet in your fop.xconf that matches that name:
font embed-url=libertine.ttf
  font-triplet name=Linux Libertine style=normal weight=normal/
/font

 If you use something else, FOP will find no match for ‘Linux Libertine’
 and will fall back to a default font.

 You can use the java.awt.GraphicsEnvironment.getAvailableFontFamilyNames
 method to know under which names Java registers the fonts on your
 system. Of course, be sure to also use those names in the SVG file.

Vincent, thanks.

I had already fixed the problem by reverting to a font that was known
to all by the same name, but your explanation helps clear up why the
problem was there in the first place.  I had played shorthand games
with the the Libertine font and that's what got me in trouble.

Best regards,

-Tom

Thomas M. Browder, Jr.
Niceville, Florida
USA





 On 14/04/11 00:33, Tom Browder wrote:
 I have been happily using fop 1 (Linux, Ubuntu, x86_64) with my custom
 fonts for some time and have had no problems using my Linux Libertine
 and Biolinum fonts (ttf format).  Now I have started using svg for
 equations and am having some problems.

 First I started getting some mysterious font families mentioned in the
 fop output while generating pdf, to wit:

 Apr 13, 2011 4:09:16 PM org.apache.fop.events.LoggingEventListener 
 processEvent
 WARNING: Glyph ? (0x2264, lessequal) not available in font Helvetica.

 I kept adding new substitutions to the substtutions/ element in my
 FOP configuration file until I eliminated all such warnings.

 My remaining problem is the equation's italic text is still rendered
 as sans-serif instead of serif as desired!

 I understand there is some issue with fonts for Batik versus fop, but
 I have ensured my Libertine font is in the system fontconfig so I
 assume a disconnect between fop and batik is not the problem (but I
 don't know that is true).

 I can get the desired font on output if I simplify my equation some
 but I can see no reason why that is so.

 Does anyone have any suggestions?

 Thanks so much.

 -Tom

 Thomas M. Browder, Jr.
 Niceville, Florida
 USA

 -
 To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
 For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org


 -
 To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
 For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Missing Font for SVG to PDF Output

2011-04-13 Thread Tom Browder
I have been happily using fop 1 (Linux, Ubuntu, x86_64) with my custom
fonts for some time and have had no problems using my Linux Libertine
and Biolinum fonts (ttf format).  Now I have started using svg for
equations and am having some problems.

First I started getting some mysterious font families mentioned in the
fop output while generating pdf, to wit:

Apr 13, 2011 4:09:16 PM org.apache.fop.events.LoggingEventListener processEvent
WARNING: Glyph ? (0x2264, lessequal) not available in font Helvetica.

I kept adding new substitutions to the substtutions/ element in my
FOP configuration file until I eliminated all such warnings.

My remaining problem is the equation's italic text is still rendered
as sans-serif instead of serif as desired!

I understand there is some issue with fonts for Batik versus fop, but
I have ensured my Libertine font is in the system fontconfig so I
assume a disconnect between fop and batik is not the problem (but I
don't know that is true).

I can get the desired font on output if I simplify my equation some
but I can see no reason why that is so.

Does anyone have any suggestions?

Thanks so much.

-Tom

Thomas M. Browder, Jr.
Niceville, Florida
USA

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



fop 1.0 and svg error:

2010-12-02 Thread Tom Browder
I'm running fop 1.0 on Linux Ubuntu 10.04 LTS.

I'm trying to use an svg image via docbook source.  When I run the fo
file through fop to get pdf I get the following error as it encounters
my svg in the fo file:

Dec 2, 2010 2:05:08 PM org.apache.fop.events.LoggingEventListener processEvent
SEVERE: Image not available. URI: ./images/era-1.svg. Reason:
org.apache.xmlgraphics.image.loader.ImageException: The file format is
not supported. No ImagePreloader found for ./images/era-1.svg (See
position 25375:172)
Dec 2, 2010 2:05:08 PM org.apache.fop.events.LoggingEventListener processEvent
SEVERE: Image not found. URI: ./images/era-1.svg. (No context info available)

I have looked at the fop info on svg and see nothing that helps.  I'm
running with the xml graphics commons via Ubuntu installation.  I'm
using Sun Java.  Folks on the docbook list seem to have no problem
with using svg.

Note that I use svg successfully in my xsl customization layer so I
must be doing something wrong.

Thanks for any pointers.

Regards,

-Tom

Thomas M. Browder, Jr.
Niceville, Florida
USA

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: fop 1.0 and svg error:

2010-12-02 Thread Tom Browder
On Thu, Dec 2, 2010 at 14:18, Eric Douglas edoug...@blockhouse.com wrote:
 Is this your first attempt or was this working with any version of FOP
 previously?

First attempt at using svg as a normal figure.

 Are you able to reference any other type of images?

Yes, png files work fine.

 Of course SVG works.  I'm using SVG with FOP 1.0, though mine is
 embedded in the XSL.  I'd think it has more to do with the file path.

That may be, but I've tried absolute file paths as well.

 Possible reasons:
 File is not there.
 Reference path ./ is not referring to what you think it is.
 Bad or missing URIResolver?

Could be.  Isn't that part of fop?

 It could just have to do with docbook.  I haven't used docbook myself
 and I have seen others on this list complain of problems connecting
 docbook to FOP.

That could well be, although when I raised this problem there they
said they weren't having problems.

Thanks, Eric.

-Tom

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: fop 1.0 and svg error:

2010-12-02 Thread Tom Browder
My bad!  I found I had a bad svg file.  Fop works great!

Sorry for the false alarm.

Regards,

-Tom

Thomas M. Browder, Jr.
Niceville, Florida
USA

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Comments in xsl:fo

2010-11-11 Thread Tom Browder
I need to pass a comment or pi into my fo output from my docbook
source.  Is there any way to do that within the languages now?  Is
there such a thing as an xsl:fo comment?

My motivation is to get docbook tables centered in print.  The method
shown on the fop site works for a specific table, but only if the
actual table width is somehow passed to fo.  A customization layer in
db xsl works with that dimension hardwired but, until this newb
figures out how to get the db xsl code working, I figure it's easier
to post process the fo file.

The best I can do to pass something that shows up in the fo file is
via the xml:id attribute, but I would rather have a more general way
to zero in on the specific table element and actual width.  I could
probably pass something like xml:id='tableX-actual-width-3in' and
kludge it from there.

Note that I have asked the db experts for xsl customization help.

Thanks for any help or suggestions.

-Tom

Thomas M. Browder, Jr.
Niceville, Florida
USA

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: catalog with fop 1.0

2010-11-02 Thread Tom Browder
On Tue, Nov 2, 2010 at 07:06, SriKrishnan srikrish...@techset.co.uk wrote:
 I came to knew that in fop version 1.0 there is a possibility to use
 catalog. Can anybody mention the correct syntax for that?

Srikrishnan, Bob Stayton tells how to do it in his book.  See the
online version on that topic here:

  http://www.sagehill.net/docbookxsl/UseCatalog.html

I put resolver.jar in my working directory and fop finds it fine.

HTH

-Tom

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Nested, Itemized List Flows Into PDF Page Footer [bug in trunk?]

2010-07-19 Thread Tom Browder
On Mon, Jul 19, 2010 at 03:12, Pascal Sancho pascal.san...@takoma.fr wrote:
 Hi Tom,

 I dove into your XSLFO, and found that the issue is related to
 space-before.maximum within list-block.
 I rewrote (and shortened) your testcase (see your bug entry [1]).
 Removing space-before.maximum properties within block-list makes the
 issue desappear.

So, Pascal, does that mean it's a DocBook bug?

Thanks,

-Tom

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Nested, Itemized List Flows Into PDF Page Footer [bug in trunk?]

2010-07-16 Thread Tom Browder
On Fri, Jul 16, 2010 at 02:44, Georg Datterl georg.datt...@geneon.de wrote:
 Hi Tom,

 Then please post a fo-file for the first two pages plus a few lines.

Shall I send it inline or as a compressed attachment, or?  It's 123Kb
as is, 2174 Lines.

-Tom

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Nested, Itemized List Flows Into PDF Page Footer [bug in trunk?]

2010-07-16 Thread Tom Browder
On Fri, Jul 16, 2010 at 09:24, Tom Browder tom.brow...@gmail.com wrote:
 On Fri, Jul 16, 2010 at 09:08, Georg Datterl georg.datt...@geneon.de wrote:
 Hi Tom,

 Did you try to make your page smaller and shorten the list? Is the error 
 still visible then? If yes, send the smaller file.

 Yes, I shortened it.  It is attached zipped.

Had to rename to overflow.fo.txt to avoid gmail's smart attachment police.

Rename it to overflow.fo.zip to get it to work on MS Windows.

-Tom
PKÂEðá
 88Nètest-overflow.foUT
...@lÇb@Luxèèí[sÛ6€ßû+8êl÷2«û=Iíx·3Î6§Ýξd ’°   .   
Evý 
u¡HB’mB°x¦3uÀÁ‡CÜøö݃çZßpê_ÔڍVíÝåwo§ôMH)³x¤½™Ò‹Úœ±àM³¹\.Ënƒ†³f{7¿»mÞÐÐC¬fM©ÏêSä÷ñ¢vKü[2ù{ü'‰‹È˜çÁ3
  
¸8ìŽ\2ãùþw12}¬Y.ñq}ŽÉlÎ.j¾HØ]=Œ]l3®e=b!bxÆ3±ç(D6Ãa}òX_ÿH¥RædÊóqDöy²‰BC¡ÇE5kFüYÝ£WÐ
댫ì...@3€ýÚåw–%jÅetÁêŠd®fŽŠˆ¸¸ðG’x+ó‘ÇS™ðïk–Œ_‡Í/j£FŸøIЪÐí¶òP8#~Ñà¢ÖŠ¥’ 
   eŒz»¡.ž26Ü“këÊË/jrBG‹WGÀ‹µj
›×‘¨Cev[z5óÒÅSb+ùÿ!rë©èzR!Üd³´=‘ÃŽ:±ln.h*ê¸({XRt•ÅÛfn[ÞΌ0ËØ) 
#Vn‹'m»Ó≵ø¡MkÙÔ]x~}†xP»#:mbӅ¨Îö3Z?©œR[ÿ Êj}ê8Ðöùm/«¦Ô–? 
‡²Úþ˜7¢áãº)µåÉâe›Þ¥P_AԋvÈW   ò¢ÅïÃû4”ïµøÊny@|•...@¾bÕŒ¯ 
ãeÃ⫄x�...@øªÙ÷@ø*^4¾R„M„¯á‰ïà‡óG|ŸßògÎøç´û2nós‡üsýUB^FøìÛ{VÚwj?Àˆ¡I:]®ÿ¿ù†£•xü€M}‡ˆýdÈM=â)EæÖnÀz—üS§\!ÊâF«¨æóóÈßÐHtQ‹C_4#ÙwùÿD‘D‹^ÔDÈÑY¤Rˆ-C•«”Ø^ó˜F”Òy¦rŒ!¹”§
  
ínH(ÁxÖkߚÌf½òzJƒ‘kçi2ÙEÎŒfk=M“Ùl­æœÒp„Opžv“Y7)Ál6Sôš¬f3A|R£Aöý™ÍîTlF³žõÓe4ë9§S|+:O«ÉNï”`6[3
  šìfë=¶
ё¹§VDl»(D¢Ñú°ÏÃú´™…(˜;j Ùs,OþLiДï|âÐP”XÛۇ7^àa†’„x2È¡ü†ÿ[77f:Ó7Ÿ¯oAþ«ð|Q«Óìtê\¢=ú

=ÔýèûÚV;ˆ”®qd‡$…HRtìu‚ÁterŽÝÄ.'€¢f»ÑnÖ,ñ,šðŠ¹¨m%Éuì7ò5åò·÷·¿~°~pøçÈúˆürß6×±;Ø!o.^r¹/؞[?ûIC

±®hи¦e+éMQš;eÙ[Ê`«Þ|�...@¢²6õš‚±»SÄæÞyûå'ø€ž`KUgüÙ7Wq™¾Pê^^Sû'Jï­ßïn­;öèâhŽ1‹¬%asë½´%ëæ—Oo›»8‚ÛÏÊüז·6øm»^Ùú„«ã¡ð¾ÎBŒ7L][$n/·îàˆ‘¸áx÷tڝQ§×Ö¬ˆ¡Pãÿ`¼çΉ“žƒØäPl=Y±M^E¬ÜròÕi}ÆÓãÕ{˜ìá‡ïÞ·~|ßHþºÁM0#67Ú[1‹N­¸$¿¼µ¾ Ytx!v$“zόd‰ù¡‡4/³ï£9]D±Š!.’G?lèc̓9öe‘Y¸ÀÊI‡S}ÖT]k)¼†9ÌW(÷Þ‡2œ‹Ø
 “99^kuê's_«ÜŜØúâE­žŽ Ñ|½™ÜK…
ØCÄÏۚåmKl#ê†YS—.÷Lö§,À¥ö½òœfzê3`éy»TæOSJ¤ÏT)=
ËҊÇÉxœîÀæ#x2#ÜnµþÄ}:�...@ œ’]m·}1皎‹®.ju‰³gs—†Ò©ÙrÎsªÔã 
ÜÕî–%%!IÖAHù€øÛQiÿu›Õû“î”—t÷%’¯SÛ1Ûq!]ZÒêåYˆ#Ñ©ëñâîÝðx·ô¯¿^ªå3êc×M(–4,šî¶BìJjŽ,
grØ2ÒlÔVd3çÁfѓ2f£÷¥ZÎ=³bÉE•×Xª­HnÉ)óoØÿåíoåýb¬•#À`°Ølsó~1ØÆ...@[ -Ðh
´ÍÍû´rÊ|ÊĬQ ¦öh˜…mŸ.FoVŠkVXj¼}.^‡ºØŸI¬’ÝÉø1¶÷Iš2=³ÙÅwÊ!ŒÑ 
ü¹ƒ—ˆ€‘ëU\ñA“Yø”ë•—
ûÎ+,’iƒVv³,Ðè
tº]_˜®§Ÿ¼4àÕ(^Í)’~¼
žÍjïnYiJœí-Qi\fJ\P›Ôò,që¦ðN¯1u婸(@6N¦Úy×5ƒŽè¿±ø29ç7¡®“{ùò£õóì(VçcAp6¯û\±†ø—؏#™Ä
È]¢Çô~£)r#n9…½rÊ^ž¯’›Ò‡ÎHò0ÅÒuÔ!þުȫ½œ6)¬±Cö:S¡ûªlbt»|Û¼š‡Ôn¯ñÒTž%´
ƪS4ƒº¾³çIPGüÌn^–¡»¥oœÄ³Ã°;Ö+Áq†õÊý¥‚õJ³Jeèäl{Öf〵F³6/2Ž1 
÷íêâD‹¼%ùm»(Š’îŪjÌ1r±`m#¹sj±N|Û]8âàŽÂð‘~KIO¸—ç ð1v´×þðîξº‡Áâ
'_(„ÑF£û/Œ0ZÀhÏa¸È‰ƒáÂèár^maã9씁qvÊÀN™Òޓ¶VUu½©˜6ÊÀ1àóNðø
|6‘Ï'Ÿ...@4úö{`ü+)’Ñ€ýœ8ú€¤�...@hcp„ng‰ÐûÎÅw×ŕçbëz/°k–Ø/¿
ئîÚâÌÑöMÇi.\$ú‚3G/y´(û,D©ìº­§ïiЀ%äj7Z»'¤¶¸c­¿Y­ÆhW=ìÈ´œãMyÜK·£l¶÷
+]WÃYôвŸsÜfÿ)šíj-¨0ìÕ¯¤l亚ÉËéÊ1^ 
kaÇ~RNb+šÓ¥/‚Øs‹vy¯'þÌry…4ÖÅø€ì¹E¢DXÞýŽ¬Í•OÇ®ÕrÎC-„¼ƒ§œ¡N#¿Ðú†
ÉyÄñ ÐržUI¤ä}nšqL~’IÜNŠÜùF¢ØËq¹-¹«µE¹Ñ§•âcC¾T‘-1öëÒ.#‘`K´UŠˆ²zÃÞví
{EµÓRÔNqÝÄJîrwu\¬Üã‚ò¿üµV€æf¦[ì$XœŸüìbº·ÊÏøÈ 
âQ¥¾-qVlŠ­V+‡ý{Üÿ­|ùÄç·¤ƒÏÐw, 
•èÌ7÷N§L;ÚkOƒvÙöô|»RÛWªòv–¯Çqö–Ñ$?úX„øÂÇÌñP.pُsWIBõ3u~˜±eãg
3V¼(ì”םžSÌm‡”»i™«Ê“Ls;¥bM5Ò¦š¯ßÓL6£¡ZìÁmS¾|÷îÝVº~p¯µ#·S­Ù …
baewÚô–(µ;H«}Úv–n¡·ü9¿ÿ‹=þ¡Ü½®äú¹UR#w¿ä6–Üð:eó_BÂõ’Õqñ*fÄڊ\UâG
Ĉ¸RÅ\pQ®E¹vI˜ôËÍQã¤ßO/:é7µN9é7ëa¬ë1A®P”Ø·Ä#ìŠú¢ÑY¤Áÿ›á¯ÿ€ÿþGýâÎ2luäƒψÿޟ¹¸|xÛZŠÜFH©¡Í³ÈUà}¤
 Àû„ðKÿoƒáý)¹´G¿Å¢·üîjó'rU~)ü!¿{°wÊl~FYh˜:ö†Fл¯Í¡ÈUè}¤ 
Ðû„ô†¯ÓÛEÓÀíÜ·•ú·URã¶X;nÊíGºî?Qèø8ÒáyÌ 
ø®Ô®’:G‚ŸzÓÔ¨Uú8›¦Ô›¦®^tÓÔ¨¥õ…öԆ¥vcýEÙG#ÙGØ!¥Ôœ
•Ô9:ŠÎÒ-}ït®
€íC°ÍßïÈ:ÐÝ3...@·r?@·JªbèîºÍE7õÄ×t4r40ƒÞp4R­Ð[%U1z—h1W ÷aô¨ÏuÒÀn=gsÛ 
¥œLPêìVIUŒÝc`·ùì¾—Ÿ³Çònðq®Ô®’ªÂ...@¸ùÿ—ü⃂›±r9îÁ•úÁur#¸¾³˜@ð¬È‚ûXÓÕc3–.Ç=`·R?`·Jªbìî»Mf·¼SMºÍX·ÝJýÝ*©Š¡{è6Ý?i`÷pl»aÝR­°[%U1vÝƳûJ»Ç°»Û‚Kµ~Àn•T¥ØÝmÁùJóÙ}]:»¹˜Áõó\U€ÝG
»OÈnXª4›Ý/èüŒþ꞊wÍ x(®Ô(®’ªÅaÑÒ`ŠsljØ)ȍÀpÜJýÜ*©Š[ßý±î¬ÈpFläÞ 
â.Bü…xø+o
$7b³ÛɕúÉUR#¹¾{däY‘Iî.ˆsK£è«Ëu˿嘛…(o·åJýå*©j¡¼
뙣|á-\NÎoø7ê.¼òOñps0á°¬©Ö®’:G„+µÈÏ]™kQnE›GíÒ}þ§wÁü.·¯‹=§Kö
E—YG=ñ¢úëb#SÄ¢¾«å[®…ˆ×wP¬ˆÚñp‡fø#fsêhp:Ä!
p:ú#p:TúÓ¡’:g§cÑyô]2øΊŽï¢áö‡n{hÂ...@¸j?@¸jªbÂÍe¸�...@í±Ôƒã­Ô¨­’ªµ;- ¶¹Ôuë}¤þˆ¢H,¾_%GÒ4,¿wÄRÞéiÞi͕úÍUR£yGÛ
+Ð+²æòæú¯³ÿ+ñ»Þ5ƒá]`¸R?`¸JªbïÃ
fxd‡$ÐòÀn§o½Åá8 w...@o•tÅè=z›ko‚�...@qg|ÒtÝJýÝ*©Š¡{¤í-НهîM\üéêúŸlŒìÜüÏ¿Qè¦c|lÒǀt¥~€t•tµÞmÒ_Òÿ-…ô1½Û6‚éÝ60]©0]%u1¦w€é¦3...@®+ö­¸ÞíÁpñÁb`x±~Àp•tÅÞÓæðó{îÍn¾­g³Û7ƒÞ ·R? ·Jªbô½Í¥÷Âó5p{h·GÀm¥~Àm•Ô9r[©E~îÊ\‹r+ê’í^éWÀ=½
æw¹}]ì9]ª°g(ºÌ:ê‰7û|(62EL!êõ,|^߂'xYµ·]ìa
•ïöÄ9ÅÓû½ò¯-SªþƑ‚àoœî=±×Ñ朹³{ÉýM‚ó—p͐žé¾ž8 hÆ»€q¥~€q•TÅ0ÞkƍŸï¼÷g:îdë�...@wЭÔЭ’ªº€n“Ñý‰fd“ã=0ƒÞúڗ«
ÐûHA 
÷¹¯×ôF¥°^£^¯¹yÑõšÞHêíi¬íc;àsdEÔǹLÏÞýVÛ

Re: Nested, Itemized List Flows Into PDF Page Footer [bug in trunk?]

2010-07-16 Thread Tom Browder
On Fri, Jul 16, 2010 at 09:43, Georg Datterl georg.datt...@geneon.de wrote:
 Hi Tom,

 You could still shorten it further by removing the first pages, the 
 unnecessary page-masters and probably many attributes.

I'lll try that--I haven't done anything with the fo file itself yet.
I just trimmed down my DocBook xml source.

And I see that the zip file made it--gmail lied to me!

Regards,

-Tom

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Nested, Itemized List Flows Into PDF Page Footer [bug in trunk?]

2010-07-16 Thread Tom Browder
For those with e-mail police, here is the shorter fo file renamed to
overflow-shorter.fo.txt--just rename it again after downloading to
overflow-shorter.fo.zip to use under Windows.

-Tom
PK´SðÐ9T“_’test-overflow-shorter.foUT
...@léz@LuxèèíïoÛ6Çß÷¯|¸a;œ˒mK‹.in´×¢ímý)h‹¶¹R¢FÑqÒ¿þHIN,K¢í´¦™èÁ½…üš|Düð‘(R?¿¸
  ©syBXtÞr;Ý֋çÏ~ž±9c‘™Qò㌝·BÄ?ž­V«ÎÊë0?sÇãñÙ^Ÿ]1Ñrf,í
½=o%˜“Ù?Óóœ„|Á²YE,Å߈6¢d.kýs™2»m9”D¸½Àd¾ç­HK×?ÆO…
´±ŽžË*¦ÄÑT`ޞܶïþ(”ÒNdë   T!Žd±I8ž#dyIËYqH4o‡,RÞYŠæK4—   
8j=æ8ªM(ºeKÑQ¢jM°PYVB˜âv,’ç;¹,B¡,eüÜrÒü 
Äâ¼5êôI”'­/ÚuURˆøœDmÁâóV7SåI·S)ž•6ÜLäy‰žJÍ,Íl•×¯Zr‚[G6G,/kÝSÙFª
µÕmØuVU.ž1Žü¯ìòoÚ.d·ó‘nvK·ã«¶ÌÉ´•µ ™jãºJÒÜýêH¥ë*~«ìËúM?·g„'⸝wëVgç.P×Ùûöª3etFí9’InO×eʖª%ݯèø¼qŽÚñ{Õq„ŽgAÝ^ÝíiÓµÓ÷¨á]Ž¯qd!×­èó¬mŽÚéûTqX¯§‰
  
þk‰£i}¿o5|�...@“b‘²zùo„¹ÆÉzžý`Ê¢€¨pÑÂ/8ža®êu¶*f–˜%iç­,õìՑŽ#ùO›eÍ{ÞR)—^(!릚
ÓÌ{8;¤ESuU—¥1ÛY]ÐVêhgq/°,Z%ø·ÒÒ«
ފe„ª`5TÉFY7I´
'˜§éR2Í/%W8’Íåþ»®\ùõ]${Þjsâe²¸Ï^Ô+Š8‰ªd`R;•9‘6Ό²ÕŽézÓÛ'”M?k¢ý¼âûg?O{ÕÉú6ëåÀ7X:]P·Ûý{˙0¨.%ؚ­Z
QżDÜRi{Â(  
¶ó$ÌoÃï1[0¥ñn½nËsòªcÎbÆs—ßÌúÞýastì.ºw¼¢½oq�...@6s6ó8[9©´eÉsŽuã؈¼¹rÿÕ   
å—rÆqýBϗÌǔn¥OrQ7;ÈI€¦£þ.É;ByŸWªaÃEËY™g?«ûešso÷Wµ¾Ÿzb—•Æ 
ñª62¥'Üÿ¬Æÿï3
3ÔFÝYHQ`êÃX«æY 
-Hk?i«2×w‚×ɐ“No`ò¿§%Iø“ìqfgQÐɄ­{åVhßє.õrŠ8¿e×õDFxâ’…¶UÑòº¶‡©âMé}Ì0WÀ\sÌꖦÌÙ2L0YÀdaÿdpkgŒ‰ˆ

5—ƈ#ÁxµE|R9Ë¹¾À5'KlÇH¨%Ù?KŠïR)Žæ)VÉöBÉ7/6ÏO7]WÏ*£r¢P0KêY[£µ™;™$ùUá(0viõ÷hk©¦îrl›cj﹝�...@ç}/
èt6Eç?˜ïQ4àùŽz ü#¹$«ñ|êgáÀç=ŠŸ-ð¹˜ñ + ×-QÊzZN:lÚ$
Ò]~m9êýøuÂuï‘M‚óÖjòiÊY’¼Ç³-.—Ú¥¦™ïË+~sßjÏïŒF^ï.u•oì™0lo}EQ’OU¾”U–}ÎÑm¡/­ø3Æjš‹v$Ý­£þK½ÓŸ‚Oº]¡ÛD¶ZŒ¦8_äí°XäÈÊwØræ:ÿpºÑ¶ÝliÜÎÆæiÜ
Ñ·ª€WìÀ´¿^jÜó®žÄ…ÒxXz¢Îk’‡Íœß^¾þï+ç7¯hžÔ5EuzUj9­å®Yk
‡u­%©œy×LžÌ”×IÓò‚œe‚‡DùuŽdÁV‘J,=šÊáN¢¹Ceƒtî.ãš.’äbÕÝrî÷   
–þ:‹©v™ê¡ôžixê‹vu´�...@·7êùãa­ç|UCä™)è+ËÌrª‹Ìó¶J”QÈ5I²ð†J_¢ëÅÄô½žnY$'¢ÔD±ÂXm‹—~™¤;øU_P˜68Ül¡_×:]mëÔ·mfä6pïªÎ...@õìbeÊ÷?´j˜|V[Öחî‚,ŽV•”5T}µ¨ÒÌێÚ6çêͪu¤þ7ÜUÿ[ñy°ï¤‘½Œ—2pt€Ô¢³ÚÝ{½cúÑN¸Çö§¯÷+½_ãgÕvæo%Kª³÷d©à²4yþ?!,c¤ªïYðÝ\ü”^bö›ÚŠ5w[׿튃žoÂ+û¡`ÆöÄ4—¬4åA®¹YR½‹:iW­¶ïa.[²P/;@¸éÊÏ_¼x±‡—Þýp§·¢ÛjÖò“„z±v8ݏ–h­Û˪]ÖÔ¯6Z~ŸœßâPÞF
 ·ïYAnÈ­µÈ­S5ŒÜýÛZr‘m*o9‘v¥5qu+fÄƊJSâ
âdž¸Ö
ͳàºZëj«’ðЯ²Fƒý~ù¦ý£î)ú
FzXzLU†’ékqÁÕé1Œíˆ?ê× þ€ø£‰ñGý`v= ¹µ$Çs½ŒæÞC×HDQÙ
3ŒE•¦¼¼Ooµôð¶Þïò3zð[-z[ÀoÏXQi
�...@!ðû„üöáÝ)»ùýdiàÑÉÐZAï¾±€¢Ò ÷B ÷   é
o¾ZLoŠa€Û;¸=nkínëT
ã¶Z;n[Êm.3)ýñ ‰‰È{d�...@p­}@pê)üÔ/MºGŸ'à¥)ýKSßô¥©Q×êkýɅ¥vkãŽ)J
,²zV,²zð†”Ö6tª§lh‹wôw§+Mlïƒmy¯ø|1nßtû€n­}€nªaèîºíE7'$2´5r4°ƒÞ°5RoÐ[§j½¿i±Ò ÷~ôŽY$m2Àn3{+û `ìLÐÚìÖ©Æî1°Û~v_ªSÏÅíñîZðq®µ®S5
ácn?Âÿ“~êÁÁíX¹÷€àZû€à:UÃnn/¼,ÙEð:ÚalÇÒåØvkívëT
cwØm3»Ó3Õ ÛŽuËñЭµЭS5�...@·õèþÅ»‡c+Ø
ë–zû€Ý:UÃØ=v[ÏîìÛÀn¯–zû€Ý:U£Øíua¥ýì¾:»¥ØÁõóJS€Ý
Ý'd7,UÚÍîe+t¾G¢qh€âž÷âZû€â:UÃ(‹–S\bÓÀ›‚Ò   ì÷À­µÀ­S5
ÜæΏp—%»ÀM™z…]rü‘„ø“ì$·bÓ뎀äZû€ä:UÃHnîY 
yY²'Éé’¯Y’|¢Òf~üSŽ¥[Xr·(×Ú(שš…rÖ3-Fù2\RIÎkü£Ëðø»x¤;؁pXÖÔÛשžÂµVT×®­µ®¶º—GîÑcþ‡Áê!·kˆ}͐ªš!s—õÀƒê/ëL“S‹zÏÈ·\kon£e‰ðPˆæø
:Ô!-:ú#:töaСs=Å c3xÌ2ø.köÇ÷1púƒç...@øp×Ùש†ð 
Ü^„O—¨=¶ƒÚc¼µöµuªfQ»×jÛKmÕ¶áà7(iÔâûe¾%ÍÀò{o-坞æ=h®µh®s5Œæ=c...@ó²dÍӓë?Í9Ñ'yîÙÁp®µ®S5Œá0Üb†'SNb#ôz};è­6ǽëízëT
£÷èm/½ 
±‘
Å=õHÐ=tkítëT
C÷ÈØ]* »,مîM(~wqù뫛)ÆÄòÿ~GÑÜÄóð±HÒµöÒuªf!ÝëÒÒOEæ˜î¹V0ÝséZû€é:UØÞ¦ÛÎô1¢T½·B
0Üë[ÁpõÁB`x½}Àpªa
÷Àð²dÃÃùÕ2ššYãôúvÐ{ôÖÚôÖ©FïÐÛ^z/ÃðÖ·‡vp{ÜÖÚÜÖ©ž·µVT×®­µ®¶º!éúG?îáC°zÈíb_3¤jG†fÈÜe=ðdŸWõN¦É©E½™…ÏZě[ð„h£,ÑG˜âø¨¼ç«}Š§7üã[¦5⍅oœîÑï
΁ÜeÉNr_§à|ˉ´™yÜç«
Š`ÜŒkíŒëT
øïÆ­Åx¼ŒæÎdó};ÐÝtkítëT
C÷Ðm3ºß±„
¼vÐÛÜGû*Mz(z?õõtô9Ökôë5Wßt½ÆA}­?}lbŽ²DsÌfŽðîw]Ž~ŽðÖÚ‡NõÍ`qá#:ö¢›püAÙa€Ý=+òî›;ͲÒ`÷B`÷
 ÙíÁAÞ³û—égt~CòžÏÂ};nî0ËJSá
á'dxn7Âß...@÷Àt›;ɲ...@÷b@÷
Ñ=tۍ“…L3ðÑÉî÷ü‘üÖÚüÖ©šÃo¿7ꎎ¾g±ÒÀ÷Áøþw”Œ‚·³KŽVÇe¹t
×µåÒ=áû9Zûå:U³P†HÜ^”Ó%   ®82p¸”‚w÷äðÎn ×ÚôÖ©šCït°Œá{ñX 
Äç1v¼C80÷ìJSà
à§øÀ…
G)öœ£ù¿8[ÆØ­¾i`»{Æv#TšìPì!»Í‹ì.Kv³ÛÌYkõ¹vÐ}üƒ$µ¦ººOˆîœµf=º/(KppÅxhâ}+Ì
àÀ­}qªa‡+Ø
ñÿ±ÈÄco;¾­0€o+èítëT
c·�...@wy²ÝË/øSdà»8;¾?€¯ÄëívëTÍb÷ÐÜú°»,كÝ…X`~||Oÿ¾wf¼2¨µð­S5
ßæ–øßeÉn|$¡§Cϊ—‡æÎá©4Ð} Ð}ltk­¨®][kum•µ¤‰3ÊVêÏôͱ„Â_K,GýógigLöPK´SðÐ9t“_’¤test-overflow-shorter.fout...@lux
èèpk^å
-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Re: Images not found!!!

2010-07-16 Thread Tom Browder
On Thu, Jul 1, 2010 at 04:41, Varra, Mamatha mv...@allstate.com wrote:
 Hi All,
...
 can anyone know about this issue ... pls help me.

Did you ever get any help?

-Tom

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Nested, Itemized List Flows Into PDF Page Footer [bug in trunk?]

2010-07-16 Thread Tom Browder
On Fri, Jul 16, 2010 at 10:35, Tom Browder tom.brow...@gmail.com wrote:
 On Fri, Jul 16, 2010 at 09:48, Tom Browder tom.brow...@gmail.com wrote:
 On Fri, Jul 16, 2010 at 09:43, Georg Datterl georg.datt...@geneon.de wrote:
 Hi Tom,

 You could still shorten it further by removing the first pages, the 
 unnecessary page-masters and probably many attributes.

 Okay, now it has 1832  lines--attached zipped.  Also it's using
 generic standard pdf fonts.

I'm going to file a bug report if I don't hear any objections.

-Tom

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Nested, Itemized List Flows Into PDF Page Footer

2010-07-15 Thread Tom Browder
I have a DocBook source with a long, nested, itemized list which
covers eight pages after converting to XSL-FO and running through fop
to pdf.

The list runs into the page footer on the first page but not the other
pages.  The page the list begins on is the first page of an appendix.

Any suggestions?

Thanks.

-Tom

Thomas M. Browder, Jr.
Niceville, Florida
USA

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Nested, Itemized List Flows Into PDF Page Footer

2010-07-15 Thread Tom Browder
On Thu, Jul 15, 2010 at 15:17, Tom Browder tom.brow...@gmail.com wrote:
...
 The list runs into the page footer on the first page but not the other
 pages.  The page the list begins on is the first page of an appendix.

BTW, I have explicitly set all the page variables described in Bob
Stayton's DocBook XSL: The Complete Guide on p. 84.

-Tom

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Nested, Itemized List Flows Into PDF Page Footer [bug in trunk?]

2010-07-15 Thread Tom Browder
I just got an answer on the DocBook list from Bob Stayton--problem may
be a fop bug.

-Tom

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Fop XInclude Failure with Lost Internet

2010-07-08 Thread Tom Browder
On Thu, Jul 8, 2010 at 01:26,  lars.bjer...@swedbank.se wrote:
 Well there might be a reference to Internet in your svg file´s Doctype, e.g.:
 !DOCTYPE svg PUBLIC -//W3C//DTD SVG 1.0//EN 
 http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd;
 I´ve had similar experience when not updating my catalog resolver and 
 inadvertently introducing some new reference.

That must be it.  How can I use my catalog to eliminate the problem?

-Tom

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Fop XInclude Failure with Lost Internet

2010-07-08 Thread Tom Browder
On Thu, Jul 8, 2010 at 07:18, Tom Browder tom.brow...@gmail.com wrote:
 On Thu, Jul 8, 2010 at 01:26,  lars.bjer...@swedbank.se wrote:
 Well there might be a reference to Internet in your svg file´s Doctype, e.g.:
 !DOCTYPE svg PUBLIC -//W3C//DTD SVG 1.0//EN 
 http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd;
 I´ve had similar experience when not updating my catalog resolver and 
 inadvertently introducing some new reference.

 That must be it.  How can I use my catalog to eliminate the problem?

Never mind--Bob Stayton's book explains it on page 48.

Thanks,

-Tom

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: How to Get Borders to Work

2010-07-07 Thread Tom Browder
On Wed, Jul 7, 2010 at 04:25, Jeremias Maerki d...@jeremias-maerki.ch wrote:
 Hi Tom

 Why? What should that extension do?

 IMO, Craig and Eric are right. It's basically your job in XSLT to make
 sure that the right properties are set, that defaults from the XSL-FO
 spec and from the user agent (i.e. FOP) are overridden.

 The default in XSL-FO is to have no border and you explicitely have to
 enable borders by setting the border style to something other than none.
 We're implementing a standard here. Not much freedom is available there.

Well, apparently you have to set all three attributes to get anything.
 All I'm suggesting is that setting  one implies the user wants a
border and that there be a default value then for the other two
attributes.  I don't think that's an unreasonable extension.

-Tom

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: How to Get Borders to Work

2010-07-07 Thread Tom Browder
On Wed, Jul 7, 2010 at 07:10, Jeremias Maerki d...@jeremias-maerki.ch wrote:
 Tom,

 I've just checked with 0.95 and trunk:

      fo:block border-before-style=double space-before=1embla/fo:block
      fo:block border=double space-before=1emBla/fo:block

 Just setting the border style is enough to get a border, be that on one
 side or all around with the shorthand.

My bad, I thought I had checked out setting one attribute.  I had, but
only the border-width one.

Forget all.

Thanks.

-Tom

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Fop XInclude Failure with Lost Internet

2010-07-07 Thread Tom Browder
I have an svg file included in my DocBook style sheet customization
file and it has worked fine up until this morning when I lost my
internet connection.

I then got the following error (using the trunk):

[Warning] value_user_manual.fo:204:64: Include operation failed,
reverting to fallback. Resource error reading file as XML
(href='./images/value-xhairs-only.svg'). Reason: www.w3.org
[Fatal Error] value_user_manual.fo:204:64: An 'include' failed, and no
'fallback' element was found.
Jul 7, 2010 9:13:21 AM org.apache.fop.cli.Main startFOP
SEVERE: Exception
javax.xml.transform.TransformerException:
org.xml.sax.SAXParseException: An 'include' failed, and no 'fallback'
element was found.
at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:302)
at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:130)
at org.apache.fop.cli.Main.startFOP(Main.java:174)
at org.apache.fop.cli.Main.main(Main.java:205)
Caused by: javax.xml.transform.TransformerException:
org.xml.sax.SAXParseException: An 'include' failed, and no 'fallback'
element was found.
at 
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:501)
at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:299)
... 3 more
Caused by: org.xml.sax.SAXParseException: An 'include' failed, and no
'fallback' element was found.
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown 
Source)
at 
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
... 4 more

After I regained the internet, fop again worked fine.  I have checked
all my fop configuration files and see nothing that indicates needing
the internet.

Any ideas?

Thanks.

-Tom

Thomas M. Browder, Jr.
Niceville, Florida
USA

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Possible Bug: No control Over Itemized List Marks

2010-07-07 Thread Tom Browder
On Tue, Jun 29, 2010 at 12:07, Christopher R. Maden cr...@maden.org wrote:
 Tom Browder wrote:
 1.  Is this a fop bug?
...
 Your FO markup is almost certainly requesting the symbol you see.  FOP
 does not make up list markers on its own; it uses the requested symbol.

Thanks, Chris.  The information in the two docbook books led me to
believe it was an implementation issue which I assumed was fop.

I found the places to fix it--it looks like a DocBook limitation to me.

-Tom

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: How to Get Borders to Work

2010-07-06 Thread Tom Browder
On Tue, Jul 6, 2010 at 09:47, Amick, Eric eric.am...@mail.house.gov wrote:
 The standard has width defaulting to medium and style to none; it leaves
 the color up to the user agent. You could have FOP default color to
 black, I suppose, but some user will inevitably run into problems when
 porting the stuff to another FO processor.

How about an fop extension then?

-Tom

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Problems with SVG display as background to region-body (FOP-Trunk)

2010-07-06 Thread Tom Browder
I'm not sure if this would help, but I've been able to use the trunk
and an external svg file like this:

  fo:instream-foreign-object content-width='1.5in'
content-height='auto' text-align='center'
xi:include href=images/value-xhairs-only.svg/!--
relative svg file name --
  /fo:instream-foreign-object

-Tom

Thomas M. Browder, Jr.
Niceville, Florida
USA



On Tue, Jul 6, 2010 at 10:21, Mario Madunic mario_madu...@newflyer.com wrote:
 Read the graphics.html for FOP and it doesn't say how to construct a link to 
 an SVG that works. It does say that there were changes with 0.95+.

 Ran the build.xml in the trunkdir/examples/fo to see the external.fo example. 
 The SVGs did not appear in the final PDF tests/external.pdf also.

 Well I'm frustrated and am moving back to 0.94 as I'm getting the expected 
 output when it comes to using SVGs. Hopefully someone will post how to 
 construct references to SVGs. All the links created to PNGs and JPGs (only a 
 handful of these) are appearing fine and the SVGs reference is built the same 
 as those for PNG and JPG image files.

 Thanks for your help Eric.

 Marijan (Mario) Madunic
 Publishing Specialist
 New Flyer Industries

 -Original Message-
 From: Eric Douglas [mailto:edoug...@blockhouse.com]
 Sent: Tuesday, July 06, 2010 9:26 AM
 To: fop-users@xmlgraphics.apache.org
 Subject: RE: Problems with SVG display as background to region-body 
 (FOP-Trunk)

 I haven't gotten anything but blanks for external-graphic because it
 keeps saying it can't find the file.  I haven't researched yet why, if
 there's a problem with FOP or just a problem with the format of my link
 to the file.  I haven't tested 0.94, only 0.95 and Trunk.

 I don't know if there is a log file.  That may depend on how you run it.
 I run it in webstart and I set my Java Console to visible in the Control
 Panel, so I can see warnings logged there.  You may need to set up
 log4j.  That may be able to write it to a file, I haven't tested.

 Yes, I misread your message about the 20 meg FO and thought that was the
 size of a PDF.  70 megs for one PDF sounds even more insanely large,
 though it may be normal depending on the number of pages, images, and
 links.  I haven't put any links in mine thus far.  I read someone on the
 list thought links were taking up a lot of space.  I don't have an FO
 file on mine.  I just pass in an XML file and an XSL file to generate
 either a PDF or a printout.  I'm assuming it generated FO code in that
 process but it apparently keeps it in memory.  With the way I'm using
 the embedded code I wouldn't even know how to get the FO into a file.

 There is this in the documentation:
 After the Apache FOP 0.94 release, the image handling subsystem has been
 rewritten...
 The actual image loading framework no longer resides in Apache FOP, but
 was instead placed in XML Graphics Commons.
 http://xmlgraphics.apache.org/fop/0.95/graphics.html

 -Original Message-
 From: Mario Madunic [mailto:mario_madu...@newflyer.com]
 Sent: Tuesday, July 06, 2010 10:09 AM
 To: fop-users@xmlgraphics.apache.org
 Subject: RE: Problems with SVG display as background to region-body
 (FOP-Trunk)

 I'm mystified as to why 0.94 has no problem with external-graphic (and
 in my case SVGs) and using SVGS as background and the trunk does.

 You must of misunderstood me, the FO file is down to 20megs, the PDF
 with all SVGs, linking, and such is around 70megs. There are 500+ full
 page SVGS and 15000+ links (mainly in indexes). It is a 1400+ page parts
 manual. It is quite impressive when done, if I might say so myself. We
 run the entire process on a 12gig Ram 64bit Windows XP machine.

 Eric, you are exactly right in that I'm also seeing a blank space where
 external-graphic should be placing and SVG.

 I'll see if I can find the log, or if there isn't one at the moment,
 then have it created.

 Thanks for your insight and relating your experience with this issue.

 Marijan (Mario) Madunic
 Publishing Specialist
 New Flyer Industries

 -Original Message-
 From: Eric Douglas [mailto:edoug...@blockhouse.com]
 Sent: Tuesday, July 06, 2010 8:47 AM
 To: fop-users@xmlgraphics.apache.org
 Subject: RE: Problems with SVG display as background to region-body
 (FOP-Trunk)

 I had too many problems with external-graphic, is why I'm using
 instream-foreign-object.  When I get time I need to take another look at
 getting external-graphic to work.  If you're having the same problem I
 was having, everything prints fine except the external-graphic space is
 blank, and if you can see the Java Console it will show logs of file not
 found.

 20 megs sounds ridiculously large for a PDF file.  If you're embedding
 images, the problem is no doubt the inclusion of ridiculously large
 image files.  The largest reports I've generated so far are around 44kb
 for a 1 page report and an 84kb 7 page report which includes this svg
 image 3 times per page.. At that ratio a 20 meg file 

Re: can anyone help me convert ttf font to xml font

2010-07-05 Thread Tom Browder
On Mon, Jul 5, 2010 at 11:32, ploypyrin phailin...@hotmail.com wrote:

 I want to use thai language in fo report to export to pdf but i cant convert 
 font I try so many way to convert ANGSA.TTF to ANGSA.XML more than 1 month 
 til now

Can't you use the ttf font directly?  Why do you need to convert to xml?

-Tom

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: How to Get Borders to Work

2010-07-03 Thread Tom Browder
On Fri, Jul 2, 2010 at 22:07, Craig Ringer cr...@postnewspapers.com.au wrote:
 On 3/07/2010 2:45 AM, Tom Browder wrote:

 I notice there is an open bug about borders not fully working on some
 objects.

 URL?

https://issues.apache.org/bugzilla/show_bug.cgi?id=36395

 I can't get them to work on blocks or block containers (using trunk).
...
 Have a look at the test cases in fop for some examples.

Thanks, Craig, that helped.

My problem was that I had not been using all three attributes (color,
style, width).  For some reason I had assumed that there would be a
default for the missing ones if only one or two were entered.

Does that sound like a good extension of feature request?

Regards,

-Tom

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: How to Get Borders to Work

2010-07-03 Thread Tom Browder
On Sat, Jul 3, 2010 at 07:20, Craig Ringer cr...@postnewspapers.com.au wrote:
...
 If fop helped users by (say) assuming border color = foreground color
 if no color was given, and the standard specifies that no color =
 transparent if not specified, then the same XSL-FO would render with
 missing borders in other processors.

True but I think assuming thin, black, solid would be a reasonable set
of assumptions.

-Tom

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



How to Get Borders to Work

2010-07-02 Thread Tom Browder
I notice there is an open bug about borders not fully working on some objects.

I can't get them to work on blocks or block containers (using trunk).

Has anyone got it to work on either block or block container?

If so, can you show the exact syntax that worked for you?

Thanks.

-Tom

Thomas M. Browder, Jr.
Niceville, Florida
USA

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: How Can I Get a Nested List Item Have a Different Mark

2010-06-28 Thread Tom Browder
On Mon, Jun 28, 2010 at 00:14, Georg Datterl georg.datt...@geneon.de wrote:
 Hi Tom,

 Could you clarify whether your problem is the html open circle or the default 
 pdf bullet?

The pdf bullet--I cannot get it changed to the open circle for the nested items.

Thanks, Georg.

Regards,

-Tom

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



How Can I Get a Nested List Item Have a Different Mark

2010-06-26 Thread Tom Browder
I get a default filled circle (mark='bullet'?) for the listitems in an
itemized list for both html and pdf output.

When I have a nested list I get a default opencircle
(mark='opencircle') for the nested listitems for html output but still
get the bullet for pdf output.

The fop conformance page says all list handling things are taken care
of.  I cannot find much help on the mailing list archives except to
say a font change may  be needed (but no example).  I can find nothing
in the bug list about this.

Questions:

1.  Is this a fop bug?

2.  Is there a way to work around the problem?

  If so, please give an explicit example of how to do it (or point to one).

Thanks.

Regards,

-Tom

Thomas M. Browder, Jr.
Niceville, Florida
USA

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Any way to search fop mail archives? [SOLVED]

2010-06-22 Thread Tom Browder
Can anyone please point me to instructions for searching the fop mail
archives?  So far I've found nothing useful.

(There is a link on the Wiki, but it wasn't useful, I later updated it
though [and created separate links for each list].)

...[later]

I finally found fop-dev and fop-user on old.nabble.com--they need to
be migrated to the new nabble.

Thanks.

-Tom

Thomas M. Browder, Jr.
Niceville, Florida
USA

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



SEVERE: Couldn't find hyphenation pattern en

2010-06-22 Thread Tom Browder
I can't get rid of the subject error.  I have tried every solution
(except compiling a new hyphenation dictionary) I saw on the FOP help
at the web site.

I am using FOP 0.95 on Ubuntu 10.04 LT, amd64.

I use xsltproc to produce the fo file from docbook source, then run
the fo file through fop.

Any suggestions?

Thanks.

-Tom

Thomas M. Browder, Jr.
Niceville, Florida
USA

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: fop trunk hangs

2009-06-23 Thread Tom Browder
On Tue, Jun 23, 2009 at 09:23, Johan
Pretoriusjohanpretor...@jesuruncharity.com wrote:
...
 No more StackOverFlow errors but the pdf creation process hangs before
 completion. CPU usage 100%.

Is it possible you are out of RAM?  fop takes a large amount of heap
space I've found (I had to set my java to use a max of 256 Mb to get
through a pdf creation).

Regards,

-Tom

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)

2009-06-20 Thread Tom Browder
On Sat, Jun 20, 2009 at 02:20, Andreas Delmelle
andreas.delme...@telenet.be wrote:
...
 Am I getting this correctly? You managed to build FOP, but now have memory 
 issues while
 formatting a document?

Yes, Andreas, I can build fop 0.95 (but with test failures, missing
fonts primarily).

I get heap space errors when trying to create a complex pdf document.
I will try the memory option to see what that does.

Regards,

-Tom

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14) [SOLVED]

2009-06-20 Thread Tom Browder
On Sat, Jun 20, 2009 at 07:03, Tom Browder tom.brow...@gmail.com wrote:
...
 Yes, Andreas, I can build fop 0.95 (but with test failures, missing
 fonts primarily).

 I get heap space errors when trying to create a complex pdf document.
 I will try the memory option to see what that does.

Well, it seemed hard to find, but by looking at the fop execution
shell script I found how to pass java options:  set the JAVA_ARGS
environment variable.  I did:

  export JAVA_ARGS=-Xmx256m

and the pdf build woked to completion.

Now I can concentrate on other build errors on a new thread.

Regards,

-Tom

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)

2009-06-19 Thread Tom Browder
On Tue, Jun 16, 2009 at 15:08, J.Pietschmannj3322...@yahoo.de wrote:
 On 16.06.2009 13:53, Andreas Delmelle wrote:

 As to your initial problem: like Vincent, I've never run into
 memory-related issues while /compiling/ FOP.

 I had difficulties running the JUnit-Tests included in the
 default ant target, and I always run out of memory while
 building javadocs on debian-amd64 using any sun jdk I tried.
 Gcj was worse, it usually failed already at the codegen target
 with rather strange errors (e.g. illegal character in XML
 file WTF?) Maybe this is fixed now, I haven't tried for a
 year or so.
 I never had this kind of problems while building FOP on
 Windows.

I'm still having heap space problems running fop on Ubunto 9.04..
Anyone have any ideas about what to do next?

Thanks.

-Tom

Tom Browder
Niceville, Florida
USA

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)

2009-06-16 Thread Tom Browder
On Tue, Jun 16, 2009 at 05:53, Vincent Hennebertvhenneb...@gmail.com wrote:
 Hi Tom,

 I assumed you installed the standard Debian package that provides the
 Sun jdk, but if it is in /opt/sun/something this is probably not the
 case. Any reason why you would need your own Sun Java installation?

I now have the debian jdk package installed, and it is apparently the
right one, but I'm getting the same problems.

 Also, you don’t need to set the JAVA_HOME and JAVABINDIR environment
 variables at all.

I'll unset them and see if that makes any difference.  Note that over
the years there have been different sets of instructions with every
jvm and, for a non-java user, that has probably led to subtle system
conflicts that may be cropping up now.

 I don’t know what the /usr/lib/jvm/.*.jinfo files are, but after years
 of working on Debian-based systems I’ve never felt the need to know :-)

My thought was trying to shoehorn the other jdk into the same group.

 Make sure you are running the correct jvm by typing ‘javac -version’ on
 the terminal.

Will do.

Thanks, Vincent.

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)

2009-06-16 Thread Tom Browder
On Tue, Jun 16, 2009 at 05:53, Vincent Hennebertvhenneb...@gmail.com wrote:
 Hi Tom,
...
 Make sure you are running the correct jvm by typing ‘javac -version’ on
 the terminal.

Okay, I still have the same problems with building from the trunk (r785169).

I have downloaded fop-0.95 and have different problems: build and test
errors.  A quick look indicates I may be missing something or have a
pre-req too old.  I will have to investigate later.  I will report
back.

-Tom

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)

2009-06-16 Thread Tom Browder
On Tue, Jun 16, 2009 at 06:53, Andreas
Delmelleandreas.delme...@telenet.be wrote:
 On 15 Jun 2009, at 15:44, Tom Browder wrote:
...
 You're always welcome to send FO files you're having problems with. Note:
 we'd rather not get the source XML, since that is strictly speaking out of
 scope for FOP. You could perform the initial XSLT stage using xsltproc or
 any other XSLT processor, then send the resulting file.
 If the file is significantly large, please consider mailing it to us
 off-list or make it available otherwise, just to avoid bothering all
 list-subscribers with the attachment.

Great, I'll do that.  If it's large, how about a zipped attachment?
If off-list, to whom?

-Tom

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)

2009-06-16 Thread Tom Browder
On Tue, Jun 16, 2009 at 07:13, Andreas
Delmelleandreas.delme...@telenet.be wrote:
...
 You can send it to me (since I was the one who proposed to do so)

Coming at you shortly, Andreas,...

-Tom

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)

2009-06-16 Thread Tom Browder
On Tue, Jun 16, 2009 at 07:13, Andreas
Delmelleandreas.delme...@telenet.be wrote:
 On 16 Jun 2009, at 14:00, Tom Browder wrote:
...
 You're always welcome to send FO files you're having problems with. Note:
 we'd rather not get the source XML, since that is strictly speaking out

Well, I just tried to make the gnucash guide (from trunk) in pdf and
it worked.  However, there are some notes and warnings about features
not implemented, etc.  So it may make a good test case if you're still
interested.

-Tom

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)

2009-06-15 Thread Tom Browder
On Mon, Jun 15, 2009 at 05:13, Vincent Hennebertvhenneb...@gmail.com wrote:
 Hi Tom,
...
 Are you sure you are actually running the Sun jdk? This is the usual
 trap on Debian-based systems. Run ‘update-alternatives --display javac’
 in a terminal. If it is not set to Sun’s jdk, you can set it like this:
    sudo update-java-alternatives -s java-6-sun

Thanks, Vincent.  That shows I'm not running the correct one all
right, but the second command didn't work.


 HTH,
 Vincent


 Tom Browder wrote:
 I am getting lots of warnings errors building Fop (trunk, r784614), among 
 them:

 ...

 ASCII
     [javac]      * Ascender Height is the character???s most positive
 y-axis value.
     [javac]                                        ^
     [javac] 
 /usr/local/src/apache-fop-trunk/src/java/org/apache/fop/afp/fonts/CharacterSetOrientation.java:100:
 warning: unmappable character for encoding

 [A LOCALE problem?]

 ...

     [javac] The system is out of resources.
     [javac] Consult the following stack trace for details.
     [javac] java.lang.OutOfMemoryError: Java heap space

 I have 4 Gb memory and see no use of swap!

 BUILD FAILED
 /usr/local/src/apache-fop-trunk/build.xml:313: Compile failed; see the
 compiler error output for details.


 Ideas welcome.

 Thanks,

 -Tom

 Tom Browder
 Niceville, Florida
 USA

 -
 To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
 For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org


 -
 To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
 For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)

2009-06-15 Thread Tom Browder
On Mon, Jun 15, 2009 at 05:13, Vincent Hennebertvhenneb...@gmail.com wrote:
...
 in a terminal. If it is not set to Sun’s jdk, you can set it like this:
    sudo update-java-alternatives -s java-6-sun

Vincent, I don't understand the command.  I can trace the links back
to another javac.  My environment variables are:

JAVA_HOME=/opt/sun/java/latest
JAVABINDIR=/opt/sun/java/latest/bin

I can try to updated the links manually, but I'ld rather not.  This
appears as another piece of the java environment I'm not aware of.
What is jname supposed to refer to?  It's not a whole path, what
is the magic ID for a java installation? I''ll bet I have at least 10
around with various packages installed!

Thanks.

Regards,

-Tom

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)

2009-06-15 Thread Tom Browder
On Mon, Jun 15, 2009 at 05:13, Vincent Hennebertvhenneb...@gmail.com wrote:
 Hi Tom,
...
 in a terminal. If it is not set to Sun’s jdk, you can set it like this:
    sudo update-java-alternatives -s java-6-sun

Ah, I see what /etc/alternatives is.   I've never been aware of that!

I know this is off topic, but what provides the /usr/lib/jvm/.*.jinfo file?

I think I can build my own, but that doesn't seem like it's something
a user should do.  Surely there exists one each for all standard Sun
Java packages.

Thanks and regards,

-Tom

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)

2009-06-15 Thread Tom Browder
On Mon, Jun 15, 2009 at 05:13, Vincent Hennebertvhenneb...@gmail.com wrote:
 Hi Tom,

 I can build FOP without any problem on the same system (ok, jdk1.6.0_13
 instead of jdk1.6.0_14 but that shouldn’t change anything really).

 Are you sure you are actually running the Sun jdk? This is the usual
 trap on Debian-based systems. Run ‘update-alternatives --display javac’
 in a terminal. If it is not set to Sun’s jdk, you can set it like this:
    sudo update-java-alternatives -s java-6-sun

That is all set now, but I still get the same errors.

Any more ideas?

Note that I cannot find directory tools/com/sun/tools/javac anywhere
on my system other than my build of the latest gcc.

See this message:

[javac] Consult the following stack trace for details.
[javac] java.lang.OutOfMemoryError: Java heap space
[javac] at
com.sun.tools.javac.comp.MemberEnter.visitVarDef(MemberEnter.java:609)

Thanks,

-Tom

P.S.  Would someone like a test docbook xml file to give fop -pdf a
good workout?

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)

2009-06-15 Thread Tom Browder
On Mon, Jun 15, 2009 at 14:22, Andreas
Delmelleandreas.delme...@telenet.be wrote:
 On 15 Jun 2009, at 02:18, Tom Browder wrote:
...
 Seems like a badly encoded 'smart quote'... I checked the file in my IDE,
 and noticed a similar substitution. I just replaced it with a regular
 apostrophe and committed the change:
 http://svn.apache.org/viewvc?rev=784924view=rev

I'll get that--thanks.

 Well... The fact that your system has 4GB available does by no means
 guarantee that the JVM will use all of it, if it has to. Can you do anything
 to monitor the process closer?

I'll try, but I have very little java experience (the only reason I'm
doing this is because I need to see if trunk/fop can -pdf gnucash
docbook xml docs, 0.95 can't; I don't know yet where that problem
is--I'm just trying to narrow the problem).

Regards,

-Tom

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)

2009-06-14 Thread Tom Browder
I am getting lots of warnings errors building Fop (trunk, r784614), among them:

...

ASCII
[javac]  * Ascender Height is the character???s most positive
y-axis value.
[javac]^
[javac] 
/usr/local/src/apache-fop-trunk/src/java/org/apache/fop/afp/fonts/CharacterSetOrientation.java:100:
warning: unmappable character for encoding

[A LOCALE problem?]

...

[javac] The system is out of resources.
[javac] Consult the following stack trace for details.
[javac] java.lang.OutOfMemoryError: Java heap space

I have 4 Gb memory and see no use of swap!

BUILD FAILED
/usr/local/src/apache-fop-trunk/build.xml:313: Compile failed; see the
compiler error output for details.


Ideas welcome.

Thanks,

-Tom

Tom Browder
Niceville, Florida
USA

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Fop Options

2008-10-02 Thread Tom Browder
On Thu, Oct 2, 2008 at 7:20 AM, Vincent Hennebert [EMAIL PROTECTED] wrote:
 Tom Browder wrote:
...
 When I execute 'fop' without arguments, I see the usage message but I
 also see lots of gunk accompanying an exception.  Couldn't that part
 be left out?
 Definitely. Although 'lots of gunk' seems slightly exaggerated to me ;-)

Well, 'gunk' may not be the right word, but at the bottom of the help
lines are shown these lines (after executing 'fop' with no arguments):

Oct 2, 2008 7:19:47 PM org.apache.fop.cli.Main startFOP
SEVERE: Exception
org.apache.fop.apps.FOPException: No input file specified
at 
org.apache.fop.cli.CommandLineOptions.checkSettings(CommandLineOptions.java:801)
at 
org.apache.fop.cli.CommandLineOptions.parse(CommandLineOptions.java:153)
at org.apache.fop.cli.Main.startFOP(Main.java:155)
at org.apache.fop.cli.Main.main(Main.java:202)

So, whatever you call it, it shouldn't be there.

 You can submit a request for enhancement on FOP's Bugzilla:
...
 Likewise, the -v and -d options throw exceptions and too much
 extraneous info.

 Agreed for '-v', not sure however about the '-d' option. Actually it

I think I confused the outputs and didn't report correctly.  Sorry.

 If you choose to contribute don't hesitate to use the fop-dev mailing
 list to discuss details or ask further questions.

Thanks, Vincent, I will.

-Tom

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Fop Warnings

2008-10-01 Thread Tom Browder
Just yesterday I got fop 0.95 installed to try tp make a pdf version
of the GnuCash (www.gnucash.org) guide, and the resukts look great for
the first time.  Obviously some tinkering will need to be done, but
that is to be expected for a newbie to docbook and fop.

I got a slew of warnings, most self-explanatory.

My question is:

Is there a way to get fop to point to the source of the warnings?

I've tried the -d (debug) option and that didn't help.

Thanks.

-Tom

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Fop Options

2008-10-01 Thread Tom Browder
First, thanks to the fop developers for a fine program--it has enabled
successful pdf generation of the GnuCash guide which apparently hasn't
been possible for some time with other docbook tool chains.

I am using the trunk version of fop and have a couple of comments:

When I execute 'fop' without arguments, I see the usage message but I
also see lots of gunk accompanying an exception.  Couldn't that part
be left out?   Most likely the user has intentionally omitted
arguments so he can to see the usage message (if any--I think it is
bad practice to design a CLI program without such a message).

Likewise, the -v and -d options throw exceptions and too much
extraneous info.  Eventually I would like to use 'fop -v' in a
configure test for gnucash, so the cleaner the output the better.

I will be happy to file a bug report if that is appropriate or am I
doing something wrong?

I will also be happy to try to fix the problem, but I am a C++/C/perl
programmer and have no java experience.

But I do have some bash scripting experience and see that fop is a
bash wrapper to Fop, so maybe I can help there.

Thanks.

-Tom

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Fop Warnings

2008-10-01 Thread Tom Browder
On Wed, Oct 1, 2008 at 1:11 PM, Vincent Hennebert [EMAIL PROTECTED] wrote:
 Hi Tom,

 Tom Browder wrote:
...
 Is there a way to get fop to point to the source of the warnings?

 You have to write the XSL-FO produced by the XSLT processor into a file.
...
 For debugging purpose you can proceed in two steps:
fop -xml document.xsl -xsl sytesheet.xsl -foout document.fo
fop -fo document.fo -pdf document.pdf
...
 Note that that won't point you to the DocBook source, unfortunately.
 From the FO file you'll have to figure out what part of the DocBook
 source that corresponds to. Tedious, but I'm not sure there is any

Thanks for the help, Vincent.

-Tom

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Fop Warnings

2008-10-01 Thread Tom Browder
On Wed, Oct 1, 2008 at 8:28 PM, John Brown [EMAIL PROTECTED] wrote:
 One more thing: the XSL-FO produced by FOP does not contain any
 new line characters, so FOP will tell you that the error is on line 1 at
 position 7458 o something similar. You can format the XSL-FO using
 'xmllint --format' before running FOP. xmllint is part of the libxml2
 project.

Thanks for the additional info, John, good idea.

-Tom

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]