xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Pierre Lamon <...@ngscan.com>
Subject Re: FOP Retrieve-Marker
Date Wed, 09 Dec 2020 10:43:18 GMT
Thx Chris
I understand. Seems to be a XML2PDF  issue. I’m in contact with them.
Thx for your reply 
Regards
JP

Envoyé de mon iPhone

> Le 9 déc. 2020 à 09:58, Chris Bowditch <bowditch_chris@hotmail.com> a écrit
:
> 
> Hi Jean-Pierre,
> 
> Your code snippet is XSLT not XSL-FO, and also incomplete so hard to say why its not
working
> 
> Thanks,
> 
> Chris
> 
>> On 07/11/2020 12:07, Jean-Pierre Lamon wrote:
>> Hi all,
>> 
>> fop-users@xmlgraphics.apache.org
>> 
>> I would like to display a chapter value on each page header (in one language on even,
another on odd but that's not the problem).
>> I'm using  markers with retrieve-marker.
>> 
>> This works perfectly with FOP, but not with XML2PDF for example. Am I doing something
wrong? Could someone be so kind to correct my code ;-)
>> I know retrive-marker must be just under a flow right?
>> 
>>                 <fo:static-content flow-name="Header-even">
>>                     <fo:table width="100%" table-layout="fixed" table-omit-header-at-break="false">
>>                         <fo:table-column column-width="8%"/>
>>                         <fo:table-column column-width="42%"/>
>>                         <fo:table-column column-width="42%"/>
>>                         <fo:table-column column-width="8%"/>
>>                         <fo:table-body>
>>                             <fo:table-row>
>>                                 <fo:table-cell>
>>                                     <fo:block text-align="center">
>>                                     </fo:block>
>>                                 </fo:table-cell>
>>                                 <fo:table-cell>
>>                                     <fo:block text-align="center" font-size="9pt">
>>                                         <fo:inline text-align="center">&#xA0;</fo:inline>
>>                                         <fo:block/>
>>                                     </fo:block>
>>                                 </fo:table-cell>
>>                                 <fo:table-cell>
>>                                     <fo:block text-align="center" font-size="9pt">
>>                                         <fo:inline text-align="center">&#xA0;</fo:inline>
>>                                         <fo:block/>
>>                                     </fo:block>
>>                                 </fo:table-cell>
>>                                 <fo:table-cell>
>>                                     <fo:block/>
>>                                 </fo:table-cell>
>>                             </fo:table-row>
>>                             <fo:table-row>
>>                                 <fo:table-cell>
>>                                     <fo:block text-align="center">
>>                                     </fo:block>
>>                                 </fo:table-cell>
>>                                 <fo:table-cell text-align="left">
>>                                     <fo:block font-size="9pt" font-style="italic"
text-align="left" border-bottom="0.5pt solid black">
>> 
>> ---> <fo:retrieve-marker retrieve-class-name="chapterF"/> -->
>> 
>> 
>>                                     </fo:block>
>>                                 </fo:table-cell>
>>                                 <fo:table-cell text-align="right">
>>                                     <fo:block font-size="9pt" text-align="right"
border-bottom="0.5pt solid black">
>>                                         <fo:inline>
>>                                             Bibliographie de l'histoire suisse
>>                                             <xsl:if test="collection/AdditionalTag/yearIssueNumber">
>>                                                 <xsl:value-of select="concat('
',collection/AdditionalTag/yearIssueNumber)"/>
>>                                             </xsl:if>
>> 
>>                                         </fo:inline>
>>                                     </fo:block>
>>                                 </fo:table-cell>
>>                                 <fo:table-cell>
>>                                     <fo:block/>
>>                                 </fo:table-cell>
>>                             </fo:table-row>
>> 
>>                         </fo:table-body>
>>                     </fo:table>
>>                 </fo:static-content>
>> 
>> Marker definition :
>> <xsl:if test="@Value2">
>>                                             <fo:marker marker-class-name="chapterF">
>>                                                 <xsl:value-of select="@Value2"/>
>>                                             </fo:marker>
>> Thx and regards
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
>> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>> 
>> .
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> 


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


Mime
View raw message