pdfcomment is not working properly with makeidx package

Issue #15 wontfix
Former user created an issue

basically, I created a StackExchange question here http://tex.stackexchange.com/questions/161140/makeidx-and-pdfcomment-packages-are-not-working-together the point is that if I use both makeidx and pdfcomment packages simultaneously, highlighted comments do not work at all. you may run in MiKTeX:

\documentclass[a4paper,12pt,oneside,titlepage]{report}
\usepackage[x11names,table]{xcolor}
\usepackage{makeidx}
\usepackage{pdfcomment}

\makeindex

\begin{document}

    \pdfmarkupcomment[author={Oleksandr},subject={test},color=green!25]{I will}{or, maybe not} put here some text, formulas, tables, comments, and some other things.
    Here comes a \index{formula} formula.

    \clearpage
    \phantomsection
    \addcontentsline{toc}{chapter}{Index}
    \printindex

\end{document}

and see that no comments are added. if you remove makeidx related stuff, the comments work fine, as they should. is it possible to fix somehow?

Comments (2)

  1. Josef Kleber repo owner

    It's a bug in soulpos.sty - see also Issue 13

    Same problem without using pdfcomment

    \documentclass{report}
    \usepackage{soulpos}
    \usepackage[rgb]{xcolor}
    \ulposdef{\ulflag}{%
    \mbox{%
    \color{red}\rule[-.85ex]{.25\ulwidth}{1.5pt}%
    \color{yellow}\rule[-.85ex]{.5\ulwidth}{1.5pt}%
    \color{red}\rule[-.85ex]{.25\ulwidth}{1.5pt}}}
    \begin{document}
    \ulflag{TestTestTest}
    \clearpage
    \end{document}
    

    Please file a bug report to Javier Bezos - the maintainer of soulpos - on his homepage and include the links to Issues 13 and 15 here and two StackExchange questions. I already did but didn't get a reply. Maybe you have more luck!

  2. Log in to comment