How to add "arrow" for page links?

Comments

2 comments

  • Avatar
    Stefan Kleineikenscheidt

    Hi Eva,

    you can try UTF-8 arrow characters (e.g. http://www.fileformat.info/info/unicode/block/arrows/utf8test.htm): 

    Copy an arrow character into the content property (replace '=>').

    One catch though: The font may support that character or not. So you might have to try different characters.

    Hope this helps,
    -Stefan

     

    0
    Comment actions Permalink
  • Avatar
    Eva Mayrhofer

    Hi Stefan,

    thanks for your quick hint. It helped a lot!

    Here is the modified CSS code:

    a.document-link:after {
    content: " (\2192P" target-counter(attr(href), page) ")"
    }

    We decided to drop the idea of a superscripted page number in a smaller font and to shorten the text "page" to "P".

    As I had already uploaded the font "Arial Unicode MS", the created PDF looks fine. See the attachment, if you are interested.

    Cheers,
    Eva

     




    ModifiedPageNoReference.png
    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk