Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have a Latex document that include endnotes. I have adapted this document to show the boxed links in black using hyperref. The PDF output is as I wanted.

MWE: %

\documentclass[a4paper,twoside,10pt]{report}
\usepackage[multiple]{footmisc}
\usepackage{hyperref}
\usepackage{endnotes}
\input{hyperendnotes.sty}
\let\footnote=\endnote

\usepackage{color}

\usepackage[usenames,dvipsnames,svgnames,table]{xcolor}

\begin{document}

\hypersetup{
  linkbordercolor=Black
}

Sample Text Sample Text \footnote{This endnote shows the color frame with the corresponding footnote (endnote number)}

\begingroup
\parskip 2ex
\theendnotes
\endgroup


\end{document}

A version of hyperendnotes.sty can be found here. I have included xcolor for convenience to change the color of the frame in each endnote number to black.

However, I need the printed output to show these boxes as well. In the current version, the boxes in the endnotes disapear in the printed document (which is the common behaviour !).

Is there any chance to change this default behaviour such that the printed output shows these endnote boxes ?

The final goal is to be able to print the PDF without the Notes section, but still be able to highlight the position of these notes in the main text (hence the black box).

I have tried to change the way in which the number of each endnote is framed, but there is a clash between hyperref and endnote packages.

Thank you for your help.

share|improve this question
    
Please make your example minimal. Does it use blindtext? Why do you load both color and xcolor? Could you post a link to hyperendnotes.sty, e.g. tex.stackexchange.com/questions/8452/…, as this is probably not part of most of our distributions... –  benwilfut Mar 15 '13 at 8:15
    
Please edit in responses to the questions posed in the comment above. –  Joseph Wright Aug 10 '13 at 9:51
add comment

closed as unclear what you're asking by Joseph Wright Aug 10 '13 at 9:50

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.

Browse other questions tagged or ask your own question.