After our paper is accepted, we got the ISBN and DOI information, I fill those information into tex, but the DOI string runs off the page.

I use the 2017 ACM Master Article Template. Here is the sample code:


%\usepackage{booktabs} % For formal tables
\usepackage{balance}  % for  \balance command ON LAST PAGE  (only there!)    
%    \usepackage{subfigure}
%    \usepackage{url}
%    \usepackage{stfloats}
%    \usepackage{amsmath}
%%    \usepackage{mathptmx}
%    \usepackage{color}
%    \usepackage{xcolor}
%    \usepackage{epsfig}
%    \usepackage{endnotes}
%    \usepackage{multirow}
%    \usepackage{amssymb}
%    \usepackage{makecell}
%    \usepackage[ruled,vlined]{algorithm2e}
%    \usepackage{listings}

\acmConference[SIGXXX'18]{2018 International Conference on XXXX XXXX XXXX XXX}{June 11--15, 2018}{YYYYYY, XX, USA}
\acmBooktitle{SIGXXX'18: 2018 International Conference on XXXX XXXX XXXX XXX, June 11--15, 2018, YYYYYY, XX, USA}

After I compiles it, the ACM Reference Format will in pdf will looks like this: enter image description here

What's wrong with my tex to make DOI string running off the page? Is there any way to make DOI string in the next line instead of the same line with other information?


The reason why DOI hyperref is running off the page is I used latex to compile tex instead of pdflatex. It seems that the hyperref package only works well for pdflatex (see this question).

Two solutions to solve this problem:

  1. If you still want to use latex, import breakurl package.
  2. Switch to pdflatex to compile the tex
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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