RE: source for hz algorithm

2003-01-29 Thread Victor Mote
Dirk-Willem van Gulik wrote: > It is documented in either book 1 or 2 of Digital Typography by (I think!) > P. Karow, of URW (i.e. the folks behind the Ikarus format (just google > for URW and Digital Typograhy or Ikarus)). I think it is in book one. The > books are an absolute 'must have' - but

RE: source for hz algorithm

2003-01-29 Thread Victor Mote
J.Pietschmann wrote: > The TeX-Book has a chapter about this problem. It is available > as textbook.tex (in TeX, and quite officially). Amazingly, I > didn't find it on CTAN, but a google search turns up other > servers (I can send you the 460k compressed source). I think it is also Volume A of K

Re: source for hz algorithm

2003-01-29 Thread Peter B. West
Sebastian Rahtz (PassiveTeX) would be a good source of information. I think he tends to hang around on [EMAIL PROTECTED] Btw, URW provide one of the best-known set of free Type1 fonts for linux. Peter Victor Mote wrote: J.Pietschmann wrote: The TeX-Book has a chapter about this problem. It

RE: source for hz algorithm

2003-01-29 Thread Victor Mote
Peter B. West wrote: > These are interesting and important issues. I had no notion of the HZ > algorithm, but I was dimly aware from my reading as a teenager of the > "rivers" problem, and acutely conscious of its distracting effect from > my reading. In my thinking about layout, I have been con

Re: source for hz algorithm

2003-01-29 Thread Peter B. West
Victor Mote wrote: Peter B. West wrote: These are interesting and important issues. I had no notion of the HZ algorithm, but I was dimly aware from my reading as a teenager of the "rivers" problem, and acutely conscious of its distracting effect from my reading. In my thinking about layout, I

Re: source for hz algorithm

2003-01-29 Thread Keiron Liddle
> True, but I had in mind that any such approach will be built on the fact > that any layout is, in some sense, tentative. Rhett raised the question > some time ago of a means recording (and scoring) intermediate results, > something which will be an essential element of such a solution. > > A

Re: source for hz algorithm

2003-01-29 Thread Arnd Beißner
Peter B. West wrote: > At this stage, I would tend to think not of > doing every possible layout, but of following > the "optimum" values to perform initial layout, > and then testing the result for "goodness". > The minimum-maximum range provides the slack - > within the context of the spec - for

RE: source for hz algorithm

2003-01-29 Thread Rhett Aultman
I'd meant for him to contact me privately so I could mail him some photocopies and save him the trouble of trying to find copies of the book. -Original Message- From: Peter B. West [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 12:32 AM To: [EMAIL PROTECTED] Subject: Re: so

RE: source for hz algorithm

2003-01-29 Thread Rhett Aultman
Peter, This brings back to light the possibility of needing to do multipass layout, doesn't it? I had suggested something along these lines previously. -Original Message- From: Peter B. West [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 12:30 AM To: [EMAIL PROTECTED] Subj

Re: source for hz algorithm

2003-01-29 Thread Peter B. West
Oops. Peter Rhett Aultman wrote: I'd meant for him to contact me privately so I could mail him some photocopies and save him the trouble of trying to find copies of the book. -- Peter B. West [EMAIL PROTECTED] http://www.powerup.com.au/~pbwest/ "Lord, to whom shall we go?"

drawing borders

2003-01-29 Thread Paulo Gustavo Benfatti
Hi All,       There is a way to draw a border of a cell/table/block minor than 1pt ?   Thanks, Paulo Benfatti

RE: source for hz algorithm

2003-01-29 Thread Rhett Aultman
Grrr...still I struggle with Outlook. I'm giving real thought to setting myself up with a new POP account and using a web client so that at least I can format emails the way I want. Responses below... -Original Message- From: Keiron Liddle [mailto:[EMAIL PROTECTED]] Sent: Wednesday, J

Re: source for hz algorithm

2003-01-29 Thread Peter B. West
Keiron Liddle wrote: True, but I had in mind that any such approach will be built on the fact that any layout is, in some sense, tentative. Rhett raised the question some time ago of a means recording (and scoring) intermediate results, something which will be an essential element of such a so

Re: source for hz algorithm

2003-01-29 Thread Peter B. West
Rhett, If intermediate results from the FO tree and the Area tree are buffered to disk, the distinction between single pass with back-tracking and multiple pass begins to blur. For things like page number resolution a straight-forward multi-pass solution may be best, but I would like to see w

Re: source for hz algorithm

2003-01-29 Thread Clay Leeds
Peter B. West wrote: Victor Mote wrote: Peter B. West wrote: These are interesting and important issues. I had no notion of the HZ algorithm, but I was dimly aware from my reading as a teenager of the "rivers" problem, and acutely conscious of its distracting effect from my reading. In my t

Re: source for hz algorithm

