Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

XSL-FO · discussion of XSL Formatting Objects

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 1394
  • Founded: Jan 5, 2001
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

Advanced
Messages Help
Messages 5757 - 5786 of 7448   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#5757 From: "ca_xiaoyi2003" <ca_xiaoyi2003@...>
Date: Fri Sep 10, 2004 8:25 pm
Subject: How to display the "*" at the left margin of the line?
ca_xiaoyi2003
Send Email Send Email
 
according the requirement. we need the display "*" at the left margin
of the line if the line including  some words -- "dangerous"
or "vital".

thanks

#5758 From: Carlos Müller de los Reyes <carlorio_150@...>
Date: Sat Sep 11, 2004 8:11 am
Subject: xsl-atributte-set
carlorio_150
Send Email Send Email
 
I'm attempting for this: (Code from Antenna House's Page)

<xsl:attribute-set name="style1">
    <xsl:attribute name="font-family">"SAINS-SERIF"</xsl:attribute>
    <xsl:attribute name="font-weight">24</xsl:attribute>
    <xsl:attribute name="color">.....</xsl:attribute>
...
</xsl:attribute-set>

....

<fo:block xsl:use-attribute-sets="style1"> ..</fo:block>


But don't work. I´m working with FOP in the IDE Stylus Studio (It can select
Xalan-J or Saxon 6 like XSL processor), but don´t recognize since design time
these xsl:attribute-set, xsl:attribute, xsl:use-attribute.

What I need for use xsl:atributte-set ? It will be the solution for imitate CSS
in XSL-FO, Isn't it?

[Non-text portions of this message have been removed]

#5759 From: "G. Ken Holman" <gkholman@...>
Date: Sat Sep 11, 2004 11:21 pm
Subject: Re: xsl-atributte-set
g_ken_holman
Send Email Send Email
 
At 2004-09-11 10:11 +0200, Carlos Müller de los Reyes wrote:
>I'm attempting for this: (Code from Antenna House's Page)
>
><xsl:attribute-set name="style1">
>    <xsl:attribute name="font-family">"SAINS-SERIF"</xsl:attribute>
>    <xsl:attribute name="font-weight">24</xsl:attribute>
>    <xsl:attribute name="color">.....</xsl:attribute>
>....
></xsl:attribute-set>
>
>.....
>
><fo:block xsl:use-attribute-sets="style1"> ..</fo:block>
>
>But don't work.

I use it all the time with Saxon 6.5.3.

>I´m working with FOP in the IDE Stylus Studio

Note that it has nothing to do with XSL-FO, only with XSLT.

>(It can select Xalan-J or Saxon 6 like XSL processor), but don´t recognize
>since design time these xsl:attribute-set, xsl:attribute, xsl:use-attribute.

I don't understand to what you refer when you say "since design time...."

>What I need for use xsl:atributte-set ? It will be the solution for
>imitate CSS in XSL-FO, Isn't it?

It is a method of implementing, styles, yes, and it is a very strategic
XSLT construct to use when deploying both large and small XSL-FO projects.

................. Ken

--
World-wide on-site corporate, govt. & user group XML/XSL training.
G. Ken Holman                 mailto:gkholman@...
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/f/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Breast Cancer Awareness  http://www.CraneSoftwrights.com/f/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal

#5760 From: Carlos Müller de los Reyes <carlorio_150@...>
Date: Sun Sep 12, 2004 7:55 am
Subject: font-family in fo:root
carlorio_150
Send Email Send Email
 
In the W3C recommendation, <fo:root> (6.4.2) only have the property media-usage,
however in my code <fo:root font-size="2cm"> works correctly. That's ever and
only happens with inheritable properties? With all them, in every formatting
object? Or in which form.obj. and with what properties?

[Non-text portions of this message have been removed]

#5761 From: "J.Pietschmann" <j3322ptm@...>
Date: Sun Sep 12, 2004 11:01 am
Subject: Re: font-family in fo:root
j3322ptm
Send Email Send Email
 
Carlos Müller de los Reyes wrote:
> In the W3C recommendation, <fo:root> (6.4.2) only have the property
> media-usage, however in my code <fo:root font-size="2cm"> works
> correctly. That's ever and only happens with inheritable properties?

Inheritable properties can be put everywhere and should be properly
inherited. Note that it doesn't make sense to place a font-family
property on lets say layout-master-set, because none of the children
of this FO use this property.
There are also means to get non-inheritable properties from other
FOs.

J.Pietschmann

#5762 From: "W. Eliot Kimber" <ekimber@...>
Date: Mon Sep 13, 2004 1:41 pm
Subject: Re: Looking for xsl-fo service providers
drmacro
Send Email Send Email
 
Thad wrote:

> On behalf of my client, a large educational book publishing, I'm
> looking for companies that are able to use XSL-Fo to provide book
> composition services. These can be anywhere in the world.
>
> Any suggestions?

Innodata Isogen provides professional services for both developing
XSL-FO-based document production systems and services for performing any
or all of the data processing involved in using such systems, including
data conversion, performing the actual composition processes, and so on.

Cheers,

