Re: floats
Hi, it is clear that such a feature is out of the spec 1.1. OTF fonts are also not included in the spec but are widely used in real world and they appeared in FOP. From my perspective mirror margin numbers are also a need, in fact they are used quite often in professional publishing like legal documents. Sadly speaking I don't believe that I connived you to implement it :( nevertheless I appreciate version 2.0 which is already used in our publishing processes. Thanks, Michael W dniu 2015-06-11 o 13:42, Chris Bowditch pisze: XSL 1.1 is finalized. There was a draft v2.0 XSL specification written but then the working group shutdown due to lack of interest. Its not up to the FOP community whether something is in or out of the XSL specification. All we can say is that this feature doesn't exist in the current specification. FOP is an open source project, so if you want this feature you will need to develop an extension to do it, and submit a patch file for the committers to review. Thanks, Chris On 11/06/2015 09:30, Michał Jaworski wrote: can it be considered as a part of XSL 1.1 spec? You are right that wrapping is not necessary but still mirror (outer) placement is an issue. Michał Jaworski W dniu 2015-06-11 o 08:43, Luis Bernardo pisze: That is not really a float in the sense that the text does not need to wrap around it. And that in fact makes the implementation of the feature a lot simpler. On 6/10/15 5:41 PM, Michał Jaworski wrote: Example attached, one float always on the outer side. W dniu 2015-06-10 o 17:19, Luis Bernardo pisze: Can you show an example? Do you have two floats with text flowing in between or just one float that is always on the outer side of the page? On 6/10/15 4:36 PM, Michał Jaworski wrote: Hi, mirror floats appear always on the outer side of the book page. We are using FOP to print truth books :) on the paper. In the simplest version floats are equal size and contains growing numbers of neighbouring paragraphs. It is used later in citations. Part of books templates have mirror floats simply and we have to handle it somehow. Today we are using Tex in such a cases but after very good experiences with FO we want to get rid of Tex and use truly xml approach everywhere. Unfortunately XSL 1.1 spec forgotten about it :( Michał Jaworski W dniu 2015-06-10 o 16:14, Luis Bernardo pisze: No, and since that does not seem part of the XSL 1.1 spec it is highly unlikely that it will be implemented. What is the purpose of mirror floats? Are the two floats the same (meaning same content) or do they have at least the same exact size? On 6/10/15 3:54 PM, Michał Jaworski wrote: Hi, I tested FOP 2.0 comparing results generated earlier using version 1.1. The content is an xml book having approx 300 B5 pages with lot of tables and complex structures. Results are surprisingly positive. Great work! I want to touch one topic known for years. Is there any way (or are you planning in an upcoming future) to achieve somehow mirror floats (on outer margins of the book) thus something like float="outside">used in xep? Michał Jaworski - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] - To unsubscribe, e-mail:[email protected] For additional commands, e-mail:[email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
Re: floats
XSL 1.1 is finalized. There was a draft v2.0 XSL specification written but then the working group shutdown due to lack of interest. Its not up to the FOP community whether something is in or out of the XSL specification. All we can say is that this feature doesn't exist in the current specification. FOP is an open source project, so if you want this feature you will need to develop an extension to do it, and submit a patch file for the committers to review. Thanks, Chris On 11/06/2015 09:30, Michał Jaworski wrote: can it be considered as a part of XSL 1.1 spec? You are right that wrapping is not necessary but still mirror (outer) placement is an issue. Michał Jaworski W dniu 2015-06-11 o 08:43, Luis Bernardo pisze: That is not really a float in the sense that the text does not need to wrap around it. And that in fact makes the implementation of the feature a lot simpler. On 6/10/15 5:41 PM, Michał Jaworski wrote: Example attached, one float always on the outer side. W dniu 2015-06-10 o 17:19, Luis Bernardo pisze: Can you show an example? Do you have two floats with text flowing in between or just one float that is always on the outer side of the page? On 6/10/15 4:36 PM, Michał Jaworski wrote: Hi, mirror floats appear always on the outer side of the book page. We are using FOP to print truth books :) on the paper. In the simplest version floats are equal size and contains growing numbers of neighbouring paragraphs. It is used later in citations. Part of books templates have mirror floats simply and we have to handle it somehow. Today we are using Tex in such a cases but after very good experiences with FO we want to get rid of Tex and use truly xml approach everywhere. Unfortunately XSL 1.1 spec forgotten about it :( Michał Jaworski W dniu 2015-06-10 o 16:14, Luis Bernardo pisze: No, and since that does not seem part of the XSL 1.1 spec it is highly unlikely that it will be implemented. What is the purpose of mirror floats? Are the two floats the same (meaning same content) or do they have at least the same exact size? On 6/10/15 3:54 PM, Michał Jaworski wrote: Hi, I tested FOP 2.0 comparing results generated earlier using version 1.1. The content is an xml book having approx 300 B5 pages with lot of tables and complex structures. Results are surprisingly positive. Great work! I want to touch one topic known for years. Is there any way (or are you planning in an upcoming future) to achieve somehow mirror floats (on outer margins of the book) thus something like float="outside">used in xep? Michał Jaworski - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] - To unsubscribe, e-mail:[email protected] For additional commands, e-mail:[email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
Re: floats
can it be considered as a part of XSL 1.1 spec? You are right that wrapping is not necessary but still mirror (outer) placement is an issue. Michał Jaworski W dniu 2015-06-11 o 08:43, Luis Bernardo pisze: That is not really a float in the sense that the text does not need to wrap around it. And that in fact makes the implementation of the feature a lot simpler. On 6/10/15 5:41 PM, Michał Jaworski wrote: Example attached, one float always on the outer side. W dniu 2015-06-10 o 17:19, Luis Bernardo pisze: Can you show an example? Do you have two floats with text flowing in between or just one float that is always on the outer side of the page? On 6/10/15 4:36 PM, Michał Jaworski wrote: Hi, mirror floats appear always on the outer side of the book page. We are using FOP to print truth books :) on the paper. In the simplest version floats are equal size and contains growing numbers of neighbouring paragraphs. It is used later in citations. Part of books templates have mirror floats simply and we have to handle it somehow. Today we are using Tex in such a cases but after very good experiences with FO we want to get rid of Tex and use truly xml approach everywhere. Unfortunately XSL 1.1 spec forgotten about it :( Michał Jaworski W dniu 2015-06-10 o 16:14, Luis Bernardo pisze: No, and since that does not seem part of the XSL 1.1 spec it is highly unlikely that it will be implemented. What is the purpose of mirror floats? Are the two floats the same (meaning same content) or do they have at least the same exact size? On 6/10/15 3:54 PM, Michał Jaworski wrote: Hi, I tested FOP 2.0 comparing results generated earlier using version 1.1. The content is an xml book having approx 300 B5 pages with lot of tables and complex structures. Results are surprisingly positive. Great work! I want to touch one topic known for years. Is there any way (or are you planning in an upcoming future) to achieve somehow mirror floats (on outer margins of the book) thus something like float="outside">used in xep? Michał Jaworski - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] - To unsubscribe, e-mail:[email protected] For additional commands, e-mail:[email protected]
Re: floats
That is not really a float in the sense that the text does not need to wrap around it. And that in fact makes the implementation of the feature a lot simpler. On 6/10/15 5:41 PM, Michał Jaworski wrote: Example attached, one float always on the outer side. W dniu 2015-06-10 o 17:19, Luis Bernardo pisze: Can you show an example? Do you have two floats with text flowing in between or just one float that is always on the outer side of the page? On 6/10/15 4:36 PM, Michał Jaworski wrote: Hi, mirror floats appear always on the outer side of the book page. We are using FOP to print truth books :) on the paper. In the simplest version floats are equal size and contains growing numbers of neighbouring paragraphs. It is used later in citations. Part of books templates have mirror floats simply and we have to handle it somehow. Today we are using Tex in such a cases but after very good experiences with FO we want to get rid of Tex and use truly xml approach everywhere. Unfortunately XSL 1.1 spec forgotten about it :( Michał Jaworski W dniu 2015-06-10 o 16:14, Luis Bernardo pisze: No, and since that does not seem part of the XSL 1.1 spec it is highly unlikely that it will be implemented. What is the purpose of mirror floats? Are the two floats the same (meaning same content) or do they have at least the same exact size? On 6/10/15 3:54 PM, Michał Jaworski wrote: Hi, I tested FOP 2.0 comparing results generated earlier using version 1.1. The content is an xml book having approx 300 B5 pages with lot of tables and complex structures. Results are surprisingly positive. Great work! I want to touch one topic known for years. Is there any way (or are you planning in an upcoming future) to achieve somehow mirror floats (on outer margins of the book) thus something like used in xep? Michał Jaworski - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
Re: floats
Example attached, one float always on the outer side. W dniu 2015-06-10 o 17:19, Luis Bernardo pisze: Can you show an example? Do you have two floats with text flowing in between or just one float that is always on the outer side of the page? On 6/10/15 4:36 PM, Michał Jaworski wrote: Hi, mirror floats appear always on the outer side of the book page. We are using FOP to print truth books :) on the paper. In the simplest version floats are equal size and contains growing numbers of neighbouring paragraphs. It is used later in citations. Part of books templates have mirror floats simply and we have to handle it somehow. Today we are using Tex in such a cases but after very good experiences with FO we want to get rid of Tex and use truly xml approach everywhere. Unfortunately XSL 1.1 spec forgotten about it :( Michał Jaworski W dniu 2015-06-10 o 16:14, Luis Bernardo pisze: No, and since that does not seem part of the XSL 1.1 spec it is highly unlikely that it will be implemented. What is the purpose of mirror floats? Are the two floats the same (meaning same content) or do they have at least the same exact size? On 6/10/15 3:54 PM, Michał Jaworski wrote: Hi, I tested FOP 2.0 comparing results generated earlier using version 1.1. The content is an xml book having approx 300 B5 pages with lot of tables and complex structures. Results are surprisingly positive. Great work! I want to touch one topic known for years. Is there any way (or are you planning in an upcoming future) to achieve somehow mirror floats (on outer margins of the book) thus something like used in xep? Michał Jaworski - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
Re: floats
Can you show an example? Do you have two floats with text flowing in between or just one float that is always on the outer side of the page? On 6/10/15 4:36 PM, Michał Jaworski wrote: Hi, mirror floats appear always on the outer side of the book page. We are using FOP to print truth books :) on the paper. In the simplest version floats are equal size and contains growing numbers of neighbouring paragraphs. It is used later in citations. Part of books templates have mirror floats simply and we have to handle it somehow. Today we are using Tex in such a cases but after very good experiences with FO we want to get rid of Tex and use truly xml approach everywhere. Unfortunately XSL 1.1 spec forgotten about it :( Michał Jaworski W dniu 2015-06-10 o 16:14, Luis Bernardo pisze: No, and since that does not seem part of the XSL 1.1 spec it is highly unlikely that it will be implemented. What is the purpose of mirror floats? Are the two floats the same (meaning same content) or do they have at least the same exact size? On 6/10/15 3:54 PM, Michał Jaworski wrote: Hi, I tested FOP 2.0 comparing results generated earlier using version 1.1. The content is an xml book having approx 300 B5 pages with lot of tables and complex structures. Results are surprisingly positive. Great work! I want to touch one topic known for years. Is there any way (or are you planning in an upcoming future) to achieve somehow mirror floats (on outer margins of the book) thus something like used in xep? Michał Jaworski - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
Re: floats
Hi, mirror floats appear always on the outer side of the book page. We are using FOP to print truth books :) on the paper. In the simplest version floats are equal size and contains growing numbers of neighbouring paragraphs. It is used later in citations. Part of books templates have mirror floats simply and we have to handle it somehow. Today we are using Tex in such a cases but after very good experiences with FO we want to get rid of Tex and use truly xml approach everywhere. Unfortunately XSL 1.1 spec forgotten about it :( Michał Jaworski W dniu 2015-06-10 o 16:14, Luis Bernardo pisze: No, and since that does not seem part of the XSL 1.1 spec it is highly unlikely that it will be implemented. What is the purpose of mirror floats? Are the two floats the same (meaning same content) or do they have at least the same exact size? On 6/10/15 3:54 PM, Michał Jaworski wrote: Hi, I tested FOP 2.0 comparing results generated earlier using version 1.1. The content is an xml book having approx 300 B5 pages with lot of tables and complex structures. Results are surprisingly positive. Great work! I want to touch one topic known for years. Is there any way (or are you planning in an upcoming future) to achieve somehow mirror floats (on outer margins of the book) thus something like used in xep? Michał Jaworski - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
Re: floats
No, and since that does not seem part of the XSL 1.1 spec it is highly unlikely that it will be implemented. What is the purpose of mirror floats? Are the two floats the same (meaning same content) or do they have at least the same exact size? On 6/10/15 3:54 PM, Michał Jaworski wrote: Hi, I tested FOP 2.0 comparing results generated earlier using version 1.1. The content is an xml book having approx 300 B5 pages with lot of tables and complex structures. Results are surprisingly positive. Great work! I want to touch one topic known for years. Is there any way (or are you planning in an upcoming future) to achieve somehow mirror floats (on outer margins of the book) thus something like used in xep? Michał Jaworski - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
floats
Hi, I tested FOP 2.0 comparing results generated earlier using version 1.1. The content is an xml book having approx 300 B5 pages with lot of tables and complex structures. Results are surprisingly positive. Great work! I want to touch one topic known for years. Is there any way (or are you planning in an upcoming future) to achieve somehow mirror floats (on outer margins of the book) thus something like float="outside">used in xep? Michał Jaworski - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
floats
Hi, is there any way to achieve mirror floats (on outer margins of the book) thus something like used in xep? Michał Jaworski - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
Re: floats-like functionality in xsl-fo
thanks Pascal! think ill stick to 1st table method. - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
Re: floats-like functionality in xsl-fo
Ari, You can achieve this in (at least) 3 ways: - table construction (what you thought, and what I should do with FOP 0.9x) - list construction (a 2 level list, in your case) - a 3 block construction, using negative space-after and keep-with-next: this 3rd solution is the lightest code, but there is an issue with FOP 0.9x (keep-with-next doesn't give expected result when the construction occurs at the bottom of the page) However, this works fine with FOP TRUNK. Try this (you probably have to tweak it a little): keep-with-next.within-column="always"> left cartouche keep-with-next.within-column="always"> center cartouche right cartouche HTH Pascal Ari Army a écrit : I think this is not a FOP related question, but a xsl-fo thing. True, I didn't see the xsl-fo w3 list really active and the yahoo groups forum used to be good, but seems dead, is w3 list the best place to ask? Is the text static? well, it will be dynamic in future, but i just want to get static fo working. picture was in my orig link showing what i want it to look like. I using Tables for now. -Ari - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
Re: floats-like functionality in xsl-fo
> I think this is not a FOP related question, but a xsl-fo thing. True, I didn't see the xsl-fo w3 list really active and the yahoo groups forum used to be good, but seems dead, is w3 list the best place to ask? >Is the text static? well, it will be dynamic in future, but i just want to get static fo working. picture was in my orig link showing what i want it to look like. I using Tables for now. -Ari - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
Re: floats-like functionality in xsl-fo
I think this is not a FOP related question, but a xsl-fo thing. On Thu, Jan 7, 2010 at 6:14 PM, Ari Army wrote: > I want to have text in a very large font in 1 line, then right after > it, text covering 2 lines on the same 'line', and probably an > external-graphic ... > This is a picture of what i want to acheive: > http://www.arianhojat.com/temp/files/example.gif > > > Anyway, I wasnt sure how to achieve this. In html i think i'd use > floats. (or I just realized in XSL-FO i could get away with using a > table with 3 cells... but was wondering if another prefered way) > > > Thanks for any guidance, > Arian > > - > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
Re: floats-like functionality in xsl-fo
Hi, You have mentioned that you need to have text in large size font. Is the text static? or Do the application generate this text dynamically? Thanks, Venkat. Ari Army wrote: I want to have text in a very large font in 1 line, then right after it, text covering 2 lines on the same 'line', and probably an external-graphic ... This is a picture of what i want to acheive: http://www.arianhojat.com/temp/files/example.gif Anyway, I wasnt sure how to achieve this. In html i think i'd use floats. (or I just realized in XSL-FO i could get away with using a table with 3 cells... but was wondering if another prefered way) Thanks for any guidance, Arian - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
floats-like functionality in xsl-fo
I want to have text in a very large font in 1 line, then right after it, text covering 2 lines on the same 'line', and probably an external-graphic ... This is a picture of what i want to acheive: http://www.arianhojat.com/temp/files/example.gif Anyway, I wasnt sure how to achieve this. In html i think i'd use floats. (or I just realized in XSL-FO i could get away with using a table with 3 cells... but was wondering if another prefered way) Thanks for any guidance, Arian - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
Re: [Poll] Expectations regarding side-floats
Jeremias Maerki said: > For the example you showed below, you don't need fo:float. You can do that using fo:block-container: > > space-after="-1.2em"> >width="4.5mm">← > You're right in a block context, but this does not work in an inline context. inline-container does not remove its content from the flow. (am I missing something?) On top of it, block-container has the same problem as float: in a table-cell context, their start-indent is computed relatively to the cell left border, not to the region-body left border. Hence, my need for absolute positionning on the inline progression dimension. There are numerous examples on the Web of marginalia in XSL-FO, but none using tables. Suggestions welcome! > > > On 13.08.2006 12:08:30 Benoit Maisonny wrote: >> Vincent Hennebert said: >> > Dear Fop users, >> > >> > I'm currently thinking about the implementation of side-floats () into Fop. >> This is great news! Lack of side float support have actually prevented us >> from using FOP in our main XSL-FO application, for the last 4 years or so. >> > It turns out that there is a >> > choice to make between several design decisions which imply different behaviors regarding the placement of floats on the page. >> > >> > To help me make a decision, I'd like to know which usage you would >> make >> > of side-floats: on a general manner, what sort of typographic material >> > would you typeset using side-floats? Particular things of which we >> don't >> > think in the first place? >> We're using side floats to implement a kind of marginalia. When some content was deleted from the previous version of a document, our clients >> want to see a change bar and a left-pointing arrow in the left margin. Example: >> > start-indent="-6mm+1.5mm"> >> > >← >> >> The negative start-indent puts the float in the left margin, out of the content flow. The objective is to not affect the content layout. We expect this start-float to appear roughly at the same height as its anchor, and certainly on the same page. >> > >> > More specifically, as the XSL-FO recommendation allows some freedom in >> > these areas: >> > - would you expect a side-float being placed on another page than its >> > anchor? Would you prefer the whole chunk of text to be deferred on >> the >> > following page? >> We expect them on the same page, whatever happens. However, we put those >> floats in the margin, so that they don't alter the region-body layout at >> all. >> > - would you expect a side-float being split on several pages? >> There's nothing to split in our case: we only have a single character in >> the float. >> > - would you expect different layouts, depending on whether a set of >> > side-floats would be placed on the middle of a page or at the bottom >> > (thus, with some of them on the current page and the others on the following page)? >> > >> It would be problematic for us if a document had so many deletions that the side-floats would stack horizontally and begin to alter the text layout, or to stack vertically (with fo:float clear attribute) and be pushed to the next page. >> The ideal for us would be to stack them on the z-axis. >> > >> > >> > Any comments, remarks, hints of all sort would be welcome. >> I wish we could position the float in the margin using absolute x coordinates. So, we could position the float at say -6mm from the left border of region-body and at the same height (y axis) as the anchor. If I'm not mistaken, this is not possible in XSL-FO, because we're mixing absolute and relative positioning. >> I haven't looked in details into XSL-FO 1.1 change bars, so I don't know >> if that new feature would cover our use case (i.e. if we can somehow make >> the change bar look like an arrow). >> Thanks for the poll, >> Benoit > > > > Jeremias Maerki > > .. Benoit Maisonny[EMAIL PROTECTED] Director & Consultant http://synclude.com Synclude - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Poll] Expectations regarding side-floats
For the example you showed below, you don't need fo:float. You can do that using fo:block-container: ← On 13.08.2006 12:08:30 Benoit Maisonny wrote: > > Vincent Hennebert said: > > Dear Fop users, > > > > I'm currently thinking about the implementation of side-floats > > () into Fop. > > This is great news! Lack of side float support have actually prevented us > from using FOP in our main XSL-FO application, for the last 4 years or so. > > > It turns out that there is a > > choice to make between several design decisions which imply different > > behaviors regarding the placement of floats on the page. > > > > To help me make a decision, I'd like to know which usage you would make > > of side-floats: on a general manner, what sort of typographic material > > would you typeset using side-floats? Particular things of which we don't > > think in the first place? > > We're using side floats to implement a kind of marginalia. When some > content was deleted from the previous version of a document, our clients > want to see a change bar and a left-pointing arrow in the left margin. > > Example: > start-indent="-6mm+1.5mm"> > >← > > > The negative start-indent puts the float in the left margin, out of the > content flow. The objective is to not affect the content layout. > > We expect this start-float to appear roughly at the same height as its > anchor, and certainly on the same page. > > > > > More specifically, as the XSL-FO recommendation allows some freedom in > > these areas: > > - would you expect a side-float being placed on another page than its > > anchor? Would you prefer the whole chunk of text to be deferred on the > > following page? > > We expect them on the same page, whatever happens. However, we put those > floats in the margin, so that they don't alter the region-body layout at > all. > > > - would you expect a side-float being split on several pages? > > There's nothing to split in our case: we only have a single character in > the float. > > > - would you expect different layouts, depending on whether a set of > > side-floats would be placed on the middle of a page or at the bottom > > (thus, with some of them on the current page and the others on the > > following page)? > > > > It would be problematic for us if a document had so many deletions that > the side-floats would stack horizontally and begin to alter the text > layout, or to stack vertically (with fo:float clear attribute) and be > pushed to the next page. > > The ideal for us would be to stack them on the z-axis. > > > > > > > Any comments, remarks, hints of all sort would be welcome. > > I wish we could position the float in the margin using absolute x > coordinates. So, we could position the float at say -6mm from the left > border of region-body and at the same height (y axis) as the anchor. If > I'm not mistaken, this is not possible in XSL-FO, because we're mixing > absolute and relative positioning. > > I haven't looked in details into XSL-FO 1.1 change bars, so I don't know > if that new feature would cover our use case (i.e. if we can somehow make > the change bar look like an arrow). > > Thanks for the poll, > Benoit Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Poll] Expectations regarding side-floats
Vincent We currently produce software documentation with very wide margins and put the section headings in these margins. This currently requires a lot of fairly complicated work with tables. I could imagine side-floats being useful for simplifying this, providing that the side floats are always kept with the text they are associated with. -- Best wishes John Burgess Risk Decisions Limited Buchan House Parkway Court Oxford Business Park South OX4 2JY T: 01865 718666 F: 01865 718600 M: 07984 863890 E: [EMAIL PROTECTED] W: http://www.riskdecisions.com Vincent Hennebert wrote: Dear Fop users, I'm currently thinking about the implementation of side-floats () into Fop. It turns out that there is a choice to make between several design decisions which imply different behaviors regarding the placement of floats on the page. To help me make a decision, I'd like to know which usage you would make of side-floats: on a general manner, what sort of typographic material would you typeset using side-floats? Particular things of which we don't think in the first place? More specifically, as the XSL-FO recommendation allows some freedom in these areas: - would you expect a side-float being placed on another page than its anchor? Would you prefer the whole chunk of text to be deferred on the following page? - would you expect a side-float being split on several pages? - would you expect different layouts, depending on whether a set of side-floats would be placed on the middle of a page or at the bottom (thus, with some of them on the current page and the others on the following page)? Any comments, remarks, hints of all sort would be welcome. Thanks, Vincent - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Poll] Expectations regarding side-floats
Vincent Hennebert said: > Dear Fop users, > > I'm currently thinking about the implementation of side-floats > () into Fop. This is great news! Lack of side float support have actually prevented us from using FOP in our main XSL-FO application, for the last 4 years or so. > It turns out that there is a > choice to make between several design decisions which imply different > behaviors regarding the placement of floats on the page. > > To help me make a decision, I'd like to know which usage you would make > of side-floats: on a general manner, what sort of typographic material > would you typeset using side-floats? Particular things of which we don't > think in the first place? We're using side floats to implement a kind of marginalia. When some content was deleted from the previous version of a document, our clients want to see a change bar and a left-pointing arrow in the left margin. Example: ← The negative start-indent puts the float in the left margin, out of the content flow. The objective is to not affect the content layout. We expect this start-float to appear roughly at the same height as its anchor, and certainly on the same page. > > More specifically, as the XSL-FO recommendation allows some freedom in > these areas: > - would you expect a side-float being placed on another page than its > anchor? Would you prefer the whole chunk of text to be deferred on the > following page? We expect them on the same page, whatever happens. However, we put those floats in the margin, so that they don't alter the region-body layout at all. > - would you expect a side-float being split on several pages? There's nothing to split in our case: we only have a single character in the float. > - would you expect different layouts, depending on whether a set of > side-floats would be placed on the middle of a page or at the bottom > (thus, with some of them on the current page and the others on the > following page)? > It would be problematic for us if a document had so many deletions that the side-floats would stack horizontally and begin to alter the text layout, or to stack vertically (with fo:float clear attribute) and be pushed to the next page. The ideal for us would be to stack them on the z-axis. > > > Any comments, remarks, hints of all sort would be welcome. I wish we could position the float in the margin using absolute x coordinates. So, we could position the float at say -6mm from the left border of region-body and at the same height (y axis) as the anchor. If I'm not mistaken, this is not possible in XSL-FO, because we're mixing absolute and relative positioning. I haven't looked in details into XSL-FO 1.1 change bars, so I don't know if that new feature would cover our use case (i.e. if we can somehow make the change bar look like an arrow). Thanks for the poll, Benoit > > Thanks, > Vincent > .. Benoit Maisonny[EMAIL PROTECTED] Director & Consultant http://synclude.com Synclude - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Poll] Expectations regarding side-floats
Vincent Hennebert wrote: - would you expect a side-float being placed on another page than its anchor? Would you prefer the whole chunk of text to be deferred on the following page? This should not happen unless two (or more) side flows anchored at the same line are stacked. I'm not sure whether the spec has additional guidelines. - would you expect a side-float being split on several pages? This can be controlled using keeps. So yes, side floats should probably be broken across pages by default, if such breaks are possible. - would you expect different layouts, depending on whether a set of side-floats would be placed on the middle of a page or at the bottom (thus, with some of them on the current page and the others on the following page)? Probably yes. I have some difficulty imaging what you actually have in mind. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Poll] Expectations regarding side-floats
Vincent, in considering this, you may wish to also keep in mind: what do you see as the usage difference between side-floats and the xsl:region-start and xsl:region-end regions? I mention this, just to make sure that use cases actually intended for side regions do not move into side-floats, and vice-versa. Glen Vincent Hennebert wrote: Dear Fop users, I'm currently thinking about the implementation of side-floats () into Fop. It turns out that there is a choice to make between several design decisions which imply different behaviors regarding the placement of floats on the page. To help me make a decision, I'd like to know which usage you would make of side-floats: on a general manner, what sort of typographic material would you typeset using side-floats? Particular things of which we don't think in the first place? More specifically, as the XSL-FO recommendation allows some freedom in these areas: - would you expect a side-float being placed on another page than its anchor? Would you prefer the whole chunk of text to be deferred on the following page? - would you expect a side-float being split on several pages? - would you expect different layouts, depending on whether a set of side-floats would be placed on the middle of a page or at the bottom (thus, with some of them on the current page and the others on the following page)? Any comments, remarks, hints of all sort would be welcome. Thanks, Vincent - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Poll] Expectations regarding side-floats
Dear Fop users, I'm currently thinking about the implementation of side-floats () into Fop. It turns out that there is a choice to make between several design decisions which imply different behaviors regarding the placement of floats on the page. To help me make a decision, I'd like to know which usage you would make of side-floats: on a general manner, what sort of typographic material would you typeset using side-floats? Particular things of which we don't think in the first place? More specifically, as the XSL-FO recommendation allows some freedom in these areas: - would you expect a side-float being placed on another page than its anchor? Would you prefer the whole chunk of text to be deferred on the following page? - would you expect a side-float being split on several pages? - would you expect different layouts, depending on whether a set of side-floats would be placed on the middle of a page or at the bottom (thus, with some of them on the current page and the others on the following page)? Any comments, remarks, hints of all sort would be welcome. Thanks, Vincent - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: alternatives to floats in fop
I don't think that works in Johannes' case since you can't account for the left/right pages (inside/outside). On 21.03.2006 10:47:52 Joachim Pfaff wrote: > Hello Johannes, > > I read this thread and wondered if there is no other way. I don't > like it to interrupt the fo-rendering, doing some stuff and then keep > > on going ;) > > Now it turned out, that i had to create a very simple list. During > studying the definition of Formating Objects for Lists [1] i asked > myself if this would not be a much more 'nicer' way in creating what > you want to. > > As the compliance-page [2] indicates, all needed objects are > implemented. > > What do you, and what does Jeremias think about this way? > > Greetings, > > Joachim > > [1] http://www.w3.org/TR/xsl/slice6.html#section-N17076-Formatting- > Objects-for-Lists > [2] http://xmlgraphics.apache.org/fop/compliance.html#fo-object-list- > section > > > On 20 Mar 2006 at 14:42, Johannes Künsebeck wrote: > > > Thank you Jeremias, that's the solution! > > This "2-pass"-approach is very cool, I can't imagine designs that aren't > > possible with it. > > If you can't wait for XSL-FO2.0, use this as a hack for "layout-driven" > > documents. > > I just summarize it for the list, because I think it can be helpful in > > other situations, too. > > [...] Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: alternatives to floats in fop
Hello Johannes, I read this thread and wondered if there is no other way. I don't like it to interrupt the fo-rendering, doing some stuff and then keep on going ;) Now it turned out, that i had to create a very simple list. During studying the definition of Formating Objects for Lists [1] i asked myself if this would not be a much more 'nicer' way in creating what you want to. As the compliance-page [2] indicates, all needed objects are implemented. What do you, and what does Jeremias think about this way? Greetings, Joachim [1] http://www.w3.org/TR/xsl/slice6.html#section-N17076-Formatting- Objects-for-Lists [2] http://xmlgraphics.apache.org/fop/compliance.html#fo-object-list- section On 20 Mar 2006 at 14:42, Johannes Künsebeck wrote: > Thank you Jeremias, that's the solution! > This "2-pass"-approach is very cool, I can't imagine designs that aren't > possible with it. > If you can't wait for XSL-FO2.0, use this as a hack for "layout-driven" > documents. > I just summarize it for the list, because I think it can be helpful in > other situations, too. > [...] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: alternatives to floats in fop
[EMAIL PROTECTED] wrote: Hi, I try to build a complex design with fop, the design-template can be seen here : http://yucca-net.de/data/gild.pdf After toying around with fop, I'm not sure if it is possible to realize this design with fop. I got alternating page-masters and the background-design working. I can format a fo:block with the design for the even page, I can format a fo:block with the design for the odd page, but I can't specify when to use which (the problem you can't see in the template is that it must be possible to put two or more workshops on one page). > > You know the size of the result, you know what to put where (which parts of > information belong together) and you need to do this with fop...what about > inserting the whole style as SVG? I mean, this one's really complex with > images, colors and stuff, has nothing to do with floating text put with > pinning objects to certain positions. No, It has a lot to do with floating text. The sizes of the workshop-blocks vary and there can be one, two, or more workshops on one page. I need this information calculated, I need justified text with hyphenation, -> i need fop. > Instead of working out a totally abstract concept which will work for > "handouts" with thousands of workshops I'd concentrate on rendering these 5 > or 6 pages perfect and as a single shot... Pardon, I think my first mail was a little bit unclear about what I wanted to achieve. The data is taken from a existing online-database, in the example it's just, well, example data. There are ~200 workshops in the database, and it's changed completely twice a year. This can be a lot of very stupid work for designers, or a (maybe smaller) lot of interesting work for for developers. I prefer the second (since I'm a developer ;-)) Anyway, now it seems to be working, even if it's full of hacks (no..., lets say detours). And there's no other free software to accomplish this task. The only alternatives are some lame Indesign or Quarkexpress-XML-Plugins, but they aren't powerful enough. So this is a perfect job for fop. Hannes > Causes more work to think about how to do this with FO instead of focusing on > the graphic aspect...(at least I'd draw it as a gif or png with some layers > and ImageMagick, 'cause nobody will select pieces of text to copy them to the > clipboard...so it can be a fullsized image). > > > > 1 Million Singles in Ihrer Nahe. Finden Sie Ihren Traumpartner > bei Deutschlands beliebtester Partnerboerse: > http://singles.freenet.de/index.html?pid=11512 > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Re: alternatives to floats in fop
> >> Hi, > >> I try to build a complex design with fop, the design-template can be > >> seen here : > >> > >> http://yucca-net.de/data/gild.pdf > >> > >> After toying around with fop, I'm not sure if it is possible to realize > >> this design with fop. > >> I got alternating page-masters and the background-design working. > >> I can format a fo:block with the design for the even page, I can format > >> a fo:block with the design for the odd page, but I can't specify when to > >> use which (the problem you can't see in the template is that it must be > >> possible to put two or more workshops on one page). You know the size of the result, you know what to put where (which parts of information belong together) and you need to do this with fop...what about inserting the whole style as SVG? I mean, this one's really complex with images, colors and stuff, has nothing to do with floating text put with pinning objects to certain positions. Instead of working out a totally abstract concept which will work for "handouts" with thousands of workshops I'd concentrate on rendering these 5 or 6 pages perfect and as a single shot...Causes more work to think about how to do this with FO instead of focusing on the graphic aspect...(at least I'd draw it as a gif or png with some layers and ImageMagick, 'cause nobody will select pieces of text to copy them to the clipboard...so it can be a fullsized image). 1 Million Singles in Ihrer Nahe. Finden Sie Ihren Traumpartner bei Deutschlands beliebtester Partnerboerse: http://singles.freenet.de/index.html?pid=11512 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: alternatives to floats in fop
Thank you Jeremias, that's the solution! This "2-pass"-approach is very cool, I can't imagine designs that aren't possible with it. If you can't wait for XSL-FO2.0, use this as a hack for "layout-driven" documents. I just summarize it for the list, because I think it can be helpful in other situations, too. 1. first pass: render your content elements (like you want them to appear) to a areatree "fop ... - out application/X-fop-areatree outfile.at" (don't forget to to include your fonts in the fop.conf for the areatree-renderer, too). Give your content elements an id, so you later know where they have been rendered to. 2. write a XSL that extracts the information about position, sizes, number of elements per page, whatever. In my boring example it's just retrieving the side of a page, but you can retrieve any data that is known to fop. ... left right ... -> save output in structure.xml If you're a genius (I'm not), you can skip step 2. and do it directly in 3. 3. second pass: use the information in the second pass-stylesheet. You have to pass the context you're working in or you will be stuck in the included document. ... ... 4. That's it. I hope even if the example isn't very exciting, you see the power behind this. cons: It doubles your rendering time, you have a complicated workflow (automate it with ant), you have to write several stylesheets. pros: you can do things you can't do with standard XSL-FO. I hope I'm not spamming here, but I was happy getting this done. Thanks Jeremias, for this cool idea. Hannes Jeremias Maerki wrote: > On 07.03.2006 20:37:53 Johannes Künsebeck wrote: > >> Hi, >> I try to build a complex design with fop, the design-template can be >> seen here : >> >> http://yucca-net.de/data/gild.pdf >> >> After toying around with fop, I'm not sure if it is possible to realize >> this design with fop. >> I got alternating page-masters and the background-design working. >> I can format a fo:block with the design for the even page, I can format >> a fo:block with the design for the odd page, but I can't specify when to >> use which (the problem you can't see in the template is that it must be >> possible to put two or more workshops on one page). >> >> My thoughts so far (not very far): >> - use float="inside|outside" (XSL1.1) but that's not supported in fop >> > > Right. That would probably have been the best approach if it were > implemented. > > >> - put date and time infos in region-start/end, but how can I synchronize >> startpositions with the flow? >> > > You can't. Not with multiple workshops on one page. > > >> So my questions are >> - Do you think it is possible to realize this with XSLT-FO (& maybe >> extensions) >> > > Yes, I think so. > > >> - Do you think it is possible to realize this with fop? >> > > Not without difficulties. If you can restrict to one workshop per page, > it's easy. If you want to have multiple workshops you will probably need > to do a detour. Just an idea: Render the text for the individual > workshops using a special reduced XSLT using the area tree XML renderer > with the latest FOP version. You can then determine the height of each > workshop from the generated XML format. Based on that knowledge you can > define the distribution of the individual workshops yourself and put one > page per page-sequence so you can control yourself whether you have a > left or a right page. Then put the time info in a table together with > the workshop info, either on the left or right side. > > I haven't tried but you may be able to emulate side floats using > absolutely positioned block-containers with the latest FOP release. > > >> - If yes, what do I have to read, to get it working >> thanks in advance, Hann* >> * >> > > Good luck! > > Jeremias Maerki > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: alternatives to floats in fop
Hi Johannes, > -Message d'origine- > De : Jeremias Maerki [mailto:[EMAIL PROTECTED] > Envoyé : jeudi 9 mars 2006 09:29 > > On 07.03.2006 20:37:53 Johannes Künsebeck wrote: > > I try to build a complex design with fop, the > design-template can be > > seen here : > > > > http://yucca-net.de/data/gild.pdf > > > > - put date and time infos in region-start/end, but how can I > > synchronize startpositions with the flow? > > You can't. Not with multiple workshops on one page. > Regarding your PDF template, you can easily use markers, since: - you start a new page when you get a colorised title; - date/time info is synchronized with such titles. (I've yet made a similar job). FYI, I use FOP 0.20.5 and, unlike what it is written in the compliance page [1], retreive-position seems to be supported. [1] http://xmlgraphics.apache.org/fop/compliance.html#fo-property-markers-section Pascal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: alternatives to floats in fop
On 07.03.2006 20:37:53 Johannes Künsebeck wrote: > Hi, > I try to build a complex design with fop, the design-template can be > seen here : > > http://yucca-net.de/data/gild.pdf > > After toying around with fop, I'm not sure if it is possible to realize > this design with fop. > I got alternating page-masters and the background-design working. > I can format a fo:block with the design for the even page, I can format > a fo:block with the design for the odd page, but I can't specify when to > use which (the problem you can't see in the template is that it must be > possible to put two or more workshops on one page). > > My thoughts so far (not very far): > - use float="inside|outside" (XSL1.1) but that's not supported in fop Right. That would probably have been the best approach if it were implemented. > - put date and time infos in region-start/end, but how can I synchronize > startpositions with the flow? You can't. Not with multiple workshops on one page. > So my questions are > - Do you think it is possible to realize this with XSLT-FO (& maybe > extensions) Yes, I think so. > - Do you think it is possible to realize this with fop? Not without difficulties. If you can restrict to one workshop per page, it's easy. If you want to have multiple workshops you will probably need to do a detour. Just an idea: Render the text for the individual workshops using a special reduced XSLT using the area tree XML renderer with the latest FOP version. You can then determine the height of each workshop from the generated XML format. Based on that knowledge you can define the distribution of the individual workshops yourself and put one page per page-sequence so you can control yourself whether you have a left or a right page. Then put the time info in a table together with the workshop info, either on the left or right side. I haven't tried but you may be able to emulate side floats using absolutely positioned block-containers with the latest FOP release. > - If yes, what do I have to read, to get it working > thanks in advance, Hann* > * Good luck! Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
alternatives to floats in fop
Hi, I try to build a complex design with fop, the design-template can be seen here : http://yucca-net.de/data/gild.pdf After toying around with fop, I'm not sure if it is possible to realize this design with fop. I got alternating page-masters and the background-design working. I can format a fo:block with the design for the even page, I can format a fo:block with the design for the odd page, but I can't specify when to use which (the problem you can't see in the template is that it must be possible to put two or more workshops on one page). My thoughts so far (not very far): - use float="inside|outside" (XSL1.1) but that's not supported in fop - put date and time infos in region-start/end, but how can I synchronize startpositions with the flow? So my questions are - Do you think it is possible to realize this with XSLT-FO (& maybe extensions) - Do you think it is possible to realize this with fop? - If yes, what do I have to read, to get it working thanks in advance, Hann* * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
