0

I'm new with xml and pandoc. I am having trouble with the conversion of my xml file to PDF using Pandoc. In the beginning, I had several images that in my xml were in the right position. However, after converting to PDF these moved place.

I saw this accepted answer and added this file:

\usepackage{float}
\let\origfigure\figure
\let\endorigfigure\endfigure
\renewenvironment{figure}[1][2] {
    \expandafter\origfigure\expandafter[H]
} {
    \endorigfigure
}

and it works, the images are kept in place, but now, the url links when they are too big, they go over the margins. Is there a way to make sure the url are kept within the margins and the images are kept in place? I added the \usepackage{xurl} to the file above but it did not work.

rrwork___
  • 1
  • 1

0 Answers0