Personal commands do not work...

Issue #14 resolved
Carlos Ernesto Gomez created an issue

Hello,

I use \pdfmarkupcomment to mark a text line that has a personal command (defined by \newcommand) and PDFLaTeX cannot compile it.

Thank you for your attention

Comments (5)

  1. Carlos Ernesto Gomez reporter

    Thanks Josef!

    by using \soulregister{\newcommand}{#parameters} for new commands and { } for \ref{} and \cite{}, \pdfmarkupcomment works. However, it's not friendly to register every new command I define.

  2. Josef Kleber repo owner

    Hi,

    i agree, it's not nice but the only available solution. PDF is a different beast compared to LaTeX and needs coordinate positions on the page. Not really a strength of LaTeX. It's quite easy for one line comments but almost impossible with arbitrary constructs. Then soul is neede to get the breakpoints and something like zref for page positions. pdfcomment uses soulpos - more or less a combination of both. The parser in soul will not be updated anymore, i'm afraid. And the pain seems not being big enough for somebpdy writing a replacement package. So there's no way out. Nevertheless, problem solved ! ;-)

    Josef

  3. Log in to comment