Eliot
--
W. Eliot Kimber
Professional Services
Innodata Isogen
9390 Research Blvd, #410
Austin, TX 78759
(512) 372-8122

eliot@...
www.innodata-isogen.com

#5763 From: "Norma Yeazell" <nyeazell@...>
Date: Tue Sep 14, 2004 6:22 pm
Subject: change bars
nyeazell@...
Send Email Send Email
 
I've searched the archive but have been unable to find a way to do
change bars, can someone point me in the right direction? There was
something that pointed to a web page that evidently no longer exists.

For instance a sentence may have <change> this is the change information
</change> and should be marked by a line in the outer margin wherever it
falls.

I have this in a wrapper since it falls in the middle of info sometimes,
and it appears borders will only work with blocks.

<xsl:template match="change">
   <fo:wrapper>
     <xsl:apply-templates/>
   </fo:wrapper>
</xsl:template>

Sincerely,
Norma Yeazell
Information Engineer




Confidentiality Notice
The information contained in this e-mail is confidential and intended for use
only by the person(s) or organization listed in the address. If you have
received this communication in error, please contact the sender at O'Neil &
Associates, Inc., immediately. Any copying, dissemination, or distribution of
this communication, other than by the intended recipient, is strictly
prohibited.

#5764 From: "W. Eliot Kimber" <ekimber@...>
Date: Tue Sep 14, 2004 6:43 pm
Subject: Re: change bars
drmacro
Send Email Send Email
 
Norma Yeazell wrote:

> I've searched the archive but have been unable to find a way to do
> change bars, can someone point me in the right direction? There was
> something that pointed to a web page that evidently no longer exists.

