I am trying to typeset an English book class document using xelatex so that I can use the fonts in my system. I find that several packages conflict with graphicx, such as wrapfig, afterpage and url. I just wondered if this is normal or I need to update my installation or something. If I have to live with it, can I use the features these packages provide without using them?

closed as unclear what you're asking by egreg, Stefan Pinnow, AlexG, Raaja, Mensch Jul 12 at 9:08

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    This is not normal. can you add some example document that reproduces your problems? – lulu Jul 11 at 10:43
  • 3
    None of those packages normally conflict with graphicx, so as lulu mentions, please provide example code that is (1) complete and thus ought to work, but does not at your end. – daleif Jul 11 at 11:01
  • I suggest that you first update your system as it sound like something is very broken, that will avoid a lot of unnecessary work for you providing examples and for others to check them. These packages are fairly core and such problems are unheard of. – Frank Mittelbach Jul 11 at 21:58
  • Guess it is better that I update the packages and check again. I shall report here after that. Thanks. – Sasi Jul 12 at 4:21

It seems the options dvips,xetex I had given to graphicx was the culprit. The problem went away when I moved the options to the documentclass command. The help option in the command line gave the solution, which I should have checked earlier. It usually doesn't give much help, which is why I don't try it normally. Sorry for the time you had to spend reading my question and suggesting steps.

  • 1
    dvips and xetex are mutually exclusive options. They target different backends (command-line programmes) for PDF generation from intermediate DVI, dvips and xdvipdfmx. As you are using xelatex, remove both options completely. The correct backend driver is automatically detected. – AlexG Jul 12 at 8:31

Not the answer you're looking for? Browse other questions tagged or ask your own question.