Skip to main content
1-Visitor
May 30, 2018
Question

Remove page number in xref

  • May 30, 2018
  • 1 reply
  • 1408 views

Hi,

 

When I use a cross-reference to refer to a figure, a table, or a chapter, it is displayed in PDF as below:

 

see Figure 1.1 XXXXXXX, page x

 

Now I want to remove the page number, and I have edited the xref attribute in Styler to <_gte:CrossReference refAttr="href" xrefStyle="Text"/>. But in PDF, the page number still exits.

 

Could someone provide a solution to remove the page number?

 

Thanks.

1 reply

1-Visitor
June 12, 2018

I am used to using FOSI, but maybe styler is the same. Check the coding for the figure command. This might be where the actual text generation may occur not in the xref definition. The style tag for Figure more than likely (might be figure or caption, etc,)  is what generates the text that is inserted text.