2003-01-29 Thread Peter B. West
Clay Leeds wrote: Does the idea that there would be intermediate results mean that a "human" could determine which is the best to perform the final layout? I'm thinking of a system similar to how some OCR programs enable the user to contribute to the process of recognition when the OCR program

Re: source for hz algorithm

2003-01-29 Thread Clay Leeds
Forgive the response to my own post... Clay Leeds wrote: Peter B. West wrote: Victor Mote wrote: Peter B. West wrote: These are interesting and important issues. I had no notion of the HZ algorithm, but I was dimly aware from my reading as a teenager of the "rivers" problem, and acutely c

RE: source for hz algorithm

2003-01-29 Thread Rhett Aultman
Any attempt FOP has at laying rules for layout is going to be applying heuristics. It would be interesting to be able to expose the heuristics and allow for programmer/user control of them. Still, until more of this materializes, I think we're getting famous French mathematicians before the eq

cvs commit: xml-fop/src/foschema fop.xsd schema2completion.xsl schema2dtd.xsl

2003-01-29 Thread jeremias
jeremias2003/01/29 08:01:00 Added: src/foschema fop.xsd schema2completion.xsl schema2dtd.xsl Log: Move over from docs/foschema Revision ChangesPath 1.2 +4296 -0 xml-fop/src/foschema/fop.xsd 1.2 +197 -0xml-fop/src/foschema/schema2completio

cvs commit: xml-fop/docs/foschema fop.xsd schema2completion.xsl schema2dtd.xsl

2003-01-29 Thread jeremias
jeremias2003/01/29 08:01:44 Removed: docs/foschema fop.xsd schema2completion.xsl schema2dtd.xsl Log: Move over to src/foschema - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT

Re: source for hz algorithm

2003-01-29 Thread Peter B. West
Clay Leeds wrote: Does the idea that there would be intermediate results mean that a "human" could determine which is the best to perform the final layout? I'm thinking of a system similar to how some OCR programs enable the user to contribute to the process of recognition when the OCR progr

cvs commit: xml-fop/examples/fo/tables background.fo borders.fo break.fo headfoot.fo keep.fo omit.fo space.fo widowsorphans.fo

2003-01-29 Thread jeremias
jeremias2003/01/29 08:07:57 Added: examples/fo .cvsignore build.xml runtests.bat runtests.sh examples/fo/advanced K3.TTF K3.xml bar.conf.xml barcode.fo cid-fonts.fo cid-fonts.pdf giro.fo examples/fo/basic alignment.fo blockcontainer

cvs commit: xml-fop/docs/examples/tables background.fo borders.fo break.fo headfoot.fo keep.fo omit.fo space.fo widowsorphans.fo

2003-01-29 Thread jeremias
jeremias2003/01/29 08:11:22 Removed: docs/examples .cvsignore build.xml results.html runtests.bat runtests.sh docs/examples/advanced K3.TTF K3.xml bar.conf.xml barcode.fo cid-fonts.fo cid-fonts.pdf giro.fo docs

cvs commit: xml-fop/docs/graphics fop.jpg linux.bmp listgeometry.gif page.gif xml_feather.gif xml_feather_transparent.gif

2003-01-29 Thread jeremias
jeremias2003/01/29 08:21:35 Removed: docs/graphics fop.jpg linux.bmp listgeometry.gif page.gif xml_feather.gif xml_feather_transparent.gif Log: Move over to examples/fo/graphics - To unsubscr

cvs commit: xml-fop/examples/mathml - New directory

2003-01-29 Thread jeremias
jeremias2003/01/29 08:22:41 xml-fop/examples/mathml - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

cvs commit: xml-fop/examples/mathml/src - New directory

2003-01-29 Thread jeremias
jeremias2003/01/29 08:22:55 xml-fop/examples/mathml/src - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

cvs commit: xml-fop/examples/mathml/resources - New directory

2003-01-29 Thread jeremias
jeremias2003/01/29 08:23:10 xml-fop/examples/mathml/resources - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

cvs commit: xml-fop/examples/mathml/lib - New directory

2003-01-29 Thread jeremias
jeremias2003/01/29 08:23:28 xml-fop/examples/mathml/lib - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

cvs commit: xml-fop/examples/mathml/docs - New directory

2003-01-29 Thread jeremias
jeremias2003/01/29 08:23:31 xml-fop/examples/mathml/docs - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

cvs commit: xml-fop/examples/mathml/resources/META-INF/services - New directory

2003-01-29 Thread jeremias
jeremias2003/01/29 08:23:53 xml-fop/examples/mathml/resources/META-INF/services - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

cvs commit: xml-fop/examples/mathml/resources/META-INF - New directory

2003-01-29 Thread jeremias
jeremias2003/01/29 08:23:45 xml-fop/examples/mathml/resources/META-INF - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

