W3C home > Mailing lists > Public > www-xsl-fo@w3.org > November 2007

Basic FO questions

From: Khaled Aly <ka.aly@luxsci.net>
Date: Tue, 06 Nov 2007 11:43:03 +0200
Message-ID: <47303727.8050805@luxsci.net>
To: www-xsl-fo@w3.org

Hi

Finishing my first FO project... I ran into a few issues that may be 
considered 'secondary', but I'm really keen to resolve them, here below:

- The use of basic-link with inline to contain the displayable text 
causes space characters to be inserted around the inline text. If those 
were internal links, the inline could be omitted and they could be 
highlighted with basic-link's background-color attribute to give them a 
distinct appearance. With web URLs, it's preferable to use the 
conventional underlined blue color. I couldn't get that to work with any 
of basic-link attributes. But I suppose there should be a way. 
Otherwise, is there a way to avoid the space inserted by the inline 
element? I tried ascii backspace and delete characters and they didn't work.

- In the below xslt template fragment, I meant to generate ordered list 
item labels. They come all even numbers and I could only divide by 2 to 
get 1, 2, 3 ... Any obvious or known reason for that?

<xsl:if test="../@ordered='yes'">
 <fo:block font-size="10pt" font-family="sans-serif">
  <xsl:number value="position()*.5"/>.       <<<<<<<<<< problem here
 </fo:block>
</xsl:if>

- To get basic-link with internal-destination attribute to point to the 
exact reference element page position instead of the top of page, I 
suppose that requires FO 1.1, may be FOP 0.94, is it right?

- I tried to get several symbols from the set of Unicode geometric 
shapes (x25A0 to 25FF) displayed using utf-8, utf-16, and iso-8859-1, 
but I always get a '#' in place. What should be the right character set 
name to use for those to display properly? Actually, I've been through 
all IANA and Unicode links without being able to identify exactly which 
character sets belong to which standards. There is a lot of RFCs listed 
that I'm not sure if one needs to go through them. I'm not interested in 
non-English characters at this time, but more of miscellaneous, 
geometric, and mathematical sets; referring to the terminology used in 
O'Reilly's "XML in a Nutshell."

Many thanks for any answers or suggestions to try.

Regards
Khaled
Received on Tuesday, 6 November 2007 16:19:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 6 November 2007 16:19:34 GMT