Menu

#18 support \pdfmapfile, \pdfmapline

Future
closed
None
5
2014-07-19
2014-07-13
karl berry
No

It would be nice if xetex supported \pdfmapline and \pdfmapfile from pdftex to do map file stuff at the document level. I realize it's not simple since the info has to get passed to the xdv file via specials or whatever, but, well, it's a wishlist item anyway.

FWIW, described in the pdftex manual in the "fonts" section, currently pages 24-25.

Discussion

  • Khaled Hosny

    Khaled Hosny - 2014-07-14

    Already supported by DVIPDFMx, so a simple \def\pdfmapfile#1{\special{pdf:mapfile #1}} etc. should do the trick, do we really need this in the engine?

     
  • karl berry

    karl berry - 2014-07-15

    I didn't know. That's great. I wish one of us would get around to documenting all the specials!

    So now I wonder about adding \def's for \pdfmap{line,file}, or maybe \XeTeXmap{line,file} to xetex.ini. My only hesitation about using \pdf... is that generating a whatsit is different from being internally interpreted by the engine. For typical use it wouldn't matter, so maybe the compatibility of name is worth the small incompatibility of behavior. Or maybe not. What do you think?

     
  • Khaled Hosny

    Khaled Hosny - 2014-07-15

    I think defining them in xetex.ini would be fine. I would have gone with \map{line,file} if LuaTeX used that, but since it kept the pdfprefix here, I think we are better off doing the same for sake of compatibility.

     
  • karl berry

    karl berry - 2014-07-18

    i added \pdfmapfile and \pdfmapline to xetex.ini and xelatex.ini in TeX Live, as discussed -- TL revision 34655. I guess this can be closed (sorry, I don't see how to do it, if I can.) Thanks.

     
  • Khaled Hosny

    Khaled Hosny - 2014-07-19
    • status: open --> closed
     

Log in to post a comment.