pdfmarkupcomment shows up at wrong positions for twocolum

Issue #10 on hold
Former user created an issue

Hi,

for a document with the header as given below I always run into missalignments with the markup highlighting. Somtimes it is just missing for some words. Most times it covers parts of both columns and not only the column with the corresponding text.

below is a minimal header. The text is several pages. For a short one page document without figures etc, it needs a few recompiles to get everything at correct positions. But not for the lenghier document.

\documentclass[aps,prl,reprint,twocolumn,floatfix,showpacs,linenumbers]{revtex4-1} \usepackage[author={pi},hspace=20px,icon=Comment,color=yellow]{pdfcomment} \usepackage{graphicx \usepackage{amsmath,amssymb} \usepackage{natbib} \usepackage{hyperref} \usepackage{xcolor} and then a multipage document with several \pdfcomment and \pdfmarkupcomment, figures and equations

// pi

Comments (3)

  1. pi_3

    Below a working example. At my computer only the pdfcomment are shown in adobe reader, the pdfmarkupcomment are not visible.

    \documentclass[aps,prl,reprint,twocolumn,floatfix,showpacs,superscriptaddress]{revtex4-1}
    
    \usepackage{xcolor}
    \usepackage[author={pi},hspace=20px,icon=Comment,color=yellow]{pdfcomment}
    
    \begin{document}
    \maketitle
    Miniaturization of functional \pdfmarkupcomment{optical circuits}{and the comment} to nanometer-scale dimensions is hampered by the diffraction-limited modal profiles of dielectric waveguides. In contrast, plasmonic modes supported by noble-metal nanostructures offer strong subwavelength confinement  and therefore promise the realization of nanometer-scale integrated optical circuitry with \pdfmarkupcomment{well-defined functionality}{markupcomment with long text and maybe this will break}. While single-mode operation is a design goal for dielectric waveguides, for plasmonic nanocircuits it was suggested that multimode interference could lead to enhanced functionality based on the possibility to control near-field intensity patterns 
    \pdfcomment{a simple comment}
    
    Previous work towards the realization of optical nanocircuits relied on chemically grown single-wire waveguides pioneered by Ditlbacher \emph{et al.}. In such systems the plasmon excitation and emission efficiencies depend on the wire diameter, which at the same time also determines the spectrum of modes and their \pdfcomment{another usless comment} respective dispersion relations. In addition, structural uncertainties, such as the uncontrolled shape of the end facets, have a strong influence on the far-field excitation and emission properties of different modes.  By combining careful selection of chemically grown nanowires and micromanipulation, \pdfmarkupcomment{indeed prototypes of optical nanocircuitry have been demonstrated}{not realy} in which interference of multiple modes is exploited.
    \end{document}
    
  2. Josef Kleber repo owner

    Hi,

    there seems to be an incompatibility between revtex and zref. revtex prevents that zref write its labels to the aux file. Using article, the labels are written to the aux file. So, i'm afraid there's nothing i can do, because pdfmarkupcomment needs the labels to get the positions of the annotations.

    You should try to contact the maintainers of revtex and zref and cite this URL. Then they don't have to start from zero, although i'm not a big help. Maybe they can do something that the labels find the way to the aux file.

    Josef

  3. Log in to comment