cvs commit: xml-fop/examples/mathml/src/org - New directory

2003-01-29 Thread jeremias
jeremias2003/01/29 08:24:04 xml-fop/examples/mathml/src/org - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

cvs commit: xml-fop/examples/mathml/src/org/apache/fop - New directory

2003-01-29 Thread jeremias
jeremias2003/01/29 08:24:14 xml-fop/examples/mathml/src/org/apache/fop - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

cvs commit: xml-fop/examples/mathml/src/org/apache/fop/mathml - New directory

2003-01-29 Thread jeremias
jeremias2003/01/29 08:24:20 xml-fop/examples/mathml/src/org/apache/fop/mathml - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

cvs commit: xml-fop/examples/mathml/src/org/apache - New directory

2003-01-29 Thread jeremias
jeremias2003/01/29 08:24:10 xml-fop/examples/mathml/src/org/apache - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

cvs commit: xml-fop/examples/mathml/src/org/apache/fop/mathml MathMLElement.java MathMLElementMapping.java MathMLObj.java

2003-01-29 Thread jeremias
jeremias2003/01/29 08:25:25 Added: examples/mathml .cvsignore README build.bat build.sh build.xml examples/mathml/docs example.mml mathml.fo examples/mathml/lib readme.txt examples/mathml/resources/META-INF/services

cvs commit: xml-fop/contrib/mathml/src/org/apache/fop/mathml MathMLElement.java MathMLElementMapping.java MathMLObj.java

2003-01-29 Thread jeremias
jeremias2003/01/29 08:26:34 Removed: contrib/mathml .cvsignore README build.bat build.sh build.xml contrib/mathml/docs example.mml mathml.fo contrib/mathml/lib readme.txt contrib/mathml/resources/META-INF/services

cvs commit: xml-fop/examples/plan/docs - New directory

2003-01-29 Thread jeremias
jeremias2003/01/29 08:33:42 xml-fop/examples/plan/docs - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

cvs commit: xml-fop/examples/plan - New directory

2003-01-29 Thread jeremias
jeremias2003/01/29 08:33:30 xml-fop/examples/plan - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

cvs commit: xml-fop/examples/plan/resources - New directory

2003-01-29 Thread jeremias
jeremias2003/01/29 08:33:55 xml-fop/examples/plan/resources - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

cvs commit: xml-fop/examples/plan/resources/META-INF - New directory

2003-01-29 Thread jeremias
jeremias2003/01/29 08:33:59 xml-fop/examples/plan/resources/META-INF - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

cvs commit: xml-fop/examples/plan/resources/META-INF/services - New directory

2003-01-29 Thread jeremias
jeremias2003/01/29 08:34:02 xml-fop/examples/plan/resources/META-INF/services - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

cvs commit: xml-fop/examples/plan/src - New directory

2003-01-29 Thread jeremias
jeremias2003/01/29 08:34:12 xml-fop/examples/plan/src - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

cvs commit: xml-fop/examples/plan/src/org - New directory

2003-01-29 Thread jeremias
jeremias2003/01/29 08:34:16 xml-fop/examples/plan/src/org - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

cvs commit: xml-fop/examples/plan/src/org/apache - New directory

2003-01-29 Thread jeremias
jeremias2003/01/29 08:34:19 xml-fop/examples/plan/src/org/apache - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

cvs commit: xml-fop/examples/plan/src/org/apache/fop - New directory

2003-01-29 Thread jeremias
jeremias2003/01/29 08:34:23 xml-fop/examples/plan/src/org/apache/fop - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

cvs commit: xml-fop/examples/plan/src/org/apache/fop/plan - New directory

2003-01-29 Thread jeremias
jeremias2003/01/29 08:34:27 xml-fop/examples/plan/src/org/apache/fop/plan - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

cvs commit: xml-fop/examples/plan/src/org/apache/fop/plan ActionInfo.java EventList.java GroupInfo.java Main.java PlanDrawer.java PlanElement.java PlanElementMapping.java PlanHints.java PlanObj.java PlanRenderer.java SimplePlanDrawer.java

2003-01-29 Thread jeremias
jeremias2003/01/29 08:35:07 Added: examples/plan .cvsignore README build.bat build.sh build.xml examples/plan/docs june.xml plan.fo examples/plan/resources/META-INF/services org.apache.fop.fo.ElementMapping examples/p

cvs commit: xml-fop/contrib/plan/src/org/apache/fop/plan ActionInfo.java EventList.java GroupInfo.java Main.java PlanDrawer.java PlanElement.java PlanElementMapping.java PlanHints.java PlanObj.java PlanRenderer.java SimplePlanDrawer.java

2003-01-29 Thread jeremias
jeremias2003/01/29 08:35:59 Removed: contrib/plan .cvsignore README build.bat build.sh build.xml contrib/plan/docs june.xml plan.fo contrib/plan/resources/META-INF/services org.apache.fop.fo.ElementMapping contrib/plan/