For XSL-FO 1.0 this can only really be done using proprietary
extensions, such as the Antenna House and Arbortext change bar
extensions (RenderX did not have a change bar extension as of version
3.7.7 but there may be one in 3.8--I haven't had a chance to look).

The current draft of XSL-FO 1.1 includes support for change bars and I
would expect that feature to survive into the final recommendation--it's
widely recognized as a key feature needed by many users

If you confine your change marking to complete blocks you can produce
passable change bars by generating a start- or end-side border for the
block. Unfortunately, there's no general or reliable way to do this for
arbitrary ranges of text within a block in FO 1.0.

Cheers,

E.
--
W. Eliot Kimber
Professional Services
Innodata Isogen
9390 Research Blvd, #410
Austin, TX 78759
(512) 372-8122

eliot@...
www.innodata-isogen.com

#5765 From: "Norma Yeazell" <nyeazell@...>
Date: Tue Sep 14, 2004 6:58 pm
Subject: RE: change bars
nyeazell@...
Send Email Send Email
 
Thanks for the prompt response!

-----Original Message-----
From: W. Eliot Kimber [mailto:ekimber@...]
Sent: Tuesday, September 14, 2004 2:44 PM
To: XSL-FO@yahoogroups.com
Subject: Re: [XSL-FO] change bars


Norma Yeazell wrote:

> I've searched the archive but have been unable to find a way to do
> change bars, can someone point me in the right direction? There was
> something that pointed to a web page that evidently no longer exists.

For XSL-FO 1.0 this can only really be done using proprietary
extensions, such as the Antenna House and Arbortext change bar
extensions (RenderX did not have a change bar extension as of version
3.7.7 but there may be one in 3.8--I haven't had a chance to look).

The current draft of XSL-FO 1.1 includes support for change bars and I
would expect that feature to survive into the final recommendation--it's

widely recognized as a key feature needed by many users

If you confine your change marking to complete blocks you can produce
passable change bars by generating a start- or end-side border for the
block. Unfortunately, there's no general or reliable way to do this for
arbitrary ranges of text within a block in FO 1.0.

Cheers,

E.
--
W. Eliot Kimber
Professional Services
Innodata Isogen
9390 Research Blvd, #410
Austin, TX 78759
(512) 372-8122

eliot@...
www.innodata-isogen.com




Yahoo! Groups Links









Confidentiality Notice
The information contained in this e-mail is confidential and intended for use
only by the person(s) or organization listed in the address. If you have
received this communication in error, please contact the sender at O'Neil &
Associates, Inc., immediately. Any copying, dissemination, or distribution of
this communication, other than by the intended recipient, is strictly
prohibited.

#5766 From: carlos müller <carlorio_150@...>
Date: Wed Sep 15, 2004 8:18 am
Subject: HTML's DIV in FO
carlorio_150
Send Email Send Email
 
Exists the concept of HTML's DIV in XSL-FO?

_________________________________________________________________
La información más fresca desde diferentes puntos de vista en la Revista de
Prensa de MSN. http://es.newsbot.msn.com/

#5767 From: Werner Donné <werner.donne@...>
Date: Wed Sep 15, 2004 8:29 am
Subject: Re: HTML's DIV in FO
werner.donne@...
Send Email Send Email
 
fo:block?

carlos müller wrote:
> Exists the concept of HTML's DIV in XSL-FO?
>
> _________________________________________________________________
> La información más fresca desde diferentes puntos de vista en la Revista de
> Prensa de MSN. http://es.newsbot.msn.com/
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>

--
Werner Donné  --  Re BVBA
Engelbeekstraat 8
B-3300 Tienen
tel: (+32) 486 425803 e-mail: werner.donne@...

#5768 From: "Victor Vishnyakov" <tch_@...>
Date: Wed Sep 15, 2004 8:36 am
Subject: RE: HTML's DIV in FO
victor_vishn...
Send Email Send Email
 
> Exists the concept of HTML's DIV in XSL-FO?

fo:block-container is close to it

Regards,
Victor Vishnyakov


> -----Original Message-----
> From: carlos mŘller [mailto:carlorio_150@...]
> Sent: Wednesday, September 15, 2004 11:19 AM
> To: XSL-FO@yahoogroups.com
> Subject: [XSL-FO] HTML's DIV in FO

#5769 From: "manueldahmen" <manuel.dahmen@...>
Date: Wed Sep 15, 2004 9:41 am
Subject: line break with xsl-fo and fop
manueldahmen
Send Email Send Email
 
I don't how to do line breaks in xsl-fo.
A document
(http://www-106.ibm.com/developerworks/library/x-xslfo2app/#br) says:
"<fo:block> </fo:block>" but it doesn't work with fop.

I need line breaks to render invoices: the top of the page contains
customer info, then invoice info (name, date, ...) and then a table
with products info. I'd like to have some space between these
elements.

#5770 From: "Peter Kester" <peter.kester@...>
Date: Wed Sep 15, 2004 9:48 am
Subject: RE: line break with xsl-fo and fop
peet_kes
Send Email Send Email
 
Put each part you want to separate from the rest inside a fo:block and give
that block an attribute space-before=".." or space-after=".."

   -----Original Message-----
   From: manueldahmen [mailto:manuel.dahmen@...]
   Sent: woensdag 15 september 2004 11:41
   To: XSL-FO@yahoogroups.com
   Subject: [XSL-FO] line break with xsl-fo and fop


   I don't how to do line breaks in xsl-fo.
   A document
   (http://www-106.ibm.com/developerworks/library/x-xslfo2app/#br) says:
   "<fo:block> </fo:block>" but it doesn't work with fop.

   I need line breaks to render invoices: the top of the page contains
   customer info, then invoice info (name, date, ...) and then a table
   with products info. I'd like to have some space between these
   elements.


         Yahoo! Groups Sponsor
               ADVERTISEMENT





----------------------------------------------------------------------------
--
   Yahoo! Groups Links

     a.. To visit your group on the web, go to:
     http://groups.yahoo.com/group/XSL-FO/

     b.. To unsubscribe from this group, send an email to:
     XSL-FO-unsubscribe@yahoogroups.com

     c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



[Non-text portions of this message have been removed]

#5771 From: "Altsoft Xml2PDF" <xml2pdf@...>
Date: Wed Sep 15, 2004 3:22 pm
Subject: [ANN] Altsoft releases Xml2PDF formatter version 2.0 beta
xml2pdf
Send Email Send Email
 
Xml2PDF formatter version 2.0 beta
September 15, 2004
Altsoft N.V.


Altsoft N.V. announces the beta release of the new version 2.0 of its
Xml2PDF formatting engine.

The main new features of Xml2PDF engine are:
  improved XSL-FO 1.0 recommendation and 1.1 draft support;
  complete SVG support;
  support for XHTML as an input format;
  complete CSS support in SVG and XHTML;
  improved client UI;

Altsoft Xml2PDF is a .NET based formatting engine for converting various
XML-based formats to PDF. It supports XSL-FO, SVG, XHTML, XML+XSLT as an
input and generates PDF as an output.

Free evaluation version is available for download at
http://www.alt-soft.com/products_xml2pdf_download.jsp

For any additional information please visit our web site
http://alt-soft.com/ or e-mail to info@...


Regards,
Altsoft N.V.
http://alt-soft.com/

#5772 From: "pkondaka" <pkondaka@...>
Date: Wed Sep 15, 2004 6:07 pm
Subject: how to insert todays date in <xsl:fo>
pkondaka
Send Email Send Email
 
hey folks

can please tell me how to insert a date into xsl:fo document

cheers

#5773 From: "pkondaka" <pkondaka@...>
Date: Wed Sep 15, 2004 6:09 pm
Subject: Re: line break with xsl-fo and fop
pkondaka
Send Email Send Email
 
--- In XSL-FO@yahoogroups.com, "manueldahmen" <manuel.dahmen@g...>
wrote:
> I don't how to do line breaks in xsl-fo.
> A document
> (http://www-106.ibm.com/developerworks/library/x-xslfo2app/#br)
says:
> "<fo:block> </fo:block>" but it doesn't work with fop.
>
> I need line breaks to render invoices: the top of the page contains
> customer info, then invoice info (name, date, ...) and then a table
> with products info. I'd like to have some space between these
> elements.

use this

<fo:block>
   <xsl:text>
</xsl:text>
</fo:block>

#5774 From: "Bob Stayton" <bobs@...>
Date: Wed Sep 15, 2004 7:27 pm
Subject: Re: how to insert todays date in <xsl:fo>
bobs@...
Send Email Send Email
 
If your processor supports exslt date functions, you can do it this way:

1.  Add this namespace to your XSL stylesheet:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                 xmlns:date=http://exslt.org/dates-and-times

2.  Add this where you want the date to appear:

<xsl:value-of  select="date:date-time()"/>

Or you can pass the value to a template if you want to format it.  The
DocBook XSL stylesheets have a 'datetime.format' template that can format a
date in many ways.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@...


----- Original Message -----
From: "pkondaka" <pkondaka@...>
To: <XSL-FO@yahoogroups.com>
Sent: Wednesday, September 15, 2004 11:07 AM
Subject: [XSL-FO] how to insert todays date in <xsl:fo>


>
> hey folks
>
> can please tell me how to insert a date into xsl:fo document
>
> cheers
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>

#5775 From: "Maxim" <mzeleznak@...>
Date: Thu Sep 16, 2004 4:02 pm
Subject: Relative links for images
mzeleznak
Send Email Send Email
 
Hi,

Does anyone know if it is possible to use relative urls for images?
ie <fo:external-graphic src="url(/images/image.jpg)" /> instead of
<fo:external-graphic src="url(http://site.com/images/image.jpg)" />

Thanks,
Max Z.

#5776 From: "G. Ken Holman" <gkholman@...>
Date: Fri Sep 17, 2004 10:23 pm
Subject: Re: Relative links for images
g_ken_holman
Send Email Send Email
 
At 2004-09-16 16:02 +0000, Maxim wrote:
>Does anyone know if it is possible to use relative urls for images?
>ie <fo:external-graphic src="url(/images/image.jpg)" /> instead of
><fo:external-graphic src="url(http://site.com/images/image.jpg)" />

The spec cites RFC 2396 without qualification.

I use relative URLs all the time of the form "../dir/file" without failure.

Looking at RFC 2396 in section 5, your syntax "/images/image.jpg" looks
just fine as an abs_path, so I guess the question goes to the vendor of an
XSL-FO engine rather than to the facilities of the specification.

I hope this helps.

......................... Ken


--
World-wide on-site corporate, govt. & user group XML/XSL training.
G. Ken Holman                 mailto:gkholman@...
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/f/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Breast Cancer Awareness  http://www.CraneSoftwrights.com/f/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal

#5777 From: "eentenman" <eric@...>
Date: Mon Sep 20, 2004 3:27 pm
Subject: Displaying Tabular Data
eentenman
Send Email Send Email
 
I'm using xsl-fo to display long lists of data in tables that have
headers that repeat on new pages.  I have 3 sets of headers that need
to be repeated so i nest the data a few tables deep.  Everything
works perfectly.  The problem i have is with the renderers.  They all
seem to have trouble with large nested tables.  I don't want to
mention any one specific, but i have found only one renderer that can
handle large documents in this form (over 100 pages).  That one
renderer is way out of my budget.  The renderers work great if i
break the tables out and have them all on the top level.

I'm basically looking for a document with a structure like

<header1>
  <header2>
   <table>
     <tableheader/>
     <data/>
     ......
     ......
     <tablefooter/>
   </table>
   <table>
     <tableheader/>
     <data/>
     ......
     ......
     <tablefooter/>
   </table>
   ......
   ......
  </header2>
</header1>

#5778 From: Chris Bowditch <bowditch_chris@...>
Date: Mon Sep 20, 2004 3:50 pm
Subject: Re: Displaying Tabular Data
bowditch_chris@...
Send Email Send Email
 
eentenman wrote:

> I'm using xsl-fo to display long lists of data in tables that have
> headers that repeat on new pages.  I have 3 sets of headers that need
> to be repeated so i nest the data a few tables deep.  Everything
> works perfectly.  The problem i have is with the renderers.  They all
> seem to have trouble with large nested tables.  I don't want to
> mention any one specific, but i have found only one renderer that can
> handle large documents in this form (over 100 pages).  That one
> renderer is way out of my budget.  The renderers work great if i
> break the tables out and have them all on the top level.

There is a fix available for FOP 0.20.5 that streamlines the memory usage
relating to tables. To get the fix you need to download the FOP source from
CVS, and then build it. See:

http://xml.apache.org/fop/download.html#source

Make sure you download the maintenance branch and then build the source. I
will be interested to see if it solves your problem.

Chris

#5779 From: "Eric Entenman" <eric@...>
Date: Mon Sep 20, 2004 4:59 pm
Subject: Re: Displaying Tabular Data
eentenman
Send Email Send Email
 
I'm actually using commercial renderers that work with .NET.  But i'll download
fop and give it a shot.
   ----- Original Message -----
   From: Chris Bowditch
   To: XSL-FO@yahoogroups.com
   Sent: Monday, September 20, 2004 11:50 AM
   Subject: Re: [XSL-FO] Displaying Tabular Data


   eentenman wrote:

   > I'm using xsl-fo to display long lists of data in tables that have
   > headers that repeat on new pages.  I have 3 sets of headers that need
   > to be repeated so i nest the data a few tables deep.  Everything
   > works perfectly.  The problem i have is with the renderers.  They all
   > seem to have trouble with large nested tables.  I don't want to
   > mention any one specific, but i have found only one renderer that can
   > handle large documents in this form (over 100 pages).  That one
   > renderer is way out of my budget.  The renderers work great if i
   > break the tables out and have them all on the top level.

   There is a fix available for FOP 0.20.5 that streamlines the memory usage
   relating to tables. To get the fix you need to download the FOP source from
   CVS, and then build it. See:

   http://xml.apache.org/fop/download.html#source

   Make sure you download the maintenance branch and then build the source. I
   will be interested to see if it solves your problem.

   Chris




         Yahoo! Groups Sponsor
               ADVERTISEMENT





------------------------------------------------------------------------------
   Yahoo! Groups Links

     a.. To visit your group on the web, go to:
     http://groups.yahoo.com/group/XSL-FO/

     b.. To unsubscribe from this group, send an email to:
     XSL-FO-unsubscribe@yahoogroups.com

     c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



[Non-text portions of this message have been removed]

#5780 From: Peter Wu <peterlwu@...>
Date: Mon Sep 20, 2004 10:49 pm
Subject: Need embedded page sequence functionality
peterlwu
Send Email Send Email
 
Greetings,

Is there a way to generate page subsequences
for the purpose of pagination in XSL-FO? In other
words, we like to generate local (in contrast to
global, container or parent) page numbers using an
embedded page sequence (assuming that there
is such a thing).

Example
------------------

Main Doc (Page 1 of 1000)

   Section 1 (Page 1 of 3)
   Section 1 (Page 2 of 3)

Main Doc (Page 3 of 1000)

   Section 1 (Page 3 of 3)
   Section 2 (Page 1 of 2)

Main Doc (Page 4 of 1000)

   Section 2 (Page 2 of 2)


Thanks,
Peter Wu

#5781 From: "G. Ken Holman" <gkholman@...>
Date: Tue Sep 21, 2004 12:00 am
Subject: Re: Need embedded page sequence functionality
g_ken_holman
Send Email Send Email
 
At 2004-09-20 15:49 -0700, Peter Wu wrote:
>Is there a way to generate page subsequences
>for the purpose of pagination in XSL-FO?

No, a given page sequence has but one sequence of page numbers.

>In other
>words, we like to generate local (in contrast to
>global, container or parent) page numbers

Fine ... that can be done in isolation, but not simultaneously with
book-wide page numbering.

>using an
>embedded page sequence (assuming that there
>is such a thing).

There isn't.  A page sequence has but one page number sequence.

>Example
>------------------
>
>Main Doc (Page 1 of 1000)
>
>   Section 1 (Page 1 of 3)
>   Section 1 (Page 2 of 3)
>
>Main Doc (Page 3 of 1000)
>
>   Section 1 (Page 3 of 3)
>   Section 2 (Page 1 of 2)
>
>Main Doc (Page 4 of 1000)
>
>   Section 2 (Page 2 of 2)

I'm assuming each of your sections is a fresh <page-sequence> ... to get
the individual sections numbered use initial-page-number="1" and
<page-number> and then for the pages in that sequence cite an id that you
place in the area tree at the end of the sequence.

But that will not give you, simultaneously, a book-wide page number.

And you cannot do arithmetic with cited page numbers (or page numbers of
any kind).

Sorry I can't help you, but it is not available in XSL-FO.

.................. Ken

--
World-wide on-site corporate, govt. & user group XML/XSL training.
G. Ken Holman                 mailto:gkholman@...
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/f/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Breast Cancer Awareness  http://www.CraneSoftwrights.com/f/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal

#5782 From: Peter Wu <peterlwu@...>
Date: Tue Sep 21, 2004 6:43 pm
Subject: Re: Need embedded page sequence functionality
peterlwu
Send Email Send Email
 
Hi Ken,

Thanks answering my questions.

Would you be the very same Ken G. Holman who written
the book "Definitive XSL-FO"?

I hope that what I'm about to suggest isn't too
radical (or too dumb) of an approach but I have need
for and would like to help extend XSL-FO to enable the
declaration of custom page counters within an XSL-FO
page sequence.

This is what I have in mind:

<xsl:template match="next-sub-section">
   <fo:page-sequence master-name="test-pagemaster"
master-reference="test-pagemaster">

     <custom-page-counter-abc start-at="1">

     <fo:static-content flow-name="xsl-region-before">
	  <fo:block text-align="center">
           <fo:custom-page-counter-abc/><xsl:text> OF
</xsl:text><fo:custom-page-counter-citation-abc
ref-id="end-of-subsection"/>
        </fo:block>
     </fo:static-content>
     <fo:static-content flow-name="xsl-region-after">
	  <fo:block text-align="center">
           <fo:page-number/><xsl:text> OF
</xsl:text><fo:page-number-citation
ref-id="end-of-doc"/>
        </fo:block>
     </fo:static-content>
     <fo:static-content flow-name="xsl-region-start">
       ...
     </fo:static-content>
     <fo:static-content flow-name="xsl-region-end">
       ...
     </fo:static-content>
     <fo:flow flow-name="xsl-region-body">
       ...
     </fo:flow>
   </fo:page-sequence>
</xsl:template>

If I do this and want to do it right, what procedure
should I follow? To whom should I submit my idea for
approval?

By the way, is what I'm suggesting already being
considered for the next version of XSL-FO anyways?

Thanks,
Peter Wu



--- "G. Ken Holman" <gkholman@...>
wrote:

> At 2004-09-20 15:49 -0700, Peter Wu wrote:
> >Is there a way to generate page subsequences
> >for the purpose of pagination in XSL-FO?
>
> No, a given page sequence has but one sequence of
> page numbers.
>
> >In other
> >words, we like to generate local (in contrast to
> >global, container or parent) page numbers
>
> Fine ... that can be done in isolation, but not
> simultaneously with
> book-wide page numbering.
>
> >using an
> >embedded page sequence (assuming that there
> >is such a thing).
>
> There isn't.  A page sequence has but one page
> number sequence.
>
> >Example
> >------------------
> >
> >Main Doc (Page 1 of 1000)
> >
> >   Section 1 (Page 1 of 3)
> >   Section 1 (Page 2 of 3)
> >
> >Main Doc (Page 3 of 1000)
> >
> >   Section 1 (Page 3 of 3)
> >   Section 2 (Page 1 of 2)
> >
> >Main Doc (Page 4 of 1000)
> >
> >   Section 2 (Page 2 of 2)
>
> I'm assuming each of your sections is a fresh
> <page-sequence> ... to get
> the individual sections numbered use
> initial-page-number="1" and
> <page-number> and then for the pages in that
> sequence cite an id that you
> place in the area tree at the end of the sequence.
>
> But that will not give you, simultaneously, a
> book-wide page number.
>
> And you cannot do arithmetic with cited page numbers
> (or page numbers of
> any kind).
>
> Sorry I can't help you, but it is not available in
> XSL-FO.
>
> .................. Ken
>
> --
> World-wide on-site corporate, govt. & user group
> XML/XSL training.
> G. Ken Holman
> mailto:gkholman@...
> Crane Softwrights Ltd.
> http://www.CraneSoftwrights.com/f/
> Box 266, Kars, Ontario CANADA K0A-2E0
> +1(613)489-0999 (F:-0995)
> Male Breast Cancer Awareness
> http://www.CraneSoftwrights.com/f/bc
> Legal business disclaimers:
> http://www.CraneSoftwrights.com/legal
>
>

#5783 From: Peter Wu <peterlwu@...>
Date: Tue Sep 21, 2004 6:52 pm
Subject: Re: Need embedded page sequence functionality
peterlwu
Send Email Send Email
 
...oops, I forgot to mention in case it isn't obvious
that the custom-page-counter-abc reinitializes to the
value of "start-at" at the beginning of each
sub-section and "abc" is the name of the custom
counter that is prefixed by "custom-page-counter"
keyword.

Perhaps it would be more clear if it were declared
this way:

<custom-page-counter name="abc" start-at="1">

...and of course the reference to this countered would
be declared as

<fo:block text-align="center">
   <fo:custom-page-counter name="abc"/><xsl:text> OF
</xsl:text><fo:custom-page-counter-citation name="abc"
ref-id="end-of-subsection"/>
</fo:block>



--- Peter Wu <peterlwu@...> wrote:

> Hi Ken,
>
> Thanks answering my questions.
>
> Would you be the very same Ken G. Holman who written
> the book "Definitive XSL-FO"?
>
> I hope that what I'm about to suggest isn't too
> radical (or too dumb) of an approach but I have need
> for and would like to help extend XSL-FO to enable
> the
> declaration of custom page counters within an XSL-FO
> page sequence.
>
> This is what I have in mind:
>
> <xsl:template match="next-sub-section">
>   <fo:page-sequence master-name="test-pagemaster"
> master-reference="test-pagemaster">
>
>     <custom-page-counter-abc start-at="1">
>
>     <fo:static-content
> flow-name="xsl-region-before">
> 	 <fo:block text-align="center">
>           <fo:custom-page-counter-abc/><xsl:text> OF
> </xsl:text><fo:custom-page-counter-citation-abc
> ref-id="end-of-subsection"/>
>        </fo:block>
>     </fo:static-content>
>     <fo:static-content flow-name="xsl-region-after">
> 	 <fo:block text-align="center">
>           <fo:page-number/><xsl:text> OF
> </xsl:text><fo:page-number-citation
> ref-id="end-of-doc"/>
>        </fo:block>
>     </fo:static-content>
>     <fo:static-content flow-name="xsl-region-start">
>       ...
>     </fo:static-content>
>     <fo:static-content flow-name="xsl-region-end">
>       ...
>     </fo:static-content>
>     <fo:flow flow-name="xsl-region-body">
>       ...
>     </fo:flow>
>   </fo:page-sequence>
> </xsl:template>
>
> If I do this and want to do it right, what procedure
> should I follow? To whom should I submit my idea for
> approval?
>
> By the way, is what I'm suggesting already being
> considered for the next version of XSL-FO anyways?
>
> Thanks,
> Peter Wu
>
>
>
> --- "G. Ken Holman" <gkholman@...>
> wrote:
>
> > At 2004-09-20 15:49 -0700, Peter Wu wrote:
> > >Is there a way to generate page subsequences
> > >for the purpose of pagination in XSL-FO?
> >
> > No, a given page sequence has but one sequence of
> > page numbers.
> >
> > >In other
> > >words, we like to generate local (in contrast to
> > >global, container or parent) page numbers
> >
> > Fine ... that can be done in isolation, but not
> > simultaneously with
> > book-wide page numbering.
> >
> > >using an
> > >embedded page sequence (assuming that there
> > >is such a thing).
> >
> > There isn't.  A page sequence has but one page
> > number sequence.
> >
> > >Example
> > >------------------
> > >
> > >Main Doc (Page 1 of 1000)
> > >
> > >   Section 1 (Page 1 of 3)
> > >   Section 1 (Page 2 of 3)
> > >
> > >Main Doc (Page 3 of 1000)
> > >
> > >   Section 1 (Page 3 of 3)
> > >   Section 2 (Page 1 of 2)
> > >
> > >Main Doc (Page 4 of 1000)
> > >
> > >   Section 2 (Page 2 of 2)
> >
> > I'm assuming each of your sections is a fresh
> > <page-sequence> ... to get
> > the individual sections numbered use
> > initial-page-number="1" and
> > <page-number> and then for the pages in that
> > sequence cite an id that you
> > place in the area tree at the end of the sequence.
> >
> > But that will not give you, simultaneously, a
> > book-wide page number.
> >
> > And you cannot do arithmetic with cited page
> numbers
> > (or page numbers of
> > any kind).
> >
> > Sorry I can't help you, but it is not available in
> > XSL-FO.
> >
> > .................. Ken
> >
> > --
> > World-wide on-site corporate, govt. & user group
> > XML/XSL training.
> > G. Ken Holman
> > mailto:gkholman@...
> > Crane Softwrights Ltd.
> > http://www.CraneSoftwrights.com/f/
> > Box 266, Kars, Ontario CANADA K0A-2E0
> > +1(613)489-0999 (F:-0995)
> > Male Breast Cancer Awareness
> > http://www.CraneSoftwrights.com/f/bc
> > Legal business disclaimers:
> > http://www.CraneSoftwrights.com/legal
> >
> >
>
>

#5784 From: Peter Wu <peterlwu@...>
Date: Tue Sep 21, 2004 7:30 pm
Subject: Re: Need embedded page sequence functionality
peterlwu
Send Email Send Email
 
...I guess my main concern with extending the XSL-FO
"tag library" (borrowing terminology from JSP) is
whether or not the existing framework will support
such an extension without the need to extensively
restructured.


--- Peter Wu <peterlwu@...> wrote:

> ...oops, I forgot to mention in case it isn't
> obvious
> that the custom-page-counter-abc reinitializes to
> the
> value of "start-at" at the beginning of each
> sub-section and "abc" is the name of the custom
> counter that is prefixed by "custom-page-counter"
> keyword.
>
> Perhaps it would be more clear if it were declared
> this way:
>
> <custom-page-counter name="abc" start-at="1">
>
> ...and of course the reference to this countered
> would
> be declared as
>
> <fo:block text-align="center">
>   <fo:custom-page-counter name="abc"/><xsl:text> OF
> </xsl:text><fo:custom-page-counter-citation
> name="abc"
> ref-id="end-of-subsection"/>
> </fo:block>
>
>
>
> --- Peter Wu <peterlwu@...> wrote:
>
> > Hi Ken,
> >
> > Thanks answering my questions.
> >
> > Would you be the very same Ken G. Holman who
> written
> > the book "Definitive XSL-FO"?
> >
> > I hope that what I'm about to suggest isn't too
> > radical (or too dumb) of an approach but I have
> need
> > for and would like to help extend XSL-FO to enable
> > the
> > declaration of custom page counters within an
> XSL-FO
> > page sequence.
> >
> > This is what I have in mind:
> >
> > <xsl:template match="next-sub-section">
> >   <fo:page-sequence master-name="test-pagemaster"
> > master-reference="test-pagemaster">
> >
> >     <custom-page-counter-abc start-at="1">
> >
> >     <fo:static-content
> > flow-name="xsl-region-before">
> > 	 <fo:block text-align="center">
> >           <fo:custom-page-counter-abc/><xsl:text>
> OF
> > </xsl:text><fo:custom-page-counter-citation-abc
> > ref-id="end-of-subsection"/>
> >        </fo:block>
> >     </fo:static-content>
> >     <fo:static-content
> flow-name="xsl-region-after">
> > 	 <fo:block text-align="center">
> >           <fo:page-number/><xsl:text> OF
> > </xsl:text><fo:page-number-citation
> > ref-id="end-of-doc"/>
> >        </fo:block>
> >     </fo:static-content>
> >     <fo:static-content
> flow-name="xsl-region-start">
> >       ...
> >     </fo:static-content>
> >     <fo:static-content flow-name="xsl-region-end">
> >       ...
> >     </fo:static-content>
> >     <fo:flow flow-name="xsl-region-body">
> >       ...
> >     </fo:flow>
> >   </fo:page-sequence>
> > </xsl:template>
> >
> > If I do this and want to do it right, what
> procedure
> > should I follow? To whom should I submit my idea
> for
> > approval?
> >
> > By the way, is what I'm suggesting already being
> > considered for the next version of XSL-FO anyways?
> >
> > Thanks,
> > Peter Wu
> >
> >
> >
> > --- "G. Ken Holman"
> <gkholman@...>
> > wrote:
> >
> > > At 2004-09-20 15:49 -0700, Peter Wu wrote:
> > > >Is there a way to generate page subsequences
> > > >for the purpose of pagination in XSL-FO?
> > >
> > > No, a given page sequence has but one sequence
> of
> > > page numbers.
> > >
> > > >In other
> > > >words, we like to generate local (in contrast
> to
> > > >global, container or parent) page numbers
> > >
> > > Fine ... that can be done in isolation, but not
> > > simultaneously with
> > > book-wide page numbering.
> > >
> > > >using an
> > > >embedded page sequence (assuming that there
> > > >is such a thing).
> > >
> > > There isn't.  A page sequence has but one page
> > > number sequence.
> > >
> > > >Example
> > > >------------------
> > > >
> > > >Main Doc (Page 1 of 1000)
> > > >
> > > >   Section 1 (Page 1 of 3)
> > > >   Section 1 (Page 2 of 3)
> > > >
> > > >Main Doc (Page 3 of 1000)
> > > >
> > > >   Section 1 (Page 3 of 3)
> > > >   Section 2 (Page 1 of 2)
> > > >
> > > >Main Doc (Page 4 of 1000)
> > > >
> > > >   Section 2 (Page 2 of 2)
> > >
> > > I'm assuming each of your sections is a fresh
> > > <page-sequence> ... to get
> > > the individual sections numbered use
> > > initial-page-number="1" and
> > > <page-number> and then for the pages in that
> > > sequence cite an id that you
> > > place in the area tree at the end of the
> sequence.
> > >
> > > But that will not give you, simultaneously, a
> > > book-wide page number.
> > >
> > > And you cannot do arithmetic with cited page
> > numbers
> > > (or page numbers of
> > > any kind).
> > >
> > > Sorry I can't help you, but it is not available
> in
> > > XSL-FO.
> > >
> > > .................. Ken
> > >
> > > --
> > > World-wide on-site corporate, govt. & user group
> > > XML/XSL training.
> > > G. Ken Holman
> > > mailto:gkholman@...
> > > Crane Softwrights Ltd.
> > > http://www.CraneSoftwrights.com/f/
> > > Box 266, Kars, Ontario CANADA K0A-2E0
> > > +1(613)489-0999 (F:-0995)
> > > Male Breast Cancer Awareness
> > > http://www.CraneSoftwrights.com/f/bc
> > > Legal business disclaimers:
> > > http://www.CraneSoftwrights.com/legal
> > >
> > >
> >
> >
>
>

#5785 From: sharon_correll@...
Date: Tue Sep 21, 2004 8:10 pm
Subject: complex character support
sharon_correll
Send Email Send Email
 
I am looking for information on applications that implement XSL-FO and how
they handle complex character rendering. For instance, I understand that
RenderX is implemented in Java. Does the Java implementation on Windows
support Uniscribe, or just OpenType? (I realize that's really a Java
question but maybe somebody here knows.) Same question about XSL Formatter.
It says it supports OpenType fonts; does it use Uniscribe to do that?

Thanks for your help,

Sharon Correll
SIL International

#5786 From: "Jensen" <yahoo@...>
Date: Tue Sep 21, 2004 8:31 pm
Subject: Re: SPAM-LOW: complex character support
jjfarrow
Send Email Send Email
 
Presumably RenderX and XSL Formatter, being implemented in Java and so
running on non-Windows platforms, don't use the Uniscribe Windows API.

Ibex XSL-FO Formatter (http://www.xmlpdf.com/ibex.html) uses Uniscribe for
Arabic text formatting in the .NET implementation.

Hope this helps

John

----- Original Message -----
From: <sharon_correll@...>
To: <XSL-FO@yahoogroups.com>
Sent: Wednesday, September 22, 2004 8:10 AM
Subject: SPAM-LOW: [XSL-FO] complex character support


>I am looking for information on applications that implement XSL-FO and how
> they handle complex character rendering. For instance, I understand that
> RenderX is implemented in Java. Does the Java implementation on Windows
> support Uniscribe, or just OpenType? (I realize that's really a Java
> question but maybe somebody here knows.) Same question about XSL
> Formatter.
> It says it supports OpenType fonts; does it use Uniscribe to do that?
>
> Thanks for your help,
>
> Sharon Correll
> SIL International
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>

Messages 5757 - 5786 of 7448   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help