cvs commit: xml-fop/examples/servlet/src FopPrintServlet.java FopServlet.java

2003-01-29 Thread jeremias
jeremias2003/01/29 08:37:53 Added: examples/servlet .cvsignore README build.bat build.sh build.xml examples/servlet/conf web.xml examples/servlet/lib servlet-2.2.jar servlet.LICENSE.txt examples/servlet/src FopPrintSe

cvs commit: xml-fop/contrib/servlet/src FopPrintServlet.java FopServlet.java

2003-01-29 Thread jeremias
jeremias2003/01/29 08:39:01 Removed: contrib/servlet .cvsignore README build.bat build.sh build.xml contrib/servlet/conf web.xml contrib/servlet/lib readme.txt contrib/servlet/src FopPrintServlet.java FopServlet.java

Re: drawing borders

2003-01-29 Thread Jeremias Maerki
You can do things like border-width="0.25pt". Please use the fop-user mailing list for asking questions like this next time. Thanks a lot! On 29.01.2003 02:30:03 Paulo Gustavo Benfatti wrote: > There is a way to draw a border of a cell/table/block minor than 1pt ? Jeremias Maerki ---

Re: cvs commit: xml-fop/contrib/servlet/src FopPrintServlet.javaFopServlet.java

2003-01-29 Thread J.Pietschmann
[EMAIL PROTECTED] wrote: Log: Move over to examples/servlet Umm. The servlet should rather go into the source tree, right next to the api and (ant-)task... J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For a

Re: source for hz algorithm

2003-01-29 Thread J.Pietschmann
Keiron Liddle wrote: The only drawback is that it constantly needs to find the child layout manager that applies to a given break... Well, if there is a min < opt < max, and opt doesn't quite fit, you have to choose whether to use the wiggle room to the min or to the max side. This bothers me.

Fix for fo:leader

2003-01-29 Thread J.Pietschmann
Hi, I more or less fixed the leader generation causing all sorts of problems and specifically #15936. Some issues: - The state machine detecting line breaks is brittle. It will probably cause problems if leaders are mixed with graphics on the same line I'm again tempted to do something about th

Re: source for hz algorithm

2003-01-29 Thread Sébastien Aperghis-Tramoni
On Wednesday, January 29, 2003, at 09:05 AM, Victor Mote wrote: BTW, I looked for but did not find licensing information at tug & ctan licensing information, as well as in my Norman Walsh book "Making TeX Work". Does it use a GPL? If it had a compatible licensing scheme, it would sure seem to m

RE: source for hz algorithm

2003-01-29 Thread Victor Mote
Sébastien Aperghis-Tramoni wrote: > Information about the licenses used by the TeX related softwares > are available on this page: >http://www.ctan.org/tex-archive/help/Catalogue/licenses.html > > The core of TeX, the files written by Donald Knuth, doesn't seem to > be covered by a particular

Re: source for hz algorithm

2003-01-29 Thread Keiron Liddle
On Wednesday, January 29, 2003, at 03:26 PM, Peter B. West wrote: I can't visualise the flow of control here. I presume that the break (possibility?) is generated at, say, line-area building level. Yes, a break is only generated where it is necessary [Is this always based on knowledge of t

Re: source for hz algorithm

2003-01-29 Thread Keiron Liddle
On Wednesday, January 29, 2003, at 03:20 PM, Rhett Aultman wrote: This might be semantic nitpicking more than anything, but how can finding a worse break prove you have the best break? Wouldn't you have to find all possible breaks and verify that they're "worse"? Also, just for personal enl

RE: Fix for fo:leader

2003-01-29 Thread Victor Mote
J.Pietschmann wrote: >3. Distribute any slack space left equally on the resizable spaces > (subject to round off, should use a Bresenham-like algo for > perfection :-) >Can anybody come up with an algorithm to distribute slack space >over several leaders which can deal with

Re: cvs commit: xml-fop/contrib/servlet/src FopPrintServlet.java FopServlet.java

2003-01-29 Thread Jeremias Maerki
Sorry, will relocate. Is org.apache.fop.tools.servlet ok? On 29.01.2003 21:50:21 J.Pietschmann wrote: > [EMAIL PROTECTED] wrote: > > Log: > > Move over to examples/servlet > > Umm. The servlet should rather go into the source tree, right next > to the api and (ant-)task... Jeremias Maerki

Re: source for hz algorithm

2003-01-29 Thread Keiron Liddle
On Wednesday, January 29, 2003, at 09:54 PM, J.Pietschmann wrote: Keiron Liddle wrote: The only drawback is that it constantly needs to find the child layout manager that applies to a given break... Well, if there is a min < opt < max, and opt doesn't quite fit, you have to choose whether to